Home | History | Annotate | Download | only in AArch64

Lines Matching refs:Candidate

570              // store are LOH candidate iff the end of the chain is used as
581 // candidate for simplificaton in non-ADRPMode.
678 /// Check whether the given instruction is a LOH candidate.
681 /// \pre UseToDefs contains only on def per use, i.e., obvious non candidate are
786 // If no definition is available, this is a non candidate.
812 // A potential candidate becomes a candidate, if its current immediate
817 for (const MachineInstr *Candidate : PotentialCandidates) {
818 // Get the definition of the candidate i.e., ADD or LDR.
819 const MachineInstr *Def = *UseToDefs.find(Candidate)->second.begin();
831 // if all the uses of this def are in potential candidate, this is
832 // a complex candidate of level 2.
859 // if all the uses of this def are in the defs of the potential candidate,
860 // this is a complex candidate of level 1
864 for (const MachineInstr *Candidate : PotentialCandidates) {
865 if (!UseToDefs.find(Candidate)->second.empty())
867 *UseToDefs.find(Candidate)->second.begin());
891 if (isCandidateLoad(Candidate)) {
893 // At this point, the candidate LOH indicates that the ldr instruction
896 if (!supportLoadFromLiteral(Candidate))
899 DEBUG(dbgs() << "Record AdrpLdr:\n" << *L1 << '\n' << *Candidate
903 Args.push_back(Candidate);
906 assert((!InvolvedInLOHs || InvolvedInLOHs->insert(Candidate)) &&
907 "Candidate already involved in LOH.");
911 << "Ldr:\n" << *L1 << '\n' << *L2 << '\n' << *Candidate
917 Args.push_back(Candidate);
924 assert((!InvolvedInLOHs || InvolvedInLOHs->insert(Candidate)) &&
925 "Candidate already involved in LOH.");
928 if (Candidate->getOperand(2).getImm() == 0)
945 << "Str:\n" << *L1 << '\n' << *L2 << '\n' << *Candidate
951 Args.push_back(Candidate);
958 assert((!InvolvedInLOHs || InvolvedInLOHs->insert(Candidate)) &&
959 "Candidate already involved in LOH.");
962 if (Candidate->getOperand(2).getImm() == 0)
978 for (const MachineInstr *Candidate : PotentialADROpportunities)
979 registerADRCandidate(*Candidate, UseToDefs, DefsPerColorToUses, AArch64FI,