Home
last modified time | relevance | path

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

12345

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCallLowering.cpp385 static void allocateHSAUserSGPRs(CCState &CCInfo, in allocateHSAUserSGPRs() argument
394 CCInfo.AllocateReg(PrivateSegmentBufferReg); in allocateHSAUserSGPRs()
400 CCInfo.AllocateReg(DispatchPtrReg); in allocateHSAUserSGPRs()
406 CCInfo.AllocateReg(QueuePtrReg); in allocateHSAUserSGPRs()
417 CCInfo.AllocateReg(InputPtrReg); in allocateHSAUserSGPRs()
423 CCInfo.AllocateReg(DispatchIDReg); in allocateHSAUserSGPRs()
429 CCInfo.AllocateReg(FlatScratchInitReg); in allocateHSAUserSGPRs()
449 CCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, F.getContext()); in lowerFormalArgumentsKernel() local
451 allocateHSAUserSGPRs(CCInfo, B, MF, *TRI, *Info); in lowerFormalArgumentsKernel()
483 TLI.allocateSpecialEntryInputVGPRs(CCInfo, MF, *TRI, *Info); in lowerFormalArgumentsKernel()
[all …]
DSIISelLowering.h309 CCState &CCInfo,
410 void allocateHSAUserSGPRs(CCState &CCInfo,
415 void allocateSystemSGPRs(CCState &CCInfo,
421 void allocateSpecialEntryInputVGPRs(CCState &CCInfo,
426 CCState &CCInfo,
431 void allocateSpecialInputVGPRs(CCState &CCInfo,
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUCallLowering.cpp537 static void allocateHSAUserSGPRs(CCState &CCInfo, in allocateHSAUserSGPRs() argument
546 CCInfo.AllocateReg(PrivateSegmentBufferReg); in allocateHSAUserSGPRs()
552 CCInfo.AllocateReg(DispatchPtrReg); in allocateHSAUserSGPRs()
558 CCInfo.AllocateReg(QueuePtrReg); in allocateHSAUserSGPRs()
569 CCInfo.AllocateReg(InputPtrReg); in allocateHSAUserSGPRs()
575 CCInfo.AllocateReg(DispatchIDReg); in allocateHSAUserSGPRs()
581 CCInfo.AllocateReg(FlatScratchInitReg); in allocateHSAUserSGPRs()
601 CCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, F.getContext()); in lowerFormalArgumentsKernel() local
603 allocateHSAUserSGPRs(CCInfo, B, MF, *TRI, *Info); in lowerFormalArgumentsKernel()
661 TLI.allocateSpecialEntryInputVGPRs(CCInfo, MF, *TRI, *Info); in lowerFormalArgumentsKernel()
[all …]
DSIISelLowering.h329 CCState &CCInfo,
451 void allocateHSAUserSGPRs(CCState &CCInfo,
456 void allocateSystemSGPRs(CCState &CCInfo,
462 void allocateSpecialEntryInputVGPRs(CCState &CCInfo,
467 CCState &CCInfo,
472 void allocateSpecialInputVGPRs(CCState &CCInfo,
476 void allocateSpecialInputVGPRsFixed(CCState &CCInfo,
/external/llvm-project/llvm/lib/Target/Mips/
DMipsCallLowering.cpp402 MipsCCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, in lowerReturn() local
404 CCInfo.AnalyzeReturn(Outs, TLI.CCAssignFnForReturn()); in lowerReturn()
448 MipsCCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, in lowerFormalArguments() local
454 CCInfo.AllocateStack(ABI.GetCalleeAllocdArgSizeInBytes(F.getCallingConv()), in lowerFormalArguments()
456 CCInfo.AnalyzeFormalArguments(Ins, TLI.CCAssignFnForCall()); in lowerFormalArguments()
465 unsigned Idx = CCInfo.getFirstUnallocated(ArgRegs); in lowerFormalArguments()
470 VaArgOffset = alignTo(CCInfo.getNextStackOffset(), RegSize); in lowerFormalArguments()
473 (int)ABI.GetCalleeAllocdArgSizeInBytes(CCInfo.getCallingConv()) - in lowerFormalArguments()
573 MipsCCState CCInfo(F.getCallingConv(), IsCalleeVarArg, MF, ArgLocs, in lowerCall() local
576 CCInfo.AllocateStack(ABI.GetCalleeAllocdArgSizeInBytes(Info.CallConv), in lowerCall()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsCallLowering.cpp439 MipsCCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, in lowerReturn() local
441 CCInfo.AnalyzeReturn(Outs, TLI.CCAssignFnForReturn()); in lowerReturn()
485 MipsCCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, in lowerFormalArguments() local
491 CCInfo.AllocateStack(ABI.GetCalleeAllocdArgSizeInBytes(F.getCallingConv()), in lowerFormalArguments()
493 CCInfo.AnalyzeFormalArguments(Ins, TLI.CCAssignFnForCall()); in lowerFormalArguments()
502 unsigned Idx = CCInfo.getFirstUnallocated(ArgRegs); in lowerFormalArguments()
507 VaArgOffset = alignTo(CCInfo.getNextStackOffset(), RegSize); in lowerFormalArguments()
510 (int)ABI.GetCalleeAllocdArgSizeInBytes(CCInfo.getCallingConv()) - in lowerFormalArguments()
611 MipsCCState CCInfo(F.getCallingConv(), IsCalleeVarArg, MF, ArgLocs, in lowerCall() local
614 CCInfo.AllocateStack(ABI.GetCalleeAllocdArgSizeInBytes(Info.CallConv), 1); in lowerCall()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCISelLowering.cpp239 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCall() local
242 CCInfo.AnalyzeCallOperands(Outs, CC_ARC); in LowerCall()
248 RetCCInfo.AllocateStack(CCInfo.getNextStackOffset(), 4); in LowerCall()
457 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCallArguments() local
460 CCInfo.AnalyzeFormalArguments(Ins, CC_ARC); in LowerCallArguments()
465 AFI->setReturnStackOffset(CCInfo.getNextStackOffset()); in LowerCallArguments()
524 unsigned FirstVAReg = CCInfo.getFirstUnallocated(ArgRegs); in LowerCallArguments()
533 CCInfo.getNextStackOffset(), true); in LowerCallArguments()
596 CCState CCInfo(CallConv, IsVarArg, MF, RVLocs, Context); in CanLowerReturn() local
597 if (!CCInfo.CheckReturn(Outs, RetCC_ARC)) in CanLowerReturn()
[all …]
/external/llvm-project/llvm/lib/Target/ARC/
DARCISelLowering.cpp238 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCall() local
241 CCInfo.AnalyzeCallOperands(Outs, CC_ARC); in LowerCall()
247 RetCCInfo.AllocateStack(CCInfo.getNextStackOffset(), Align(4)); in LowerCall()
456 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCallArguments() local
459 CCInfo.AnalyzeFormalArguments(Ins, CC_ARC); in LowerCallArguments()
464 AFI->setReturnStackOffset(CCInfo.getNextStackOffset()); in LowerCallArguments()
523 unsigned FirstVAReg = CCInfo.getFirstUnallocated(ArgRegs); in LowerCallArguments()
532 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/llvm-project/llvm/lib/Target/AVR/
DAVRISelLowering.cpp909 SmallVectorImpl<CCValAssign> &ArgLocs, CCState &CCInfo) { in analyzeArguments() argument
946 auto evt = EVT(VT).getTypeForEVT(CCInfo.getContext()); in analyzeArguments()
947 unsigned Offset = CCInfo.AllocateStack(TD->getTypeAllocSize(evt), in analyzeArguments()
949 CCInfo.addLoc( in analyzeArguments()
954 Reg = CCInfo.AllocateReg(RegList8[RegIdx]); in analyzeArguments()
956 Reg = CCInfo.AllocateReg(RegList16[RegIdx]); in analyzeArguments()
962 CCInfo.addLoc(CCValAssign::getReg(i, VT, Reg, VT, CCValAssign::Full)); in analyzeArguments()
987 CCState &CCInfo) { in analyzeReturnValues() argument
1007 Reg = CCInfo.AllocateReg(RegList8[RegIdx]); in analyzeReturnValues()
1009 Reg = CCInfo.AllocateReg(RegList16[RegIdx]); in analyzeReturnValues()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRISelLowering.cpp938 CCState &CCInfo, bool IsCall, bool IsVarArg) { in analyzeStandardArguments() argument
948 CCInfo.AnalyzeCallOperands(*Outs, ArgCC_AVR_Vararg); in analyzeStandardArguments()
950 CCInfo.AnalyzeFormalArguments(*Ins, ArgCC_AVR_Vararg); in analyzeStandardArguments()
982 unsigned Reg = CCInfo.AllocateReg( in analyzeStandardArguments()
984 CCInfo.addLoc( in analyzeStandardArguments()
996 unsigned Offset = CCInfo.AllocateStack( in analyzeStandardArguments()
997 TD->getTypeAllocSize(EVT(LocVT).getTypeForEVT(CCInfo.getContext())), in analyzeStandardArguments()
999 EVT(LocVT).getTypeForEVT(CCInfo.getContext()))); in analyzeStandardArguments()
1000 CCInfo.addLoc(CCValAssign::getMem(ValNo++, LocVT, Offset, LocVT, in analyzeStandardArguments()
1014 CCState &CCInfo, bool IsCall, bool IsVarArg) { in analyzeBuiltinArguments() argument
[all …]
/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/llvm-project/llvm/lib/CodeGen/GlobalISel/
DCallLowering.cpp215 CCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, F.getContext()); in handleAssignments() local
216 return handleAssignments(CCInfo, ArgLocs, MIRBuilder, Args, Handler); in handleAssignments()
219 bool CallLowering::handleAssignments(CCState &CCInfo, in handleAssignments() argument
234 CCInfo)) in handleAssignments()
262 Args[i].Flags[0], CCInfo)) in handleAssignments()
289 Args[i], Args[i].Flags[Part], CCInfo)) { in handleAssignments()
322 Args[i], Args[i].Flags[PartIdx], CCInfo)) in handleAssignments()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCallLowering.cpp177 CCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, F.getContext()); in handleAssignments() local
178 return handleAssignments(CCInfo, ArgLocs, MIRBuilder, Args, Handler); in handleAssignments()
181 bool CallLowering::handleAssignments(CCState &CCInfo, in handleAssignments() argument
194 Args[i].Flags[0], CCInfo)) { in handleAssignments()
222 Args[i].Flags[0], CCInfo)) in handleAssignments()
249 Args[i], Args[i].Flags[Part], CCInfo)) { in handleAssignments()
282 Args[i], Args[i].Flags[PartIdx], CCInfo)) in handleAssignments()
/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/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-10.0/llvm/lib/Target/BPF/
DBPFISelLowering.cpp223 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); in LowerFormalArguments() local
224 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-project/llvm/lib/Target/BPF/
DBPFISelLowering.cpp256 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); in LowerFormalArguments() local
257 CCInfo.AnalyzeFormalArguments(Ins, getHasAlu32() ? CC_BPF32 : CC_BPF64); in LowerFormalArguments()
334 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); in LowerCall() local
336 CCInfo.AnalyzeCallOperands(Outs, getHasAlu32() ? CC_BPF32 : CC_BPF64); in LowerCall()
338 unsigned NumBytes = CCInfo.getNextStackOffset(); in LowerCall()
452 CCState CCInfo(CallConv, IsVarArg, MF, RVLocs, *DAG.getContext()); in LowerReturn() local
460 CCInfo.AnalyzeReturn(Outs, getHasAlu32() ? RetCC_BPF32 : RetCC_BPF64); in LowerReturn()
495 CCState CCInfo(CallConv, IsVarArg, MF, RVLocs, *DAG.getContext()); in LowerCallResult() local
504 CCInfo.AnalyzeCallResult(Ins, getHasAlu32() ? RetCC_BPF32 : RetCC_BPF64); in LowerCallResult()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVISelLowering.h158 void analyzeInputArgs(MachineFunction &MF, CCState &CCInfo,
161 void analyzeOutputArgs(MachineFunction &MF, CCState &CCInfo,
205 CCState &CCInfo, CallLoweringInfo &CLI, MachineFunction &MF,
/external/llvm-project/llvm/lib/Target/RISCV/
DRISCVISelLowering.h236 void analyzeInputArgs(MachineFunction &MF, CCState &CCInfo,
239 void analyzeOutputArgs(MachineFunction &MF, CCState &CCInfo,
263 CCState &CCInfo, CallLoweringInfo &CLI, MachineFunction &MF,
/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/llvm-project/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/swiftshader/third_party/llvm-10.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/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()

12345