Displaying 1 result from an estimated 1 matches for "setsourc".
Did you mean:
setsource
2013 Oct 21
0
[LLVMdev] can an alias Value be created?
I'm in a situation where my code would be simpler if I could create a
Value object without saying where it comes from. Sometime later I would
attach an actual value to the object.
llvm::Value * placeholder = builder.CreatePlaceholder( a_type );
...
placeholder->setSource( actual_value );
I could in theory use a PHINode, but it needs an actual IR instruction
to be inserted. That's something I'm trying to avoid.
--
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I...