Displaying 1 result from an estimated 1 matches for "1045830".
Did you mean:
1041830
2015 Apr 17
2
[LLVMdev] how to use "new instruction()"
I read the tutorial document, but I didn't understand the it and Ops
fields of instruction class well. Can any one give me an example?
Instruction *newInstr = new Instruction(Type *ty, unsigned it, Use *Ops,
unsigned NumOps, Instruction *InsertBefore);
For example, I have an *instruction *pInst *without no the type of
operation in advance. If I want to create a new instruction which is