/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCallLowering.cpp | 105 CCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, F.getContext()); in lowerFormalArguments() local 111 CCInfo.AllocateReg(PrivateSegmentBufferReg); in lowerFormalArguments() 117 CCInfo.AllocateReg(DispatchPtrReg); in lowerFormalArguments() 123 CCInfo.AllocateReg(QueuePtrReg); in lowerFormalArguments() 133 CCInfo.AllocateReg(InputPtrReg); in lowerFormalArguments() 139 CCInfo.AllocateReg(DispatchIDReg); in lowerFormalArguments() 145 CCInfo.AllocateReg(FlatScratchInitReg); in lowerFormalArguments() 217 OrigArg.Flags, CCInfo); in lowerFormalArguments() 225 AssignFn(i, ValVT, ValVT, CCValAssign::Full, OrigArg.Flags, CCInfo); in lowerFormalArguments()
|
D | SIISelLowering.cpp | 104 static unsigned findFirstFreeSGPR(CCState &CCInfo) { in findFirstFreeSGPR() argument 107 if (!CCInfo.isAllocated(AMDGPU::SGPR0 + Reg)) { in findFirstFreeSGPR() 1392 static void allocateSpecialEntryInputVGPRs(CCState &CCInfo, in allocateSpecialEntryInputVGPRs() argument 1400 CCInfo.AllocateReg(Reg); in allocateSpecialEntryInputVGPRs() 1408 CCInfo.AllocateReg(Reg); in allocateSpecialEntryInputVGPRs() 1416 CCInfo.AllocateReg(Reg); in allocateSpecialEntryInputVGPRs() 1423 static ArgDescriptor allocateVGPR32Input(CCState &CCInfo) { in allocateVGPR32Input() argument 1426 unsigned RegIdx = CCInfo.getFirstUnallocated(ArgVGPRs); in allocateVGPR32Input() 1429 int64_t Offset = CCInfo.AllocateStack(4, 4); in allocateVGPR32Input() 1435 Reg = CCInfo.AllocateReg(Reg); in allocateVGPR32Input() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | MipsCallLowering.cpp | 224 MipsCCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, in lowerReturn() local 226 CCInfo.AnalyzeReturn(Outs, TLI.CCAssignFnForReturn()); in lowerReturn() 277 MipsCCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, in lowerFormalArguments() local 283 CCInfo.AllocateStack(ABI.GetCalleeAllocdArgSizeInBytes(F.getCallingConv()), in lowerFormalArguments() 285 CCInfo.AnalyzeFormalArguments(Ins, TLI.CCAssignFnForCall()); in lowerFormalArguments() 358 MipsCCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, in lowerCall() local 361 CCInfo.AllocateStack(ABI.GetCalleeAllocdArgSizeInBytes(CallConv), 1); in lowerCall() 363 CCInfo.AnalyzeCallOperands(Outs, TLI.CCAssignFnForCall(), FuncOrigArgs, Call); in lowerCall() 370 unsigned NextStackOffset = CCInfo.getNextStackOffset(); in lowerCall() 394 MipsCCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, in lowerCall() local [all …]
|
D | Mips16ISelLowering.h | 35 const CCState &CCInfo, unsigned NextStackOffset,
|
D | MipsISelLowering.cpp | 2888 MipsCCState CCInfo( in LowerCall() local 2928 CCInfo.AllocateStack(ReservedArgArea, 1); in LowerCall() 2930 CCInfo.AnalyzeCallOperands(Outs, CC_Mips, CLI.getArgs(), in LowerCall() 2934 unsigned NextStackOffset = CCInfo.getNextStackOffset(); in LowerCall() 2941 CCInfo, NextStackOffset, *MF.getInfo<MipsFunctionInfo>()); in LowerCall() 2974 CCInfo.rewindByValRegsInfo(); in LowerCall() 2987 unsigned ByValIdx = CCInfo.getInRegsParamsProcessed(); in LowerCall() 2988 CCInfo.getInRegsParamInfo(ByValIdx, FirstByValReg, LastByValReg); in LowerCall() 2992 assert(ByValIdx < CCInfo.getInRegsParamsCount()); in LowerCall() 2998 CCInfo.nextInRegsParam(); in LowerCall() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Nios2/ |
D | Nios2ISelLowering.cpp | 41 CCState CCInfo(CallConv, IsVarArg, MF, RVLocs, *DAG.getContext()); in LowerReturn() local 43 CCInfo.CheckReturn(Outs, RetCC_Nios2EABI); in LowerReturn() 95 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), ArgLocs, in LowerFormalArguments() local 98 CCInfo.AnalyzeFormalArguments(Ins, CC_Nios2); in LowerFormalArguments()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARC/ |
D | ARCISelLowering.cpp | 240 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCall() local 243 CCInfo.AnalyzeCallOperands(Outs, CC_ARC); in LowerCall() 249 RetCCInfo.AllocateStack(CCInfo.getNextStackOffset(), 4); in LowerCall() 458 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCallArguments() local 461 CCInfo.AnalyzeFormalArguments(Ins, CC_ARC); in LowerCallArguments() 466 AFI->setReturnStackOffset(CCInfo.getNextStackOffset()); in LowerCallArguments() 525 unsigned FirstVAReg = CCInfo.getFirstUnallocated(ArgRegs); in LowerCallArguments() 534 CCInfo.getNextStackOffset(), true); in LowerCallArguments() 597 CCState CCInfo(CallConv, IsVarArg, MF, RVLocs, Context); in CanLowerReturn() local 598 if (!CCInfo.CheckReturn(Outs, RetCC_ARC)) in CanLowerReturn() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/ |
D | AVRISelLowering.cpp | 930 CCState &CCInfo, bool IsCall, bool IsVarArg) { in analyzeStandardArguments() argument 940 CCInfo.AnalyzeCallOperands(*Outs, ArgCC_AVR_Vararg); in analyzeStandardArguments() 942 CCInfo.AnalyzeFormalArguments(*Ins, ArgCC_AVR_Vararg); in analyzeStandardArguments() 974 unsigned Reg = CCInfo.AllocateReg( in analyzeStandardArguments() 976 CCInfo.addLoc( in analyzeStandardArguments() 988 unsigned Offset = CCInfo.AllocateStack( in analyzeStandardArguments() 989 TD->getTypeAllocSize(EVT(LocVT).getTypeForEVT(CCInfo.getContext())), in analyzeStandardArguments() 991 EVT(LocVT).getTypeForEVT(CCInfo.getContext()))); in analyzeStandardArguments() 992 CCInfo.addLoc(CCValAssign::getMem(ValNo++, LocVT, Offset, LocVT, in analyzeStandardArguments() 1006 CCState &CCInfo, bool IsCall, bool IsVarArg) { in analyzeBuiltinArguments() argument [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/ |
D | RISCVISelLowering.h | 81 void analyzeInputArgs(MachineFunction &MF, CCState &CCInfo, 84 void analyzeOutputArgs(MachineFunction &MF, CCState &CCInfo, 116 bool IsEligibleForTailCallOptimization(CCState &CCInfo,
|
D | RISCVISelLowering.cpp | 818 MachineFunction &MF, CCState &CCInfo, in analyzeInputArgs() argument 834 ArgFlags, CCInfo, /*IsRet=*/true, IsRet, ArgTy)) { in analyzeInputArgs() 843 MachineFunction &MF, CCState &CCInfo, in analyzeOutputArgs() argument 854 ArgFlags, CCInfo, Outs[i].IsFixed, IsRet, OrigTy)) { in analyzeOutputArgs() 993 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); in LowerFormalArguments() local 994 analyzeInputArgs(MF, CCInfo, Ins, /*IsRet=*/false); in LowerFormalArguments() 1033 unsigned Idx = CCInfo.getFirstUnallocated(ArgRegs); in LowerFormalArguments() 1047 VaArgOffset = CCInfo.getNextStackOffset(); in LowerFormalArguments() 1101 CCState &CCInfo, CallLoweringInfo &CLI, MachineFunction &MF, in IsEligibleForTailCallOptimization() argument 1128 if (CCInfo.getNextStackOffset() != 0) in IsEligibleForTailCallOptimization() [all …]
|
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/ |
D | KaleidoscopeJIT.h | 135 auto CCInfo = CompileCallbackMgr->getCompileCallback(); in addFunctionAST() local 145 CCInfo.getAddress(), in addFunctionAST() 169 CCInfo.setCompileAction( in addFunctionAST()
|
/external/llvm/lib/Target/BPF/ |
D | BPFISelLowering.cpp | 168 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); in LowerFormalArguments() local 169 CCInfo.AnalyzeFormalArguments(Ins, CC_BPF64); in LowerFormalArguments() 242 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); in LowerCall() local 244 CCInfo.AnalyzeCallOperands(Outs, CC_BPF64); in LowerCall() 246 unsigned NumBytes = CCInfo.getNextStackOffset(); in LowerCall() 357 CCState CCInfo(CallConv, IsVarArg, MF, RVLocs, *DAG.getContext()); in LowerReturn() local 365 CCInfo.AnalyzeReturn(Outs, RetCC_BPF64); in LowerReturn() 400 CCState CCInfo(CallConv, IsVarArg, MF, RVLocs, *DAG.getContext()); in LowerCallResult() local 409 CCInfo.AnalyzeCallResult(Ins, RetCC_BPF64); in LowerCallResult()
|
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/ |
D | KaleidoscopeJIT.h | 163 auto CCInfo = CompileCallbackMgr->getCompileCallback(); in addFunctionAST() local 173 CCInfo.getAddress(), in addFunctionAST() 197 CCInfo.setCompileAction( in addFunctionAST()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64CallLowering.cpp | 63 CCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, F.getContext()); in lowerFormalArguments() local 73 AssignFn(i, ValVT, ValVT, CCValAssign::Full, ISD::ArgFlagsTy(), CCInfo); in lowerFormalArguments()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/ |
D | BPFISelLowering.cpp | 222 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); in LowerFormalArguments() local 223 CCInfo.AnalyzeFormalArguments(Ins, getHasAlu32() ? CC_BPF32 : CC_BPF64); in LowerFormalArguments() 301 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); in LowerCall() local 303 CCInfo.AnalyzeCallOperands(Outs, getHasAlu32() ? CC_BPF32 : CC_BPF64); in LowerCall() 305 unsigned NumBytes = CCInfo.getNextStackOffset(); in LowerCall() 419 CCState CCInfo(CallConv, IsVarArg, MF, RVLocs, *DAG.getContext()); in LowerReturn() local 427 CCInfo.AnalyzeReturn(Outs, getHasAlu32() ? RetCC_BPF32 : RetCC_BPF64); in LowerReturn() 462 CCState CCInfo(CallConv, IsVarArg, MF, RVLocs, *DAG.getContext()); in LowerCallResult() local 471 CCInfo.AnalyzeCallResult(Ins, getHasAlu32() ? RetCC_BPF32 : RetCC_BPF64); in LowerCallResult()
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | OrcCBindingsStack.h | 119 auto CCInfo = CCMgr->getCompileCallback(); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() local 120 CCInfo.setCompileAction([=]() -> orc::TargetAddress { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 123 return CCInfo.getAddress(); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/ |
D | LanaiISelLowering.cpp | 448 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCCCArguments() local 451 CCInfo.AnalyzeFormalArguments(Ins, CC_Lanai32_Fast); in LowerCCCArguments() 453 CCInfo.AnalyzeFormalArguments(Ins, CC_Lanai32); in LowerCCCArguments() 526 int FI = MFI.CreateFixedObject(4, CCInfo.getNextStackOffset(), true); in LowerCCCArguments() 543 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), RVLocs, in LowerReturn() local 547 CCInfo.AnalyzeReturn(Outs, RetCC_Lanai32); in LowerReturn() 604 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCCCCallTo() local 616 CCInfo.AnalyzeCallOperands(Outs, CC_Lanai32_VarArg); in LowerCCCCallTo() 619 CCInfo.AnalyzeCallOperands(Outs, CC_Lanai32_Fast); in LowerCCCCallTo() 621 CCInfo.AnalyzeCallOperands(Outs, CC_Lanai32); in LowerCCCCallTo() [all …]
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiISelLowering.cpp | 432 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCCCArguments() local 435 CCInfo.AnalyzeFormalArguments(Ins, CC_Lanai32_Fast); in LowerCCCArguments() 437 CCInfo.AnalyzeFormalArguments(Ins, CC_Lanai32); in LowerCCCArguments() 511 int FI = MFI->CreateFixedObject(4, CCInfo.getNextStackOffset(), true); in LowerCCCArguments() 528 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), RVLocs, in LowerReturn() local 532 CCInfo.AnalyzeReturn(Outs, RetCC_Lanai32); in LowerReturn() 589 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCCCCallTo() local 601 CCInfo.AnalyzeCallOperands(Outs, CC_Lanai32_VarArg); in LowerCCCCallTo() 604 CCInfo.AnalyzeCallOperands(Outs, CC_Lanai32_Fast); in LowerCCCCallTo() 606 CCInfo.AnalyzeCallOperands(Outs, CC_Lanai32); in LowerCCCCallTo() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/MSP430/ |
D | MSP430ISelLowering.cpp | 604 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCCCArguments() local 606 AnalyzeArguments(CCInfo, ArgLocs, Ins); in LowerCCCArguments() 610 unsigned Offset = CCInfo.getNextStackOffset(); in LowerCCCArguments() 705 CCState CCInfo(CallConv, IsVarArg, MF, RVLocs, Context); in CanLowerReturn() local 706 return CCInfo.CheckReturn(Outs, RetCC_MSP430); in CanLowerReturn() 726 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), RVLocs, in LowerReturn() local 730 AnalyzeReturnValues(CCInfo, RVLocs, Outs); in LowerReturn() 787 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCCCCallTo() local 789 AnalyzeArguments(CCInfo, ArgLocs, Outs); in LowerCCCCallTo() 792 unsigned NumBytes = CCInfo.getNextStackOffset(); in LowerCCCCallTo() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/ |
D | CallLowering.cpp | 118 CCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, F.getContext()); in handleAssignments() local 123 if (Handler.assignArg(i, CurVT, CurVT, CCValAssign::Full, Args[i], CCInfo)) in handleAssignments()
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430ISelLowering.cpp | 422 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCCCArguments() local 424 AnalyzeArguments(CCInfo, ArgLocs, Ins); in LowerCCCArguments() 428 unsigned Offset = CCInfo.getNextStackOffset(); in LowerCCCArguments() 519 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), RVLocs, in LowerReturn() local 523 AnalyzeReturnValues(CCInfo, RVLocs, Outs); in LowerReturn() 565 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCCCCallTo() local 567 AnalyzeArguments(CCInfo, ArgLocs, Outs); in LowerCCCCallTo() 570 unsigned NumBytes = CCInfo.getNextStackOffset(); in LowerCCCCallTo() 698 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), RVLocs, in LowerCallResult() local 701 AnalyzeReturnValues(CCInfo, RVLocs, Ins); in LowerCallResult()
|
/external/llvm/lib/Target/Mips/ |
D | Mips16ISelLowering.h | 35 const CCState &CCInfo, unsigned NextStackOffset,
|
/external/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 1125 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCCCCallTo() local 1130 CCInfo.AllocateStack(4, 4); in LowerCCCCallTo() 1132 CCInfo.AnalyzeCallOperands(Outs, CC_XCore); in LowerCCCCallTo() 1138 RetCCInfo.AllocateStack(CCInfo.getNextStackOffset(), 4); in LowerCCCCallTo() 1281 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCCCArguments() local 1284 CCInfo.AnalyzeFormalArguments(Ins, CC_XCore); in LowerCCCArguments() 1291 XFI->setReturnStackOffset(CCInfo.getNextStackOffset() + LRSaveSize); in LowerCCCArguments() 1361 unsigned FirstVAReg = CCInfo.getFirstUnallocated(ArgRegs); in LowerCCCArguments() 1387 MFI->CreateFixedObject(4, LRSaveSize + CCInfo.getNextStackOffset(), in LowerCCCArguments() 1439 CCState CCInfo(CallConv, isVarArg, MF, RVLocs, Context); in CanLowerReturn() local [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 1110 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCCCCallTo() local 1115 CCInfo.AllocateStack(4, 4); in LowerCCCCallTo() 1117 CCInfo.AnalyzeCallOperands(Outs, CC_XCore); in LowerCCCCallTo() 1123 RetCCInfo.AllocateStack(CCInfo.getNextStackOffset(), 4); in LowerCCCCallTo() 1265 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCCCArguments() local 1268 CCInfo.AnalyzeFormalArguments(Ins, CC_XCore); in LowerCCCArguments() 1275 XFI->setReturnStackOffset(CCInfo.getNextStackOffset() + LRSaveSize); in LowerCCCArguments() 1344 unsigned FirstVAReg = CCInfo.getFirstUnallocated(ArgRegs); in LowerCCCArguments() 1370 MFI.CreateFixedObject(4, LRSaveSize + CCInfo.getNextStackOffset(), in LowerCCCArguments() 1422 CCState CCInfo(CallConv, isVarArg, MF, RVLocs, Context); in CanLowerReturn() local [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIISelLowering.cpp | 45 static unsigned findFirstFreeSGPR(CCState &CCInfo) { in findFirstFreeSGPR() argument 48 if (!CCInfo.isAllocated(AMDGPU::SGPR0 + Reg)) { in findFirstFreeSGPR() 660 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerFormalArguments() local 678 CCInfo.AllocateReg(AMDGPU::VGPR0); in LowerFormalArguments() 679 CCInfo.AllocateReg(AMDGPU::VGPR1); in LowerFormalArguments() 702 CCInfo.AllocateReg(PrivateSegmentBufferReg); in LowerFormalArguments() 708 CCInfo.AllocateReg(DispatchPtrReg); in LowerFormalArguments() 714 CCInfo.AllocateReg(QueuePtrReg); in LowerFormalArguments() 720 CCInfo.AllocateReg(InputPtrReg); in LowerFormalArguments() 726 CCInfo.AllocateReg(FlatScratchInitReg); in LowerFormalArguments() [all …]
|