Home
last modified time | relevance | path

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

12345

/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp132 FunctionType *FT = F->getFunctionType(); in checkStringCopyLibFuncSignature()
197 FunctionType *FT = Callee->getFunctionType(); in optimizeStrCat()
245 FunctionType *FT = Callee->getFunctionType(); in optimizeStrNCat()
287 FunctionType *FT = Callee->getFunctionType(); in optimizeStrChr()
332 FunctionType *FT = Callee->getFunctionType(); in optimizeStrRChr()
367 FunctionType *FT = Callee->getFunctionType(); in optimizeStrCmp()
408 FunctionType *FT = Callee->getFunctionType(); in optimizeStrNCmp()
491 Type *PT = Callee->getFunctionType()->getParamType(0); in optimizeStpCpy()
536 Type *PT = Callee->getFunctionType()->getParamType(0); in optimizeStrNCpy()
545 FunctionType *FT = Callee->getFunctionType(); in optimizeStrLen()
[all …]
DValueMapper.cpp65 FunctionType *NewTy = IA->getFunctionType(); in MapValue()
69 if (NewTy != IA->getFunctionType()) in MapValue()
467 FunctionType *FTy = CS.getFunctionType(); in RemapInstruction()
DCloneFunction.cpp236 FunctionType *FTy = FunctionType::get(F->getFunctionType()->getReturnType(), in CloneFunction()
237 ArgTypes, F->getFunctionType()->isVarArg()); in CloneFunction()
/external/llvm/lib/Target/Mips/
DMips16HardFloat.cpp111 TypeID ArgTypeID = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded()
122 TypeID ArgTypeID0 = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded()
123 TypeID ArgTypeID1 = F.getFunctionType()->getParamType(1)->getTypeID(); in whichFPParamVariantNeeded()
159 Type *ArgType = F.getFunctionType()->getParamType(0); in needsFPStubFromParams()
276 FStub = Function::Create(F.getFunctionType(), in assureFPCallStub()
472 (F->getFunctionType(), in createFPFnStub()
/external/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp187 assert(Fn.getFunctionType()->isVarArg() && "Function isn't varargs!"); in DeleteDeadVarargs()
222 FunctionType *FTy = Fn.getFunctionType(); in DeleteDeadVarargs()
337 if (Fn.hasLocalLinkage() && !Fn.getFunctionType()->isVarArg()) in RemoveDeadArgumentsFromCallers()
489 if (ArgNo >= F->getFunctionType()->getNumParams()) in SurveyUse()
563 != F.getFunctionType()->getReturnType()) { in SurveyFunction()
644 if (F.getFunctionType()->isVarArg()) { in SurveyFunction()
742 FunctionType *FTy = F->getFunctionType(); in RemoveDeadStuffFromFunction()
1102 if (F.getFunctionType()->isVarArg()) in runOnModule()
DLoopExtractor.cpp259 assert(MF->getFunctionType() == F->getFunctionType() && "Wrong function?"); in runOnModule()
DMergeFunctions.cpp1089 if (int Res = cmpTypes(L->getFunctionType(), R->getFunctionType())) in cmpInlineAsm()
1231 if (int Res = cmpTypes(FnL->getFunctionType(), FnR->getFunctionType())) in compare()
1688 Function *NewG = Function::Create(G->getFunctionType(), G->getLinkage(), "", in writeThunk()
1695 FunctionType *FFTy = F->getFunctionType(); in writeThunk()
1741 Function *H = Function::Create(F->getFunctionType(), F->getLinkage(), "", in mergeTwoFunctions()
/external/llvm/tools/bugpoint/
DMiscompilation.cpp387 MisCompFunctions.emplace_back(F->getName(), F->getFunctionType()); in ExtractLoops()
412 MisCompFunctions.emplace_back(I->getName(), I->getFunctionType()); in ExtractLoops()
584 MisCompFunctions.emplace_back(I->getName(), I->getFunctionType()); in ExtractBlocks()
779 Function::Create(oldMain->getFunctionType(), in CleanupAndPrepareModules()
783 Function *oldMainProto = Function::Create(oldMain->getFunctionType(), in CleanupAndPrepareModules()
854 FunctionType *FuncTy = F->getFunctionType(); in CleanupAndPrepareModules()
881 PointerType::getUnqual(F->getFunctionType()), in CleanupAndPrepareModules()
/external/llvm/lib/IR/
DInlineAsm.cpp45 assert(Verify(getFunctionType(), constraints) && in InlineAsm()
54 FunctionType *InlineAsm::getFunctionType() const { in getFunctionType() function in InlineAsm
DFunction.cpp227 FunctionType *Function::getFunctionType() const { return Ty; } in getFunctionType() function in Function
230 return getFunctionType()->isVarArg(); in isVarArg()
234 return getFunctionType()->getReturnType(); in getReturnType()
286 FunctionType *FT = getFunctionType(); in BuildLazyArguments()
299 return getFunctionType()->getNumParams(); in arg_size()
302 return getFunctionType()->getNumParams() == 0; in arg_empty()
DAutoUpgrade.cpp40 Type *Arg0Type = F->getFunctionType()->getParamType(0); in UpgradeSSE41Function()
55 Type *LastArgType = F->getFunctionType()->getParamType( in UpgradeX86IntrinsicsWith8BitMask()
56 F->getFunctionType()->getNumParams() - 1); in UpgradeX86IntrinsicsWith8BitMask()
98 auto fArgs = F->getFunctionType()->params(); in UpgradeIntrinsicFunction1()
119 auto fArgs = F->getFunctionType()->params(); in UpgradeIntrinsicFunction1()
DMangler.cpp161 FunctionType *FT = MSFunc->getFunctionType(); in getNameWithPrefix()
DConstantsContext.h418 FTy(Asm->getFunctionType()), HasSideEffects(Asm->hasSideEffects()),
433 FTy == Asm->getFunctionType();
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.cpp88 const size_t ArgCount = F->getFunctionType()->getNumParams(); in runFunction()
DExternalFunctions.cpp94 FunctionType *FT = F->getFunctionType(); in lookupFunction()
183 FunctionType *FTy = F->getFunctionType(); in ffiInvoke()
257 return Fn(F->getFunctionType(), ArgVals); in callExternalFunction()
/external/clang/lib/CodeGen/
DObjectFilePCHContainerOperations.cpp101 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitFunctionDecl()
120 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitObjCMethodDecl()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUOpenCLImageTypeLoweringPass.cpp257 FunctionType *FT = F->getFunctionType(); in addImplicitArgs()
335 M.getOrInsertFunction(NewF->getName(), NewF->getFunctionType(), in transformKernels()
/external/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.cpp33 FunctionType *FTy = F->getFunctionType(); in runFunction()
/external/llvm/include/llvm/IR/
DCallSite.h240 FunctionType *getFunctionType() const { in getFunctionType() function
241 CALLSITE_DELEGATE_GETTER(getFunctionType()); in getFunctionType()
DInlineAsm.h81 FunctionType *getFunctionType() const;
/external/clang/lib/Sema/
DSemaLambda.cpp369 MethodType = Context.getFunctionType(Result, FPT->getParamTypes(), in startLambdaDefinition()
847 Context.getFunctionType(DefaultTypeForNoTrailingReturn, None, EPI); in ActOnStartOfLambdaDefinition()
1166 S.Context.getFunctionType(CallOpProto->getReturnType(), in addFunctionPointerConversion()
1178 S.Context.getFunctionType(PtrToFunctionTy, None, ConvExtInfo); in addFunctionPointerConversion()
1337 QualType FunctionTy = S.Context.getFunctionType( in addBlockPointerConversion()
1345 QualType ConvTy = S.Context.getFunctionType(BlockPtrTy, None, ConversionEPI); in addBlockPointerConversion()
/external/clang/lib/AST/
DItaniumCXXABI.cpp67 Context.getFunctionType(Context.VoidTy, Proto->getParamTypes(), in getManglingNumber()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h378 FunctionType *FTy = F->getFunctionType(); in getCallCost()
388 return static_cast<T *>(this)->getCallCost(F->getFunctionType(), NumArgs); in getCallCost()
/external/llvm/lib/Analysis/
DMemoryLocation.cpp99 FunctionType *MemsetType = MS->getFunctionType(); in isMemsetPattern16()
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp537 FunctionType *FT = F->getFunctionType(); in buildWrapperFunction()
688 buildWrapperFunction(F, "", GA->getLinkage(), F->getFunctionType()); in runOnModule()
707 FunctionType *FT = F.getFunctionType(); in runOnModule()
1391 Type *RT = DFSF.F->getFunctionType()->getReturnType(); in visitReturnInst()
1448 FunctionType *FT = F->getFunctionType(); in visitCallSite()

12345