Home
last modified time | relevance | path

Searched refs:AllocateReg (Results 1 – 19 of 19) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCCallingConv.cpp46 State.AllocateReg(ELF64ArgGPRs); in CC_PPC64_ELF_Shadow_GPR_Regs()
53 if ((State.AllocateReg(ELF64ArgGPRs) - PPC::X3) % 2 == 1) in CC_PPC64_ELF_Shadow_GPR_Regs()
54 State.AllocateReg(ELF64ArgGPRs); in CC_PPC64_ELF_Shadow_GPR_Regs()
55 State.AllocateReg(ELF64ArgGPRs); in CC_PPC64_ELF_Shadow_GPR_Regs()
85 State.AllocateReg(ArgRegs[RegNum]); in CC_PPC32_SVR4_Custom_AlignArgRegs()
110 State.AllocateReg(ArgRegs[RegNum + i]); in CC_PPC32_SVR4_Custom_SkipLastArgRegsPPCF128()
134 State.AllocateReg(ArgRegs[RegNum]); in CC_PPC32_SVR4_Custom_AlignFPArgRegs()
154 unsigned Reg = State.AllocateReg(HiRegList); in CC_PPC32_SPE_CustomSplitFP64()
163 unsigned T = State.AllocateReg(LoRegList[i]); in CC_PPC32_SPE_CustomSplitFP64()
183 unsigned Reg = State.AllocateReg(HiRegList, LoRegList); in CC_PPC32_SPE_RetF64()
H A DPPCISelLowering.cpp6776 if (unsigned Reg = State.AllocateReg(IsPPC64 ? GPR_64 : GPR_32)) in CC_AIX()
6803 if (unsigned Reg = State.AllocateReg(IsPPC64 ? GPR_64 : GPR_32)) in CC_AIX()
6818 unsigned FReg = State.AllocateReg(FPR); in CC_AIX()
6824 if (unsigned Reg = State.AllocateReg(IsPPC64 ? GPR_64 : GPR_32)) { in CC_AIX()
6864 if (unsigned VReg = State.AllocateReg(VR)) { in CC_AIX()
6885 unsigned Reg = State.AllocateReg(GPRs); in CC_AIX()
6897 if (unsigned VReg = State.AllocateReg(VR)) { in CC_AIX()
6901 State.AllocateReg(GPRs); in CC_AIX()
6926 const unsigned FirstReg = State.AllocateReg(PPC::R9); in CC_AIX()
6927 const unsigned SecondReg = State.AllocateReg(PPC::R10); in CC_AIX()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZCallingConv.h121 Reg = State.AllocateReg(SystemZ::ELFArgGPRs); in CC_SystemZ_I128Indirect()
123 Reg = State.AllocateReg(SystemZ::XPLINK64ArgGPRs); in CC_SystemZ_I128Indirect()
149 State.AllocateReg(SystemZ::XPLINK64ArgGPRs); in CC_XPLINK64_Shadow_Reg()
153 State.AllocateReg(SystemZ::XPLINK64ArgGPRs); in CC_XPLINK64_Shadow_Reg()
154 State.AllocateReg(SystemZ::XPLINK64ArgGPRs); in CC_XPLINK64_Shadow_Reg()
161 State.AllocateReg(SystemZ::XPLINK64ArgFPRs[I + 1]); in CC_XPLINK64_Shadow_Reg()
178 State.AllocateReg(SystemZ::R1D); in CC_XPLINK64_Allocate128BitVararg()
180 bool AllocGPR2 = State.AllocateReg(SystemZ::R2D); in CC_XPLINK64_Allocate128BitVararg()
181 bool AllocGPR3 = State.AllocateReg(SystemZ::R3D); in CC_XPLINK64_Allocate128BitVararg()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYCallingConv.h30 Register Reg = State.AllocateReg(ArgGPRs); in CC_CSKY_ABIV2_SOFT_64()
38 if (!State.AllocateReg(ArgGPRs)) in CC_CSKY_ABIV2_SOFT_64()
49 Register Reg = State.AllocateReg(ArgGPRs); in Ret_CSKY_ABIV2_SOFT_64()
54 if (!State.AllocateReg(ArgGPRs)) in Ret_CSKY_ABIV2_SOFT_64()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMCallingConv.cpp27 if (unsigned Reg = State.AllocateReg(RegList)) in f64AssignAPCS()
41 if (unsigned Reg = State.AllocateReg(RegList)) in f64AssignAPCS()
70 unsigned Reg = State.AllocateReg(HiRegList, ShadowRegList); in f64AssignAAPCS()
74 Reg = State.AllocateReg(GPRArgRegs); in f64AssignAAPCS()
92 unsigned T = State.AllocateReg(LoRegList[i]); in f64AssignAAPCS()
119 unsigned Reg = State.AllocateReg(HiRegList, LoRegList); in f64RetAssign()
207 State.AllocateReg(RegList[RegIdx++]); in CC_ARM_AAPCS_Custom_Aggregate()
252 It.convertToReg(State.AllocateReg(RegList[RegIdx++])); in CC_ARM_AAPCS_Custom_Aggregate()
265 State.AllocateReg(Reg); in CC_ARM_AAPCS_Custom_Aggregate()
290 unsigned Reg = State.AllocateReg(RegList); in CustomAssignInRegList()
H A DARMISelLowering.cpp2903 unsigned Reg = State->AllocateReg(GPRArgRegs); in HandleByVal()
2910 Reg = State->AllocateReg(GPRArgRegs); in HandleByVal()
2923 while (State->AllocateReg(GPRArgRegs)) in HandleByVal()
2940 State->AllocateReg(GPRArgRegs); in HandleByVal()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CallingConv.cpp54 unsigned Reg = State.AllocateReg(AvailableRegs[I]); in CC_X86_32_RegCall_Assign2Regs()
105 unsigned AssigedReg = State.AllocateReg(Reg); in CC_X86_VectorCallAssignRegister()
150 (void)State.AllocateReg(CC_X86_VectorCallGetSSEs(ValVT)); in CC_X86_64_VectorCall()
158 (void)State.AllocateReg(CC_X86_64_VectorCallGetGPRs()); in CC_X86_64_VectorCall()
161 if (unsigned Reg = State.AllocateReg(CC_X86_VectorCallGetSSEs(ValVT))) { in CC_X86_64_VectorCall()
212 if (unsigned Reg = State.AllocateReg(CC_X86_VectorCallGetSSEs(ValVT))) { in CC_X86_32_VectorCall()
262 if (unsigned Reg = State.AllocateReg(RegList)) { in CC_X86_32_MCUInReg()
283 It.convertToReg(State.AllocateReg(RegList[FirstFree++])); in CC_X86_32_MCUInReg()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kCallingConv.h65 IsPtr ? State.AllocateReg(AddrRegList) : State.AllocateReg(DataRegList); in CC_M68k_Any_AssignToReg()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DCallingConvLower.h330 MCRegister AllocateReg(MCPhysReg Reg) { in AllocateReg() function
338 MCRegister AllocateReg(MCPhysReg Reg, MCPhysReg ShadowReg) { in AllocateReg() function
349 MCPhysReg AllocateReg(ArrayRef<MCPhysReg> Regs) { in AllocateReg() function
390 MCRegister AllocateReg(ArrayRef<MCPhysReg> Regs, const MCPhysReg *ShadowRegs) { in AllocateReg() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCallLowering.cpp466 CCInfo.AllocateReg(PrivateSegmentBufferReg); in allocateHSAUserSGPRs()
472 CCInfo.AllocateReg(DispatchPtrReg); in allocateHSAUserSGPRs()
480 CCInfo.AllocateReg(QueuePtrReg); in allocateHSAUserSGPRs()
491 CCInfo.AllocateReg(InputPtrReg); in allocateHSAUserSGPRs()
497 CCInfo.AllocateReg(DispatchIDReg); in allocateHSAUserSGPRs()
503 CCInfo.AllocateReg(FlatScratchInitReg); in allocateHSAUserSGPRs()
610 CCInfo.AllocateReg(ImplicitBufferPtrReg); in lowerFormalArguments()
617 CCInfo.AllocateReg(FlatScratchInitReg); in lowerFormalArguments()
686 CCInfo.AllocateReg(AMDGPU::VGPR0); in lowerFormalArguments()
687 CCInfo.AllocateReg(AMDGPU::VGPR1); in lowerFormalArguments()
[all …]
H A DSIISelLowering.cpp2190 CCInfo.AllocateReg(Reg); in allocateSpecialEntryInputVGPRs()
2205 CCInfo.AllocateReg(Reg); in allocateSpecialEntryInputVGPRs()
2219 CCInfo.AllocateReg(Reg); in allocateSpecialEntryInputVGPRs()
2244 Reg = CCInfo.AllocateReg(Reg); in allocateVGPR32Input()
2262 Reg = CCInfo.AllocateReg(Reg); in allocateSGPR32InputImpl()
2508 CCInfo.AllocateReg(Reg); in allocateLDSKernelId()
2538 CCInfo.AllocateReg(Reg); in allocateSystemSGPRs()
2546 CCInfo.AllocateReg(Reg); in allocateSystemSGPRs()
2552 CCInfo.AllocateReg(Reg); in allocateSystemSGPRs()
2558 CCInfo.AllocateReg(Reg); in allocateSystemSGPRs()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CallingConvention.cpp65 State.AllocateReg(ZRegList[I]); in finishStackBlock()
192 State.AllocateReg(Reg); in CC_AArch64_Custom_Block()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp2935 State.AllocateReg(Mips::A1); in CC_MipsO32()
2937 State.AllocateReg(Mips::A3); in CC_MipsO32()
2941 Reg = State.AllocateReg(IntRegs); in CC_MipsO32()
2945 Reg = State.AllocateReg(IntRegs); in CC_MipsO32()
2949 Reg = State.AllocateReg(IntRegs); in CC_MipsO32()
2954 Reg = State.AllocateReg(IntRegs); in CC_MipsO32()
2956 Reg = State.AllocateReg(IntRegs); in CC_MipsO32()
2972 Reg = State.AllocateReg(F32Regs); in CC_MipsO32()
2974 State.AllocateReg(IntRegs); in CC_MipsO32()
2980 State.AllocateReg(IntRegs); in CC_MipsO32()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp3503 if (Register Reg = State.AllocateReg(ArgGPRs)) { in CC_LoongArchAssign2GRLen()
3520 if (Register Reg = State.AllocateReg(ArgGPRs)) { in CC_LoongArchAssign2GRLen()
3595 State.AllocateReg(ArgGPRs); in CC_LoongArch()
3639 Reg = State.AllocateReg(ArgFPR32s); in CC_LoongArch()
3641 Reg = State.AllocateReg(ArgFPR64s); in CC_LoongArch()
3643 Reg = State.AllocateReg(ArgVRs); in CC_LoongArch()
3645 Reg = State.AllocateReg(ArgXRs); in CC_LoongArch()
3647 Reg = State.AllocateReg(ArgGPRs); in CC_LoongArch()
3818 if (unsigned Reg = State.AllocateReg(GPRList)) { in CC_LoongArch_GHC()
3829 if (unsigned Reg = State.AllocateReg(FPR32List)) { in CC_LoongArch_GHC()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRISelLowering.cpp1300 Reg = CCInfo.AllocateReg(RegList8[RegIdx]); in analyzeArguments()
1302 Reg = CCInfo.AllocateReg(RegList16[RegIdx]); in analyzeArguments()
1370 Reg = CCInfo.AllocateReg(RegList8[RegIdx]); in analyzeReturnValues()
1372 Reg = CCInfo.AllocateReg(RegList16[RegIdx]); in analyzeReturnValues()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp17412 return State.AllocateReg(RISCV::V0); in allocateRVVReg()
17413 return State.AllocateReg(ArgVRs); in allocateRVVReg()
17416 return State.AllocateReg(ArgVRM2s); in allocateRVVReg()
17418 return State.AllocateReg(ArgVRM4s); in allocateRVVReg()
17420 return State.AllocateReg(ArgVRM8s); in allocateRVVReg()
17512 State.AllocateReg(ArgGPRs); in CC_RISCV()
17530 Register Reg = State.AllocateReg(ArgGPRs); in CC_RISCV()
17592 Reg = State.AllocateReg(ArgFPR16s); in CC_RISCV()
17594 Reg = State.AllocateReg(ArgFPR32s); in CC_RISCV()
17596 Reg = State.AllocateReg(ArgFPR64s); in CC_RISCV()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.cpp530 unsigned Reg = State.AllocateReg(RegList); in AnalyzeArguments()
538 unsigned Reg = State.AllocateReg(RegList); in AnalyzeArguments()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp65 if (Register Reg = State.AllocateReg(RegList)) { in CC_Sparc_Assign_Split_64()
75 if (Register Reg = State.AllocateReg(RegList)) in CC_Sparc_Assign_Split_64()
92 if (Register Reg = State.AllocateReg(RegList)) in CC_Sparc_Assign_Ret_Split_64()
98 if (Register Reg = State.AllocateReg(RegList)) in CC_Sparc_Assign_Ret_Split_64()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp152 State.AllocateReg(ArgRegs[RegNum]); in CC_SkipOdd()