search for: llvmifunc

Displaying 2 results from an estimated 2 matches for "llvmifunc".

Did you mean: llvmfunc
2011 Oct 17
2
[LLVMdev] Variable name from metadata
...tOperand(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("llvm.dbg.declare") == 0 )                             {                               int x = 0;                 int numoperands = CI->getNumArgOperands();                 for( unsigned i = 0; i...
2011 Oct 17
0
[LLVMdev] Variable name from metadata
...;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("llvm.dbg.declare") == 0 )                             {                               int x = 0;                 int numoperands = CI->getNumArgOperands();                 for( unsigned i = 0; i...