/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/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 | 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()
|
H A D | LowerInvoke.cpp | 56 CallInst::Create(II->getFunctionType(), II->getCalledOperand(), in runImpl()
|
H A D | InjectTLIMappings.cpp | 52 assert(!CI.getFunctionType()->isVarArg() && in addVariantDeclaration()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | ReplaceWithVeclib.cpp | 51 TLIFunc = Function::Create(OldFunc->getFunctionType(), in replaceWithTLIFunction() 78 assert(OldFunc->getFunctionType() == TLIFunc->getFunctionType() && in replaceWithTLIFunction()
|
/netbsd-src/external/apache2/llvm/dist/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 | 175 FunctionType *getFunctionType() const { in getFunctionType() function 180 Type *getReturnType() const { return getFunctionType()->getReturnType(); } in getReturnType() 188 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
|
/netbsd-src/external/apache2/llvm/dist/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() 443 if (ArgNo >= F->getFunctionType()->getNumParams()) in SurveyUse() 523 != F.getFunctionType()->getReturnType()) { in SurveyFunction() 625 if (F.getFunctionType()->isVarArg() || HasMustTailCallers || in SurveyFunction() 742 FunctionType *FTy = F->getFunctionType(); in RemoveDeadStuffFromFunction() 1098 if (F.getFunctionType()->isVarArg()) in run()
|
H A D | MergeFunctions.cpp | 694 NewG = Function::Create(G->getFunctionType(), G->getLinkage(), in writeThunk() 704 FunctionType *FFTy = F->getFunctionType(); in writeThunk() 811 Function *NewF = Function::Create(F->getFunctionType(), F->getLinkage(), in mergeTwoFunctions()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/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 | AutoUpgrade.cpp | 46 Type *Arg0Type = F->getFunctionType()->getParamType(0); in UpgradePTESTIntrinsic() 61 Type *LastArgType = F->getFunctionType()->getParamType( in UpgradeX86IntrinsicsWith8BitMask() 62 F->getFunctionType()->getNumParams() - 1); in UpgradeX86IntrinsicsWith8BitMask() 435 if (F->getFunctionType()->getNumParams() == 0) in UpgradeX86IntrinsicFunction() 507 auto Idx = F->getFunctionType()->getParamType(2); in UpgradeX86IntrinsicFunction() 581 auto fArgs = F->getFunctionType()->params(); in UpgradeIntrinsicFunction1() 602 auto fArgs = F->getFunctionType()->params(); in UpgradeIntrinsicFunction1() 749 auto Args = F->getFunctionType()->params(); in UpgradeIntrinsicFunction1() 765 auto Args = F->getFunctionType()->params(); in UpgradeIntrinsicFunction1() 779 auto Args = F->getFunctionType()->params(); in UpgradeIntrinsicFunction1() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | ExternalFunctions.cpp | 104 FunctionType *FT = F->getFunctionType(); in lookupFunction() 194 FunctionType *FTy = F->getFunctionType(); in ffiInvoke() 269 return Fn(F->getFunctionType(), ArgVals); in callExternalFunction()
|
H A D | Interpreter.cpp | 91 const size_t ArgCount = F->getFunctionType()->getNumParams(); in runFunction()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARC.cpp | 50 FunctionType *FTy = Func.getFunctionType(); in createCallInstWithColors()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
H A D | PPCLowerMASSVEntries.cpp | 143 MASSVEntryName, Func.getFunctionType(), Func.getAttributes()); in lowerMASSVCall()
|