Home
last modified time | relevance | path

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

123

/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp53 CI->setCallingConv(F->getCallingConv()); in EmitStrLen()
80 CI->setCallingConv(F->getCallingConv()); in EmitStrChr()
105 CI->setCallingConv(F->getCallingConv()); in EmitStrNCmp()
129 CI->setCallingConv(F->getCallingConv()); in EmitStrCpy()
154 CI->setCallingConv(F->getCallingConv()); in EmitStrNCpy()
180 CI->setCallingConv(F->getCallingConv()); in EmitMemCpyChk()
202 CI->setCallingConv(F->getCallingConv()); in EmitMemChr()
228 CI->setCallingConv(F->getCallingConv()); in EmitMemCmp()
263 CI->setCallingConv(F->getCallingConv()); in EmitUnaryFloatFnCall()
284 CI->setCallingConv(F->getCallingConv()); in EmitBinaryFloatFnCall()
[all …]
DLowerInvoke.cpp63 NewCall->setCallingConv(II->getCallingConv()); in runOnFunction()
/external/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp44 if (MF->getFunction()->getCallingConv() == CallingConv::GHC) in getCalleeSavedRegs()
48 if (MF->getFunction()->getCallingConv() == CallingConv::AnyReg) in getCalleeSavedRegs()
50 if (MF->getFunction()->getCallingConv() == CallingConv::CXX_FAST_TLS) in getCalleeSavedRegs()
61 if (MF->getFunction()->getCallingConv() == CallingConv::CXX_FAST_TLS && in getCalleeSavedRegsViaCopy()
DAArch64FrameLowering.cpp297 if (MF.getFunction()->getCallingConv() == CallingConv::GHC) in emitPrologue()
558 if (MF.getFunction()->getCallingConv() == CallingConv::GHC) in emitEpilogue()
876 if (MF.getFunction()->getCallingConv() == CallingConv::GHC) in determineCalleeSaves()
/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/llvm/lib/IR/
DInstruction.cpp298 CI->getCallingConv() == cast<CallInst>(I2)->getCallingConv() && in haveSameSpecialState()
302 return CI->getCallingConv() == cast<InvokeInst>(I2)->getCallingConv() && in haveSameSpecialState()
DMangler.cpp140 MSFunc ? MSFunc->getCallingConv() : (unsigned)CallingConv::C; in getNameWithPrefix()
/external/llvm/lib/CodeGen/
DTargetFrameLoweringImpl.cpp90 if (LLVM_UNLIKELY(MF.getFunction()->getCallingConv() == CallingConv::HHVM)) in getStackAlignmentSkew()
DShadowStackGCLowering.cpp181 II->setCallingConv(CI->getCallingConv()); in Next()
/external/llvm/include/llvm/IR/
DCallSite.h233 CallingConv::ID getCallingConv() const { in getCallingConv() function
234 CALLSITE_DELEGATE_GETTER(getCallingConv()); in getCallingConv()
DFunction.h154 CallingConv::ID getCallingConv() const {
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp965 if (int Res = cmpNumbers(CI->getCallingConv(), in cmpOperations()
966 cast<CallInst>(R)->getCallingConv())) in cmpOperations()
978 if (int Res = cmpNumbers(II->getCallingConv(), in cmpOperations()
979 cast<InvokeInst>(R)->getCallingConv())) in cmpOperations()
1228 if (int Res = cmpNumbers(FnL->getCallingConv(), FnR->getCallingConv())) in compare()
1703 CI->setCallingConv(F->getCallingConv()); in writeThunk()
DDeadArgumentElimination.cpp264 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in DeleteDeadVarargs()
268 cast<CallInst>(New)->setCallingConv(CS.getCallingConv()); in DeleteDeadVarargs()
953 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in RemoveDeadStuffFromFunction()
957 cast<CallInst>(New)->setCallingConv(CS.getCallingConv()); in RemoveDeadStuffFromFunction()
DPruneEH.cpp197 Call->setCallingConv(II->getCallingConv()); in SimplifyFunction()
DArgumentPromotion.cpp859 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in DoPromotion()
864 cast<CallInst>(New)->setCallingConv(CS.getCallingConv()); in DoPromotion()
/external/llvm/include/llvm/CodeGen/
DFastISel.h107 CallConv = Call.getCallingConv(); in setCallee()
131 CallConv = Call.getCallingConv();
DCallingConvLower.h271 CallingConv::ID getCallingConv() const { return CallingConv; } in getCallingConv() function
/external/llvm/lib/Target/X86/
DX86RegisterInfo.cpp187 if (IsWin64 || (F && F->getCallingConv() == CallingConv::X86_64_Win64)) in getGPRsForTailCall()
192 bool hasHipeCC = (F ? F->getCallingConv() == CallingConv::HiPE : false); in getGPRsForTailCall()
238 switch (MF->getFunction()->getCallingConv()) { in getCalleeSavedRegs()
416 CallingConv::ID CC = MF.getFunction()->getCallingConv(); in getReservedRegs()
/external/llvm/lib/Transforms/Scalar/
DPlaceSafepoints.cpp891 Call->setCallingConv(ToReplace->getCallingConv()); in ReplaceWithStatepoint()
917 Invoke->setCallingConv(ToReplace->getCallingConv()); in ReplaceWithStatepoint()
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp211 call->setCallingConv(dtorFn->getCallingConv()); in createAtExitStub()
572 CI->setCallingConv(F->getCallingConv()); in GenerateCXXGlobalDtorsFunc()
/external/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp310 assert(CS.getCallingConv() != CallingConv::AnyReg && in lowerCallFromStatepoint()
758 pushStackMapConstant(Ops, *this, CS.getCallingConv()); in LowerStatepoint()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1975 if (CalleeF->getCallingConv() != CS.getCallingConv() && in visitCallSite()
2285 cast<InvokeInst>(NC)->setCallingConv(II->getCallingConv()); in transformConstExprCastCall()
2293 cast<CallInst>(NC)->setCallingConv(CI->getCallingConv()); in transformConstExprCastCall()
2470 cast<InvokeInst>(NewCaller)->setCallingConv(II->getCallingConv()); in transformCallThroughTrampoline()
2477 setCallingConv(cast<CallInst>(Caller)->getCallingConv()); in transformCallThroughTrampoline()
/external/llvm/lib/Analysis/
DLint.cpp212 Assert(CS.getCallingConv() == F->getCallingConv(), in visitCallSite()
/external/llvm/include/llvm/Target/
DTargetCallingConv.td52 : CCIf<!strconcat("State.getCallingConv() == ", CC), A> {}
/external/llvm/lib/Target/NVPTX/
DNVPTXUtilities.cpp298 return F.getCallingConv() == llvm::CallingConv::PTX_Kernel; in isKernelFunction()

123