Lines Matching defs:Candidate
419 Value *Candidate = findClosestMatchingDominator(CandidateExpr, GEP);
420 if (Candidate == nullptr)
424 // Candidate does not necessarily have the same pointer type as GEP. Use
427 Candidate = Builder.CreateBitOrPointerCast(Candidate, GEP->getType());
428 assert(Candidate->getType() == GEP->getType());
430 // NewGEP = (char *)Candidate + RHS * sizeof(IndexedType)
451 // NewGEP = &Candidate[RHS * (sizeof(IndexedType) / sizeof(Candidate[0])));
460 Builder.CreateGEP(GEP->getResultElementType(), Candidate, RHS));
569 if (Value *Candidate = Candidates.pop_back_val()) {
570 Instruction *CandidateInstruction = cast<Instruction>(Candidate);