Displaying 3 results from an estimated 3 matches for "tp56572p56588".
Did you mean:
tp56572p56579
2013 Apr 09
2
[LLVMdev] get the identifies of the unnamed temporaries from the instruction of LLVM IR
hi, Duncan:
thanks for your patience.
i have tried it.
using instuction: errs()<<i->getOperand(0);
but it prints the address: someting like 0x1139700;
i checked the defination of getOperand() is Value* getOperand( unsigned int
i);
so is there someting i missed?
--
View this message in context:
2013 Apr 09
0
[LLVMdev] get the identifies of the unnamed temporaries from the instruction of LLVM IR
Hi,
On 09/04/13 11:56, Dong Chen wrote:
> hi, Duncan:
> thanks for your patience.
> i have tried it.
> using instuction: errs()<<i->getOperand(0);
errs()<<*i->getOperand(0);
You can also use: i->getOperand(0)->dump();
Ciao, Duncan.
> but it prints the address: someting like 0x1139700;
> i checked the defination of getOperand() is Value* getOperand(
2013 Apr 09
3
[LLVMdev] get the identifies of the unnamed temporaries from the instruction of LLVM IR
...n "i->getOperand(0)->dump()" may print the %4 in the screen, but
how can i store it in a variable like char * oprand="%4" ?
--
View this message in context: http://llvm.1065342.n5.nabble.com/get-the-identifies-of-the-unnamed-temporaries-from-the-instruction-of-LLVM-IR-tp56572p56588.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.