Home
last modified time | relevance | path

Searched refs:PReg (Results 1 – 16 of 16) sorted by relevance

/external/llvm/lib/Target/WebAssembly/
DWebAssemblyMachineFunctionInfo.h87 void addPReg(unsigned PReg, unsigned WAReg) { in addPReg() argument
88 assert(PReg < WebAssembly::NUM_TARGET_REGS); in addPReg()
90 PhysRegs[PReg] = WAReg; in addPReg()
DWebAssemblyAsmPrinter.cpp188 for (unsigned PReg = 0; PReg < PhysRegs.size(); ++PReg) { in EmitFunctionBodyStart() local
189 if (PhysRegs[PReg] == -1U) in EmitFunctionBodyStart()
191 Local.addOperand(MCOperand::createImm(getRegType(PReg).SimpleTy)); in EmitFunctionBodyStart()
/external/llvm/lib/CodeGen/
DRegAllocPBQP.cpp580 unsigned PReg = RawPRegOrder[I]; in initializeGraph() local
581 if (MRI.isReserved(PReg)) in initializeGraph()
585 if (!RegMaskOverlaps.empty() && !RegMaskOverlaps.test(PReg)) in initializeGraph()
590 for (MCRegUnitIterator Units(PReg, &TRI); Units.isValid(); ++Units) { in initializeGraph()
600 VRegAllowed.push_back(PReg); in initializeGraph()
677 unsigned PReg = G.getNodeMetadata(NId).getAllowedRegs()[AllocOption - 1]; in mapPBQPToRegAlloc() local
679 << TRI.getName(PReg) << "\n"); in mapPBQPToRegAlloc()
680 assert(PReg != 0 && "Invalid preg selected."); in mapPBQPToRegAlloc()
681 VRM.assignVirt2Phys(VReg, PReg); in mapPBQPToRegAlloc()
705 unsigned PReg = MRI.getSimpleHint(LI.reg); in finalizeAlloc() local
[all …]
DCallingConvLower.cpp245 for (MCPhysReg PReg : RemainingRegs) { in analyzeMustTailForwardedRegisters() local
246 unsigned VReg = MF.addLiveIn(PReg, RC); in analyzeMustTailForwardedRegisters()
247 Forwards.push_back(ForwardedRegister(VReg, PReg, RegVT)); in analyzeMustTailForwardedRegisters()
DMachineFunction.cpp466 unsigned MachineFunction::addLiveIn(unsigned PReg, in addLiveIn() argument
469 unsigned VReg = MRI.getLiveInVirtReg(PReg); in addLiveIn()
478 assert((VRegRC == RC || (VRegRC->contains(PReg) && in addLiveIn()
484 MRI.addLiveIn(PReg, VReg); in addLiveIn()
DMachineRegisterInfo.cpp358 unsigned MachineRegisterInfo::getLiveInVirtReg(unsigned PReg) const { in getLiveInVirtReg()
360 if (I->first == PReg) in getLiveInVirtReg()
/external/llvm/lib/Target/AMDGPU/
DR600ExpandSpecialInstrs.cpp122 unsigned PReg = AMDGPU::R600_ArrayBaseRegClass.getRegister( in runOnMachineFunction() local
134 DstReg, MI.getOperand(3 + (Chan % 2)).getReg(), PReg); in runOnMachineFunction()
151 unsigned PReg = AMDGPU::R600_ArrayBaseRegClass.getRegister( in runOnMachineFunction() local
163 DstReg, MI.getOperand(3 + (Chan % 2)).getReg(), PReg); in runOnMachineFunction()
181 unsigned PReg = AMDGPU::R600_ArrayBaseRegClass.getRegister( in runOnMachineFunction() local
187 TRI.getSubReg(DstReg, TRI.getSubRegFromChannel(Chan)), PReg); in runOnMachineFunction()
/external/llvm/lib/Target/Hexagon/
DHexagonBitTracker.h46 unsigned getNextPhysReg(unsigned PReg, unsigned Width) const;
47 unsigned getVirtRegFor(unsigned PReg) const;
DHexagonBitTracker.cpp1129 unsigned HexagonEvaluator::getNextPhysReg(unsigned PReg, unsigned Width) const { in getNextPhysReg() argument
1131 bool Is64 = DoubleRegsRegClass.contains(PReg); in getNextPhysReg()
1132 assert(PReg == 0 || Is64 || IntRegsRegClass.contains(PReg)); in getNextPhysReg()
1140 if (PReg == 0) in getNextPhysReg()
1148 if (Phys32[Idx32] == PReg) in getNextPhysReg()
1155 if (Phys64[Idx64] == PReg) in getNextPhysReg()
1168 unsigned HexagonEvaluator::getVirtRegFor(unsigned PReg) const { in getVirtRegFor()
1171 if (I->first == PReg) in getVirtRegFor()
/external/llvm/include/llvm/CodeGen/
DCallingConvLower.h166 ForwardedRegister(unsigned VReg, MCPhysReg PReg, MVT VT) in ForwardedRegister()
167 : VReg(VReg), PReg(PReg), VT(VT) {} in ForwardedRegister()
169 MCPhysReg PReg; member
DMachineFunction.h353 unsigned addLiveIn(unsigned PReg, const TargetRegisterClass *RC);
DMachineRegisterInfo.h740 unsigned getLiveInVirtReg(unsigned PReg) const;
/external/llvm/lib/Target/ARM/
DARMLoadStoreOptimizer.cpp933 unsigned PReg = PMO.getReg(); in FormCandidates() local
934 unsigned PRegNum = PMO.isUndef() ? UINT_MAX : TRI->getEncodingValue(PReg); in FormCandidates()
943 PReg == getLoadStoreBaseOp(*MI).getReg()) in FormCandidates()
954 if (PReg == ARM::SP || PReg == ARM::PC) in FormCandidates()
/external/llvm/lib/Target/X86/
DX86FrameLowering.cpp2364 unsigned ScratchReg, SPReg, PReg, SPLimitOffset; in adjustForHiPEPrologue() local
2368 PReg = X86::RBP; in adjustForHiPEPrologue()
2375 PReg = X86::EBP; in adjustForHiPEPrologue()
2391 .addReg(ScratchReg), PReg, false, SPLimitOffset); in adjustForHiPEPrologue()
2400 .addReg(ScratchReg), PReg, false, SPLimitOffset); in adjustForHiPEPrologue()
DX86ISelLowering.cpp3310 RegsToPass.push_back(std::make_pair(unsigned(F.PReg), Val)); in LowerCall()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp903 addLiveIn(MachineFunction &MF, unsigned PReg, const TargetRegisterClass *RC) in addLiveIn() argument
906 MF.getRegInfo().addLiveIn(PReg, VReg); in addLiveIn()