Home | History | Annotate | Download | only in AArch64

Lines Matching refs:Candidate

588              // store are LOH candidate iff the end of the chain is used as
599 // candidate for simplificaton in non-ADRPMode.
696 /// Check whether the given instruction is a LOH candidate.
699 /// \pre UseToDefs contains only on def per use, i.e., obvious non candidate are
804 // If no definition is available, this is a non candidate.
830 // A potential candidate becomes a candidate, if its current immediate
835 for (const MachineInstr *Candidate
836 // Get the definition of the candidate i.e., ADD or LDR.
837 const MachineInstr *Def = *UseToDefs.find(Candidate)->second.begin();
849 // if all the uses of this def are in potential candidate, this is
850 // a complex candidate of level 2.
877 // if all the uses of this def are in the defs of the potential candidate,
878 // this is a complex candidate of level 1
882 for (const MachineInstr *Candidate : PotentialCandidates) {
883 if (!UseToDefs.find(Candidate)->second.empty())
885 *UseToDefs.find(Candidate)->second.begin());
909 if (isCandidateLoad(Candidate)) {
911 // At this point, the candidate LOH indicates that the ldr instruction
914 if (!supportLoadFromLiteral(Candidate))
917 DEBUG(dbgs() << "Record AdrpLdr:\n" << *L1 << '\n' << *Candidate
921 Args.push_back(Candidate);
924 assert((!InvolvedInLOHs || InvolvedInLOHs->insert(Candidate)) &&
925 "Candidate already involved in LOH.");
929 << "Ldr:\n" << *L1 << '\n' << *L2 << '\n' << *Candidate
935 Args.push_back(Candidate);
942 assert((!InvolvedInLOHs || InvolvedInLOHs->insert(Candidate)) &&
943 "Candidate already involved in LOH.");
946 if (Candidate->getOperand(2).getImm() == 0)
963 << "Str:\n" << *L1 << '\n' << *L2 << '\n' << *Candidate
969 Args.push_back(Candidate);
976 assert((!InvolvedInLOHs || InvolvedInLOHs->insert(Candidate)) &&
977 "Candidate already involved in LOH.");
980 if (Candidate->getOperand(2).getImm() == 0)
996 for (const MachineInstr *Candidate : PotentialADROpportunities)
997 registerADRCandidate(*Candidate, UseToDefs, DefsPerColorToUses, AArch64FI,