Home
last modified time | relevance | path

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

12345678910

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp336 unsigned NumParams = Callee->getFunctionType()->getNumParams(); in isLegalToPromote()
350 Type *FormalTy = Callee->getFunctionType()->getFunctionParamType(I); in isLegalToPromote()
379 if (CS.getFunctionType() == Callee->getFunctionType()) in promoteCall()
387 CS.mutateFunctionType(Callee->getFunctionType()); in promoteCall()
392 auto CalleeType = Callee->getFunctionType(); in promoteCall()
DFunctionComparator.cpp702 if (int Res = cmpTypes(L->getFunctionType(), R->getFunctionType())) in cmpInlineAsm()
714 assert(L->getFunctionType() != R->getFunctionType()); in cmpInlineAsm()
826 if (int Res = cmpTypes(FnL->getFunctionType(), FnR->getFunctionType())) in compareSignature()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DSimplifyLibCalls.cpp137 FunctionType *FT = Callee->getFunctionType(); in CallOptimizer()
187 FunctionType *FT = Callee->getFunctionType(); in CallOptimizer()
235 FunctionType *FT = Callee->getFunctionType(); in CallOptimizer()
285 FunctionType *FT = Callee->getFunctionType(); in CallOptimizer()
326 FunctionType *FT = Callee->getFunctionType(); in CallOptimizer()
375 FunctionType *FT = Callee->getFunctionType(); in CallOptimizer()
434 FunctionType *FT = Callee->getFunctionType(); in CallOptimizer()
470 FunctionType *FT = Callee->getFunctionType(); in CallOptimizer()
519 FunctionType *FT = Callee->getFunctionType(); in CallOptimizer()
545 FunctionType *FT = Callee->getFunctionType(); in CallOptimizer()
[all …]
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVFunction.h98 SPIRVTypeFunction *getFunctionType() const { return FuncType;}
103 return getFunctionType()->getNumParameters();
143 getFunctionType()->getParameterType(TheArgNo),
151 for (size_t i = 0, e = getFunctionType()->getNumParameters(); i != e; ++i)
DSPIRVInstruction.cpp99 TheFunction->getFunctionType()->getReturnType(), in SPIRVFunctionCall()
123 Ty = reinterpret_cast<SPIRVFunction*>(I)->getFunctionType(); in getOperandTypes()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyFixFunctionBitcasts.cpp119 FunctionType::param_iterator PI = F->getFunctionType()->param_begin(); in CreateWrapper()
120 FunctionType::param_iterator PE = F->getFunctionType()->param_end(); in CreateWrapper()
139 else if (F->getFunctionType()->getReturnType()->isVoidTy()) in CreateWrapper()
142 else if (F->getFunctionType()->getReturnType() == Ty->getReturnType()) in CreateWrapper()
175 if (F.getFunctionType() != MainTy) { in runOnModule()
/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()
428 FunctionType *FT = CI->getFunctionType(); in fixupFPReturnAndCall()
464 (F->getFunctionType(), in createFPFnStub()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMips16HardFloat.cpp110 TypeID ArgTypeID = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded()
121 TypeID ArgTypeID0 = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded()
122 TypeID ArgTypeID1 = F.getFunctionType()->getParamType(1)->getTypeID(); in whichFPParamVariantNeeded()
157 Type *ArgType = F.getFunctionType()->getParamType(0); in needsFPStubFromParams()
270 FStub = Function::Create(F.getFunctionType(), in assureFPCallStub()
419 FunctionType *FT = CI->getFunctionType(); in fixupFPReturnAndCall()
455 (F->getFunctionType(), in createFPFnStub()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DFunction.cpp138 FunctionType *Function::getFunctionType() const { in getFunctionType() function in Function
143 return getFunctionType()->isVarArg(); in isVarArg()
147 return getFunctionType()->getReturnType(); in getReturnType()
199 FunctionType *FT = getFunctionType(); in BuildLazyArguments()
212 return getFunctionType()->getNumParams(); in arg_size()
215 return getFunctionType()->getNumParams() == 0; in arg_empty()
DInlineAsm.cpp45 assert(Verify(getFunctionType(), constraints) && in InlineAsm()
54 FunctionType *InlineAsm::getFunctionType() const { in getFunctionType() function in InlineAsm
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPULibFunc.h348 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
/external/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp106 assert(Fn.getFunctionType()->isVarArg() && "Function isn't varargs!"); in DeleteDeadVarargs()
141 FunctionType *FTy = Fn.getFunctionType(); in DeleteDeadVarargs()
259 if (Fn.hasLocalLinkage() && !Fn.getFunctionType()->isVarArg()) in RemoveDeadArgumentsFromCallers()
419 if (ArgNo >= F->getFunctionType()->getNumParams()) in SurveyUse()
495 != F.getFunctionType()->getReturnType()) { in SurveyFunction()
578 if (F.getFunctionType()->isVarArg()) { in SurveyFunction()
677 FunctionType *FTy = F->getFunctionType(); in RemoveDeadStuffFromFunction()
1043 if (F.getFunctionType()->isVarArg()) in run()
DLoopExtractor.cpp262 assert(MF->getFunctionType() == F->getFunctionType() && "Wrong function?"); in runOnModule()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp125 assert(Fn.getFunctionType()->isVarArg() && "Function isn't varargs!"); in DeleteDeadVarargs()
160 FunctionType *FTy = Fn.getFunctionType(); in DeleteDeadVarargs()
279 if (Fn.hasLocalLinkage() && !Fn.getFunctionType()->isVarArg()) in RemoveDeadArgumentsFromCallers()
438 if (ArgNo >= F->getFunctionType()->getNumParams()) in SurveyUse()
518 != F.getFunctionType()->getReturnType()) { in SurveyFunction()
627 if (F.getFunctionType()->isVarArg() || HasMustTailCallers || in SurveyFunction()
733 FunctionType *FTy = F->getFunctionType(); in RemoveDeadStuffFromFunction()
1092 if (F.getFunctionType()->isVarArg()) in run()
/external/spirv-llvm/lib/SPIRV/
DOCLTypeToSPIRV.cpp176 auto FT = F->getFunctionType(); in adaptFunction()
286 auto FT = F->getFunctionType(); in adaptArgumentsByMetadata()
349 return F->getFunctionType(); in getAdaptedType()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DMemoryBuiltins.cpp50 FunctionType *FTy = Callee->getFunctionType(); in isMallocCall()
204 FunctionType *FTy = Callee->getFunctionType(); in isFreeCall()
/external/llvm/lib/IR/
DFunction.cpp234 FunctionType *Function::getFunctionType() const { in getFunctionType() function in Function
239 return getFunctionType()->isVarArg(); in isVarArg()
243 return getFunctionType()->getReturnType(); in getReturnType()
294 FunctionType *FT = getFunctionType(); in BuildLazyArguments()
329 return getFunctionType()->getNumParams(); in arg_size()
332 return getFunctionType()->getNumParams() == 0; in arg_empty()
1086 FunctionType *FTy = F->getFunctionType(); in remangleIntrinsicFunction()
1111 assert(NewDecl->getFunctionType() == FTy && "Shouldn't change the signature"); in remangleIntrinsicFunction()
DInlineAsm.cpp45 assert(Verify(getFunctionType(), constraints) && in InlineAsm()
54 FunctionType *InlineAsm::getFunctionType() const { in getFunctionType() function in InlineAsm
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DMergeFunctions.cpp79 FunctionType *FTy = F->getFunctionType(); in profileFunction()
488 if (!isEquivalentType(F1->getFunctionType(), F2->getFunctionType())) in compare()
725 Function *NewG = Function::Create(G->getFunctionType(), G->getLinkage(), "", in writeThunk()
732 FunctionType *FFTy = F->getFunctionType(); in writeThunk()
781 Function *H = Function::Create(F->getFunctionType(), F->getLinkage(), "", in mergeTwoFunctions()
DDeadArgumentElimination.cpp186 assert(Fn.getFunctionType()->isVarArg() && "Function isn't varargs!"); in DeleteDeadVarargs()
209 FunctionType *FTy = Fn.getFunctionType(); in DeleteDeadVarargs()
419 if (ArgNo >= F->getFunctionType()->getNumParams()) in SurveyUse()
479 != F.getFunctionType()->getReturnType()) { in SurveyFunction()
649 FunctionType *FTy = F->getFunctionType(); in RemoveDeadStuffFromFunction()
973 if (F.getFunctionType()->isVarArg()) in runOnModule()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/
DMiscompilation.cpp393 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()
/external/llvm/tools/bugpoint/
DMiscompilation.cpp388 MisCompFunctions.emplace_back(F->getName(), F->getFunctionType()); in ExtractLoops()
413 MisCompFunctions.emplace_back(I->getName(), I->getFunctionType()); in ExtractLoops()
585 MisCompFunctions.emplace_back(I->getName(), I->getFunctionType()); in ExtractBlocks()
783 Function::Create(oldMain->getFunctionType(), in CleanupAndPrepareModules()
787 Function *oldMainProto = Function::Create(oldMain->getFunctionType(), in CleanupAndPrepareModules()
858 FunctionType *FuncTy = F->getFunctionType(); in CleanupAndPrepareModules()
885 PointerType::getUnqual(F->getFunctionType()), in CleanupAndPrepareModules()
/external/swiftshader/third_party/LLVM/tools/bugpoint/
DMiscompilation.cpp392 I->getFunctionType())); in ExtractLoops()
576 I->getFunctionType())); in ExtractBlocks()
776 Function *newMain = Function::Create(oldMain->getFunctionType(), in CleanupAndPrepareModules()
781 Function *oldMainProto = Function::Create(oldMain->getFunctionType(), in CleanupAndPrepareModules()
850 FunctionType *FuncTy = F->getFunctionType(); in CleanupAndPrepareModules()
877 PointerType::getUnqual(F->getFunctionType()), in CleanupAndPrepareModules()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInlineAsm.cpp39 assert(Verify(getFunctionType(), constraints) && in InlineAsm()
57 FunctionType *InlineAsm::getFunctionType() const { in getFunctionType() function in InlineAsm
/external/llvm/lib/Transforms/Instrumentation/
DIndirectCallPromotion.cpp231 FunctionType *DirectCalleeType = DirectCallee->getFunctionType(); in isPromotionLegal()
460 CI->mutateFunctionType(DirectCallee->getFunctionType()); in createDirectCallInst()
469 II->mutateFunctionType(DirectCallee->getFunctionType()); in createDirectCallInst()
479 FunctionType *DirectCalleeType = DirectCallee->getFunctionType(); in createDirectCallInst()

12345678910