Displaying 2 results from an estimated 2 matches for "llvminam".
Did you mean:
llvminame
2011 Oct 17
2
[LLVMdev] Variable name from metadata
...temp_MDNode->getName() nor temp_MDNode->getValueName() give me "global_int" which is name of a variable.
2. I tried below ways as well.
DIVariable DV(mdnode1);
Value *v = mdnode1->getOperand(0);//gives add 0x69
3. I have written below code to reach till variable name.
LLVMIname is
const CallInst *CI = dyn_cast<CallInst>(Insn);
const Value* LLVMIValue = cast<CallInst>(Insn)->getCalledValue();
const Function *LLVMIFunc= dyn_cast<Function>(LLVMIValue);
if( LLVMIname.compare("...
2011 Oct 17
0
[LLVMdev] Variable name from metadata
...er temp_MDNode->getName() nor temp_MDNode->getValueName() give me "global_int" which is name of a variable.
2. I tried below ways as well.
DIVariable DV(mdnode1);
Value *v = mdnode1->getOperand(0);//gives add 0x69
3. I have written below code to reach till variable name.
LLVMIname is
const CallInst *CI = dyn_cast<CallInst>(Insn);
const Value* LLVMIValue = cast<CallInst>(Insn)->getCalledValue();
const Function *LLVMIFunc= dyn_cast<Function>(LLVMIValue);
if( LLVMIname.compare("...