Home
last modified time | relevance | path

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

1234567891011

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUCallLowering.cpp93 if (F.getCallingConv() == CallingConv::AMDGPU_GS || in lowerFormalArguments()
94 F.getCallingConv() == CallingConv::AMDGPU_HS) in lowerFormalArguments()
105 CCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, F.getContext()); in lowerFormalArguments()
151 if (F.getCallingConv() == CallingConv::AMDGPU_KERNEL) { in lowerFormalArguments()
192 if (F.getCallingConv() == CallingConv::AMDGPU_PS && in lowerFormalArguments()
208 CCAssignFn *AssignFn = CCAssignFnForCall(F.getCallingConv(), in lowerFormalArguments()
235 if (F.getCallingConv() == CallingConv::AMDGPU_VS || in lowerFormalArguments()
236 F.getCallingConv() == CallingConv::AMDGPU_PS) { in lowerFormalArguments()
DR600AsmPrinter.cpp74 switch (MF.getFunction().getCallingConv()) { in EmitProgramInfoR600()
83 switch (MF.getFunction().getCallingConv()) { in EmitProgramInfoR600()
98 if (AMDGPU::isCompute(MF.getFunction().getCallingConv())) { in EmitProgramInfoR600()
DAMDGPUMachineFunction.cpp23 IsEntryFunction(AMDGPU::isEntryFunctionCC(MF.getFunction().getCallingConv())), in AMDGPUMachineFunction()
41 CallingConv::ID CC = F.getCallingConv(); in AMDGPUMachineFunction()
DAMDGPUAsmPrinter.cpp203 (F.getCallingConv() == CallingConv::AMDGPU_KERNEL || in EmitFunctionBodyStart()
204 F.getCallingConv() == CallingConv::SPIR_KERNEL)) { in EmitFunctionBodyStart()
1008 unsigned RsrcReg = getRsrcReg(MF.getFunction().getCallingConv()); in EmitProgramInfoSI()
1010 if (AMDGPU::isCompute(MF.getFunction().getCallingConv())) { in EmitProgramInfoSI()
1033 if (MF.getFunction().getCallingConv() == CallingConv::AMDGPU_PS) { in EmitProgramInfoSI()
1062 unsigned Rsrc1Reg = getRsrcReg(MF.getFunction().getCallingConv()) / 4; in EmitPALMetadata()
1068 switch (MF.getFunction().getCallingConv()) { in EmitPALMetadata()
1094 if (AMDGPU::isCompute(MF.getFunction().getCallingConv())) { in EmitPALMetadata()
1109 if (MF.getFunction().getCallingConv() == CallingConv::AMDGPU_PS) { in EmitPALMetadata()
1135 assert(F.getCallingConv() == CallingConv::AMDGPU_KERNEL || in getAmdKernelCode()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DBuildLibCalls.cpp47 CI->setCallingConv(F->getCallingConv()); in EmitStrLen()
68 CI->setCallingConv(F->getCallingConv()); in EmitStrChr()
92 CI->setCallingConv(F->getCallingConv()); in EmitStrNCmp()
111 CI->setCallingConv(F->getCallingConv()); in EmitStrCpy()
130 CI->setCallingConv(F->getCallingConv()); in EmitStrNCpy()
154 CI->setCallingConv(F->getCallingConv()); in EmitMemCpyChk()
175 CI->setCallingConv(F->getCallingConv()); in EmitMemChr()
200 CI->setCallingConv(F->getCallingConv()); in EmitMemCmp()
231 CI->setCallingConv(F->getCallingConv()); in EmitUnaryFloatFnCall()
250 CI->setCallingConv(F->getCallingConv()); in EmitPutChar()
[all …]
/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstruction.cpp211 CI->getCallingConv() == cast<CallInst>(I)->getCallingConv() && in isIdenticalToWhenDefined()
214 return CI->getCallingConv() == cast<InvokeInst>(I)->getCallingConv() && in isIdenticalToWhenDefined()
266 CI->getCallingConv() == cast<CallInst>(I)->getCallingConv() && in isSameOperationAs()
269 return CI->getCallingConv() == cast<InvokeInst>(I)->getCallingConv() && in isSameOperationAs()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp773 CI->setCallingConv(F->getCallingConv()); in emitStrLen()
793 CI->setCallingConv(F->getCallingConv()); in emitStrChr()
813 CI->setCallingConv(F->getCallingConv()); in emitStrNCmp()
830 CI->setCallingConv(F->getCallingConv()); in emitStrCpy()
847 CI->setCallingConv(F->getCallingConv()); in emitStrNCpy()
870 CI->setCallingConv(F->getCallingConv()); in emitMemCpyChk()
889 CI->setCallingConv(F->getCallingConv()); in emitMemChr()
910 CI->setCallingConv(F->getCallingConv()); in emitMemCmp()
947 CI->setCallingConv(F->getCallingConv()); in emitUnaryFloatFnCall()
963 CI->setCallingConv(F->getCallingConv()); in emitBinaryFloatFnCall()
[all …]
/external/llvm/lib/Target/AMDGPU/
DAMDGPUMachineFunction.cpp15 IsKernel(MF.getFunction()->getCallingConv() == llvm::CallingConv::AMDGPU_KERNEL || in AMDGPUMachineFunction()
16 MF.getFunction()->getCallingConv() == llvm::CallingConv::SPIR_KERNEL) in AMDGPUMachineFunction()
DAMDGPUAsmPrinter.cpp279 switch (MF.getFunction()->getCallingConv()) { in EmitProgramInfoR600()
288 switch (MF.getFunction()->getCallingConv()) { in EmitProgramInfoR600()
303 if (AMDGPU::isCompute(MF.getFunction()->getCallingConv())) { in EmitProgramInfoR600()
583 unsigned RsrcReg = getRsrcReg(MF.getFunction()->getCallingConv()); in EmitProgramInfoSI()
585 if (AMDGPU::isCompute(MF.getFunction()->getCallingConv())) { in EmitProgramInfoSI()
608 if (MF.getFunction()->getCallingConv() == CallingConv::AMDGPU_PS) { in EmitProgramInfoSI()
DSIMachineFunctionInfo.cpp92 if (!AMDGPU::isShader(F->getCallingConv())) {
139 if (AMDGPU::isCompute(F->getCallingConv()))
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64CallLowering.cpp245 CCAssignFn *AssignFn = TLI.CCAssignFnForReturn(F.getCallingConv()); in lowerReturn()
252 splitToValueTypes(OrigArg, SplitArgs, DL, MRI, F.getCallingConv(), in lowerReturn()
284 splitToValueTypes(OrigArg, SplitArgs, DL, MRI, F.getCallingConv(), in lowerFormalArguments()
306 TLI.CCAssignFnForCall(F.getCallingConv(), /*IsVarArg=*/false); in lowerFormalArguments()
368 MIB.addRegMask(TRI->getCallPreservedMask(MF, F.getCallingConv())); in lowerCall()
391 CCAssignFn *RetAssignFn = TLI.CCAssignFnForReturn(F.getCallingConv()); in lowerCall()
397 splitToValueTypes(OrigRet, SplitArgs, DL, MRI, F.getCallingConv(), in lowerCall()
DAArch64RegisterInfo.cpp45 if (MF->getFunction().getCallingConv() == CallingConv::GHC) in getCalleeSavedRegs()
49 if (MF->getFunction().getCallingConv() == CallingConv::AnyReg) in getCalleeSavedRegs()
51 if (MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS) in getCalleeSavedRegs()
60 if (MF->getFunction().getCallingConv() == CallingConv::PreserveMost) in getCalleeSavedRegs()
69 if (MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS && in getCalleeSavedRegsViaCopy()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsCallLowering.cpp224 MipsCCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, in lowerReturn()
277 MipsCCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, in lowerFormalArguments()
283 CCInfo.AllocateStack(ABI.GetCalleeAllocdArgSizeInBytes(F.getCallingConv()), in lowerFormalArguments()
331 MIB.addRegMask(TRI->getCallPreservedMask(MF, F.getCallingConv())); in lowerCall()
358 MipsCCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, in lowerCall()
394 MipsCCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, in lowerCall()
422 F.getCallingConv(), VT); in subTargetRegTypeForCallingConv()
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp729 CI->setCallingConv(F->getCallingConv()); in emitStrLen()
748 CI->setCallingConv(F->getCallingConv()); in emitStrChr()
767 CI->setCallingConv(F->getCallingConv()); in emitStrNCmp()
784 CI->setCallingConv(F->getCallingConv()); in emitStrCpy()
801 CI->setCallingConv(F->getCallingConv()); in emitStrNCpy()
824 CI->setCallingConv(F->getCallingConv()); in emitMemCpyChk()
842 CI->setCallingConv(F->getCallingConv()); in emitMemChr()
862 CI->setCallingConv(F->getCallingConv()); in emitMemCmp()
893 CI->setCallingConv(F->getCallingConv()); in emitUnaryFloatFnCall()
909 CI->setCallingConv(F->getCallingConv()); in emitBinaryFloatFnCall()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp43 if (MF->getFunction()->getCallingConv() == CallingConv::GHC) in getCalleeSavedRegs()
47 if (MF->getFunction()->getCallingConv() == CallingConv::AnyReg) in getCalleeSavedRegs()
49 if (MF->getFunction()->getCallingConv() == CallingConv::CXX_FAST_TLS) in getCalleeSavedRegs()
58 if (MF->getFunction()->getCallingConv() == CallingConv::PreserveMost) in getCalleeSavedRegs()
67 if (MF->getFunction()->getCallingConv() == CallingConv::CXX_FAST_TLS && in getCalleeSavedRegsViaCopy()
DAArch64CallLowering.cpp63 CCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, F.getContext()); in lowerFormalArguments()
71 TLI.CCAssignFnForCall(F.getCallingConv(), /*IsVarArg=*/false); in lowerFormalArguments()
/external/llvm/lib/Transforms/Scalar/
DLowerGuardIntrinsic.cpp82 DeoptCall->setCallingConv(CI->getCallingConv()); in MakeGuardControlFlowExplicit()
106 DeoptIntrinsic->setCallingConv(GuardDecl->getCallingConv()); in runOnFunction()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DMergeFunctions.cpp83 ID.AddInteger(F->getCallingConv()); in profileFunction()
319 return CI->getCallingConv() == cast<CallInst>(I2)->getCallingConv() && in isEquivalentOperation()
322 return CI->getCallingConv() == cast<InvokeInst>(I2)->getCallingConv() && in isEquivalentOperation()
485 if (F1->getCallingConv() != F2->getCallingConv()) in compare()
741 CI->setCallingConv(F->getCallingConv()); in writeThunk()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLowerGuardIntrinsic.cpp84 DeoptCall->setCallingConv(CI->getCallingConv()); in MakeGuardControlFlowExplicit()
108 DeoptIntrinsic->setCallingConv(GuardDecl->getCallingConv()); in lowerGuardIntrinsic()
/external/llvm/lib/Target/X86/
DX86RegisterInfo.cpp200 if (IsWin64 || (F && F->getCallingConv() == CallingConv::X86_64_Win64)) in getGPRsForTailCall()
205 bool hasHipeCC = (F ? F->getCallingConv() == CallingConv::HiPE : false); in getGPRsForTailCall()
251 switch (MF->getFunction()->getCallingConv()) { in getCalleeSavedRegs()
334 if (MF->getFunction()->getCallingConv() == CallingConv::CXX_FAST_TLS && in getCalleeSavedRegsViaCopy()
455 CallingConv::ID CC = MF.getFunction()->getCallingConv(); in getReservedRegs()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86RegisterInfo.cpp222 if (IsWin64 || (F.getCallingConv() == CallingConv::Win64)) in getGPRsForTailCall()
227 bool hasHipeCC = (F.getCallingConv() == CallingConv::HiPE); in getGPRsForTailCall()
275 CallingConv::ID CC = F.getCallingConv(); in getCalleeSavedRegs()
383 if (MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS && in getCalleeSavedRegsViaCopy()
522 CallingConv::ID CC = MF.getFunction().getCallingConv(); in getReservedRegs()
/external/llvm/lib/Target/MSP430/
DMSP430RegisterInfo.cpp66 return (F->getCallingConv() == CallingConv::MSP430_INTR ? in getCalleeSavedRegs()
69 return (F->getCallingConv() == CallingConv::MSP430_INTR ? in getCalleeSavedRegs()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/MSP430/
DMSP430RegisterInfo.cpp66 return (F->getCallingConv() == CallingConv::MSP430_INTR ? in getCalleeSavedRegs()
69 return (F->getCallingConv() == CallingConv::MSP430_INTR ? in getCalleeSavedRegs()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DStackMaps.h98 bool isAnyReg() const { return (getCallingConv() == CallingConv::AnyReg); } in isAnyReg()
115 CallingConv::ID getCallingConv() const { in getCallingConv() function
/external/llvm/lib/IR/
DInstruction.cpp366 CI->getCallingConv() == cast<CallInst>(I2)->getCallingConv() && in haveSameSpecialState()
370 return CI->getCallingConv() == cast<InvokeInst>(I2)->getCallingConv() && in haveSameSpecialState()

1234567891011