Home
last modified time | relevance | path

Searched refs:CCInfo (Results 1 – 25 of 86) sorted by relevance

1234

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUCallLowering.cpp105 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()
DSIISelLowering.cpp104 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/
DMipsCallLowering.cpp224 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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARC/
DARCISelLowering.cpp240 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/Nios2/
DNios2ISelLowering.cpp41 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/AVR/
DAVRISelLowering.cpp930 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/lib/Target/Blackfin/
DBlackfinISelLowering.cpp176 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerFormalArguments() local
178 CCInfo.AllocateStack(12, 4); // ABI requires 12 bytes stack space in LowerFormalArguments()
179 CCInfo.AnalyzeFormalArguments(Ins, CC_Blackfin); in LowerFormalArguments()
234 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerReturn() local
238 CCInfo.AnalyzeReturn(Outs, RetCC_Blackfin); in LowerReturn()
295 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCall() local
297 CCInfo.AllocateStack(12, 4); // ABI requires 12 bytes stack space in LowerCall()
298 CCInfo.AnalyzeCallOperands(Outs, CC_Blackfin); in LowerCall()
301 unsigned ArgsSize = CCInfo.getNextStackOffset(); in LowerCall()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/
DRISCVISelLowering.h81 void analyzeInputArgs(MachineFunction &MF, CCState &CCInfo,
84 void analyzeOutputArgs(MachineFunction &MF, CCState &CCInfo,
116 bool IsEligibleForTailCallOptimization(CCState &CCInfo,
DRISCVISelLowering.cpp818 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/lib/Target/BPF/
DBPFISelLowering.cpp168 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/Chapter4/
DKaleidoscopeJIT.h135 auto CCInfo = CompileCallbackMgr->getCompileCallback(); in addFunctionAST() local
145 CCInfo.getAddress(), in addFunctionAST()
169 CCInfo.setCompileAction( in addFunctionAST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/
DBPFISelLowering.cpp222 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/examples/Kaleidoscope/BuildingAJIT/Chapter5/
DKaleidoscopeJIT.h163 auto CCInfo = CompileCallbackMgr->getCompileCallback(); in addFunctionAST() local
173 CCInfo.getAddress(), in addFunctionAST()
197 CCInfo.setCompileAction( in addFunctionAST()
/external/llvm/lib/Target/AArch64/
DAArch64CallLowering.cpp63 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/lib/Target/SystemZ/
DSystemZISelLowering.cpp297 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCCCArguments() local
299 CCInfo.AnalyzeFormalArguments(Ins, CC_SystemZ); in LowerCCCArguments()
390 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCCCCallTo() local
393 CCInfo.AnalyzeCallOperands(Outs, CC_SystemZ); in LowerCCCCallTo()
396 unsigned NumBytes = CCInfo.getNextStackOffset(); in LowerCCCCallTo()
519 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCallResult() local
522 CCInfo.AnalyzeCallResult(Ins, RetCC_SystemZ); in LowerCallResult()
564 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerReturn() local
568 CCInfo.AnalyzeReturn(Outs, RetCC_SystemZ); in LowerReturn()
/external/llvm/lib/ExecutionEngine/Orc/
DOrcCBindingsStack.h119 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/
DLanaiISelLowering.cpp448 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/
DLanaiISelLowering.cpp432 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/lib/Target/MBlaze/
DMBlazeISelLowering.cpp703 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCall() local
705 CCInfo.AnalyzeCallOperands(Outs, CC_MBlaze); in LowerCall()
708 unsigned NumBytes = CCInfo.getNextStackOffset(); in LowerCall()
842 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCallResult() local
845 CCInfo.AnalyzeCallResult(Ins, RetCC_MBlaze); in LowerCallResult()
885 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerFormalArguments() local
888 CCInfo.AnalyzeFormalArguments(Ins, CC_MBlaze); in LowerFormalArguments()
1017 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerReturn() local
1021 CCInfo.AnalyzeReturn(Outs, RetCC_MBlaze); in LowerReturn()
/external/swiftshader/third_party/LLVM/lib/Target/XCore/
DXCoreISelLowering.cpp906 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCCCCallTo() local
911 CCInfo.AllocateStack(4, 4); in LowerCCCCallTo()
913 CCInfo.AnalyzeCallOperands(Outs, CC_XCore); in LowerCCCCallTo()
916 unsigned NumBytes = CCInfo.getNextStackOffset(); in LowerCCCCallTo()
1029 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCallResult() local
1032 CCInfo.AnalyzeCallResult(Ins, RetCC_XCore); in LowerCallResult()
1089 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCCCArguments() local
1092 CCInfo.AnalyzeFormalArguments(Ins, CC_XCore); in LowerCCCArguments()
1150 unsigned FirstVAReg = CCInfo.getFirstUnallocated(ArgRegs, in LowerCCCArguments()
1181 MFI->CreateFixedObject(4, LRSaveSize + CCInfo.getNextStackOffset(), in LowerCCCArguments()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/
DMSP430ISelLowering.cpp316 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCCCArguments() local
318 CCInfo.AnalyzeFormalArguments(Ins, CC_MSP430); in LowerCCCArguments()
399 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerReturn() local
403 CCInfo.AnalyzeReturn(Outs, RetCC_MSP430); in LowerReturn()
453 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCCCCallTo() local
456 CCInfo.AnalyzeCallOperands(Outs, CC_MSP430); in LowerCCCCallTo()
459 unsigned NumBytes = CCInfo.getNextStackOffset(); in LowerCCCCallTo()
576 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCallResult() local
579 CCInfo.AnalyzeCallResult(Ins, RetCC_MSP430); in LowerCallResult()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp604 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/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp422 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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DCallLowering.cpp118 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp1110 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 …]

1234