[LLVMdev] Instantiating the new Instructions from CallInst Class
yonghyuh at ics.uci.edu
Tue Apr 17 12:11:44 PDT 2007
I'm developing timing analysis tool using LLVM.
After several analysis phases, I want to instantiate several
instructions in the basic block.
Instructions that I try to instantiate are like below;
call void (int)* %waitABC(int 10)
%tmp = call int (int, int*)* %doABC(int %i, int* %total)
I think I should use 'CallInst' class in 'Instructions.h' file.
How I could make those instructions from 'CallInst' class?
More information about the llvm-dev