reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
372 for (auto Index = GEP->idx_begin(); Index != GEP->idx_end(); ++Index) 372 for (auto Index = GEP->idx_begin(); Index != GEP->idx_end(); ++Index) 376 if (isKnownNonNegative(LHS, *DL, 0, AC, GEP, DT) && 378 DL->getTypeSizeInBits(GEP->getOperand(I)->getType())) { 384 SE->getZeroExtendExpr(IndexExprs[I], GEP->getOperand(I)->getType()); 386 const SCEV *CandidateExpr = SE->getGEPExpr(cast<GEPOperator>(GEP), 389 Value *Candidate = findClosestMatchingDominator(CandidateExpr, GEP); 393 IRBuilder<> Builder(GEP); 397 Candidate = Builder.CreateBitOrPointerCast(Candidate, GEP->getType()); 398 assert(Candidate->getType() == GEP->getType()); 402 Type *ElementType = GEP->getResultElementType(); 422 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); 430 Builder.CreateGEP(GEP->getResultElementType(), Candidate, RHS)); 431 NewGEP->setIsInBounds(GEP->isInBounds()); 432 NewGEP->takeName(GEP);