Home
last modified time | relevance | path

Searched refs:getCallingConv (Results 1 – 25 of 136) sorted by relevance

123456

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp46 if (MF->getFunction().getCallingConv() == CallingConv::CFGuard_Check) in getCalleeSavedRegs()
50 if (MF->getFunction().getCallingConv() == CallingConv::GHC) in getCalleeSavedRegs()
54 if (MF->getFunction().getCallingConv() == CallingConv::AnyReg) in getCalleeSavedRegs()
56 if (MF->getFunction().getCallingConv() == CallingConv::AArch64_VectorCall) in getCalleeSavedRegs()
58 if (MF->getFunction().getCallingConv() == CallingConv::AArch64_SVE_VectorCall) in getCalleeSavedRegs()
60 if (MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS) in getCalleeSavedRegs()
69 if (MF->getFunction().getCallingConv() == CallingConv::PreserveMost) in getCalleeSavedRegs()
79 if (MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS && in getCalleeSavedRegsViaCopy()
DAArch64CallLowering.cpp271 CCAssignFn *AssignFn = TLI.CCAssignFnForReturn(F.getCallingConv()); in lowerReturn()
281 CallingConv::ID CC = F.getCallingConv(); in lowerReturn()
391 CCState CCInfo(F.getCallingConv(), /*IsVarArg=*/true, MF, ArgLocs, in handleMustTailForwardedRegisters()
433 splitToValueTypes(OrigArg, SplitArgs, DL, MRI, F.getCallingConv()); in lowerFormalArguments()
442 TLI.CCAssignFnForCall(F.getCallingConv(), /*IsVarArg=*/false); in lowerFormalArguments()
465 if (doesCalleeRestoreStack(F.getCallingConv(), in lowerFormalArguments()
526 CallingConv::ID CallerCC = CallerF.getCallingConv(); in doCallerAndCalleePassArgsTheSameWay()
570 CallingConv::ID CallerCC = CallerF.getCallingConv(); in areCalleeOutgoingArgsTailCallable()
735 return canGuaranteeTCO(CalleeCC) && CalleeCC == CallerF.getCallingConv(); in isEligibleForTailCallOptimization()
939 splitToValueTypes(Info.OrigRet, InArgs, DL, MRI, F.getCallingConv()); in lowerCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DR600AsmPrinter.cpp73 switch (MF.getFunction().getCallingConv()) { in EmitProgramInfoR600()
82 switch (MF.getFunction().getCallingConv()) { in EmitProgramInfoR600()
97 if (AMDGPU::isCompute(MF.getFunction().getCallingConv())) { in EmitProgramInfoR600()
DAMDGPUMachineFunction.cpp22 IsEntryFunction(AMDGPU::isEntryFunctionCC(MF.getFunction().getCallingConv())), in AMDGPUMachineFunction()
40 CallingConv::ID CC = F.getCallingConv(); in AMDGPUMachineFunction()
DAMDGPUAsmPrinter.cpp199 (F.getCallingConv() == CallingConv::AMDGPU_KERNEL || in EmitFunctionBodyStart()
200 F.getCallingConv() == CallingConv::SPIR_KERNEL)) { in EmitFunctionBodyStart()
892 if (AMDGPU::isEntryFunctionCC(Callee->getCallingConv())) in analyzeResourceUsage()
1132 unsigned RsrcReg = getRsrcReg(MF.getFunction().getCallingConv()); in EmitProgramInfoSI()
1134 if (AMDGPU::isCompute(MF.getFunction().getCallingConv())) { in EmitProgramInfoSI()
1156 if (MF.getFunction().getCallingConv() == CallingConv::AMDGPU_PS) { in EmitProgramInfoSI()
1179 auto CC = MF.getFunction().getCallingConv(); in EmitPALMetadata()
1185 if (AMDGPU::isCompute(MF.getFunction().getCallingConv())) { in EmitPALMetadata()
1196 if (MF.getFunction().getCallingConv() == CallingConv::AMDGPU_PS) { in EmitPALMetadata()
1204 MD->setWave32(MF.getFunction().getCallingConv()); in EmitPALMetadata()
[all …]
DAMDGPUCallLowering.cpp271 CallingConv::ID CC = F.getCallingConv(); in lowerReturnVal()
302 CallingConv::ID CC = B.getMF().getFunction().getCallingConv(); in lowerReturn()
449 CCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, F.getContext()); in lowerFormalArgumentsKernel()
484 TLI.allocateSystemSGPRs(CCInfo, MF, *Info, F.getCallingConv(), false); in lowerFormalArgumentsKernel()
568 CallingConv::ID CC = F.getCallingConv(); in lowerFormalArguments()
DAMDGPUPropagateAttributes.cpp170 if (AMDGPU::isEntryFunctionCC(F.getCallingConv())) in process()
315 if (!TM || !AMDGPU::isEntryFunctionCC(F.getCallingConv())) in runOnFunction()
DAMDGPUHSAMetadataStreamer.cpp218 assert(F.getCallingConv() == CallingConv::AMDGPU_KERNEL || in getHSACodeProps()
219 F.getCallingConv() == CallingConv::SPIR_KERNEL); in getHSACodeProps()
473 if (Func.getCallingConv() != CallingConv::AMDGPU_KERNEL) in emitKernel()
946 assert(Func.getCallingConv() == CallingConv::AMDGPU_KERNEL || in emitKernel()
947 Func.getCallingConv() == CallingConv::SPIR_KERNEL); in emitKernel()
DAMDGPUOpenCLEnqueuedBlockLowering.cpp145 if (F->getCallingConv() != CallingConv::AMDGPU_KERNEL) in runOnModule()
DAMDGPUAlwaysInlinePass.cpp73 if (!AMDGPU::isEntryFunctionCC(F->getCallingConv())) { in recursivelyVisitUsers()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsCallLowering.cpp68 F.getCallingConv(), VT); in handle()
74 F.getContext(), F.getCallingConv(), VT); in handle()
439 MipsCCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, in lowerReturn()
485 MipsCCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, in lowerFormalArguments()
491 CCInfo.AllocateStack(ABI.GetCalleeAllocdArgSizeInBytes(F.getCallingConv()), in lowerFormalArguments()
510 (int)ABI.GetCalleeAllocdArgSizeInBytes(CCInfo.getCallingConv()) - in lowerFormalArguments()
583 MIB.addRegMask(TRI->getCallPreservedMask(MF, F.getCallingConv())); in lowerCall()
611 MipsCCState CCInfo(F.getCallingConv(), IsCalleeVarArg, MF, ArgLocs, in lowerCall()
655 MipsCCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, in lowerCall()
684 F.getCallingConv(), VT); in subTargetRegTypeForCallingConv()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp843 CI->setCallingConv(F->getCallingConv()); in emitLibCall()
925 CI->setCallingConv(F->getCallingConv()); in emitMemCpyChk()
1060 CI->setCallingConv(F->getCallingConv()); in emitUnaryFloatFnCallHelper()
1102 CI->setCallingConv(F->getCallingConv()); in emitBinaryFloatFnCallHelper()
1148 CI->setCallingConv(F->getCallingConv()); in emitPutChar()
1165 CI->setCallingConv(F->getCallingConv()); in emitPutS()
1186 CI->setCallingConv(Fn->getCallingConv()); in emitFPutC()
1206 CI->setCallingConv(Fn->getCallingConv()); in emitFPutCUnlocked()
1225 CI->setCallingConv(Fn->getCallingConv()); in emitFPutS()
1244 CI->setCallingConv(Fn->getCallingConv()); in emitFPutSUnlocked()
[all …]
DLowerInvoke.cpp59 NewCall->setCallingConv(II->getCallingConv()); in runImpl()
DFunctionComparator.cpp574 if (int Res = cmpNumbers(CSL.getCallingConv(), CSR.getCallingConv())) in cmpOperations()
820 if (int Res = cmpNumbers(FnL->getCallingConv(), FnR->getCallingConv())) in compareSignature()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstruction.cpp405 CI->getCallingConv() == cast<CallInst>(I2)->getCallingConv() && in haveSameSpecialState()
409 return CI->getCallingConv() == cast<InvokeInst>(I2)->getCallingConv() && in haveSameSpecialState()
413 return CI->getCallingConv() == cast<CallBrInst>(I2)->getCallingConv() && in haveSameSpecialState()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCallLowering.cpp64 Info.CallConv = CS.getCallingConv(); in lowerCall()
177 CCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, F.getContext()); in handleAssignments()
198 F.getContext(), F.getCallingConv(), EVT(CurVT)); in handleAssignments()
203 F.getContext(), F.getCallingConv(), CurVT); in handleAssignments()
409 CallingConv::ID CallerCC = F.getCallingConv(); in resultsCompatible()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86RegisterInfo.cpp237 if (IsWin64 || (F.getCallingConv() == CallingConv::Win64)) in getGPRsForTailCall()
242 bool hasHipeCC = (F.getCallingConv() == CallingConv::HiPE); in getGPRsForTailCall()
290 CallingConv::ID CC = F.getCallingConv(); in getCalleeSavedRegs()
402 if (MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS && in getCalleeSavedRegsViaCopy()
551 CallingConv::ID CC = MF.getFunction().getCallingConv(); in getReservedRegs()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/X86/
DX86GenCallingConv.inc295 if (State.getCallingConv() == CallingConv::Intel_OCL_BI) {
316 if (State.getCallingConv() == CallingConv::X86_INTR) {
326 if (State.getCallingConv() == CallingConv::X86_FastCall) {
331 if (State.getCallingConv() == CallingConv::X86_VectorCall) {
336 if (State.getCallingConv() == CallingConv::X86_ThisCall) {
341 if (State.getCallingConv() == CallingConv::CFGuard_Check) {
346 if (State.getCallingConv() == CallingConv::Fast) {
351 if (State.getCallingConv() == CallingConv::Tail) {
356 if (State.getCallingConv() == CallingConv::GHC) {
361 if (State.getCallingConv() == CallingConv::HiPE) {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430RegisterInfo.cpp65 return (F->getCallingConv() == CallingConv::MSP430_INTR ? in getCalleeSavedRegs()
68 return (F->getCallingConv() == CallingConv::MSP430_INTR ? in getCalleeSavedRegs()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DStackMaps.h97 bool isAnyReg() const { return (getCallingConv() == CallingConv::AnyReg); } in isAnyReg()
114 CallingConv::ID getCallingConv() const { in getCallingConv() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerGuardIntrinsic.cpp61 DeoptIntrinsic->setCallingConv(GuardDecl->getCallingConv()); in lowerGuardIntrinsic()
DMakeGuardsExplicit.cpp86 DeoptIntrinsic->setCallingConv(GuardDecl->getCallingConv()); in explicifyGuards()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.cpp74 if (F.getCallingConv() == CallingConv::GHC) { in getCalleeSavedRegs()
78 } else if (F.getCallingConv() == CallingConv::CFGuard_Check) { in getCalleeSavedRegs()
105 if (STI.isTargetDarwin() && F.getCallingConv() == CallingConv::CXX_FAST_TLS) in getCalleeSavedRegs()
115 if (MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS && in getCalleeSavedRegsViaCopy()
DARMCallLowering.cpp222 SplitTy, F.getCallingConv(), F.isVarArg()); in splitToValueTypes()
259 TLI.CCAssignFnForReturn(F.getCallingConv(), F.isVarArg()); in lowerReturnVal()
444 TLI.CCAssignFnForCall(F.getCallingConv(), F.isVarArg()); in lowerFormalArguments()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetFrameLoweringImpl.cpp131 if (LLVM_UNLIKELY(MF.getFunction().getCallingConv() == CallingConv::HHVM)) in getStackAlignmentSkew()

123456