search for: stack_abc1

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

Did you mean: stack_abc
2010 Jul 14
2
[LLVMdev] Figuring out the parameters of the Call Instruction
...ands of the call instruction and there descriptions. I do not see among the fields of the call instruction the ptrtoint instruction. How can I reach the ptrtoint instruction from the call instruction ? What fields I need to access. 26 p_ptr ((unsigned long) &stack_abc); %stack_abc1 = ptrtoint %struct.my_struct* %stack_abc to i64, !dbg !33 ; <i64> [#uses=1] call void @p_ptr(i64 %stack_abc1) nounwind, !dbg !33 Q.2 stack_abc1 is a alias for the operation performed by the ptrtoint instruction. Which fields from the instruction class will help me read if I may...
2010 Jul 15
0
[LLVMdev] Figuring out the parameters of the Call Instruction
...n your example. > How can I reach the ptrtoint instruction from the call > instruction ? What fields I need to access. It is the first argument to the call instruction CI, thus you can get it with CI->getArgOperand(0). > 26 p_ptr ((unsigned long)&stack_abc); > %stack_abc1 = ptrtoint %struct.my_struct* %stack_abc to i64, !dbg > !33 ;<i64> [#uses=1] > call void @p_ptr(i64 %stack_abc1) nounwind, !dbg !33 > > Q.2 stack_abc1 is a alias for the operation performed by the > ptrtoint instruction. > Which fields from the instruction...