search for: inst_gep

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

Did you mean: const_gep
2008 Aug 28
1
[LLVMdev] instruction CE_GEP
Hi all, I have a question with the "getelemptr" instruction. E.g.: I have some GEP instructions in my program. Some look like: <INST_GEP op0=26 op1=64 op2=429/> . <INST_GEP op0=341 op1=64 op2=101 op3=499 op4=0/> The first instruction above in assembly file: %tmp60 = getelementptr [512 x i32]* @weights, i32 0, i32 %k.3.ph Ok, we see it all: Index of @weights in value list = 26 Index of "i32 0" in value list = 6...
2011 Nov 06
0
[LLVMdev] Enable Detailed Output llvm-bcanalyzer
...Bits % Abv Record Kind 11024 705536 INST_STORE 10930 295098 100.00 INST_LOAD 10519 575014 INST_ALLOCA 8444 692924 INST_CALL 5714 217132 100.00 INST_CAST 4370 54722 100.00 INST_RET 4370 96188 DECLAREBLOCKS 3791 263822 INST_INBOUNDS_GEP 2209 64912 INST_BR 1805 173588 INST_INVOKE 1269 88794 INST_GEP 476 30464 INST_CMP2 445 1780 100.00 INST_UNREACHABLE 161 7378 100.00 INST_BINOP 21 1488 INST_PHI 4 160 INST_EXTRACTVAL 1 94 INST_SWITCH The above tells you there are 4379 functions in the bitcode file. Globally, there are 11024 stores, 10930 loads, 10519 allocas, etc. Obtaining details on a...