search for: merkulow

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

Did you mean: merkulov
2012 Jul 05
0
[LLVMdev] Accessing Return Variable Names
Hi John, %4 is not returned, because it's a temp register value and not a named variable. But you can implement something like the code below to get this value. (Not the most elegant, but more or less working solution). static std::string getName(Instruction* i) { if(i->getOpcode() == Instruction::Store) { return
2012 Jul 05
4
[LLVMdev] Accessing Return Variable Names
Hello, I'm new to llvm development and I have a question which I think should be straight forward, but I am having trouble figuring it out. I want to be able to access the return variable name for an instruction. For some instructions I can get this value through the "getName" method. For example, with the instruction: > %arg11 = bitcast i32* %arg1 to i8*, !dbg !42, !id