[LLVMdev] Operand, instruction

Duncan Sands baldrick at free.fr
Mon Mar 29 05:53:34 PDT 2010


Hi,

> Actually i have to implement strength reduction, for that i have to first
> detect induction variables using ALLEN-COCKE-KENNEDY algorithm. To find out
> induction variables, i need the name of the instruction.

I suspect you are confused.  Surely you only need a way of referring to each
instruction.  For this you can use a pointer to the instruction.

Ciao,

Duncan.



More information about the llvm-dev mailing list