search for: getvaueid

Displaying 4 results from an estimated 4 matches for "getvaueid".

Did you mean: getvalueid
2012 May 09
2
[LLVMdev] How can I get the destination operand of an instruction?
...instruction. // ----------------------------------------------------------------- BasicBlock::iterator it; ... for(int k=0; k<OpNum; k++){ errs()<<it->getOperand(k)<<" "; } ... // -------------------------------------------------------------------- Also I try it->getVaueID(), and it->InstructionVal to get destination operand. They don't work and I know what they return now ). <ofv at wanadoo.es>(My computer can't display your name correctly, and I am sorry for this.) is right, getOperand() actually returns Value*. The reason that I see string like...
2012 May 09
0
[LLVMdev] How can I get the destination operand of an instruction?
...Block::iterator it; > ... > for(int k=0; k<OpNum; k++){ > errs()<<it->getOperand(k)<<" "; try this: it->getOperand(k)->dump() > } > ... > // -------------------------------------------------------------------- > > Also I try > it->getVaueID(), and it->InstructionVal > to get destination operand. What do you mean by "destination operand"? Ciao, Duncan.
2012 May 09
0
[LLVMdev] How can I get the destination operand of an instruction?
Launcher <st.liucheng at gmail.com> writes: > I am able to access the source operands of an instruction using either > getOperand() or op_iterator, However, I can't find any method available for > destination operand. Someone suggests that instruction itself can represent > the destination operand. > http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-January/037518.html
2012 May 09
4
[LLVMdev] How can I get the destination operand of an instruction?
I am able to access the source operands of an instruction using either getOperand() or op_iterator, However, I can't find any method available for destination operand. Someone suggests that instruction itself can represent the destination operand. http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-January/037518.html The getOperand() returns an unsigned value like 0x9063498, while I can't