| /freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFixFunctionBitcasts.cpp | 129 FunctionType::param_iterator PI = F->getFunctionType()->param_begin(); in CreateWrapper() 130 FunctionType::param_iterator PE = F->getFunctionType()->param_end(); in CreateWrapper() 134 Type *ExpectedRtnType = F->getFunctionType()->getReturnType(); in CreateWrapper() 137 if ((F->getFunctionType()->getNumParams() != Ty->getNumParams()) || in CreateWrapper() 138 (F->getFunctionType()->isVarArg() != Ty->isVarArg()) || in CreateWrapper() 178 Type *ExpectedRtnType = F->getFunctionType()->getReturnType(); in CreateWrapper() 259 if (shouldFixMainFunction(F.getFunctionType(), MainTy)) { in runOnModule() 261 << *F.getFunctionType() << "\n"); in runOnModule()
|
| H A D | WebAssemblyAsmPrinter.cpp | 95 ComputeSignatureVTs(F.getFunctionType(), F, TM, Params, Results); in EmitEndOfAsmFile() 171 ComputeSignatureVTs(F.getFunctionType(), F, TM, ParamVTs, ResultVTs); in EmitFunctionBodyStart()
|
| H A D | WebAssemblyAddMissingPrototypes.cpp | 82 if (F.getFunctionType()->getNumParams() != 0) in runOnModule()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | CallPromotionUtils.cpp | 338 unsigned NumParams = Callee->getFunctionType()->getNumParams(); in isLegalToPromote() 352 Type *FormalTy = Callee->getFunctionType()->getFunctionParamType(I); in isLegalToPromote() 381 if (CS.getFunctionType() == Callee->getFunctionType()) in promoteCall() 389 CS.mutateFunctionType(Callee->getFunctionType()); in promoteCall() 394 auto CalleeType = Callee->getFunctionType(); in promoteCall()
|
| H A D | FunctionComparator.cpp | 698 if (int Res = cmpTypes(L->getFunctionType(), R->getFunctionType())) in cmpInlineAsm() 710 assert(L->getFunctionType() != R->getFunctionType()); in cmpInlineAsm() 822 if (int Res = cmpTypes(FnL->getFunctionType(), FnR->getFunctionType())) in compareSignature()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Mips/ |
| H A D | Mips16HardFloat.cpp | 112 TypeID ArgTypeID = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded() 123 TypeID ArgTypeID0 = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded() 124 TypeID ArgTypeID1 = F.getFunctionType()->getParamType(1)->getTypeID(); in whichFPParamVariantNeeded() 159 Type *ArgType = F.getFunctionType()->getParamType(0); in needsFPStubFromParams() 272 FStub = Function::Create(F.getFunctionType(), in assureFPCallStub() 421 FunctionType *FT = CI->getFunctionType(); in fixupFPReturnAndCall() 457 (F->getFunctionType(), in createFPFnStub()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibFunc.h | 348 virtual FunctionType *getFunctionType(Module &M) const = 0; 392 FunctionType *getFunctionType(Module &M) const { in getFunctionType() function 393 return Impl->getFunctionType(M); in getFunctionType() 417 FunctionType *getFunctionType(Module &M) const override; 447 FunctionType *getFunctionType(Module &M) const override { return FuncTy; } in getFunctionType() function
|
| H A D | R600OpenCLImageTypeLoweringPass.cpp | 273 FunctionType *FT = F->getFunctionType(); in addImplicitArgs() 351 M.getOrInsertFunction(NewF->getName(), NewF->getFunctionType(), in transformKernels()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/IPO/ |
| H A D | DeadArgumentElimination.cpp | 124 assert(Fn.getFunctionType()->isVarArg() && "Function isn't varargs!"); in DeleteDeadVarargs() 159 FunctionType *FTy = Fn.getFunctionType(); in DeleteDeadVarargs() 278 if (Fn.hasLocalLinkage() && !Fn.getFunctionType()->isVarArg()) in RemoveDeadArgumentsFromCallers() 442 if (ArgNo >= F->getFunctionType()->getNumParams()) in SurveyUse() 522 != F.getFunctionType()->getReturnType()) { in SurveyFunction() 631 if (F.getFunctionType()->isVarArg() || HasMustTailCallers || in SurveyFunction() 737 FunctionType *FTy = F->getFunctionType(); in RemoveDeadStuffFromFunction() 1096 if (F.getFunctionType()->isVarArg()) in run()
|
| H A D | MergeFunctions.cpp | 696 NewG = Function::Create(G->getFunctionType(), G->getLinkage(), in writeThunk() 705 FunctionType *FFTy = F->getFunctionType(); in writeThunk() 810 Function *NewF = Function::Create(F->getFunctionType(), F->getLinkage(), in mergeTwoFunctions()
|
| /freebsd-12.1/contrib/llvm/tools/bugpoint/ |
| H A D | Miscompilation.cpp | 393 MisCompFunctions.emplace_back(F->getName(), F->getFunctionType()); in ExtractLoops() 419 MisCompFunctions.emplace_back(I->getName(), I->getFunctionType()); in ExtractLoops() 590 MisCompFunctions.emplace_back(I->getName(), I->getFunctionType()); in ExtractBlocks() 798 Function::Create(oldMain->getFunctionType(), in CleanupAndPrepareModules() 802 Function *oldMainProto = Function::Create(oldMain->getFunctionType(), in CleanupAndPrepareModules() 870 FunctionType *FuncTy = F->getFunctionType(); in CleanupAndPrepareModules() 895 Resolver, PointerType::getUnqual(F->getFunctionType()), in CleanupAndPrepareModules()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | InlineAsm.cpp | 39 assert(Verify(getFunctionType(), constraints) && in InlineAsm() 57 FunctionType *InlineAsm::getFunctionType() const { in getFunctionType() function in InlineAsm
|
| H A D | Mangler.cpp | 170 FunctionType *FT = MSFunc->getFunctionType(); in getNameWithPrefix()
|
| H A D | AutoUpgrade.cpp | 42 Type *Arg0Type = F->getFunctionType()->getParamType(0); in UpgradePTESTIntrinsic() 58 F->getFunctionType()->getNumParams() - 1); in UpgradeX86IntrinsicsWith8BitMask() 399 if (F->getFunctionType()->getNumParams() == 0) in UpgradeX86IntrinsicFunction() 517 auto fArgs = F->getFunctionType()->params(); in UpgradeIntrinsicFunction1() 538 auto fArgs = F->getFunctionType()->params(); in UpgradeIntrinsicFunction1() 584 auto Args = F->getFunctionType()->params(); in UpgradeIntrinsicFunction1() 598 auto Args = F->getFunctionType()->params(); in UpgradeIntrinsicFunction1() 608 auto Args = F->getFunctionType()->params(); in UpgradeIntrinsicFunction1() 631 auto Args = F->getFunctionType()->params(); in UpgradeIntrinsicFunction1() 653 auto Args = F->getFunctionType()->params(); in UpgradeIntrinsicFunction1() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | Function.h | 164 FunctionType *getFunctionType() const { in getFunctionType() function 169 Type *getReturnType() const { return getFunctionType()->getReturnType(); } in getReturnType() 177 bool isVarArg() const { return getFunctionType()->isVarArg(); } in isVarArg()
|
| H A D | InlineAsm.h | 79 FunctionType *getFunctionType() const;
|
| H A D | CallSite.h | 320 FunctionType *getFunctionType() const { in getFunctionType() function 321 CALLSITE_DELEGATE_GETTER(getFunctionType()); in getFunctionType()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Interpreter.cpp | 92 const size_t ArgCount = F->getFunctionType()->getNumParams(); in runFunction()
|
| H A D | ExternalFunctions.cpp | 105 FunctionType *FT = F->getFunctionType(); in lookupFunction() 195 FunctionType *FTy = F->getFunctionType(); in ffiInvoke() 270 return Fn(F->getFunctionType(), ArgVals); in callExternalFunction()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | ObjectFilePCHContainerOperations.cpp | 109 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitFunctionDecl() 128 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitObjCMethodDecl()
|
| H A D | CGGPUBuiltin.cpp | 34 assert(F->getFunctionType() == VprintfFuncType); in GetVprintfDeclaration()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Orc/ |
| H A D | OrcMCJITReplacement.cpp | 33 FunctionType *FTy = F->getFunctionType(); in runFunction()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | PreISelIntrinsicLowering.cpp | 68 Constant* FCache = M->getOrInsertFunction(NewFn, F.getFunctionType()); in lowerObjCCall()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | ItaniumCXXABI.cpp | 122 Context.getFunctionType(Context.VoidTy, Proto->getParamTypes(), EPI); in getManglingNumber()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaLambda.cpp | 392 MethodType = Context.getFunctionType(Result, FPT->getParamTypes(), in startLambdaDefinition() 871 Context.getFunctionType(DefaultTypeForNoTrailingReturn, None, EPI); in ActOnStartOfLambdaDefinition() 1204 return Context.getFunctionType(CallOpProto->getReturnType(), in getLambdaConversionFunctionResultType() 1235 S.Context.getFunctionType(PtrToFunctionTy, None, ConvExtInfo); in addFunctionPointerConversion() 1383 QualType ConvTy = S.Context.getFunctionType(BlockPtrTy, None, ConversionEPI); in addBlockPointerConversion()
|