/external/llvm/lib/CodeGen/ |
D | RegisterClassInfo.cpp | 84 unsigned NumRegs = RC->getNumRegs(); in compute() local 87 RCI.Order.reset(new MCPhysReg[NumRegs]); in compute() 116 RCI.NumRegs = N + CSRAlias.size(); in compute() 117 assert (RCI.NumRegs <= NumRegs && "Allocation order larger than regclass"); in compute() 130 if (StressRA && RCI.NumRegs > StressRA) in compute() 131 RCI.NumRegs = StressRA; in compute() 136 if (Super != RC && getNumAllocatableRegs(Super) > RCI.NumRegs) in compute() 144 for (unsigned I = 0; I != RCI.NumRegs; ++I) in compute()
|
D | ExecutionDepsFix.cpp | 141 const unsigned NumRegs; member in __anone7243c1d0311::ExeDepsFix 162 : MachineFunctionPass(ID), RC(rc), NumRegs(RC->getNumRegs()) {} in ExeDepsFix() 273 assert(unsigned(rx) < NumRegs && "Invalid index"); in setLiveReg() 285 assert(unsigned(rx) < NumRegs && "Invalid index"); in kill() 296 assert(unsigned(rx) < NumRegs && "Invalid index"); in force() 328 for (unsigned rx = 0; rx != NumRegs; ++rx) in collapse() 351 for (unsigned rx = 0; rx != NumRegs; ++rx) { in merge() 373 LiveRegs = new LiveReg[NumRegs]; in enterBasicBlock() 376 for (unsigned rx = 0; rx != NumRegs; ++rx) { in enterBasicBlock() 405 for (unsigned rx = 0; rx != NumRegs; ++rx) { in enterBasicBlock() [all …]
|
D | LiveVariables.cpp | 426 for (unsigned Reg = 1, NumRegs = TRI->getNumRegs(); Reg != NumRegs; ++Reg) { in HandleRegMask() local 566 void LiveVariables::runOnBlock(MachineBasicBlock *MBB, const unsigned NumRegs) { in runOnBlock() argument 617 for (unsigned i = 0; i != NumRegs; ++i) in runOnBlock() 627 const unsigned NumRegs = TRI->getNumRegs(); in runOnMachineFunction() local 628 PhysRegDef.assign(NumRegs, nullptr); in runOnMachineFunction() 629 PhysRegUse.assign(NumRegs, nullptr); in runOnMachineFunction() 649 runOnBlock(MBB, NumRegs); in runOnMachineFunction() 651 PhysRegDef.assign(NumRegs, nullptr); in runOnMachineFunction() 652 PhysRegUse.assign(NumRegs, nullptr); in runOnMachineFunction()
|
D | VirtRegMap.cpp | 69 unsigned NumRegs = MF->getRegInfo().getNumVirtRegs(); in grow() local 70 Virt2PhysMap.resize(NumRegs); in grow() 71 Virt2StackSlotMap.resize(NumRegs); in grow() 72 Virt2SplitMap.resize(NumRegs); in grow()
|
D | MachineRegisterInfo.cpp | 29 unsigned NumRegs = getTargetRegisterInfo()->getNumRegs(); in MachineRegisterInfo() local 32 UsedPhysRegMask.resize(NumRegs); in MachineRegisterInfo() 33 PhysRegUseDefLists.reset(new MachineOperand*[NumRegs]()); in MachineRegisterInfo()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | RegisterClassInfo.cpp | 74 unsigned NumRegs = RC->getNumRegs(); in compute() local 77 RCI.Order.reset(new unsigned[NumRegs]); in compute() 96 RCI.NumRegs = N + CSRAlias.size(); in compute() 97 assert (RCI.NumRegs <= NumRegs && "Allocation order larger than regclass"); in compute() 104 if (Super != RC && getNumAllocatableRegs(Super) > RCI.NumRegs) in compute() 109 for (unsigned I = 0; I != RCI.NumRegs; ++I) in compute()
|
D | VirtRegMap.cpp | 93 unsigned NumRegs = MF->getRegInfo().getNumVirtRegs(); in grow() local 94 Virt2PhysMap.resize(NumRegs); in grow() 95 Virt2StackSlotMap.resize(NumRegs); in grow() 96 Virt2ReMatIdMap.resize(NumRegs); in grow() 97 Virt2SplitMap.resize(NumRegs); in grow() 98 Virt2SplitKillMap.resize(NumRegs); in grow() 99 ReMatMap.resize(NumRegs); in grow() 100 ImplicitDefed.resize(NumRegs); in grow() 227 unsigned NumRegs = TRI->getNumRegs(); in FindUnusedRegisters() local 229 UnusedRegs.resize(NumRegs); in FindUnusedRegisters() [all …]
|
D | RegisterClassInfo.h | 30 unsigned NumRegs; member 34 RCInfo() : Tag(0), NumRegs(0), ProperSubClass(false) {} in RCInfo() 36 return makeArrayRef(Order.get(), NumRegs); 81 return get(RC).NumRegs; in getNumAllocatableRegs()
|
D | RegAllocBase.h | 73 unsigned NumRegs; variable 76 LiveUnionArray(): NumRegs(0), Array(0) {} in LiveUnionArray() 79 unsigned numRegs() const { return NumRegs; } in numRegs() 86 assert(PhysReg < NumRegs && "physReg out of bounds");
|
D | ExecutionDepsFix.cpp | 116 const unsigned NumRegs; member in __anon97c1a3490211::ExeDepsFix 124 : MachineFunctionPass(ID), RC(rc), NumRegs(RC->getNumRegs()) {} in ExeDepsFix() 186 assert(unsigned(rx) < NumRegs && "Invalid index"); in SetLiveReg() 188 LiveRegs = new DomainValue*[NumRegs]; in SetLiveReg() 189 std::fill(LiveRegs, LiveRegs+NumRegs, (DomainValue*)0); in SetLiveReg() 204 assert(unsigned(rx) < NumRegs && "Invalid index"); in Kill() 217 assert(unsigned(rx) < NumRegs && "Invalid index"); in Force() 249 for (unsigned rx = 0; rx != NumRegs; ++rx) in Collapse() 268 for (unsigned rx = 0; rx != NumRegs; ++rx) in Merge() 457 assert(NumRegs == RC->getNumRegs() && "Bad regclass"); in runOnMachineFunction()
|
D | RegAllocBasic.cpp | 223 NumRegs = NRegs; in init() 238 const unsigned NumRegs = TRI->getNumRegs(); in init() local 239 if (NumRegs != PhysReg2LiveUnion.numRegs()) { in init() 240 PhysReg2LiveUnion.init(UnionAllocator, NumRegs); in init() 249 for (unsigned r = 0; r != NumRegs; ++r) in clear() 252 NumRegs = 0; in clear()
|
D | LiveVariables.cpp | 487 unsigned NumRegs = TRI->getNumRegs(); in runOnMachineFunction() local 488 PhysRegDef = new MachineInstr*[NumRegs]; in runOnMachineFunction() 489 PhysRegUse = new MachineInstr*[NumRegs]; in runOnMachineFunction() 491 std::fill(PhysRegDef, PhysRegDef + NumRegs, (MachineInstr*)0); in runOnMachineFunction() 492 std::fill(PhysRegUse, PhysRegUse + NumRegs, (MachineInstr*)0); in runOnMachineFunction() 612 for (unsigned i = 0; i != NumRegs; ++i) in runOnMachineFunction() 616 std::fill(PhysRegDef, PhysRegDef + NumRegs, (MachineInstr*)0); in runOnMachineFunction() 617 std::fill(PhysRegUse, PhysRegUse + NumRegs, (MachineInstr*)0); in runOnMachineFunction()
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | CallingConvLower.h | 232 unsigned getFirstUnallocated(const unsigned *Regs, unsigned NumRegs) const { in getFirstUnallocated() argument 233 for (unsigned i = 0; i != NumRegs; ++i) in getFirstUnallocated() 236 return NumRegs; in getFirstUnallocated() 259 unsigned AllocateReg(const unsigned *Regs, unsigned NumRegs) { in AllocateReg() argument 260 unsigned FirstUnalloc = getFirstUnallocated(Regs, NumRegs); in AllocateReg() 261 if (FirstUnalloc == NumRegs) in AllocateReg() 272 unsigned NumRegs) { in AllocateReg() argument 273 unsigned FirstUnalloc = getFirstUnallocated(Regs, NumRegs); in AllocateReg() 274 if (FirstUnalloc == NumRegs) in AllocateReg()
|
/external/llvm/include/llvm/CodeGen/ |
D | RegisterClassInfo.h | 29 unsigned NumRegs; member 36 : Tag(0), NumRegs(0), ProperSubClass(false), MinCost(0), in RCInfo() 40 return makeArrayRef(Order.get(), NumRegs); 87 return get(RC).NumRegs; in getNumAllocatableRegs()
|
/external/llvm/lib/Target/AMDGPU/InstPrinter/ |
D | AMDGPUInstPrinter.cpp | 238 unsigned NumRegs; in printRegOperand() local 241 NumRegs = 1; in printRegOperand() 244 NumRegs = 1; in printRegOperand() 247 NumRegs = 2; in printRegOperand() 250 NumRegs = 2; in printRegOperand() 253 NumRegs = 4; in printRegOperand() 256 NumRegs = 4; in printRegOperand() 259 NumRegs = 3; in printRegOperand() 262 NumRegs = 8; in printRegOperand() 265 NumRegs = 8; in printRegOperand() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/MC/ |
D | MCRegisterInfo.h | 141 unsigned NumRegs; // Number of entries in the array variable 157 NumRegs = NR; in InitMCRegisterInfo() 199 assert(RegNo < NumRegs && 256 return NumRegs; in getNumRegs()
|
/external/llvm/include/llvm/MC/ |
D | MCRegisterInfo.h | 156 unsigned NumRegs; // Number of entries in the array variable 259 NumRegs = NR; in InitMCRegisterInfo() 329 assert(RegNo < NumRegs && 374 return NumRegs; in getNumRegs() 428 assert(RegNo < NumRegs && in getEncodingValue()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMExpandPseudoInsts.cpp | 64 unsigned Opc, bool IsExt, unsigned NumRegs); 107 unsigned char NumRegs; // D registers loaded or stored member 415 unsigned NumRegs = TableEntry->NumRegs; in ExpandVLD() local 427 if (NumRegs > 2) in ExpandVLD() 429 if (NumRegs > 3) in ExpandVLD() 479 unsigned NumRegs = TableEntry->NumRegs; in ExpandVST() local 499 if (NumRegs > 2) in ExpandVST() 501 if (NumRegs > 3) in ExpandVST() 527 unsigned NumRegs = TableEntry->NumRegs; in ExpandLaneOp() local 553 if (NumRegs > 1) in ExpandLaneOp() [all …]
|
D | Thumb1FrameLowering.cpp | 344 bool NumRegs = false; in restoreCalleeSavedRegisters() local 356 NumRegs = true; in restoreCalleeSavedRegisters() 360 if (NumRegs) in restoreCalleeSavedRegisters()
|
/external/llvm/lib/Target/X86/ |
D | X86CallingConv.h | 54 static const unsigned NumRegs = sizeof(RegList)/sizeof(RegList[0]); in CC_X86_32_MCUInReg() local 89 bool UseRegs = PendingMembers.size() <= std::min(2U, NumRegs - FirstFree); in CC_X86_32_MCUInReg()
|
/external/llvm/lib/Target/ARM/ |
D | ARMSelectionDAGInfo.cpp | 184 unsigned NumRegs = NextEmittedNumMemOps - EmittedNumMemOps; in EmitTargetCodeForMemcpy() local 187 DAG.getConstant(NumRegs, dl, MVT::i32)); in EmitTargetCodeForMemcpy() 191 DstPtrInfo = DstPtrInfo.getWithOffset(NumRegs * VTSize); in EmitTargetCodeForMemcpy() 192 SrcPtrInfo = SrcPtrInfo.getWithOffset(NumRegs * VTSize); in EmitTargetCodeForMemcpy()
|
D | ARMExpandPseudoInsts.cpp | 126 uint8_t NumRegs; // D registers loaded or stored member 399 unsigned NumRegs = TableEntry->NumRegs; in ExpandVLD() local 410 if (NumRegs > 1 && TableEntry->copyAllListRegs) in ExpandVLD() 412 if (NumRegs > 2 && TableEntry->copyAllListRegs) in ExpandVLD() 414 if (NumRegs > 3 && TableEntry->copyAllListRegs) in ExpandVLD() 464 unsigned NumRegs = TableEntry->NumRegs; in ExpandVST() local 485 if (NumRegs > 1 && TableEntry->copyAllListRegs) in ExpandVST() 487 if (NumRegs > 2 && TableEntry->copyAllListRegs) in ExpandVST() 489 if (NumRegs > 3 && TableEntry->copyAllListRegs) in ExpandVST() 517 unsigned NumRegs = TableEntry->NumRegs; in ExpandLaneOp() local [all …]
|
/external/llvm/lib/Target/Sparc/ |
D | SparcISelDAGToDAG.cpp | 201 unsigned NumRegs = InlineAsm::getNumOperandRegisters(Flag); in tryInlineAsm() local 202 if (NumRegs) in tryInlineAsm() 219 || NumRegs != 2) in tryInlineAsm()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 229 unsigned NumRegs = in getCopyFromPartsVector() local 232 assert(NumRegs == NumParts && "Part count doesn't match vector breakdown!"); in getCopyFromPartsVector() 233 NumParts = NumRegs; // Silence a compiler warning. in getCopyFromPartsVector() 500 unsigned NumRegs = TLI.getVectorTypeBreakdown(*DAG.getContext(), ValueVT, in getCopyToPartsVector() local 505 assert(NumRegs == NumParts && "Part count doesn't match vector breakdown!"); in getCopyToPartsVector() 506 NumParts = NumRegs; // Silence a compiler warning. in getCopyToPartsVector() 586 unsigned NumRegs = tli.getNumRegisters(Context, ValueVT); in RegsForValue() local 588 for (unsigned i = 0; i != NumRegs; ++i) in RegsForValue() 591 Reg += NumRegs; in RegsForValue() 657 unsigned NumRegs = TLI.getNumRegisters(*DAG.getContext(), ValueVT); in getCopyFromRegs() local [all …]
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyAsmPrinter.cpp | 137 unsigned NumRegs = TLI.getNumRegisters(F.getContext(), VT); in ComputeLegalValueVTs() local 139 for (unsigned i = 0; i != NumRegs; ++i) in ComputeLegalValueVTs()
|