reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1218 assert(GEPI->getNumOperands() >= 3 && isa<ConstantInt>(GEPI->getOperand(2)) 1218 assert(GEPI->getNumOperands() >= 3 && isa<ConstantInt>(GEPI->getOperand(2)) 1222 unsigned FieldNo = cast<ConstantInt>(GEPI->getOperand(2))->getZExtValue(); 1223 Value *NewPtr = GetHeapSROAValue(GEPI->getOperand(0), FieldNo, 1228 GEPIdx.push_back(GEPI->getOperand(1)); 1229 GEPIdx.append(GEPI->op_begin()+3, GEPI->op_end()); 1229 GEPIdx.append(GEPI->op_begin()+3, GEPI->op_end()); 1231 Value *NGEPI = GetElementPtrInst::Create(GEPI->getResultElementType(), NewPtr, GEPIdx, 1232 GEPI->getName(), GEPI); 1232 GEPI->getName(), GEPI); 1233 GEPI->replaceAllUsesWith(NGEPI); 1234 GEPI->eraseFromParent();