Home
last modified time | relevance | path

Searched refs:ArgRegs (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMFastISel.cpp193 SmallVectorImpl<unsigned> &ArgRegs,
1560 SmallVectorImpl<unsigned> &ArgRegs, in ProcessCallArgs() argument
1582 unsigned Arg = ArgRegs[VA.getValNo()]; in ProcessCallArgs()
1815 SmallVector<unsigned, 8> ArgRegs; in ARMEmitLibcall() local
1819 ArgRegs.reserve(I->getNumOperands()); in ARMEmitLibcall()
1836 ArgRegs.push_back(Arg); in ARMEmitLibcall()
1844 if (!ProcessCallArgs(Args, ArgRegs, ArgVTs, ArgFlags, RegArgs, CC, NumBytes)) in ARMEmitLibcall()
1913 SmallVector<unsigned, 8> ArgRegs; in SelectCall() local
1917 ArgRegs.reserve(CS.arg_size()); in SelectCall()
1948 ArgRegs.push_back(Arg); in SelectCall()
[all …]
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp192 SmallVectorImpl<unsigned> &ArgRegs,
1871 SmallVectorImpl<unsigned> &ArgRegs, in ProcessCallArgs() argument
1938 unsigned Arg = ArgRegs[VA.getValNo()]; in ProcessCallArgs()
2209 SmallVector<unsigned, 8> ArgRegs; in ARMEmitLibcall() local
2213 ArgRegs.reserve(I->getNumOperands()); in ARMEmitLibcall()
2230 ArgRegs.push_back(Arg); in ARMEmitLibcall()
2238 if (!ProcessCallArgs(Args, ArgRegs, ArgVTs, ArgFlags, in ARMEmitLibcall()
2319 SmallVector<unsigned, 8> ArgRegs; in SelectCall() local
2324 ArgRegs.reserve(arg_size); in SelectCall()
2364 ArgRegs.push_back(Arg); in SelectCall()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp181 SmallVectorImpl<unsigned> &ArgRegs,
1278 SmallVectorImpl<unsigned> &ArgRegs, in processCallArgs() argument
1335 unsigned Arg = ArgRegs[VA.getValNo()]; in processCallArgs()
1509 SmallVector<unsigned, 8> ArgRegs; in fastLowerCall() local
1514 ArgRegs.reserve(NumArgs); in fastLowerCall()
1540 ArgRegs.push_back(Arg); in fastLowerCall()
1549 if (!processCallArgs(Args, ArgRegs, ArgVTs, ArgFlags, in fastLowerCall()
DPPCISelLowering.cpp2673 static const MCPhysReg ArgRegs[] = { in CC_PPC32_SVR4_Custom_AlignArgRegs() local
2677 const unsigned NumArgRegs = array_lengthof(ArgRegs); in CC_PPC32_SVR4_Custom_AlignArgRegs()
2679 unsigned RegNum = State.getFirstUnallocated(ArgRegs); in CC_PPC32_SVR4_Custom_AlignArgRegs()
2686 State.AllocateReg(ArgRegs[RegNum]); in CC_PPC32_SVR4_Custom_AlignArgRegs()
2700 static const MCPhysReg ArgRegs[] = { in CC_PPC32_SVR4_Custom_AlignFPArgRegs() local
2705 const unsigned NumArgRegs = array_lengthof(ArgRegs); in CC_PPC32_SVR4_Custom_AlignFPArgRegs()
2707 unsigned RegNum = State.getFirstUnallocated(ArgRegs); in CC_PPC32_SVR4_Custom_AlignFPArgRegs()
2711 if (RegNum != NumArgRegs && ArgRegs[RegNum] == PPC::F8) { in CC_PPC32_SVR4_Custom_AlignFPArgRegs()
2712 State.AllocateReg(ArgRegs[RegNum]); in CC_PPC32_SVR4_Custom_AlignFPArgRegs()
/external/swiftshader/third_party/LLVM/lib/Target/XCore/
DXCoreISelLowering.cpp1146 static const unsigned ArgRegs[] = { in LowerCCCArguments() local
1150 unsigned FirstVAReg = CCInfo.getFirstUnallocated(ArgRegs, in LowerCCCArguments()
1151 array_lengthof(ArgRegs)); in LowerCCCArguments()
1152 if (FirstVAReg < array_lengthof(ArgRegs)) { in LowerCCCArguments()
1157 for (int i = array_lengthof(ArgRegs) - 1; i >= (int)FirstVAReg; --i) { in LowerCCCArguments()
1168 RegInfo.addLiveIn(ArgRegs[i], VReg); in LowerCCCArguments()
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/
DMBlazeISelLowering.cpp659 static const unsigned ArgRegs[] = { in CC_MBlaze_AssignReg() local
664 const unsigned NumArgRegs = array_lengthof(ArgRegs); in CC_MBlaze_AssignReg()
665 unsigned Reg = State.AllocateReg(ArgRegs, NumArgRegs); in CC_MBlaze_AssignReg()
/external/swiftshader/third_party/LLVM/lib/Target/Sparc/
DSparcISelLowering.cpp305 static const unsigned ArgRegs[] = { in LowerFormalArguments() local
308 unsigned NumAllocated = CCInfo.getFirstUnallocated(ArgRegs, 6); in LowerFormalArguments()
309 const unsigned *CurArgReg = ArgRegs+NumAllocated, *ArgRegEnd = ArgRegs+6; in LowerFormalArguments()
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp1357 static const MCPhysReg ArgRegs[] = { in LowerCCCArguments() local
1361 unsigned FirstVAReg = CCInfo.getFirstUnallocated(ArgRegs); in LowerCCCArguments()
1362 if (FirstVAReg < array_lengthof(ArgRegs)) { in LowerCCCArguments()
1366 for (int i = array_lengthof(ArgRegs) - 1; i >= (int)FirstVAReg; --i) { in LowerCCCArguments()
1376 RegInfo.addLiveIn(ArgRegs[i], VReg); in LowerCCCArguments()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp3785 ArrayRef<MCPhysReg> ArgRegs = ABI.GetByValArgRegs(); in passByValArg() local
3797 unsigned ArgReg = ArgRegs[FirstReg + I]; in passByValArg()
3847 unsigned ArgReg = ArgRegs[FirstReg + I]; in passByValArg()
3871 ArrayRef<MCPhysReg> ArgRegs = ABI.GetVarArgRegs(); in writeVarArgRegs() local
3872 unsigned Idx = State.getFirstUnallocated(ArgRegs); in writeVarArgRegs()
3883 if (ArgRegs.size() == Idx) in writeVarArgRegs()
3888 (int)(RegSizeInBytes * (ArgRegs.size() - Idx)); in writeVarArgRegs()
3900 for (unsigned I = Idx; I < ArgRegs.size(); in writeVarArgRegs()
3902 unsigned Reg = addLiveIn(MF, ArgRegs[I], RC); in writeVarArgRegs()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelLowering.cpp1533 static const unsigned ArgRegs[] = { in CC_PPC_SVR4_Custom_AlignArgRegs() local
1537 const unsigned NumArgRegs = array_lengthof(ArgRegs); in CC_PPC_SVR4_Custom_AlignArgRegs()
1539 unsigned RegNum = State.getFirstUnallocated(ArgRegs, NumArgRegs); in CC_PPC_SVR4_Custom_AlignArgRegs()
1546 State.AllocateReg(ArgRegs[RegNum]); in CC_PPC_SVR4_Custom_AlignArgRegs()
1560 static const unsigned ArgRegs[] = { in CC_PPC_SVR4_Custom_AlignFPArgRegs() local
1565 const unsigned NumArgRegs = array_lengthof(ArgRegs); in CC_PPC_SVR4_Custom_AlignFPArgRegs()
1567 unsigned RegNum = State.getFirstUnallocated(ArgRegs, NumArgRegs); in CC_PPC_SVR4_Custom_AlignFPArgRegs()
1571 if (RegNum != NumArgRegs && ArgRegs[RegNum] == PPC::F8) { in CC_PPC_SVR4_Custom_AlignFPArgRegs()
1572 State.AllocateReg(ArgRegs[RegNum]); in CC_PPC_SVR4_Custom_AlignFPArgRegs()
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp542 static const MCPhysReg ArgRegs[] = { in LowerFormalArguments_32() local
545 unsigned NumAllocated = CCInfo.getFirstUnallocated(ArgRegs); in LowerFormalArguments_32()
546 const MCPhysReg *CurArgReg = ArgRegs+NumAllocated, *ArgRegEnd = ArgRegs+6; in LowerFormalArguments_32()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp3059 SmallVector<unsigned, 16> ArgRegs; in fastLowerCall() local
3104 ArgRegs.push_back(ResultReg); in fastLowerCall()
3136 unsigned ArgReg = ArgRegs[VA.getValNo()]; in fastLowerCall()
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/
DSPUISelLowering.cpp1201 static const unsigned ArgRegs[] = { in LowerFormalArguments() local
1225 unsigned VReg = MF.addLiveIn(ArgRegs[ArgRegIdx], &SPU::VECREGRegClass); in LowerFormalArguments()