Lines Matching refs:Candidate
390 Value *Candidate = findClosestMatchingDominator(CandidateExpr, GEP);
391 if (Candidate == nullptr)
395 // Candidate does not necessarily have the same pointer type as GEP. Use
398 Candidate = Builder.CreateBitOrPointerCast(Candidate, GEP->getType());
399 assert(Candidate->getType() == GEP->getType());
401 // NewGEP = (char *)Candidate + RHS * sizeof(IndexedType)
422 // NewGEP = &Candidate[RHS * (sizeof(IndexedType) / sizeof(Candidate[0])));
431 Builder.CreateGEP(GEP->getResultElementType(), Candidate, RHS));
540 if (Value *Candidate = Candidates.back()) {
541 Instruction *CandidateInstruction = cast<Instruction>(Candidate);