Searched refs:CSR (Results 1 - 17 of 17) sorted by relevance

/openbsd-current/gnu/llvm/llvm/lib/Target/X86/
H A DX86MachineFunctionInfo.cpp30 for (const MCPhysReg *CSR = MF->getRegInfo().getCalleeSavedRegs();
31 unsigned Reg = *CSR; ++CSR) {
/openbsd-current/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonGenExtract.cpp100 ConstantInt *CSL = nullptr, *CSR = nullptr, *CM = nullptr; local
107 bool Match = match(In, m_And(m_Shl(m_LShr(m_Value(BF), m_ConstantInt(CSR)),
114 Match = match(In, m_And(m_Shl(m_AShr(m_Value(BF), m_ConstantInt(CSR)),
121 CSR = ConstantInt::get(Type::getInt32Ty(Ctx), 0);
131 Match = match(In, m_And(m_LShr(m_Value(BF), m_ConstantInt(CSR)),
138 Match = match(In, m_And(m_AShr(m_Value(BF), m_ConstantInt(CSR)),
145 Match = match(In, m_Shl(m_LShr(m_Value(BF), m_ConstantInt(CSR)),
152 Match = match(In, m_Shl(m_AShr(m_Value(BF), m_ConstantInt(CSR)),
165 uint32_t SR = CSR->getZExtValue();
H A DHexagonVLIWPacketizer.cpp351 for (auto *CSR = TRI->getCalleeSavedRegs(&MF); CSR && *CSR; ++CSR)
352 if (MI.modifiesRegister(*CSR, TRI))
H A DHexagonFrameLowering.cpp120 // stack frame | (aligned) | | (CSR, spills, etc.) |FP|
286 static bool needsStackFrame(const MachineBasicBlock &MBB, const BitVector &CSR, argument
315 if (CSR[*S])
325 for (int x = CSR.find_first(); x >= 0; x = CSR.find_next(x)) {
327 // If this regmask does not preserve a CSR, a frame will be needed.
440 BitVector CSR(Hexagon::NUM_TARGET_REGS);
443 CSR[*S] = true;
446 if (needsStackFrame(I, CSR, HRI))
/openbsd-current/gnu/llvm/llvm/lib/CodeGen/
H A DLiveRegUnits.cpp99 for (const MCPhysReg *CSR = MRI.getCalleeSavedRegs(); CSR && *CSR; ++CSR) {
100 const unsigned N = *CSR;
H A DMachineFrameInfo.cpp125 for (const MCPhysReg *CSR = MRI.getCalleeSavedRegs(); CSR && *CSR;
126 ++CSR)
127 BV.set(*CSR);
H A DRegisterClassInfo.cpp57 const MCPhysReg *CSR = MRI.getCalleeSavedRegs(); local
63 if (CSR[I] == 0) {
71 if (CSR[I] != LastCalleeSavedRegs[I]) {
81 // Build a CSRAlias map. Every CSR alias saves the last
82 // overlapping CSR.
84 for (const MCPhysReg *I = CSR; *I; ++I) {
93 // Even if CSR list is same, we could have had a different allocation order
96 for (const MCPhysReg *I = CSR; *I; ++I)
124 /// registers filtered out. Volatile registers come first followed by CSR
125 /// aliases ordered according to the CSR orde
[all...]
H A DLivePhysRegs.cpp177 for (const MCPhysReg *CSR = MRI.getCalleeSavedRegs(); CSR && *CSR; ++CSR)
178 LiveRegs.addReg(*CSR);
H A DMachineRegisterInfo.cpp609 const MCPhysReg *CSR = TRI->getCalleeSavedRegs(MF); local
610 for (const MCPhysReg *I = CSR; *I; ++I)
H A DRegAllocPBQP.cpp583 const MCPhysReg *CSR = MF.getRegInfo().getCalleeSavedRegs(); local
584 for (unsigned i = 0; CSR[i] != 0; ++i)
585 if (TRI.regsOverlap(Reg, CSR[i]))
H A DRegAllocGreedy.cpp519 MCRegister CSR = RegClassInfo.getLastCalleeSavedAlias(PhysReg); local
520 if (!CSR)
558 // Don't start using a CSR when the CostPerUseLimit is low.
561 dbgs() << printReg(PhysReg, TRI) << " would clobber CSR "
2070 /// Using a CSR for the first time has a cost because it causes push|pop
2072 /// range can have lower cost than using the CSR for the first time;
2074 /// the CSR for the first time. Returns the physical register if we decide
2075 /// to use the CSR; otherwise return 0.
2080 // We choose spill over using the CSR for the first time if the spill cost
2092 // We choose pre-splitting over using the CSR fo
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp45 CSI, [&](CalleeSavedInfo &CSR) { return CSR.getReg() == RAReg; }))
95 CSI, [&](CalleeSavedInfo &CSR) { return CSR.getReg() == RAReg; }))
/openbsd-current/gnu/llvm/llvm/lib/Target/XCore/
H A DXCoreFrameLowering.cpp458 for (const CalleeSavedInfo &CSR : CSI) {
459 Register Reg = CSR.getReg();
464 TII.loadRegFromStackSlot(MBB, MI, Reg, CSR.getFrameIdx(), RC, TRI,
/openbsd-current/gnu/llvm/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp617 const ConstantStruct *CSR = cast<ConstantStruct>(R); local
620 const StructType *RTy = cast<StructType>(CSR->getType());
631 const Value *RAgg = CSR->getAggregateElement(I);
/openbsd-current/gnu/llvm/llvm/include/llvm/TargetParser/
H A DTriple.h177 CSR, enumerator in enum:llvm::Triple::VendorType
/openbsd-current/gnu/llvm/llvm/lib/TargetParser/
H A DTriple.cpp187 case CSR: return "csr";
549 .Case("csr", Triple::CSR)
/openbsd-current/gnu/llvm/clang/lib/Sema/
H A DSemaChecking.cpp10349 const CharSourceRange &CSR = local
10356 E->getExprLoc(), false, CSR);
10581 const CharSourceRange &CSR = getSpecifierRange(StartSpecifier, local
10609 << IsEnum << CSR << E->getSourceRange(),
10610 E->getBeginLoc(), /*IsStringLocation*/ false, CSR);
10621 << AT.getRepresentativeTypeName(S.Context) << CSR
10623 E->getBeginLoc(), /*IsStringLocation*/ false, CSR);
10635 << AT.getRepresentativeTypeName(S.Context) << CSR
10637 E->getBeginLoc(), /*IsStringLocation*/ false, CSR);
10657 E->getBeginLoc(), false, CSR);
[all...]

Completed in 466 milliseconds