/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | ReachingDefAnalysis.cpp | 172 int ReachingDefAnalysis::getReachingDef(MachineInstr *MI, int PhysReg) { in getReachingDef() 191 MachineInstr* ReachingDefAnalysis::getReachingMIDef(MachineInstr *MI, int PhysReg) { in getReachingMIDef() 196 int PhysReg) { in hasSameReachingDef() 222 int ReachingDefAnalysis::getClearance(MachineInstr *MI, MCPhysReg PhysReg) { in getClearance() 227 void ReachingDefAnalysis::getReachingLocalUses(MachineInstr *Def, int PhysReg, in getReachingLocalUses() 248 unsigned ReachingDefAnalysis::getNumUses(MachineInstr *Def, int PhysReg) { in getNumUses() 254 bool ReachingDefAnalysis::isRegUsedAfter(MachineInstr *MI, int PhysReg) { in isRegUsedAfter() 273 bool ReachingDefAnalysis::isReachingDefLiveOut(MachineInstr *MI, int PhysReg) { in isReachingDefLiveOut() 294 int PhysReg) { in getLocalLiveOutMIDef() 310 int PhysReg) { in getInstWithUseBefore() [all …]
|
H A D | RegAllocGreedy.cpp | 323 void addEviction(unsigned PhysReg, unsigned Evictor, unsigned Evictee) { in addEviction() 357 unsigned PhysReg; member 531 unsigned PhysReg; member 767 unsigned PhysReg; in tryAssign() local 811 unsigned PhysReg; in canReassign() local 872 bool RAGreedy::canEvictInterference(LiveInterval &VirtReg, unsigned PhysReg, in canEvictInterference() 970 unsigned PhysReg, SlotIndex Start, in canEvictInterferenceInRange() 1032 for (auto PhysReg : Order.getOrder()) { in getCheapestEvicteeWeight() local 1048 void RAGreedy::evictInterference(LiveInterval &VirtReg, unsigned PhysReg, in evictInterference() 1145 while (unsigned PhysReg = Order.next(OrderLimit)) { in tryEvict() local [all …]
|
H A D | RegAllocFast.cpp | 87 MCPhysReg PhysReg = 0; ///< Currently held here. member 143 void markRegUsedInInstr(MCPhysReg PhysReg) { in markRegUsedInInstr() 242 void RegAllocFast::setPhysRegState(MCPhysReg PhysReg, unsigned NewState) { in setPhysRegState() 344 MCPhysReg PhysReg) { in reload() 459 Register PhysReg = MO.getReg(); in usePhysReg() local 522 MCPhysReg PhysReg, RegState NewState) { in definePhysReg() 611 void RegAllocFast::assignVirtToPhysReg(LiveReg &LR, MCPhysReg PhysReg) { in assignVirtToPhysReg() 717 for (MCPhysReg PhysReg : AllocationOrder) { in allocVirtReg() local 758 MCPhysReg PhysReg; in allocVirtRegUndef() local 857 MCPhysReg PhysReg) { in setPhysReg() [all …]
|
H A D | LiveRegMatrix.cpp | 81 LiveInterval &VRegInterval, unsigned PhysReg, in foreachUnit() 104 void LiveRegMatrix::assign(LiveInterval &VirtReg, unsigned PhysReg) { in assign() 122 Register PhysReg = VRM->getPhys(VirtReg.reg); in unassign() local 147 unsigned PhysReg) { in checkRegMaskInterference() 165 unsigned PhysReg) { in checkRegUnitInterference() 186 LiveRegMatrix::checkInterference(LiveInterval &VirtReg, unsigned PhysReg) { in checkInterference() 210 unsigned PhysReg) { in checkInterference()
|
H A D | RegisterClassInfo.cpp | 111 unsigned PhysReg = RawOrder[i]; in compute() local 134 unsigned PhysReg = CSRAlias[i]; in compute() local
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/ |
H A D | RegAllocFast.cpp | 97 MCPhysReg PhysReg = 0; ///< Currently held here. member 163 void markRegUsedInInstr(MCPhysReg PhysReg) { in markRegUsedInInstr() 176 bool isRegUsedInInstr(MCPhysReg PhysReg, bool LookAtPhysRegUses) const { in isRegUsedInInstr() 190 void markPhysRegUsedInInstr(MCPhysReg PhysReg) { in markPhysRegUsedInInstr() 196 void unmarkRegUsedInInstr(MCPhysReg PhysReg) { in unmarkRegUsedInInstr() 310 void RegAllocFast::setPhysRegState(MCPhysReg PhysReg, unsigned NewState) { in setPhysRegState() 491 MCPhysReg PhysReg) { in reload() 551 MCPhysReg PhysReg = LR.PhysReg; in reloadAtBegin() local 593 bool RegAllocFast::displacePhysReg(MachineInstr &MI, MCPhysReg PhysReg) { in displacePhysReg() 623 void RegAllocFast::freePhysReg(MCPhysReg PhysReg) { in freePhysReg() [all …]
|
H A D | RegAllocGreedy.cpp | 398 MCRegister PhysReg; in tryAssign() local 451 MCRegister PhysReg; in canReassign() local 478 MCRegister PhysReg, in evictInterference() 1077 for (MCPhysReg PhysReg : Order) { in calculateRegionSplitCost() local 1391 void RAGreedy::calcGapWeights(MCRegister PhysReg, in calcGapWeights() 1559 for (MCPhysReg PhysReg : Order) { in tryLocalSplit() local 1712 Register PhysReg = tryLocalSplit(VirtReg, Order, NewVRegs); in trySplit() local 1727 MCRegister PhysReg = tryRegionSplit(VirtReg, Order, NewVRegs); in trySplit() local 1753 MCRegister PhysReg, in assignedRegPartiallyOverlaps() 1770 MCRegister PhysReg, const LiveInterval &VirtReg, in mayRecolorAllInterferences() [all …]
|
H A D | LiveRegMatrix.cpp | 81 const LiveInterval &VRegInterval, MCRegister PhysReg, in foreachUnit() 104 void LiveRegMatrix::assign(const LiveInterval &VirtReg, MCRegister PhysReg) { in assign() 122 Register PhysReg = VRM->getPhys(VirtReg.reg()); in unassign() local 147 MCRegister PhysReg) { in checkRegMaskInterference() 165 MCRegister PhysReg) { in checkRegUnitInterference() 187 MCRegister PhysReg) { in checkInterference() 211 MCRegister PhysReg) { in checkInterference()
|
H A D | ReachingDefAnalysis.cpp | 33 static bool isValidRegUseOf(const MachineOperand &MO, MCRegister PhysReg, in isValidRegUseOf() 44 static bool isValidRegDefOf(const MachineOperand &MO, MCRegister PhysReg, in isValidRegDefOf() 332 MCRegister PhysReg, in getReachingLocalUses() 357 MCRegister PhysReg, in getLiveInUses() 375 void ReachingDefAnalysis::getGlobalUses(MachineInstr *MI, MCRegister PhysReg, in getGlobalUses() 401 MCRegister PhysReg, in getGlobalReachingDefs() 413 MCRegister PhysReg, InstSet &Defs) const { in getLiveOuts() 419 MCRegister PhysReg, InstSet &Defs, in getLiveOuts() 652 auto IsDead = [this, &Dead](MachineInstr *Def, MCRegister PhysReg) { in collectKilledOperands() 687 bool ReachingDefAnalysis::isSafeToDefRegAt(MachineInstr *MI, MCRegister PhysReg, in isSafeToDefRegAt()
|
H A D | RegAllocEvictionAdvisor.cpp | 168 const LiveInterval &VirtReg, MCRegister PhysReg, in canEvictHintInterference() 186 const LiveInterval &VirtReg, MCRegister PhysReg, bool IsHint, in canEvictInterferenceBasedOnCost() 296 MCRegister PhysReg = *I; in tryFindEvictionCandidate() local
|
H A D | VirtRegMap.cpp | 350 Register PhysReg = VRM->getPhys(VirtReg); in addMBBLiveIns() local 553 MCRegister PhysReg = VRM->getPhys(VirtReg); in rewrite() local 635 for (Register PhysReg : RewriteRegs) { in rewrite() local
|
/aosp_15_r20/external/llvm/lib/CodeGen/ |
H A D | RegAllocGreedy.cpp | 263 unsigned PhysReg; member 411 unsigned PhysReg; member 622 unsigned PhysReg; in tryAssign() local 664 unsigned PhysReg; in canReassign() local 725 bool RAGreedy::canEvictInterference(LiveInterval &VirtReg, unsigned PhysReg, in canEvictInterference() 807 void RAGreedy::evictInterference(LiveInterval &VirtReg, unsigned PhysReg, in evictInterference() 894 while (unsigned PhysReg = Order.next(OrderLimit)) { in tryEvict() local 1390 while (unsigned PhysReg = Order.next()) { in calculateRegionSplitCost() local 1647 void RAGreedy::calcGapWeights(unsigned PhysReg, in calcGapWeights() 1810 while (unsigned PhysReg = Order.next()) { in tryLocalSplit() local [all …]
|
H A D | RegAllocFast.cpp | 72 unsigned PhysReg; // Currently held here. member 123 void markRegUsedInInstr(unsigned PhysReg) { in markRegUsedInInstr() 349 unsigned PhysReg = MO.getReg(); in usePhysReg() local 416 void RAFast::definePhysReg(MachineInstr &MI, unsigned PhysReg, in definePhysReg() 507 void RAFast::assignVirtToPhysReg(LiveReg &LR, unsigned PhysReg) { in assignVirtToPhysReg() 516 RAFast::assignVirtToPhysReg(unsigned VirtReg, unsigned PhysReg) { in assignVirtToPhysReg() 556 unsigned PhysReg = *I; in allocVirtReg() local 685 bool RAFast::setPhysReg(MachineInstr *MI, unsigned OpNum, unsigned PhysReg) { in setPhysReg() 759 unsigned PhysReg = LRI->PhysReg; in handleThroughOperands() local 782 unsigned PhysReg = LRI->PhysReg; in handleThroughOperands() local [all …]
|
H A D | LiveRegMatrix.cpp | 75 unsigned PhysReg, Callable Func) { in foreachUnit() 97 void LiveRegMatrix::assign(LiveInterval &VirtReg, unsigned PhysReg) { in assign() 115 unsigned PhysReg = VRM->getPhys(VirtReg.reg); in unassign() local 140 unsigned PhysReg) { in checkRegMaskInterference() 158 unsigned PhysReg) { in checkRegUnitInterference() 179 LiveRegMatrix::checkInterference(LiveInterval &VirtReg, unsigned PhysReg) { in checkInterference()
|
H A D | RegisterClassInfo.cpp | 99 unsigned PhysReg = RawOrder[i]; in compute() local 121 unsigned PhysReg = CSRAlias[i]; in compute() local
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/CodeGen/ |
H A D | TargetRegisterInfo.h | 534 explainReservedReg(const MachineFunction &MF, MCRegister PhysReg) const { in explainReservedReg() 541 MCRegister PhysReg) const { in isAsmClobberable() 547 unsigned PhysReg) const { in isInlineAsmReadOnlyReg() 553 virtual bool isConstantPhysReg(MCRegister PhysReg) const { return false; } in isConstantPhysReg() 565 virtual bool isCallerPreservedPhysReg(MCRegister PhysReg, in isCallerPreservedPhysReg() 577 MCRegister PhysReg) const { in isArgumentRegister() 583 MCRegister PhysReg) const { in isFixedRegister() 589 MCRegister PhysReg) const { in isGeneralPurposeRegister()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/CodeGen/ |
D | TargetRegisterInfo.h | 541 explainReservedReg(const MachineFunction &MF, MCRegister PhysReg) const { in explainReservedReg() 548 MCRegister PhysReg) const { in isAsmClobberable() 554 unsigned PhysReg) const { in isInlineAsmReadOnlyReg() 560 virtual bool isConstantPhysReg(MCRegister PhysReg) const { return false; } in isConstantPhysReg() 578 virtual bool isCallerPreservedPhysReg(MCRegister PhysReg, in isCallerPreservedPhysReg() 590 MCRegister PhysReg) const { in isArgumentRegister() 596 MCRegister PhysReg) const { in isFixedRegister() 602 MCRegister PhysReg) const { in isGeneralPurposeRegister()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/CodeGen/ |
D | TargetRegisterInfo.h | 562 explainReservedReg(const MachineFunction &MF, MCRegister PhysReg) const { in explainReservedReg() 569 MCRegister PhysReg) const { in isAsmClobberable() 575 unsigned PhysReg) const { in isInlineAsmReadOnlyReg() 581 virtual bool isConstantPhysReg(MCRegister PhysReg) const { return false; } in isConstantPhysReg() 605 virtual bool isCallerPreservedPhysReg(MCRegister PhysReg, in isCallerPreservedPhysReg() 617 MCRegister PhysReg) const { in isArgumentRegister() 623 MCRegister PhysReg) const { in isFixedRegister() 629 MCRegister PhysReg) const { in isGeneralPurposeRegister()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/CodeGen/ |
D | TargetRegisterInfo.h | 543 explainReservedReg(const MachineFunction &MF, MCRegister PhysReg) const { in explainReservedReg() 550 MCRegister PhysReg) const { in isAsmClobberable() 556 unsigned PhysReg) const { in isInlineAsmReadOnlyReg() 562 virtual bool isConstantPhysReg(MCRegister PhysReg) const { return false; } in isConstantPhysReg() 580 virtual bool isCallerPreservedPhysReg(MCRegister PhysReg, in isCallerPreservedPhysReg() 592 MCRegister PhysReg) const { in isArgumentRegister() 598 MCRegister PhysReg) const { in isFixedRegister() 604 MCRegister PhysReg) const { in isGeneralPurposeRegister()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/CodeGen/ |
D | TargetRegisterInfo.h | 543 explainReservedReg(const MachineFunction &MF, MCRegister PhysReg) const { in explainReservedReg() 550 MCRegister PhysReg) const { in isAsmClobberable() 556 unsigned PhysReg) const { in isInlineAsmReadOnlyReg() 562 virtual bool isConstantPhysReg(MCRegister PhysReg) const { return false; } in isConstantPhysReg() 580 virtual bool isCallerPreservedPhysReg(MCRegister PhysReg, in isCallerPreservedPhysReg() 592 MCRegister PhysReg) const { in isArgumentRegister() 598 MCRegister PhysReg) const { in isFixedRegister() 604 MCRegister PhysReg) const { in isGeneralPurposeRegister()
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
H A D | SIPreAllocateWWMRegs.cpp | 107 for (unsigned PhysReg : RegClassInfo.getOrder(MRI->getRegClass(Reg))) { in processDef() local 135 Register PhysReg = VRM->getPhys(VirtReg); in rewriteRegs() local 153 const Register PhysReg = VRM->getPhys(Reg); in rewriteRegs() local
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AMDGPU/ |
H A D | SIPreAllocateWWMRegs.cpp | 103 for (MCRegister PhysReg : RegClassInfo.getOrder(MRI->getRegClass(Reg))) { in processDef() local 130 Register PhysReg = VRM->getPhys(VirtReg); in rewriteRegs() local 148 const Register PhysReg = VRM->getPhys(Reg); in rewriteRegs() local
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/PowerPC/GISel/ |
H A D | PPCCallLowering.cpp | 50 void OutgoingArgHandler::assignValueToReg(Register ValVReg, Register PhysReg, in assignValueToReg() 145 Register PhysReg, in assignValueToReg() 183 void FormalArgHandler::markPhysRegUsed(unsigned PhysReg) { in markPhysRegUsed()
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/Mips/ |
H A D | MipsCallLowering.cpp | 108 virtual void markPhysRegUsed(unsigned PhysReg) { in markPhysRegUsed() 121 void markPhysRegUsed(unsigned PhysReg) override { in markPhysRegUsed() 131 Register PhysReg, in assignValueToReg() 220 Register PhysReg, in assignValueToReg()
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
H A D | MipsCallLowering.cpp | 108 virtual void markPhysRegUsed(unsigned PhysReg) { in markPhysRegUsed() 127 void markPhysRegUsed(unsigned PhysReg) override { in markPhysRegUsed() 141 Register PhysReg = VA.getLocReg(); in assignValueToReg() local 253 Register PhysReg = VA.getLocReg(); in assignValueToReg() local
|