Home
last modified time | relevance | path

Searched refs:NewRC (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineRegisterInfo.cpp73 const TargetRegisterClass *NewRC = in constrainRegClass() local
75 if (!NewRC || NewRC == OldRC) in constrainRegClass()
76 return NewRC; in constrainRegClass()
77 if (NewRC->getNumRegs() < MinNumRegs) in constrainRegClass()
79 MRI.setRegClass(Reg, NewRC); in constrainRegClass()
80 return NewRC; in constrainRegClass()
124 const TargetRegisterClass *NewRC = in recomputeRegClass() local
128 if (NewRC == OldRC) in recomputeRegClass()
136 NewRC = MI->getRegClassConstraintEffect(OpNo, NewRC, TII, in recomputeRegClass()
138 if (!NewRC || NewRC == OldRC) in recomputeRegClass()
[all …]
H A DCriticalAntiDepBreaker.cpp186 const TargetRegisterClass *NewRC = nullptr; in PrescanInstruction() local
189 NewRC = TII->getRegClass(MI.getDesc(), i, TRI, MF); in PrescanInstruction()
193 if (!Classes[Reg] && NewRC) in PrescanInstruction()
194 Classes[Reg] = NewRC; in PrescanInstruction()
195 else if (!NewRC || Classes[Reg] != NewRC) in PrescanInstruction()
314 const TargetRegisterClass *NewRC = nullptr; in ScanInstruction() local
316 NewRC = TII->getRegClass(MI.getDesc(), i, TRI, MF); in ScanInstruction()
320 if (!Classes[Reg] && NewRC) in ScanInstruction()
321 Classes[Reg] = NewRC; in ScanInstruction()
322 else if (!NewRC || Classes[Reg] != NewRC) in ScanInstruction()
H A DRegisterCoalescer.h57 const TargetRegisterClass *NewRC = nullptr; variable
81 bool isPhys() const { return !NewRC; } in isPhys()
109 const TargetRegisterClass *getNewRC() const { return NewRC; } in getNewRC()
H A DRegisterCoalescer.cpp455 NewRC = nullptr; in setRegisters()
503 if (!NewRC) in setRegisters()
508 NewRC = TRI.getMatchingSuperRegClass(DstRC, SrcRC, DstSub); in setRegisters()
515 NewRC = TRI.getCommonSubClass(DstRC, SrcRC); in setRegisters()
519 if (!NewRC) in setRegisters()
530 CrossClass = NewRC != DstRC || NewRC != SrcRC; in setRegisters()
1382 const TargetRegisterClass *NewRC = CP.getNewRC(); in reMaterializeTrivialDef() local
1392 NewRC = CommonRC; in reMaterializeTrivialDef()
1484 NewRC = TRI->getMatchingSuperRegClass(NewRC, DefRC, NewIdx); in reMaterializeTrivialDef()
1486 NewRC = TRI->getCommonSubClass(NewRC, DefRC); in reMaterializeTrivialDef()
[all …]
H A DPeepholeOptimizer.cpp824 const TargetRegisterClass *NewRC = MRI.getRegClass(SrcRegs[0].Reg); in insertPHI() local
828 Register NewVR = MRI.createVirtualRegister(NewRC); in insertPHI()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyCallGraph.cpp1648 RefSCC *NewRC = OriginalRC; in addSplitFunction() local
1660 NewRC->SCCs.insert(NewRC->SCCs.begin() + InsertIndex, NewC); in addSplitFunction()
1662 NewRC->SCCIndices[NewRC->SCCs[I]] = I; in addSplitFunction()
1675 NewRC->SCCIndices[NewC] = 0; in addSplitFunction()
1676 NewRC->SCCs.push_back(NewC); in addSplitFunction()
1722 RefSCC *NewRC; in addSplitRefRecursiveFunctions() local
1727 NewRC = OriginalRC; in addSplitRefRecursiveFunctions()
1730 NewRC = createRefSCC(*this); in addSplitRefRecursiveFunctions()
1752 NewRC->SCCs.push_back(NewC); in addSplitRefRecursiveFunctions()
1945 buildSCCs(*NewRC, Nodes); in buildRefSCCs()
[all …]
H A DCGSCCPassManager.cpp1049 for (RefSCC *NewRC : llvm::reverse(llvm::drop_begin(NewRefSCCs))) { in updateCGAndAnalysisManagerForPass()
1050 assert(NewRC != RC && "Should not encounter the current RefSCC further " in updateCGAndAnalysisManagerForPass()
1052 UR.RCWorklist.insert(NewRC); in updateCGAndAnalysisManagerForPass()
1054 << *NewRC << "\n"); in updateCGAndAnalysisManagerForPass()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNRewritePartialRegUses.cpp451 auto *NewRC = getMinSizeReg(RC, SubRegs); in rewriteReg() local
452 if (!NewRC) { in rewriteReg()
457 Register NewReg = MRI->createVirtualRegister(NewRC); in rewriteReg()
461 << TRI->getRegClassName(NewRC) << '\n'); in rewriteReg()
H A DSIRegisterInfo.h320 const TargetRegisterClass *NewRC,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRRegisterInfo.cpp316 const TargetRegisterClass *NewRC, LiveIntervals &LIS) const { in shouldCoalesce() argument
317 if (this->getRegClass(AVR::PTRDISPREGSRegClassID)->hasSubClassEq(NewRC)) { in shouldCoalesce()
322 NewRC, LIS); in shouldCoalesce()
H A DAVRRegisterInfo.h56 unsigned DstSubReg, const TargetRegisterClass *NewRC,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZRegisterInfo.cpp384 const TargetRegisterClass *NewRC, in shouldCoalesce() argument
389 if (!(NewRC->hasSuperClassEq(&SystemZ::GR128BitRegClass) && in shouldCoalesce()
417 if (NewRC->contains(SI)) { in shouldCoalesce()
425 if (PhysClobbered.count() > (NewRC->getNumRegs() - DemandedFreeGR128)) in shouldCoalesce()
H A DSystemZRegisterInfo.h175 const TargetRegisterClass *NewRC,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonRegisterInfo.h61 const TargetRegisterClass *NewRC, LiveIntervals &LIS) const override;
H A DHexagonVLIWPacketizer.h146 bool isNewifiable(const MachineInstr &MI, const TargetRegisterClass *NewRC);
H A DHexagonRegisterInfo.cpp356 const TargetRegisterClass *NewRC, LiveIntervals &LIS) const { in shouldCoalesce() argument
363 if (!HST.useHVXOps() || NewRC->getID() != Hexagon::HvxWRRegClass.getID()) in shouldCoalesce()
H A DHexagonFrameLowering.cpp2198 const TargetRegisterClass *NewRC) -> const TargetRegisterClass * { in optimizeSpillSlots() argument
2199 if (HaveRC == nullptr || HaveRC == NewRC) in optimizeSpillSlots()
2200 return NewRC; in optimizeSpillSlots()
2202 if (HaveRC->hasSubClassEq(NewRC)) in optimizeSpillSlots()
2204 if (NewRC->hasSubClassEq(HaveRC)) in optimizeSpillSlots()
2205 return NewRC; in optimizeSpillSlots()
H A DHexagonBitSimplify.cpp2653 BitTracker::RegisterCell NewRC(W); in simplifyRCmp0() local
2655 NewRC[I] = BitTracker::BitValue(C & 1); in simplifyRCmp0()
2658 BT.put(BitTracker::RegisterRef(NewR), NewRC); in simplifyRCmp0()
2721 BitTracker::RegisterCell NewRC(W); in simplifyRCmp0() local
2722 NewRC[0] = BitTracker::BitValue::self(); in simplifyRCmp0()
2723 NewRC.fill(1, W, BitTracker::BitValue::Zero); in simplifyRCmp0()
2724 BT.put(BitTracker::RegisterRef(NewR), NewRC); in simplifyRCmp0()
H A DHexagonVLIWPacketizer.cpp360 const TargetRegisterClass *NewRC) { in isNewifiable() argument
363 if (NewRC == &Hexagon::PredRegsRegClass) { in isNewifiable()
H A DHexagonConstPropagation.cpp2896 const TargetRegisterClass *NewRC; in rewriteHexConstDefs() local
2903 NewRC = &Hexagon::IntRegsRegClass; in rewriteHexConstDefs()
2905 NewRC = &Hexagon::DoubleRegsRegClass; in rewriteHexConstDefs()
2906 Register NewR = MRI->createVirtualRegister(NewRC); in rewriteHexConstDefs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64RegisterInfo.h143 unsigned DstSubReg, const TargetRegisterClass *NewRC,
H A DAArch64RegisterInfo.cpp1021 const TargetRegisterClass *NewRC, LiveIntervals &LIS) const { in shouldCoalesce() argument
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseRegisterInfo.h234 const TargetRegisterClass *NewRC,
H A DARMBaseRegisterInfo.cpp882 const TargetRegisterClass *NewRC, in shouldCoalesce() argument
892 if (getRegSizeInBits(*NewRC) < 256 && getRegSizeInBits(*DstRC) < 256 && in shouldCoalesce()
897 MRI.getTargetRegisterInfo()->getRegClassWeight(NewRC); in shouldCoalesce()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetRegisterInfo.h1091 const TargetRegisterClass *NewRC, in shouldCoalesce() argument

12