Displaying 2 results from an estimated 2 matches for "value_op_iterator".
2013 Apr 09
2
[LLVMdev] get the identifies of the unnamed temporaries from the instruction of LLVM IR
hello guys:
I am in trouble with get the identifies of the unnamed temporaries from the
instruction of LLVM IR.
for example:
instruction: %4 = mul nsw i32 %1, %width
unnamed temporaries: %4, %1
how to get them?
I have tried several iterators(op_iterator,value_op_iterator) and
getOperand(int) function,but none of them works.
does anyone know how to get it? thanks very much
--
View this message in context: http://llvm.1065342.n5.nabble.com/get-the-identifies-of-the-unnamed-temporaries-from-the-instruction-of-LLVM-IR-tp56572.html
Sent from the LLVM - Dev mailing li...
2013 Apr 09
0
[LLVMdev] get the identifies of the unnamed temporaries from the instruction of LLVM IR
...s %4 and
%1 only exist in the human readable IR (.ll file), as without them it wouldn't
be possible to convert the human readable IR back into bitcode. You can't get
hold of them from the API since they don't exist.
> how to get them?
> I have tried several iterators(op_iterator,value_op_iterator) and
> getOperand(int) function,but none of them works.
> does anyone know how to get it? thanks very much
Why do you want them? Maybe you are really looking for debug info?
Ciao, Duncan.
>
>
>
> --
> View this message in context: http://llvm.1065342.n5.nabble.com/get-the-i...