Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyFixFunctionBitcasts.cpp130 FunctionType::param_iterator PI = F->getFunctionType()->param_begin(); in createWrapper()
131 FunctionType::param_iterator PE = F->getFunctionType()->param_end(); in createWrapper()
135 Type *ExpectedRtnType = F->getFunctionType()->getReturnType(); in createWrapper()
138 if ((F->getFunctionType()->getNumParams() != Ty->getNumParams()) || in createWrapper()
139 (F->getFunctionType()->isVarArg() != Ty->isVarArg()) || in createWrapper()
179 Type *ExpectedRtnType = F->getFunctionType()->getReturnType(); in createWrapper()
260 if (shouldFixMainFunction(F.getFunctionType(), MainTy)) { in runOnModule()
262 << *F.getFunctionType() << "\n"); in runOnModule()
DWebAssemblyAddMissingPrototypes.cpp81 unsigned NumParams = F.getFunctionType()->getNumParams(); in runOnModule()
122 NewType = FunctionType::get(F.getFunctionType()->getReturnType(), false); in runOnModule()
DWebAssemblyLowerEmscriptenEHSjLj.cpp453 CalleeFTy = F->getFunctionType(); in getInvokeWrapper()
681 EmLongjmpJmpbufF = Function::Create(LongjmpF->getFunctionType(), in runOnModule()
690 FunctionType *SetjmpFTy = SetjmpF->getFunctionType(); in runOnModule()
773 IRB.CreateCall(II->getFunctionType(), II->getCalledValue(), Args); in runEHOnFunction()
DWebAssemblyAsmPrinter.cpp106 computeSignatureVTs(F.getFunctionType(), F, TM, Params, Results); in EmitEndOfAsmFile()
293 computeSignatureVTs(F.getFunctionType(), F, TM, ParamVTs, ResultVTs); in EmitFunctionBodyStart()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroutines.cpp422 Prototype->getFunctionType()->dump(); in buildFrom()
431 Prototype->getFunctionType()->dump(); in buildFrom()
450 Prototype->getFunctionType()->dump(); in buildFrom()
458 Prototype->getFunctionType()->dump(); in buildFrom()
509 Alloc->getFunctionType()->getParamType(0), in emitAlloc()
530 Dealloc->getFunctionType()->getParamType(0)); in emitDealloc()
560 auto FT = F->getFunctionType(); in checkWFRetconPrototype()
578 I->getFunction()->getFunctionType()->getReturnType()) in checkWFRetconPrototype()
596 auto FT = F->getFunctionType(); in checkWFAlloc()
611 auto FT = F->getFunctionType(); in checkWFDealloc()
DCoroInternal.h167 return RetconLowering.ResumePrototype->getFunctionType(); in getResumeFunctionType()
175 auto FTy = CoroBegin->getFunction()->getFunctionType(); in getRetconResultTypes()
190 auto FTy = RetconLowering.ResumePrototype->getFunctionType(); in getRetconResumeTypes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp337 unsigned NumParams = Callee->getFunctionType()->getNumParams(); in isLegalToPromote()
351 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()
DFunctionComparator.cpp699 if (int Res = cmpTypes(L->getFunctionType(), R->getFunctionType())) in cmpInlineAsm()
711 assert(L->getFunctionType() != R->getFunctionType()); in cmpInlineAsm()
823 if (int Res = cmpTypes(FnL->getFunctionType(), FnR->getFunctionType())) in compareSignature()
DLowerInvoke.cpp56 CallInst::Create(II->getFunctionType(), II->getCalledValue(), in runImpl()
DInjectTLIMappings.cpp81 assert(!CI.getFunctionType()->isVarArg() && in addVariantDeclaration()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/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()
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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULibFunc.h347 virtual FunctionType *getFunctionType(Module &M) const = 0;
391 FunctionType *getFunctionType(Module &M) const { in getFunctionType() function
392 return Impl->getFunctionType(M); in getFunctionType()
416 FunctionType *getFunctionType(Module &M) const override;
446 FunctionType *getFunctionType(Module &M) const override { return FuncTy; } in getFunctionType() function
DR600OpenCLImageTypeLoweringPass.cpp272 FunctionType *FT = F->getFunctionType(); in addImplicitArgs()
350 M.getOrInsertFunction(NewF->getName(), NewF->getFunctionType(), in transformKernels()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp124 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()
DMergeFunctions.cpp699 NewG = Function::Create(G->getFunctionType(), G->getLinkage(), in writeThunk()
709 FunctionType *FFTy = F->getFunctionType(); in writeThunk()
814 Function *NewF = Function::Create(F->getFunctionType(), F->getLinkage(), in mergeTwoFunctions()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInlineAsm.cpp38 assert(Verify(getFunctionType(), constraints) && in InlineAsm()
56 FunctionType *InlineAsm::getFunctionType() const { in getFunctionType() function in InlineAsm
DAutoUpgrade.cpp44 Type *Arg0Type = F->getFunctionType()->getParamType(0); in UpgradePTESTIntrinsic()
59 Type *LastArgType = F->getFunctionType()->getParamType( in UpgradeX86IntrinsicsWith8BitMask()
60 F->getFunctionType()->getNumParams() - 1); in UpgradeX86IntrinsicsWith8BitMask()
412 if (F->getFunctionType()->getNumParams() == 0) in UpgradeX86IntrinsicFunction()
466 auto Idx = F->getFunctionType()->getParamType(2); in UpgradeX86IntrinsicFunction()
530 auto fArgs = F->getFunctionType()->params(); in UpgradeIntrinsicFunction1()
551 auto fArgs = F->getFunctionType()->params(); in UpgradeIntrinsicFunction1()
633 auto Args = F->getFunctionType()->params(); in UpgradeIntrinsicFunction1()
634 Type *Tys[] = {F->getFunctionType()->getReturnType(), Args[1]}; in UpgradeIntrinsicFunction1()
647 auto Args = F->getFunctionType()->params(); in UpgradeIntrinsicFunction1()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDerivedTypes.h174 template <typename T, typename U = decltype(&T::getFunctionType)>
176 : FnTy(Fn ? Fn->getFunctionType() : nullptr), Callee(Fn) {} in FunctionCallee()
187 FunctionType *getFunctionType() { return FnTy; } in getFunctionType() function
DFunction.h163 FunctionType *getFunctionType() const { in getFunctionType() function
168 Type *getReturnType() const { return getFunctionType()->getReturnType(); } in getReturnType()
176 bool isVarArg() const { return getFunctionType()->isVarArg(); } in isVarArg()
DCallSite.h133 cast<CallBase>(getInstruction())->getFunctionType() && in setCalledFunction()
328 FunctionType *getFunctionType() const { in getFunctionType() function
329 CALLSITE_DELEGATE_GETTER(getFunctionType()); in getFunctionType()
DInstructions.h1497 return Create(Func.getFunctionType(), Func.getCallee(), NameStr,
1505 return Create(Func.getFunctionType(), Func.getCallee(), Args, Bundles,
1512 return Create(Func.getFunctionType(), Func.getCallee(), Args, NameStr,
1518 return Create(Func.getFunctionType(), Func.getCallee(), NameStr,
1524 return Create(Func.getFunctionType(), Func.getCallee(), Args, NameStr,
1531 return Create(Func.getFunctionType(), Func.getCallee(), Args, Bundles,
3756 return Create(Func.getFunctionType(), Func.getCallee(), IfNormal,
3765 return Create(Func.getFunctionType(), Func.getCallee(), IfNormal,
3772 return Create(Func.getFunctionType(), Func.getCallee(), IfNormal,
3780 return Create(Func.getFunctionType(), Func.getCallee(), IfNormal,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp104 FunctionType *FT = F->getFunctionType(); in lookupFunction()
194 FunctionType *FTy = F->getFunctionType(); in ffiInvoke()
269 return Fn(F->getFunctionType(), ArgVals); in callExternalFunction()
DInterpreter.cpp91 const size_t ArgCount = F->getFunctionType()->getNumParams(); in runFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCLowerMASSVEntries.cpp110 MASSVEntryName, Func.getFunctionType(), Func.getAttributes()); in lowerMASSVCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.cpp32 FunctionType *FTy = F->getFunctionType(); in runFunction()

1234