search for: createaggregateret

Displaying 4 results from an estimated 4 matches for "createaggregateret".

2008 Sep 12
0
[LLVMdev] CPP API User-level Question: Returning multiple values
...def, i64 %x, 0 %b = insertvalue { i64, double } %a, double %y, 1 ret { i64, double } %b } See the LangRef.html for details on the insertvalue instruction. The -march=cpp backend in SVN trunk supports this too. Also in svn trunk, if you're using the IRBuilder interface you can use the CreateAggregateRet method, which takes care of creating the InsertValueInsts for you. Dan
2008 Sep 12
2
[LLVMdev] CPP API User-level Question: Returning multiple values
...64, double } %a, double %y, 1 > ret { i64, double } %b > } > > See the LangRef.html for details on the insertvalue instruction. > The -march=cpp backend in SVN trunk supports this too. > > Also in svn trunk, if you're using the IRBuilder interface > you can use the CreateAggregateRet method, which takes care of > creating the InsertValueInsts for you. > > Dan > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
2008 Sep 12
3
[LLVMdev] CPP API User-level Question: Returning multiple values
Greetings, I'm working on getting our compiler's interface to LLVM to mimic the way the LLVM-GCC inserts instructions to generate AMD64 ABI compliant code. I'm trying to create ret i64 %mrv, double %double_mrv37 which is basically what LLVM-GCC puts out. However if I use lcc -march=cpp to get the API code I need it has the following line:
2008 Sep 12
0
[LLVMdev] CPP API User-level Question: Returning multiple values
...1 >> ret { i64, double } %b >> } >> >> See the LangRef.html for details on the insertvalue instruction. >> The -march=cpp backend in SVN trunk supports this too. >> >> Also in svn trunk, if you're using the IRBuilder interface >> you can use the CreateAggregateRet method, which takes care of >> creating the InsertValueInsts for you. >> >> Dan >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu...