Displaying 3 results from an estimated 3 matches for "304925b9".
2012 Feb 04
0
[LLVMdev] How to properly use copyValue?
Ryan Taylor wrote:
> Since there are no constructors for Value, how do you properly insert a
> new Value?
Value is a pure base. If you want to construct a new Value, then you
want to construct a global variable or instruction or argument or
something in particular.
> If I create a pointer Value *newValue and then call
> AA.copyValue(oldValue, newValue), this does not work, since
2012 Feb 03
2
[LLVMdev] How to properly use copyValue?
Since there are no constructors for Value, how do you properly insert a new
Value?
If I create a pointer Value *newValue and then call AA.copyValue(oldValue,
newValue), this does not work, since newValue is not allocated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120203/44086cf5/attachment.html>
2012 Feb 05
1
[LLVMdev] How to properly use copyValue?
...ng "BO = BinaryOperator::createAdd(X, Y);" you then need to insert it
> using BO->insertBefore or BO->insertAfter.
>
> Nick
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120204/304925b9/attachment.html>