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