Home
last modified time | relevance | path

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

123456

/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/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()))
DAMDGPUCallingConv.td120 "!AMDGPU::isShader(State.getCallingConv())",
125 "!AMDGPU::isShader(State.getCallingConv())",
DAMDGPUSubtarget.cpp227 return EnableVGPRSpilling || !AMDGPU::isShader(F.getCallingConv()); in isVGPRSpillingEnabled()
/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 …]
DLowerInvoke.cpp62 NewCall->setCallingConv(II->getCallingConv()); in runOnFunction()
/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()
DDeadArgumentElimination.cpp248 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in DeleteDeadVarargs()
252 cast<CallInst>(New)->setCallingConv(CS.getCallingConv()); in DeleteDeadVarargs()
826 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in RemoveDeadStuffFromFunction()
830 cast<CallInst>(New)->setCallingConv(CS.getCallingConv()); in RemoveDeadStuffFromFunction()
/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/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/lib/Target/MBlaze/
DMBlazeFrameLowering.cpp216 llvm::CallingConv::ID CallConv = F->getCallingConv(); in interruptFrameLayout()
351 llvm::CallingConv::ID CallConv = MF.getFunction()->getCallingConv(); in emitPrologue()
397 llvm::CallingConv::ID CallConv = MF.getFunction()->getCallingConv(); in emitEpilogue()
435 llvm::CallingConv::ID CallConv = MF.getFunction()->getCallingConv(); in processFunctionBeforeCalleeSavedScan()
/external/llvm/lib/IR/
DInstruction.cpp366 CI->getCallingConv() == cast<CallInst>(I2)->getCallingConv() && in haveSameSpecialState()
370 return CI->getCallingConv() == cast<InvokeInst>(I2)->getCallingConv() && in haveSameSpecialState()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DCallSite.h171 CallingConv::ID getCallingConv() const { in getCallingConv() function
172 CALLSITE_DELEGATE_GETTER(getCallingConv()); in getCallingConv()
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/
DMSP430RegisterInfo.cpp69 return (F->getCallingConv() == CallingConv::MSP430_INTR ? in getCalleeSavedRegs()
72 return (F->getCallingConv() == CallingConv::MSP430_INTR ? in getCalleeSavedRegs()
/external/llvm/lib/CodeGen/
DTargetFrameLoweringImpl.cpp100 if (LLVM_UNLIKELY(MF.getFunction()->getCallingConv() == CallingConv::HHVM)) in getStackAlignmentSkew()
DRegUsageInfoCollector.cpp123 TRI->getCallPreservedMask(MF, F->getCallingConv()); in runOnMachineFunction()
/external/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp187 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in DeleteDeadVarargs()
191 cast<CallInst>(New)->setCallingConv(CS.getCallingConv()); in DeleteDeadVarargs()
893 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in RemoveDeadStuffFromFunction()
897 cast<CallInst>(New)->setCallingConv(CS.getCallingConv()); in RemoveDeadStuffFromFunction()
/external/llvm/unittests/IR/
DInstructionsTest.cpp544 EXPECT_EQ(Call->getCallingConv(), Clone->getCallingConv()); in TEST()
575 EXPECT_EQ(Invoke->getCallingConv(), Clone->getCallingConv()); in TEST()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCalls.cpp912 if (CalleeF->getCallingConv() != CS.getCallingConv() && in visitCallSite()
1196 cast<InvokeInst>(NC)->setCallingConv(II->getCallingConv()); in transformConstExprCastCall()
1204 cast<CallInst>(NC)->setCallingConv(CI->getCallingConv()); in transformConstExprCastCall()
1369 cast<InvokeInst>(NewCaller)->setCallingConv(II->getCallingConv()); in transformCallThroughTrampoline()
1376 setCallingConv(cast<CallInst>(Caller)->getCallingConv()); in transformCallThroughTrampoline()

123456