Lines Matching refs:Candidate
827 for (const MachineInstr *Candidate : PotentialCandidates) { in computeOthers() local
829 const MachineInstr *Def = *UseToDefs.find(Candidate)->second.begin(); in computeOthers()
874 for (const MachineInstr *Candidate : PotentialCandidates) { in computeOthers() local
875 if (!UseToDefs.find(Candidate)->second.empty()) in computeOthers()
877 *UseToDefs.find(Candidate)->second.begin()); in computeOthers()
902 if (isCandidateLoad(Candidate)) { in computeOthers()
907 if (!supportLoadFromLiteral(Candidate)) in computeOthers()
910 DEBUG(dbgs() << "Record AdrpLdr:\n" << *L1 << '\n' << *Candidate in computeOthers()
914 Args.push_back(Candidate); in computeOthers()
917 assert((!InvolvedInLOHs || InvolvedInLOHs->insert(Candidate)) && in computeOthers()
922 << "Ldr:\n" << *L1 << '\n' << *L2 << '\n' << *Candidate in computeOthers()
928 Args.push_back(Candidate); in computeOthers()
935 assert((!InvolvedInLOHs || InvolvedInLOHs->insert(Candidate)) && in computeOthers()
939 if (Candidate->getOperand(2).getImm() == 0) in computeOthers()
956 << "Str:\n" << *L1 << '\n' << *L2 << '\n' << *Candidate in computeOthers()
962 Args.push_back(Candidate); in computeOthers()
969 assert((!InvolvedInLOHs || InvolvedInLOHs->insert(Candidate)) && in computeOthers()
973 if (Candidate->getOperand(2).getImm() == 0) in computeOthers()
989 for (const MachineInstr *Candidate : PotentialADROpportunities) in computeOthers() local
990 registerADRCandidate(*Candidate, UseToDefs, DefsPerColorToUses, AArch64FI, in computeOthers()