[LLVMdev] Operand, instruction
krishnadhan at cse.iitb.ac.in
Tue Apr 13 13:26:40 PDT 2010
Can you please give an example of creating an instruction (for example add
instructions with two operand a and b)? I am trying instruction() for a
while, but no success yet.
Duncan Sands wrote:
>> Actually i have to implement strength reduction, for that i have to first
>> detect induction variables using ALLEN-COCKE-KENNEDY algorithm. To find
>> induction variables, i need the name of the instruction.
> I suspect you are confused. Surely you only need a way of referring to
> instruction. For this you can use a pointer to the instruction.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
View this message in context: http://old.nabble.com/Operand%2C-instruction-tp21961718p28235150.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
More information about the llvm-dev