Displaying 1 result from an estimated 1 matches for "aa2a72f9a51b317f5b4ab8695adf59025".
2015 Nov 26
4
Creating/Deleting a new instruction from LLVM IR
Hi,
I was trying to create a new *Store* instruction and inserting it to LLVM
IR (.ll) file. I found the following constructor in LLVM Manual:
StoreInst::StoreInst
<http://llvm.org/docs/doxygen/html/classllvm_1_1StoreInst.html#aa2a72f9a51b317f5b4ab8695adf59025>
(Value <http://llvm.org/docs/doxygen/html/classllvm_1_1Value.html> * Val,
Value <http://llvm.org/docs/doxygen/html/classllvm_1_1Value.html> * Ptr,
Instruction
<http://llvm.org/docs/doxygen/html/classllvm_1_1Instruction.html> *
InsertBefore )
I thought of using this. I don'...