示例#1
0
 private void visitGetElementPtrRead(Instruction_getelementptr instr) {
   visitValueRef(instr.getBase().getRef());
   for (TypedValue index : instr.getIndices()) {
     visitValueRef(index.getRef());
   }
 }
示例#2
0
 @Override
 public ResolvedType caseInstruction_getelementptr(Instruction_getelementptr object) {
   return resolveGep(object.getBase().getType(), object.getIndices());
 }