Lines Matching refs:RegToId
286 const MapRegToId &RegToId, in initReachingDef() argument
289 unsigned NbReg = RegToId.size(); in initReachingDef()
310 MapRegToId::const_iterator ItCurRegId = RegToId.find(CurReg); in initReachingDef()
311 if (ItCurRegId == RegToId.end()) in initReachingDef()
331 for (const auto &Entry : RegToId) { in initReachingDef()
350 MapRegToId::const_iterator ItCurRegId = RegToId.find(CurReg); in initReachingDef()
351 if (ItCurRegId == RegToId.end()) in initReachingDef()
355 MapRegToId::const_iterator ItRegId = RegToId.find(*AI); in initReachingDef()
356 assert(ItRegId != RegToId.end() && in initReachingDef()
438 const MapRegToId &RegToId, bool ADRPMode = false, in reachingDef() argument
454 initReachingDef(MF, ColorOpToReachedUses, Gen, Kill, ReachableUses, RegToId, in reachingDef()
460 ReachableUses, RegToId.size()); in reachingDef()
550 const MapRegToId &RegToId, in reachedUsesToDefs() argument
554 unsigned NbReg = RegToId.size(); in reachedUsesToDefs()
555 MapRegToId::const_iterator EndIt = RegToId.end(); in reachedUsesToDefs()
572 ((It = RegToId.find((MI)->getOperand(1).getReg())) == EndIt || in reachedUsesToDefs()
723 const MapRegToId &RegToId) { in registerADRCandidate() argument
741 RegToId.find(Def.getOperand(0).getReg())->second, Def); in registerADRCandidate()
767 AArch64FunctionInfo &AArch64FI, const MapRegToId &RegToId, in computeOthers() argument
828 RegToId.find(Def->getOperand(0).getReg())->second, *Def); in computeOthers()
856 RegToId.find(Def->getOperand(0).getReg())->second, *Def); in computeOthers()
980 InvolvedInLOHs, RegToId); in computeOthers()
986 static void collectInvolvedReg(const MachineFunction &MF, MapRegToId &RegToId, in collectInvolvedReg() argument
993 RegToId[CurRegId] = CurRegId; in collectInvolvedReg()
1014 if (RegToId.find(*AI) == RegToId.end()) { in collectInvolvedReg()
1018 RegToId[*AI] = CurRegId++; in collectInvolvedReg()
1030 MapRegToId RegToId; in runOnMachineFunction() local
1037 collectInvolvedReg(MF, RegToId, IdToReg, TRI); in runOnMachineFunction()
1038 if (RegToId.empty()) in runOnMachineFunction()
1049 unsigned NbReg = RegToId.size(); in runOnMachineFunction()
1057 reachingDef(MF, ColorOpToReachedUses, RegToId, true, DummyOp); in runOnMachineFunction()
1064 reachedUsesToDefs(ADRPToReachingDefs, ColorOpToReachedUses, RegToId, true); in runOnMachineFunction()
1074 reachingDef(MF, ColorOpToReachedUses, RegToId, false, DummyOp); in runOnMachineFunction()
1080 reachedUsesToDefs(UsesToReachingDefs, ColorOpToReachedUses, RegToId, false); in runOnMachineFunction()
1083 computeOthers(UsesToReachingDefs, ColorOpToReachedUses, *AArch64FI, RegToId, in runOnMachineFunction()