Home
last modified time | relevance | path

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

123

/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp53 CI->setCallingConv(F->getCallingConv()); in EmitStrLen()
79 CI->setCallingConv(F->getCallingConv()); in EmitStrNLen()
106 CI->setCallingConv(F->getCallingConv()); in EmitStrChr()
131 CI->setCallingConv(F->getCallingConv()); in EmitStrNCmp()
155 CI->setCallingConv(F->getCallingConv()); in EmitStrCpy()
180 CI->setCallingConv(F->getCallingConv()); in EmitStrNCpy()
206 CI->setCallingConv(F->getCallingConv()); in EmitMemCpyChk()
228 CI->setCallingConv(F->getCallingConv()); in EmitMemChr()
254 CI->setCallingConv(F->getCallingConv()); in EmitMemCmp()
289 CI->setCallingConv(F->getCallingConv()); in EmitUnaryFloatFnCall()
[all …]
DLowerInvoke.cpp63 NewCall->setCallingConv(II->getCallingConv()); in runOnFunction()
/external/llvm/lib/IR/
DInstruction.cpp282 CI->getCallingConv() == cast<CallInst>(I2)->getCallingConv() && in haveSameSpecialState()
285 return CI->getCallingConv() == cast<InvokeInst>(I2)->getCallingConv() && in haveSameSpecialState()
DMangler.cpp124 MSFunc ? MSFunc->getCallingConv() : (unsigned)CallingConv::C; in getNameWithPrefix()
DAsmWriter.cpp2469 if (F->getCallingConv() != CallingConv::C) { in printFunction()
2470 PrintCallingConv(F->getCallingConv(), Out); in printFunction()
2778 if (CI->getCallingConv() != CallingConv::C) { in printInstruction()
2780 PrintCallingConv(CI->getCallingConv(), Out); in printInstruction()
2824 if (II->getCallingConv() != CallingConv::C) { in printInstruction()
2826 PrintCallingConv(II->getCallingConv(), Out); in printInstruction()
/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/Transforms/IPO/
DMergeFunctions.cpp761 if (int Res = cmpNumbers(CI->getCallingConv(), in cmpOperations()
762 cast<CallInst>(R)->getCallingConv())) in cmpOperations()
772 if (int Res = cmpNumbers(CI->getCallingConv(), in cmpOperations()
773 cast<InvokeInst>(R)->getCallingConv())) in cmpOperations()
1002 if (int Res = cmpNumbers(FnL->getCallingConv(), FnR->getCallingConv())) in compare()
1341 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()
961 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in RemoveDeadStuffFromFunction()
965 cast<CallInst>(New)->setCallingConv(CS.getCallingConv()); in RemoveDeadStuffFromFunction()
DPruneEH.cpp185 Call->setCallingConv(II->getCallingConv()); in SimplifyFunction()
DArgumentPromotion.cpp844 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in DoPromotion()
849 cast<CallInst>(New)->setCallingConv(CS.getCallingConv()); in DoPromotion()
/external/llvm/include/llvm/IR/
DCallSite.h190 CallingConv::ID getCallingConv() const { in getCallingConv() function
191 CALLSITE_DELEGATE_GETTER(getCallingConv()); in getCallingConv()
DFunction.h148 CallingConv::ID getCallingConv() const {
/external/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp47 if (MF->getFunction()->getCallingConv() == CallingConv::GHC) in getCalleeSavedRegs()
51 if (MF->getFunction()->getCallingConv() == CallingConv::AnyReg) in getCalleeSavedRegs()
DAArch64FrameLowering.cpp269 if (MF.getFunction()->getCallingConv() == CallingConv::GHC) in emitPrologue()
547 if (MF.getFunction()->getCallingConv() == CallingConv::GHC) in emitEpilogue()
/external/llvm/include/llvm/CodeGen/
DFastISel.h107 CallConv = Call.getCallingConv(); in setCallee()
131 CallConv = Call.getCallingConv();
DCallingConvLower.h269 CallingConv::ID getCallingConv() const { return CallingConv; } in getCallingConv() function
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1375 if (CalleeF->getCallingConv() != CS.getCallingConv() && in visitCallSite()
1689 cast<InvokeInst>(NC)->setCallingConv(II->getCallingConv()); in transformConstExprCastCall()
1697 cast<CallInst>(NC)->setCallingConv(CI->getCallingConv()); in transformConstExprCastCall()
1874 cast<InvokeInst>(NewCaller)->setCallingConv(II->getCallingConv()); in transformCallThroughTrampoline()
1881 setCallingConv(cast<CallInst>(Caller)->getCallingConv()); in transformCallThroughTrampoline()
/external/llvm/lib/Target/X86/
DX86RegisterInfo.cpp184 bool hasHipeCC = (F ? F->getCallingConv() == CallingConv::HiPE : false); in getPointerRegClass()
230 switch (MF->getFunction()->getCallingConv()) { in getCalleeSavedRegs()
367 CallingConv::ID CC = MF.getFunction()->getCallingConv(); in getReservedRegs()
/external/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp247 Tmp->setCallingConv(CS.getCallingConv()); in lowerCallFromStatepoint()
628 CallingConv::ID CallConv = CS.getCallingConv(); in LowerStatepoint()
/external/llvm/lib/Transforms/Scalar/
DPlaceSafepoints.cpp894 Call->setCallingConv(toReplace->getCallingConv()); in ReplaceWithStatepoint()
951 invoke->setCallingConv(toReplace->getCallingConv()); in ReplaceWithStatepoint()
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp211 call->setCallingConv(dtorFn->getCallingConv()); in createAtExitStub()
562 CI->setCallingConv(F->getCallingConv()); in GenerateCXXGlobalDtorsFunc()
/external/llvm/lib/Analysis/
DLint.cpp210 Assert(CS.getCallingConv() == F->getCallingConv(), in visitCallSite()
/external/llvm/include/llvm/Target/
DTargetCallingConv.td52 : CCIf<!strconcat("State.getCallingConv() == ", CC), A> {}
/external/llvm/lib/CodeGen/
DShadowStackGCLowering.cpp177 II->setCallingConv(CI->getCallingConv()); in Next()
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp199 EXPECT_EQ(CallingConv::Cold, F2->getCallingConv()); in TEST_F()

123