| /freebsd-13.1/contrib/llvm-project/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() 263 if (shouldFixMainFunction(F.getFunctionType(), MainTy)) { in runOnModule() 265 << *F.getFunctionType() << "\n"); in runOnModule()
|
| H A D | WebAssemblyAddMissingPrototypes.cpp | 81 unsigned NumParams = F.getFunctionType()->getNumParams(); in runOnModule() 122 NewType = FunctionType::get(F.getFunctionType()->getReturnType(), false); in runOnModule()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | Mips16HardFloat.cpp | 111 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() 158 Type *ArgType = F.getFunctionType()->getParamType(0); in needsFPStubFromParams() 271 FStub = Function::Create(F.getFunctionType(), in assureFPCallStub() 420 FunctionType *FT = CI->getFunctionType(); in fixupFPReturnAndCall() 456 (F->getFunctionType(), in createFPFnStub()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | Coroutines.cpp | 452 Prototype->getFunctionType()->dump(); in buildFrom() 461 Prototype->getFunctionType()->dump(); in buildFrom() 480 Prototype->getFunctionType()->dump(); in buildFrom() 488 Prototype->getFunctionType()->dump(); in buildFrom() 539 Alloc->getFunctionType()->getParamType(0), in emitAlloc() 562 Dealloc->getFunctionType()->getParamType(0)); in emitDealloc() 594 auto FT = F->getFunctionType(); in checkWFRetconPrototype() 612 I->getFunction()->getFunctionType()->getReturnType()) in checkWFRetconPrototype() 630 auto FT = F->getFunctionType(); in checkWFAlloc() 645 auto FT = F->getFunctionType(); in checkWFDealloc()
|
| H A D | CoroInternal.h | 213 return RetconLowering.ResumePrototype->getFunctionType(); in getResumeFunctionType() 225 auto FTy = CoroBegin->getFunction()->getFunctionType(); in getRetconResultTypes() 240 auto FTy = RetconLowering.ResumePrototype->getFunctionType(); in getRetconResumeTypes()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CallPromotionUtils.cpp | 400 unsigned NumParams = Callee->getFunctionType()->getNumParams(); in isLegalToPromote() 418 Type *FormalTy = Callee->getFunctionType()->getFunctionParamType(I); in isLegalToPromote() 457 if (CB.getFunctionType() == Callee->getFunctionType()) in promoteCall() 465 CB.mutateFunctionType(Callee->getFunctionType()); in promoteCall() 470 auto CalleeType = Callee->getFunctionType(); in promoteCall()
|
| H A D | LowerInvoke.cpp | 56 CallInst::Create(II->getFunctionType(), II->getCalledOperand(), in runImpl()
|
| H A D | FunctionComparator.cpp | 729 if (int Res = cmpTypes(L->getFunctionType(), R->getFunctionType())) in cmpInlineAsm() 741 assert(L->getFunctionType() != R->getFunctionType()); in cmpInlineAsm() 853 if (int Res = cmpTypes(FnL->getFunctionType(), FnR->getFunctionType())) in compareSignature()
|
| /freebsd-13.1/contrib/llvm-project/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 | 257 FunctionType *FT = F->getFunctionType(); in addImplicitArgs() 336 M.getOrInsertFunction(NewF->getName(), NewF->getFunctionType(), in transformKernels()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ReplaceWithVeclib.cpp | 51 TLIFunc = Function::Create(OldFunc->getFunctionType(), in replaceWithTLIFunction() 78 assert(OldFunc->getFunctionType() == TLIFunc->getFunctionType() && in replaceWithTLIFunction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | MatrixBuilder.h | 82 CallInst *Call = B.CreateCall(TheFn->getFunctionType(), TheFn, Ops, Name); 105 CallInst *Call = B.CreateCall(TheFn->getFunctionType(), TheFn, Ops, Name); 125 return B.CreateCall(TheFn->getFunctionType(), TheFn, Ops, Name); 145 return B.CreateCall(TheFn->getFunctionType(), TheFn, Ops, Name);
|
| H A D | Function.h | 176 FunctionType *getFunctionType() const { in getFunctionType() function 181 Type *getReturnType() const { return getFunctionType()->getReturnType(); } in getReturnType() 189 bool isVarArg() const { return getFunctionType()->isVarArg(); } in isVarArg()
|
| H A D | DerivedTypes.h | 168 template <typename T, typename U = decltype(&T::getFunctionType)> 170 : FnTy(Fn ? Fn->getFunctionType() : nullptr), Callee(Fn) {} in FunctionCallee() 181 FunctionType *getFunctionType() { return FnTy; } in getFunctionType() function
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | DeadArgumentElimination.cpp | 125 assert(Fn.getFunctionType()->isVarArg() && "Function isn't varargs!"); in DeleteDeadVarargs() 160 FunctionType *FTy = Fn.getFunctionType(); in DeleteDeadVarargs() 275 if (Fn.hasLocalLinkage() && !Fn.getFunctionType()->isVarArg()) in RemoveDeadArgumentsFromCallers() 444 if (ArgNo >= F->getFunctionType()->getNumParams()) in SurveyUse() 524 != F.getFunctionType()->getReturnType()) { in SurveyFunction() 626 if (F.getFunctionType()->isVarArg() || HasMustTailCallers || in SurveyFunction() 743 FunctionType *FTy = F->getFunctionType(); in RemoveDeadStuffFromFunction() 1099 if (F.getFunctionType()->isVarArg()) in run()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ObjCARCUtil.h | 41 return !CB->getFunctionType()->getReturnType()->isVoidTy() && in hasAttachedCallOpBundle()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | InlineAsm.cpp | 38 assert(Verify(getFunctionType(), constraints) && in InlineAsm() 57 FunctionType *InlineAsm::getFunctionType() const { in getFunctionType() function in InlineAsm
|
| H A D | Function.cpp | 423 auto *FT = getFunctionType(); in BuildLazyArguments() 1655 if (Intrinsic::matchIntrinsicSignature(F->getFunctionType(), TableRef, in getIntrinsicSignature() 1660 if (Intrinsic::matchIntrinsicVarArg(F->getFunctionType()->isVarArg(), in getIntrinsicSignature() 1674 Intrinsic::getName(ID, ArgTys, F->getParent(), F->getFunctionType()); in remangleIntrinsicFunction() 1681 if (ExistingF->getFunctionType() == F->getFunctionType()) in remangleIntrinsicFunction() 1694 assert(NewDecl->getFunctionType() == F->getFunctionType() && in remangleIntrinsicFunction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/bugpoint/ |
| H A D | Miscompilation.cpp | 393 F->getFunctionType()); in ExtractLoops() 420 I->getFunctionType()); in ExtractLoops() 592 I->getFunctionType()); in ExtractBlocks() 800 Function::Create(oldMain->getFunctionType(), in CleanupAndPrepareModules() 804 Function *oldMainProto = Function::Create(oldMain->getFunctionType(), in CleanupAndPrepareModules() 873 FunctionType *FuncTy = F->getFunctionType(); in CleanupAndPrepareModules() 899 Resolver, PointerType::getUnqual(F->getFunctionType()), in CleanupAndPrepareModules()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Interpreter.cpp | 91 const size_t ArgCount = F->getFunctionType()->getNumParams(); in runFunction()
|
| H A D | ExternalFunctions.cpp | 104 FunctionType *FT = F->getFunctionType(); in lookupFunction() 196 FunctionType *FTy = F->getFunctionType(); in ffiInvoke() 271 return Fn(F->getFunctionType(), ArgVals); in callExternalFunction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDGPULDSUtils.cpp | 78 auto *RCBFTy = RCB->getFunctionType(); in collectReachableCallees() 81 if (ACallee->getFunctionType() == RCBFTy) { in collectReachableCallees()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARC.cpp | 50 FunctionType *FTy = Func.getFunctionType(); in createCallInstWithColors()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | ObjectFilePCHContainerOperations.cpp | 108 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitFunctionDecl() 127 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitObjCMethodDecl()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCLowerMASSVEntries.cpp | 146 MASSVEntryName, Func.getFunctionType(), Func.getAttributes()); in lowerMASSVCall()
|