Home
last modified time | relevance | path

Searched refs:getFunctionType (Results 1 – 25 of 96) sorted by relevance

1234

/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp125 FunctionType *FT = F->getFunctionType(); in checkStringCopyLibFuncSignature()
190 FunctionType *FT = Callee->getFunctionType(); in optimizeStrCat()
238 FunctionType *FT = Callee->getFunctionType(); in optimizeStrNCat()
280 FunctionType *FT = Callee->getFunctionType(); in optimizeStrChr()
325 FunctionType *FT = Callee->getFunctionType(); in optimizeStrRChr()
360 FunctionType *FT = Callee->getFunctionType(); in optimizeStrCmp()
401 FunctionType *FT = Callee->getFunctionType(); in optimizeStrNCmp()
471 FunctionType *FT = Callee->getFunctionType(); in optimizeStpCpy()
500 FunctionType *FT = Callee->getFunctionType(); in optimizeStrNCpy()
543 FunctionType *FT = Callee->getFunctionType(); in optimizeStrLen()
[all …]
DValueMapper.cpp48 FunctionType *NewTy = IA->getFunctionType(); in MapValue()
52 if (NewTy != IA->getFunctionType()) in MapValue()
DCloneFunction.cpp228 FunctionType *FTy = FunctionType::get(F->getFunctionType()->getReturnType(), in CloneFunction()
229 ArgTypes, F->getFunctionType()->isVarArg()); in CloneFunction()
/external/llvm/lib/Target/Mips/
DMips16HardFloat.cpp120 TypeID ArgTypeID = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded()
131 TypeID ArgTypeID0 = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded()
132 TypeID ArgTypeID1 = F.getFunctionType()->getParamType(1)->getTypeID(); in whichFPParamVariantNeeded()
168 Type *ArgType = F.getFunctionType()->getParamType(0); in needsFPStubFromParams()
276 FStub = Function::Create(F.getFunctionType(), in assureFPCallStub()
463 (F->getFunctionType(), in createFPFnStub()
/external/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp194 assert(Fn.getFunctionType()->isVarArg() && "Function isn't varargs!"); in DeleteDeadVarargs()
222 FunctionType *FTy = Fn.getFunctionType(); in DeleteDeadVarargs()
334 if (Fn.hasLocalLinkage() && !Fn.getFunctionType()->isVarArg()) in RemoveDeadArgumentsFromCallers()
496 if (ArgNo >= F->getFunctionType()->getNumParams()) in SurveyUse()
562 != F.getFunctionType()->getReturnType()) { in SurveyFunction()
643 if (F.getFunctionType()->isVarArg()) { in SurveyFunction()
741 FunctionType *FTy = F->getFunctionType(); in RemoveDeadStuffFromFunction()
1116 if (F.getFunctionType()->isVarArg()) in runOnModule()
DLoopExtractor.cpp257 assert(MF->getFunctionType() == F->getFunctionType() && "Wrong function?"); in runOnModule()
DMergeFunctions.cpp1005 if (int Res = cmpTypes(FnL->getFunctionType(), FnR->getFunctionType())) in compare()
1325 Function *NewG = Function::Create(G->getFunctionType(), G->getLinkage(), "", in writeThunk()
1332 FunctionType *FFTy = F->getFunctionType(); in writeThunk()
1381 Function *H = Function::Create(F->getFunctionType(), F->getLinkage(), "", in mergeTwoFunctions()
/external/llvm/tools/bugpoint/
DMiscompilation.cpp392 F->getFunctionType())); in ExtractLoops()
418 I->getFunctionType())); in ExtractLoops()
600 I->getFunctionType())); in ExtractBlocks()
795 Function *newMain = Function::Create(oldMain->getFunctionType(), in CleanupAndPrepareModules()
800 Function *oldMainProto = Function::Create(oldMain->getFunctionType(), in CleanupAndPrepareModules()
871 FunctionType *FuncTy = F->getFunctionType(); in CleanupAndPrepareModules()
898 PointerType::getUnqual(F->getFunctionType()), in CleanupAndPrepareModules()
DCrashDebugger.cpp213 assert(CMF->getFunctionType() == Funcs[i]->getFunctionType() && "wrong ty"); in TestFuncs()
/external/llvm/lib/IR/
DFunction.cpp218 FunctionType *Function::getFunctionType() const { return Ty; } in getFunctionType() function in Function
221 return getFunctionType()->isVarArg(); in isVarArg()
225 return getFunctionType()->getReturnType(); in getReturnType()
280 FunctionType *FT = getFunctionType(); in BuildLazyArguments()
293 return getFunctionType()->getNumParams(); in arg_size()
296 return getFunctionType()->getNumParams() == 0; in arg_empty()
DInlineAsm.cpp46 assert(Verify(getFunctionType(), constraints) && in InlineAsm()
55 FunctionType *InlineAsm::getFunctionType() const { in getFunctionType() function in InlineAsm
DMangler.cpp145 FunctionType *FT = MSFunc->getFunctionType(); in getNameWithPrefix()
DAutoUpgrade.cpp39 Type *Arg0Type = F->getFunctionType()->getParamType(0); in UpgradeSSE41Function()
54 Type *LastArgType = F->getFunctionType()->getParamType( in UpgradeX86IntrinsicsWith8BitMask()
55 F->getFunctionType()->getNumParams() - 1); in UpgradeX86IntrinsicsWith8BitMask()
70 Type *LastArgType = F->getFunctionType()->getParamType(2); in UpgradeAVX512CmpIntrinsic()
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.cpp91 const unsigned ArgCount = F->getFunctionType()->getNumParams(); in runFunction()
DExternalFunctions.cpp95 FunctionType *FT = F->getFunctionType(); in lookupFunction()
185 FunctionType *FTy = F->getFunctionType(); in ffiInvoke()
259 return Fn(F->getFunctionType(), ArgVals); in callExternalFunction()
/external/clang/lib/Sema/
DSemaLambda.cpp369 MethodType = Context.getFunctionType(Result, FPT->getParamTypes(), in startLambdaDefinition()
884 Context.getFunctionType(DefaultTypeForNoTrailingReturn, None, EPI); in ActOnStartOfLambdaDefinition()
1183 S.Context.getFunctionType(CallOpProto->getReturnType(), in addFunctionPointerConversion()
1195 S.Context.getFunctionType(PtrToFunctionTy, None, ConvExtInfo); in addFunctionPointerConversion()
1354 QualType FunctionTy = S.Context.getFunctionType( in addBlockPointerConversion()
1362 QualType ConvTy = S.Context.getFunctionType(BlockPtrTy, None, ConversionEPI); in addBlockPointerConversion()
1484 QualType FunctionTy = Context.getFunctionType( in ActOnLambdaExpr()
/external/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.cpp33 FunctionType *FTy = F->getFunctionType(); in runFunction()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h369 FunctionType *FTy = F->getFunctionType(); in getCallCost()
379 return static_cast<T *>(this)->getCallCost(F->getFunctionType(), NumArgs); in getCallCost()
/external/clang/lib/AST/
DItaniumCXXABI.cpp67 Context.getFunctionType(Context.VoidTy, Proto->getParamTypes(), in getManglingNumber()
/external/llvm/include/llvm/IR/
DInlineAsm.h80 FunctionType *getFunctionType() const;
DFunction.h120 FunctionType *getFunctionType() const; // Return the FunctionType for me
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp524 FunctionType *FT = F->getFunctionType(); in buildWrapperFunction()
674 buildWrapperFunction(F, "", GA->getLinkage(), F->getFunctionType()); in runOnModule()
693 FunctionType *FT = F.getFunctionType(); in runOnModule()
1375 Type *RT = DFSF.F->getFunctionType()->getReturnType(); in visitReturnInst()
1432 FunctionType *FT = F->getFunctionType(); in visitCallSite()
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp128 FunctionType *FTy = Callee->getFunctionType(); in getAllocationData()
331 FunctionType *FTy = Callee->getFunctionType(); in isFreeCall()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DCompileOnDemandLayer.h283 createIRTypedAddress(*Proto->getFunctionType(), in partitionAndAdd()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTestBase.h130 Function *Result = Function::Create(Func->getFunctionType(), in insertExternalReferenceToFunction()

1234