Displaying 1 result from an estimated 1 matches for "35e89a31".
Did you mean:
3589631
2014 Nov 22
2
[LLVMdev] How to get the indices in an getelementptr Value?
Hi, all
I am a LLVM user. I want to get every element in the next instruction:
%0 = load i32* getelementptr inbounds (%struct.Args* @globalArg, i64 0, i32
2), align 4, !dbg !85, !clap !86
Now I can only get value "i32* getelementptr inbounds (%struct.Args*
@globalArg, i64 0, i32 2)" through "getOperand(0)",
but I can not get "%struct.Args* @globalArg", "i64