| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | RegisterClassInfo.cpp | 132 unsigned NumRegs = RC->getNumRegs(); in compute() local 135 RCI.Order.reset(new MCPhysReg[NumRegs]); in compute() 164 RCI.NumRegs = N + CSRAlias.size(); in compute() 165 assert(RCI.NumRegs <= NumRegs && "Allocation order larger than regclass"); in compute() 178 if (StressRA && RCI.NumRegs > StressRA) in compute() 179 RCI.NumRegs = StressRA; in compute() 184 if (Super != RC && getNumAllocatableRegs(Super) > RCI.NumRegs) in compute() 192 for (unsigned I = 0; I != RCI.NumRegs; ++I) in compute()
|
| H A D | ExecutionDomainFix.cpp | 71 assert(unsigned(rx) < NumRegs && "Invalid index"); in setLiveReg() 82 assert(unsigned(rx) < NumRegs && "Invalid index"); in kill() 92 assert(unsigned(rx) < NumRegs && "Invalid index"); in force() 122 for (unsigned rx = 0; rx != NumRegs; ++rx) in collapse() 144 for (unsigned rx = 0; rx != NumRegs; ++rx) { in merge() 160 LiveRegs.assign(NumRegs, nullptr); in enterBasicBlock() 178 for (unsigned rx = 0; rx != NumRegs; ++rx) { in enterBasicBlock() 420 assert(NumRegs == RC->getNumRegs() && "Bad regclass"); in runOnMachineFunction()
|
| H A D | CFIInstrInserter.cpp | 153 unsigned NumRegs = TRI.getNumRegs(); in calculateCFAInfo() local 163 MBBInfo.IncomingCSRSaved.resize(NumRegs); in calculateCFAInfo() 164 MBBInfo.OutgoingCSRSaved.resize(NumRegs); in calculateCFAInfo() 183 unsigned NumRegs = TRI.getNumRegs(); in calculateOutgoingCFAInfo() local 184 BitVector CSRSaved(NumRegs), CSRRestored(NumRegs); in calculateOutgoingCFAInfo()
|
| H A D | LiveVariables.cpp | 423 for (unsigned Reg = 1, NumRegs = TRI->getNumRegs(); Reg != NumRegs; ++Reg) { in HandleRegMask() local 558 void LiveVariables::runOnBlock(MachineBasicBlock *MBB, const unsigned NumRegs) { in runOnBlock() argument 606 for (unsigned i = 0; i != NumRegs; ++i) in runOnBlock() 616 const unsigned NumRegs = TRI->getNumRegs(); in runOnMachineFunction() local 617 PhysRegDef.assign(NumRegs, nullptr); in runOnMachineFunction() 618 PhysRegUse.assign(NumRegs, nullptr); in runOnMachineFunction() 638 runOnBlock(MBB, NumRegs); in runOnMachineFunction() 640 PhysRegDef.assign(NumRegs, nullptr); in runOnMachineFunction() 641 PhysRegUse.assign(NumRegs, nullptr); in runOnMachineFunction()
|
| H A D | RDFRegisters.cpp | 204 unsigned NumRegs = TRI.getNumRegs(); in aliasMM() local 208 for (unsigned w = 0, nw = NumRegs/32; w != nw; ++w) { in aliasMM() 219 unsigned TailRegs = NumRegs % 32; in aliasMM() 222 unsigned TW = NumRegs / 32; in aliasMM()
|
| H A D | VirtRegMap.cpp | 79 unsigned NumRegs = MF->getRegInfo().getNumVirtRegs(); in grow() local 80 Virt2PhysMap.resize(NumRegs); in grow() 81 Virt2StackSlotMap.resize(NumRegs); in grow() 82 Virt2SplitMap.resize(NumRegs); in grow()
|
| H A D | MachineRegisterInfo.cpp | 46 unsigned NumRegs = getTargetRegisterInfo()->getNumRegs(); in MachineRegisterInfo() local 49 UsedPhysRegMask.resize(NumRegs); in MachineRegisterInfo() 50 PhysRegUseDefLists.reset(new MachineOperand*[NumRegs]()); in MachineRegisterInfo()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | GCNNSAReassign.cpp | 88 bool canAssign(unsigned StartReg, unsigned NumRegs) const; 111 unsigned NumRegs = Intervals.size(); in tryAssignRegisters() local 113 for (unsigned N = 0; N < NumRegs; ++N) in tryAssignRegisters() 117 for (unsigned N = 0; N < NumRegs; ++N) in tryAssignRegisters() 121 for (unsigned N = 0; N < NumRegs; ++N) in tryAssignRegisters() 127 bool GCNNSAReassign::canAssign(unsigned StartReg, unsigned NumRegs) const { in canAssign() 128 for (unsigned N = 0; N < NumRegs; ++N) { in canAssign() 144 unsigned NumRegs = Intervals.size(); in scavengeRegs() local 146 if (NumRegs > MaxNumVGPRs) in scavengeRegs() 148 unsigned MaxReg = MaxNumVGPRs - NumRegs + AMDGPU::VGPR0; in scavengeRegs() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| H A D | InlineAsmLowering.cpp | 108 unsigned NumRegs = 1; in getRegistersForValue() local 110 NumRegs = in getRegistersForValue() 129 for (; NumRegs; --NumRegs, ++I) { in getRegistersForValue() 552 unsigned NumRegs = OpInfo.Regs.size(); in lowerInlineAsm() local 554 assert(NumRegs == SourceRegs.size() && in lowerInlineAsm() 558 if (NumRegs > 1) { in lowerInlineAsm() 564 unsigned Flag = InlineAsm::getFlagWord(InlineAsm::Kind_RegUse, NumRegs); in lowerInlineAsm() 579 unsigned NumRegs = OpInfo.Regs.size(); in lowerInlineAsm() local 580 if (NumRegs > 0) { in lowerInlineAsm() 582 InlineAsm::getFlagWord(InlineAsm::Kind_Clobber, NumRegs); in lowerInlineAsm()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | RegisterClassInfo.h | 32 unsigned NumRegs = 0; member 41 return ArrayRef(Order.get(), NumRegs); 95 return get(RC).NumRegs; in getNumAllocatableRegs()
|
| H A D | ExecutionDomainFix.h | 125 const unsigned NumRegs; variable 140 : MachineFunctionPass(PassID), RC(&RC), NumRegs(RC.getNumRegs()) {} in ExecutionDomainFix()
|
| H A D | TargetRegisterInfo.h | 357 unsigned NumRegs = getNumRegs(); in getRegisterCosts() local 360 return ArrayRef(&InfoDesc->CostPerUse[Idx * NumRegs], NumRegs); in getRegisterCosts()
|
| /openbsd-src/gnu/llvm/llvm/lib/MCA/HardwareUnits/ |
| H A D | RegisterFile.cpp | 65 unsigned NumRegs) in RegisterFile() argument 69 initialize(SM, NumRegs); 72 void RegisterFile::initialize(const MCSchedModel &SM, unsigned NumRegs) { in initialize() argument 77 RegisterFiles.emplace_back(NumRegs); in initialize() 674 unsigned NumRegs = NumPhysRegs[I]; in isAvailable() local 675 if (!NumRegs) in isAvailable() 685 if (RMT.NumPhysRegs < NumRegs) { in isAvailable() 698 NumRegs = RMT.NumPhysRegs; in isAvailable() 701 if (RMT.NumPhysRegs < (RMT.NumUsedPhysRegs + NumRegs)) in isAvailable()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/ |
| H A D | ReduceRegisterMasks.cpp | 26 const unsigned NumRegs = TRI->getNumRegs(); in reduceMasksInFunction() local 45 for (unsigned I = 0; I != NumRegs; ++I) { in reduceMasksInFunction()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/ARM/ |
| H A D | ARMSelectionDAGInfo.cpp | 231 unsigned NumRegs = NextEmittedNumMemOps - EmittedNumMemOps; in EmitTargetCodeForMemcpy() local 234 DAG.getConstant(NumRegs, dl, MVT::i32)); in EmitTargetCodeForMemcpy() 238 DstPtrInfo = DstPtrInfo.getWithOffset(NumRegs * VTSize); in EmitTargetCodeForMemcpy() 239 SrcPtrInfo = SrcPtrInfo.getWithOffset(NumRegs * VTSize); in EmitTargetCodeForMemcpy()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/MC/ |
| H A D | MCRegisterInfo.h | 157 unsigned NumRegs; // Number of entries in the array variable 367 NumRegs = NR; in InitMCRegisterInfo() 447 assert(RegNo < NumRegs && 492 return NumRegs; in getNumRegs() 554 assert(RegNo < NumRegs && in getEncodingValue()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/MCA/HardwareUnits/ |
| H A D | RegisterFile.h | 229 void initialize(const MCSchedModel &SM, unsigned NumRegs); 233 unsigned NumRegs = 0);
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | InstrRefBasedImpl.h | 662 unsigned NumRegs; 745 SlotNo += NumRegs; 755 SlotNo += NumRegs; 761 assert(ID >= NumRegs); 762 ID -= NumRegs; 770 assert(ID >= NumRegs); 771 ID -= NumRegs; 818 LocIDToLocIdx.resize(NumRegs, LocIdx::MakeIllegalLoc()); 909 bool isSpill(LocIdx Idx) const { return LocIdxToLocID[Idx] >= NumRegs; }
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyMachineFunctionInfo.cpp | 49 unsigned NumRegs = TLI.getNumRegisters(Ctx, VT); in computeLegalValueVTs() local 51 for (unsigned I = 0; I != NumRegs; ++I) in computeLegalValueVTs()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64InstPrinter.cpp | 1609 unsigned NumRegs = 0; in printMatrixTileList() local 1612 ++NumRegs; in printMatrixTileList() 1621 if (Printed + 1 != NumRegs) in printMatrixTileList() 1638 unsigned NumRegs = 1; in printVectorList() local 1644 NumRegs = 2; in printVectorList() 1648 NumRegs = 3; in printVectorList() 1653 NumRegs = 4; in printVectorList() 1681 NumRegs > 1 && Stride == 1 && in printVectorList() 1684 Reg < getNextVectorRegister(Reg, NumRegs - 1)) { in printVectorList() 1687 if (NumRegs > 1) { in printVectorList() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Sparc/ |
| H A D | SparcISelDAGToDAG.cpp | 206 unsigned NumRegs = InlineAsm::getNumOperandRegisters(Flag); in tryInlineAsm() local 207 if (NumRegs) in tryInlineAsm() 224 || NumRegs != 2) in tryInlineAsm()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/ |
| H A D | AArch64RegisterInfo.td | 988 class PPRVectorList<int ElementWidth, int NumRegs> : AsmOperandClass { 989 let Name = "SVEPredicateList" # NumRegs # "x" # ElementWidth; 992 # NumRegs #", 0, "#ElementWidth #">"; 994 # NumRegs #">"; 1018 class PPRVectorListMul<int ElementWidth, int NumRegs> : PPRVectorList<ElementWidth, NumRegs> { 1019 let Name = "SVEPredicateListMul" # NumRegs # "x" # ElementWidth; 1022 "isTypedVectorListMultiple<RegKind::SVEPredicateVector, " # NumRegs # ", 0, " 1146 class ZPRVectorList<int ElementWidth, int NumRegs> : AsmOperandClass { 1147 let Name = "SVEVectorList" # NumRegs # ElementWidth; 1150 "isTypedVectorList<RegKind::SVEDataVector, " #NumRegs #", 0, " #ElementWidth #">"; [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/CSKY/ |
| H A D | CSKYISelDAGToDAG.cpp | 158 unsigned NumRegs = InlineAsm::getNumOperandRegisters(Flag); in selectInlineAsm() local 159 if (NumRegs) in selectInlineAsm() 187 NumRegs != 2) in selectInlineAsm()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86CallingConv.cpp | 243 static const unsigned NumRegs = std::size(RegList); in CC_X86_32_MCUInReg() local 278 bool UseRegs = PendingMembers.size() <= std::min(2U, NumRegs - FirstFree); in CC_X86_32_MCUInReg()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonBlockRanges.cpp | 474 unsigned NumRegs = TRI.getNumRegs(); in computeDeadMap() local 475 BitVector Visited(NumRegs); in computeDeadMap() 476 for (unsigned R = 1; R < NumRegs; ++R) { in computeDeadMap()
|