| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | RegisterClassInfo.cpp | 98 unsigned NumRegs = RC->getNumRegs(); in compute() local 101 RCI.Order.reset(new MCPhysReg[NumRegs]); in compute() 131 RCI.NumRegs = N + CSRAlias.size(); in compute() 132 assert(RCI.NumRegs <= NumRegs && "Allocation order larger than regclass"); in compute() 145 if (StressRA && RCI.NumRegs > StressRA) in compute() 146 RCI.NumRegs = StressRA; in compute() 151 if (Super != RC && getNumAllocatableRegs(Super) > RCI.NumRegs) in compute() 159 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 | 156 unsigned NumRegs = TRI.getNumRegs(); in calculateCFAInfo() local 166 MBBInfo.IncomingCSRSaved.resize(NumRegs); in calculateCFAInfo() 167 MBBInfo.OutgoingCSRSaved.resize(NumRegs); in calculateCFAInfo() 186 unsigned NumRegs = TRI.getNumRegs(); in calculateOutgoingCFAInfo() local 187 BitVector CSRSaved(NumRegs), CSRRestored(NumRegs); in calculateOutgoingCFAInfo()
|
| H A D | LiveVariables.cpp | 424 for (unsigned Reg = 1, NumRegs = TRI->getNumRegs(); Reg != NumRegs; ++Reg) { in HandleRegMask() local 562 void LiveVariables::runOnBlock(MachineBasicBlock *MBB, const unsigned NumRegs) { in runOnBlock() argument 610 for (unsigned i = 0; i != NumRegs; ++i) in runOnBlock() 620 const unsigned NumRegs = TRI->getNumRegs(); in runOnMachineFunction() local 621 PhysRegDef.assign(NumRegs, nullptr); in runOnMachineFunction() 622 PhysRegUse.assign(NumRegs, nullptr); in runOnMachineFunction() 642 runOnBlock(MBB, NumRegs); in runOnMachineFunction() 644 PhysRegDef.assign(NumRegs, nullptr); in runOnMachineFunction() 645 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 | 78 unsigned NumRegs = MF->getRegInfo().getNumVirtRegs(); in grow() local 79 Virt2PhysMap.resize(NumRegs); in grow() 80 Virt2StackSlotMap.resize(NumRegs); in grow() 81 Virt2SplitMap.resize(NumRegs); in grow()
|
| H A D | MachineRegisterInfo.cpp | 48 unsigned NumRegs = getTargetRegisterInfo()->getNumRegs(); in MachineRegisterInfo() local 51 UsedPhysRegMask.resize(NumRegs); in MachineRegisterInfo() 52 PhysRegUseDefLists.reset(new MachineOperand*[NumRegs]()); in MachineRegisterInfo()
|
| H A D | MachineLICM.cpp | 517 unsigned NumRegs = TRI->getNumRegs(); in HoistRegionPostRA() local 518 BitVector PhysRegDefs(NumRegs); // Regs defined once in the loop. in HoistRegionPostRA() 519 BitVector PhysRegClobbers(NumRegs); // Regs defined more than once. in HoistRegionPostRA() 546 BitVector TermRegs(NumRegs); in HoistRegionPostRA()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | GCNNSAReassign.cpp | 86 bool canAssign(unsigned StartReg, unsigned NumRegs) const; 109 unsigned NumRegs = Intervals.size(); in tryAssignRegisters() local 111 for (unsigned N = 0; N < NumRegs; ++N) in tryAssignRegisters() 115 for (unsigned N = 0; N < NumRegs; ++N) in tryAssignRegisters() 119 for (unsigned N = 0; N < NumRegs; ++N) in tryAssignRegisters() 125 bool GCNNSAReassign::canAssign(unsigned StartReg, unsigned NumRegs) const { in canAssign() 126 for (unsigned N = 0; N < NumRegs; ++N) { in canAssign() 142 unsigned NumRegs = Intervals.size(); in scavengeRegs() local 144 if (NumRegs > MaxNumVGPRs) in scavengeRegs() 146 unsigned MaxReg = MaxNumVGPRs - NumRegs + AMDGPU::VGPR0; in scavengeRegs() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
| H A D | InlineAsmLowering.cpp | 113 unsigned NumRegs = 1; in getRegistersForValue() local 115 NumRegs = in getRegistersForValue() 134 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | RegisterClassInfo.h | 33 unsigned NumRegs = 0; member 42 return makeArrayRef(Order.get(), NumRegs); 93 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 | 352 unsigned NumRegs = getNumRegs(); in getRegisterCosts() local 355 return makeArrayRef(&InfoDesc->CostPerUse[Idx * NumRegs], NumRegs); in getRegisterCosts()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/MCA/HardwareUnits/ |
| H A D | RegisterFile.cpp | 63 unsigned NumRegs) in RegisterFile() argument 67 initialize(SM, NumRegs); 70 void RegisterFile::initialize(const MCSchedModel &SM, unsigned NumRegs) { in initialize() argument 75 RegisterFiles.emplace_back(NumRegs); in initialize() 595 unsigned NumRegs = NumPhysRegs[I]; in isAvailable() local 596 if (!NumRegs) in isAvailable() 606 if (RMT.NumPhysRegs < NumRegs) { in isAvailable() 618 NumRegs = RMT.NumPhysRegs; in isAvailable() 621 if (RMT.NumPhysRegs < (RMT.NumUsedPhysRegs + NumRegs)) in isAvailable()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| H A D | ARMExpandPseudoInsts.cpp | 161 uint8_t NumRegs; // D registers loaded or stored member 535 unsigned NumRegs = TableEntry->NumRegs; in ExpandVLD() local 561 if (NumRegs > 1 && TableEntry->copyAllListRegs) in ExpandVLD() 563 if (NumRegs > 2 && TableEntry->copyAllListRegs) in ExpandVLD() 565 if (NumRegs > 3 && TableEntry->copyAllListRegs) in ExpandVLD() 646 unsigned NumRegs = TableEntry->NumRegs; in ExpandVST() local 689 if (NumRegs > 1 && TableEntry->copyAllListRegs) in ExpandVST() 691 if (NumRegs > 2 && TableEntry->copyAllListRegs) in ExpandVST() 693 if (NumRegs > 3 && TableEntry->copyAllListRegs) in ExpandVST() 722 unsigned NumRegs = TableEntry->NumRegs; in ExpandLaneOp() local [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MCA/HardwareUnits/ |
| H A D | RegisterFile.h | 229 void initialize(const MCSchedModel &SM, unsigned NumRegs); 233 unsigned NumRegs = 0);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyMachineFunctionInfo.cpp | 42 unsigned NumRegs = TLI.getNumRegisters(F.getContext(), VT); in computeLegalValueVTs() local 44 for (unsigned I = 0; I != NumRegs; ++I) in computeLegalValueVTs()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Sparc/ |
| H A D | SparcISelDAGToDAG.cpp | 200 unsigned NumRegs = InlineAsm::getNumOperandRegisters(Flag); in tryInlineAsm() local 201 if (NumRegs) in tryInlineAsm() 218 || NumRegs != 2) in tryInlineAsm()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | InstrRefBasedImpl.cpp | 445 unsigned NumRegs; member in __anon45b083930211::MLocTracker 495 NumRegs = TRI.getNumRegs(); in MLocTracker() 497 LocIDToLocIdx.resize(NumRegs, LocIdx::MakeIllegalLoc()); in MLocTracker() 498 assert(NumRegs < (1u << NUM_LOC_BITS)); // Detect bit packing failure in MLocTracker() 513 return (isSpill) ? RegOrSpill.id() + NumRegs - 1 : RegOrSpill.id(); in getLocID() 561 LocIDToLocIdx.resize(NumRegs, LocIdx::MakeIllegalLoc()); in clear() 654 if (ID < NumRegs && ID != SP && MO->clobbersPhysReg(ID)) in writeRegMask() 708 return LocIdxToLocID[Idx] >= NumRegs; in isSpill() 726 if (ID >= NumRegs) in LocIdxToName() 727 return Twine("slot ").concat(Twine(ID - NumRegs)).str(); in LocIdxToName() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86CallingConv.cpp | 243 static const unsigned NumRegs = sizeof(RegList) / sizeof(RegList[0]); in CC_X86_32_MCUInReg() local 278 bool UseRegs = PendingMembers.size() <= std::min(2U, NumRegs - FirstFree); in CC_X86_32_MCUInReg()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 342 unsigned NumRegs; in getCopyFromPartsVector() local 345 NumRegs = TLI.getVectorTypeBreakdownForCallingConv( in getCopyFromPartsVector() 349 NumRegs = in getCopyFromPartsVector() 354 assert(NumRegs == NumParts && "Part count doesn't match vector breakdown!"); in getCopyFromPartsVector() 355 NumParts = NumRegs; // Silence a compiler warning. in getCopyFromPartsVector() 696 unsigned NumRegs; in getCopyToPartsVector() local 698 NumRegs = TLI.getVectorTypeBreakdownForCallingConv( in getCopyToPartsVector() 702 NumRegs = in getCopyToPartsVector() 707 assert(NumRegs == NumParts && "Part count doesn't match vector breakdown!"); in getCopyToPartsVector() 708 NumParts = NumRegs; // Silence a compiler warning. in getCopyToPartsVector() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64InstPrinter.cpp | 1281 unsigned NumRegs = 1; in printVectorList() local 1285 NumRegs = 2; in printVectorList() 1289 NumRegs = 3; in printVectorList() 1293 NumRegs = 4; in printVectorList() 1311 for (unsigned i = 0; i < NumRegs; ++i, Reg = getNextVectorRegister(Reg)) { in printVectorList() 1317 if (i + 1 != NumRegs) in printVectorList()
|