/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 132 FunctionType *FT = F->getFunctionType(); in checkStringCopyLibFuncSignature() 197 FunctionType *FT = Callee->getFunctionType(); in optimizeStrCat() 245 FunctionType *FT = Callee->getFunctionType(); in optimizeStrNCat() 287 FunctionType *FT = Callee->getFunctionType(); in optimizeStrChr() 332 FunctionType *FT = Callee->getFunctionType(); in optimizeStrRChr() 367 FunctionType *FT = Callee->getFunctionType(); in optimizeStrCmp() 408 FunctionType *FT = Callee->getFunctionType(); in optimizeStrNCmp() 491 Type *PT = Callee->getFunctionType()->getParamType(0); in optimizeStpCpy() 536 Type *PT = Callee->getFunctionType()->getParamType(0); in optimizeStrNCpy() 545 FunctionType *FT = Callee->getFunctionType(); in optimizeStrLen() [all …]
|
D | ValueMapper.cpp | 65 FunctionType *NewTy = IA->getFunctionType(); in MapValue() 69 if (NewTy != IA->getFunctionType()) in MapValue() 467 FunctionType *FTy = CS.getFunctionType(); in RemapInstruction()
|
D | CloneFunction.cpp | 236 FunctionType *FTy = FunctionType::get(F->getFunctionType()->getReturnType(), in CloneFunction() 237 ArgTypes, F->getFunctionType()->isVarArg()); in CloneFunction()
|
/external/llvm/lib/Target/Mips/ |
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() 159 Type *ArgType = F.getFunctionType()->getParamType(0); in needsFPStubFromParams() 276 FStub = Function::Create(F.getFunctionType(), in assureFPCallStub() 472 (F->getFunctionType(), in createFPFnStub()
|
/external/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 187 assert(Fn.getFunctionType()->isVarArg() && "Function isn't varargs!"); in DeleteDeadVarargs() 222 FunctionType *FTy = Fn.getFunctionType(); in DeleteDeadVarargs() 337 if (Fn.hasLocalLinkage() && !Fn.getFunctionType()->isVarArg()) in RemoveDeadArgumentsFromCallers() 489 if (ArgNo >= F->getFunctionType()->getNumParams()) in SurveyUse() 563 != F.getFunctionType()->getReturnType()) { in SurveyFunction() 644 if (F.getFunctionType()->isVarArg()) { in SurveyFunction() 742 FunctionType *FTy = F->getFunctionType(); in RemoveDeadStuffFromFunction() 1102 if (F.getFunctionType()->isVarArg()) in runOnModule()
|
D | LoopExtractor.cpp | 259 assert(MF->getFunctionType() == F->getFunctionType() && "Wrong function?"); in runOnModule()
|
D | MergeFunctions.cpp | 1089 if (int Res = cmpTypes(L->getFunctionType(), R->getFunctionType())) in cmpInlineAsm() 1231 if (int Res = cmpTypes(FnL->getFunctionType(), FnR->getFunctionType())) in compare() 1688 Function *NewG = Function::Create(G->getFunctionType(), G->getLinkage(), "", in writeThunk() 1695 FunctionType *FFTy = F->getFunctionType(); in writeThunk() 1741 Function *H = Function::Create(F->getFunctionType(), F->getLinkage(), "", in mergeTwoFunctions()
|
/external/llvm/tools/bugpoint/ |
D | Miscompilation.cpp | 387 MisCompFunctions.emplace_back(F->getName(), F->getFunctionType()); in ExtractLoops() 412 MisCompFunctions.emplace_back(I->getName(), I->getFunctionType()); in ExtractLoops() 584 MisCompFunctions.emplace_back(I->getName(), I->getFunctionType()); in ExtractBlocks() 779 Function::Create(oldMain->getFunctionType(), in CleanupAndPrepareModules() 783 Function *oldMainProto = Function::Create(oldMain->getFunctionType(), in CleanupAndPrepareModules() 854 FunctionType *FuncTy = F->getFunctionType(); in CleanupAndPrepareModules() 881 PointerType::getUnqual(F->getFunctionType()), in CleanupAndPrepareModules()
|
/external/llvm/lib/IR/ |
D | Function.cpp | 227 FunctionType *Function::getFunctionType() const { return Ty; } in getFunctionType() function in Function 230 return getFunctionType()->isVarArg(); in isVarArg() 234 return getFunctionType()->getReturnType(); in getReturnType() 286 FunctionType *FT = getFunctionType(); in BuildLazyArguments() 299 return getFunctionType()->getNumParams(); in arg_size() 302 return getFunctionType()->getNumParams() == 0; in arg_empty()
|
D | InlineAsm.cpp | 45 assert(Verify(getFunctionType(), constraints) && in InlineAsm() 54 FunctionType *InlineAsm::getFunctionType() const { in getFunctionType() function in InlineAsm
|
D | AutoUpgrade.cpp | 40 Type *Arg0Type = F->getFunctionType()->getParamType(0); in UpgradeSSE41Function() 55 Type *LastArgType = F->getFunctionType()->getParamType( in UpgradeX86IntrinsicsWith8BitMask() 56 F->getFunctionType()->getNumParams() - 1); in UpgradeX86IntrinsicsWith8BitMask() 98 auto fArgs = F->getFunctionType()->params(); in UpgradeIntrinsicFunction1() 119 auto fArgs = F->getFunctionType()->params(); in UpgradeIntrinsicFunction1()
|
D | Mangler.cpp | 161 FunctionType *FT = MSFunc->getFunctionType(); in getNameWithPrefix()
|
D | ConstantsContext.h | 418 FTy(Asm->getFunctionType()), HasSideEffects(Asm->hasSideEffects()), 433 FTy == Asm->getFunctionType();
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Interpreter.cpp | 88 const size_t ArgCount = F->getFunctionType()->getNumParams(); in runFunction()
|
D | ExternalFunctions.cpp | 94 FunctionType *FT = F->getFunctionType(); in lookupFunction() 183 FunctionType *FTy = F->getFunctionType(); in ffiInvoke() 257 return Fn(F->getFunctionType(), ArgVals); in callExternalFunction()
|
/external/clang/lib/CodeGen/ |
D | ObjectFilePCHContainerOperations.cpp | 101 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitFunctionDecl() 120 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitObjCMethodDecl()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUOpenCLImageTypeLoweringPass.cpp | 257 FunctionType *FT = F->getFunctionType(); in addImplicitArgs() 335 M.getOrInsertFunction(NewF->getName(), NewF->getFunctionType(), in transformKernels()
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | OrcMCJITReplacement.cpp | 33 FunctionType *FTy = F->getFunctionType(); in runFunction()
|
/external/llvm/include/llvm/IR/ |
D | CallSite.h | 240 FunctionType *getFunctionType() const { in getFunctionType() function 241 CALLSITE_DELEGATE_GETTER(getFunctionType()); in getFunctionType()
|
D | InlineAsm.h | 81 FunctionType *getFunctionType() const;
|
/external/clang/lib/Sema/ |
D | SemaLambda.cpp | 369 MethodType = Context.getFunctionType(Result, FPT->getParamTypes(), in startLambdaDefinition() 847 Context.getFunctionType(DefaultTypeForNoTrailingReturn, None, EPI); in ActOnStartOfLambdaDefinition() 1166 S.Context.getFunctionType(CallOpProto->getReturnType(), in addFunctionPointerConversion() 1178 S.Context.getFunctionType(PtrToFunctionTy, None, ConvExtInfo); in addFunctionPointerConversion() 1337 QualType FunctionTy = S.Context.getFunctionType( in addBlockPointerConversion() 1345 QualType ConvTy = S.Context.getFunctionType(BlockPtrTy, None, ConversionEPI); in addBlockPointerConversion()
|
/external/clang/lib/AST/ |
D | ItaniumCXXABI.cpp | 67 Context.getFunctionType(Context.VoidTy, Proto->getParamTypes(), in getManglingNumber()
|
/external/llvm/include/llvm/Analysis/ |
D | TargetTransformInfoImpl.h | 378 FunctionType *FTy = F->getFunctionType(); in getCallCost() 388 return static_cast<T *>(this)->getCallCost(F->getFunctionType(), NumArgs); in getCallCost()
|
/external/llvm/lib/Analysis/ |
D | MemoryLocation.cpp | 99 FunctionType *MemsetType = MS->getFunctionType(); in isMemsetPattern16()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 537 FunctionType *FT = F->getFunctionType(); in buildWrapperFunction() 688 buildWrapperFunction(F, "", GA->getLinkage(), F->getFunctionType()); in runOnModule() 707 FunctionType *FT = F.getFunctionType(); in runOnModule() 1391 Type *RT = DFSF.F->getFunctionType()->getReturnType(); in visitReturnInst() 1448 FunctionType *FT = F->getFunctionType(); in visitCallSite()
|