Displaying 3 results from an estimated 3 matches for "mem2reg_8cpp_sourc".
Did you mean:
mem2reg_8cpp_source
2012 Apr 22
0
[LLVMdev] Problem about the type of Function's arguement in llvm
...reateLoad()?
Could you paste your code? Had you initialize the IRBuilder with
insert position?
> If it is, what's the type of Function->arg_begin() ? (The source code is too
> nested for me to find the original type of that)
>
best regards
ether
[1]http://llvm.org/docs/doxygen/html/Mem2Reg_8cpp_source.html
2012 Apr 22
2
[LLVMdev] Problem about the type of Function's arguement in llvm
in the tutorial of official llvm doc, chapter 3, it deals with arguement
of function as follow:
for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size();
++AI, ++Idx) {
AI->setName(Args[Idx]);
// NamedValues is map<string, Value*>
NamedValues[Args[Idx]] = AI;
and when it try to get the value of arguement, it simply does:
Value
2012 Apr 23
1
[LLVMdev] Problem about the type of Function's arguement in llvm
...you initialize the IRBuilder with
> insert position?
> > If it is, what's the type of Function->arg_begin() ? (The source code is
> too
> > nested for me to find the original type of that)
> >
>
> best regards
> ether
> [1]http://llvm.org/docs/doxygen/html/Mem2Reg_8cpp_source.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120423/16666c4e/attachment.html>