/openbsd/gnu/llvm/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyFixFunctionBitcasts.cpp | 78 if (CB->getFunctionType() == F.getValueType()) in findUses() 121 FunctionType::param_iterator PI = F->getFunctionType()->param_begin(); in createWrapper() 122 FunctionType::param_iterator PE = F->getFunctionType()->param_end(); in createWrapper() 126 Type *ExpectedRtnType = F->getFunctionType()->getReturnType(); in createWrapper() 129 if ((F->getFunctionType()->getNumParams() != Ty->getNumParams()) || in createWrapper() 130 (F->getFunctionType()->isVarArg() != Ty->isVarArg()) || in createWrapper() 170 Type *ExpectedRtnType = F->getFunctionType()->getReturnType(); in createWrapper() 254 if (shouldFixMainFunction(F.getFunctionType(), MainTy)) { in runOnModule() 256 << *F.getFunctionType() << "\n"); in runOnModule() 272 FunctionType *Ty = CB->getFunctionType(); in runOnModule()
|
H A D | WebAssemblyAddMissingPrototypes.cpp | 81 unsigned NumParams = F.getFunctionType()->getNumParams(); in runOnModule() 109 FunctionType *DestType = CB->getFunctionType(); in runOnModule() 132 NewType = FunctionType::get(F.getFunctionType()->getReturnType(), false); in runOnModule()
|
H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 580 FunctionType *CalleeFTy = CI->getFunctionType(); in getInvokeWrapper() 905 if (SetjmpF->getFunctionType() != SetjmpF2->getFunctionType()) in runOnModule() 908 SetjmpF = Function::Create(SetjmpF2->getFunctionType(), in runOnModule() 915 if (LongjmpF->getFunctionType() != LongjmpF2->getFunctionType()) in runOnModule() 919 LongjmpF = Function::Create(LongjmpF2->getFunctionType(), in runOnModule() 1007 FunctionType *SetjmpFTy = SetjmpF->getFunctionType(); in runOnModule()
|
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/ |
H A D | SMEABIPass.cpp | 76 Builder.CreateCall(WriteIntr->getFunctionType(), WriteIntr, in emitTPIDR2Save() 99 auto *TPIDR2 = Builder.CreateCall(TPIDR2Intr->getFunctionType(), TPIDR2Intr, in updateNewZAFunctions() 113 Builder.CreateCall(EnableZAIntr->getFunctionType(), EnableZAIntr); in updateNewZAFunctions() 123 Builder.CreateCall(DisableZAIntr->getFunctionType(), DisableZAIntr); in updateNewZAFunctions()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Coroutines/ |
H A D | Coroutines.cpp | 376 Prototype->getFunctionType()->dump(); in buildFrom() 385 Prototype->getFunctionType()->dump(); in buildFrom() 404 Prototype->getFunctionType()->dump(); in buildFrom() 412 Prototype->getFunctionType()->dump(); in buildFrom() 463 Alloc->getFunctionType()->getParamType(0), in emitAlloc() 486 Dealloc->getFunctionType()->getParamType(0)); in emitDealloc() 518 auto FT = F->getFunctionType(); in checkWFRetconPrototype() 536 I->getFunction()->getFunctionType()->getReturnType()) in checkWFRetconPrototype() 554 auto FT = F->getFunctionType(); in checkWFAlloc() 569 auto FT = F->getFunctionType(); in checkWFDealloc() [all …]
|
H A D | CoroInternal.h | 189 return RetconLowering.ResumePrototype->getFunctionType(); in getResumeFunctionType() 201 auto FTy = CoroBegin->getFunction()->getFunctionType(); in getRetconResultTypes() 216 auto FTy = RetconLowering.ResumePrototype->getFunctionType(); in getRetconResumeTypes()
|
/openbsd/gnu/llvm/llvm/lib/Target/Mips/ |
H A D | Mips16HardFloat.cpp | 112 TypeID ArgTypeID = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded() 123 TypeID ArgTypeID0 = F.getFunctionType()->getParamType(0)->getTypeID(); in whichFPParamVariantNeeded() 124 TypeID ArgTypeID1 = F.getFunctionType()->getParamType(1)->getTypeID(); in whichFPParamVariantNeeded() 159 Type *ArgType = F.getFunctionType()->getParamType(0); in needsFPStubFromParams() 272 FStub = Function::Create(F.getFunctionType(), in assureFPCallStub() 419 FunctionType *FT = CI->getFunctionType(); in fixupFPReturnAndCall() 455 (F->getFunctionType(), in createFPFnStub()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 400 unsigned NumParams = Callee->getFunctionType()->getNumParams(); in isLegalToPromote() 433 Type *FormalTy = Callee->getFunctionType()->getFunctionParamType(I); in isLegalToPromote() 484 if (CB.getFunctionType() == Callee->getFunctionType()) in promoteCall() 492 CB.mutateFunctionType(Callee->getFunctionType()); in promoteCall() 497 auto CalleeType = Callee->getFunctionType(); in promoteCall()
|
H A D | LowerInvoke.cpp | 54 CallInst::Create(II->getFunctionType(), II->getCalledOperand(), in runImpl()
|
H A D | FunctionComparator.cpp | 744 if (int Res = cmpTypes(L->getFunctionType(), R->getFunctionType())) in cmpInlineAsm() 756 assert(L->getFunctionType() != R->getFunctionType()); in cmpInlineAsm() 868 if (int Res = cmpTypes(FnL->getFunctionType(), FnR->getFunctionType())) in compareSignature()
|
/openbsd/gnu/llvm/llvm/lib/Target/SPIRV/ |
H A D | SPIRVPrepareFunctions.cpp | 85 FunctionType::get(RetType, ArgTypes, F->getFunctionType()->isVarArg()); in processFunctionSignature() 116 CI->mutateFunctionType(NewF->getFunctionType()); in processFunctionSignature() 136 if (F && F->getFunctionType() == FT) in getOrCreateFunction() 165 M->getOrInsertFunction(FuncName, Intrinsic->getFunctionType()); in lowerIntrinsicToFunction() 213 FunctionType *FSHFuncTy = FSHIntrinsic->getFunctionType(); in lowerFunnelShifts() 295 FunctionType *UMulFuncTy = UMulIntrinsic->getFunctionType(); in lowerUMulWithOverflow()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/ |
H A D | DeadArgumentElimination.cpp | 123 assert(F.getFunctionType()->isVarArg() && "Function isn't varargs!"); in deleteDeadVarargs() 159 FunctionType *FTy = F.getFunctionType(); in deleteDeadVarargs() 276 !F.getFunctionType()->isVarArg()) in removeDeadArgumentsFromCallers() 311 CB->getFunctionType() != F.getFunctionType()) in removeDeadArgumentsFromCallers() 445 if (ArgNo >= F->getFunctionType()->getNumParams()) in surveyUse() 552 CB->getFunctionType() != F.getFunctionType()) { in surveyFunction() 617 if (F.getFunctionType()->isVarArg() || HasMustTailCallers || in surveyFunction() 729 FunctionType *FTy = F->getFunctionType(); in removeDeadStuffFromFunction() 1094 if (F.getFunctionType()->isVarArg()) in run()
|
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULibFunc.h | 349 virtual FunctionType *getFunctionType(Module &M) const = 0; 393 FunctionType *getFunctionType(Module &M) const { in getFunctionType() function 394 return Impl->getFunctionType(M); in getFunctionType() 418 FunctionType *getFunctionType(Module &M) const override; 448 FunctionType *getFunctionType(Module &M) const override { return FuncTy; } in getFunctionType() function
|
H A D | AMDGPUCtorDtorLowering.cpp | 62 FunctionType *ConstructorTy = InitOrFiniKernel->getFunctionType(); in createInitOrFiniKernel()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/ |
H A D | ReplaceWithVeclib.cpp | 50 TLIFunc = Function::Create(OldFunc->getFunctionType(), in replaceWithTLIFunction() 77 assert(OldFunc->getFunctionType() == TLIFunc->getFunctionType() && in replaceWithTLIFunction()
|
/openbsd/gnu/llvm/llvm/tools/llvm-reduce/deltas/ |
H A D | ReduceOperandsToArgs.cpp | 118 llvm::append_range(NewArgTypes, OldF->getFunctionType()->params()); in substituteOperandWithArgument() 123 FunctionType::get(OldF->getFunctionType()->getReturnType(), NewArgTypes, in substituteOperandWithArgument() 124 OldF->getFunctionType()->isVarArg()); in substituteOperandWithArgument()
|
/openbsd/gnu/llvm/llvm/include/llvm/IR/ |
H A D | MatrixBuilder.h | 78 CallInst *Call = B.CreateCall(TheFn->getFunctionType(), TheFn, Ops, Name); 101 CallInst *Call = B.CreateCall(TheFn->getFunctionType(), TheFn, Ops, Name); 121 return B.CreateCall(TheFn->getFunctionType(), TheFn, Ops, Name); 141 return B.CreateCall(TheFn->getFunctionType(), TheFn, Ops, Name);
|
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/ |
H A D | ObjCARCUtil.h | 36 return !CB->getFunctionType()->getReturnType()->isVoidTy() && in hasAttachedCallOpBundle()
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/clang/lib/CodeGen/ |
H A D | CGGPUBuiltin.cpp | 35 assert(F->getFunctionType() == VprintfFuncType); in GetVprintfDeclaration() 55 if (F->getFunctionType() != VprintfFuncType) { in GetOpenMPVprintfDeclaration()
|
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Interpreter.cpp | 91 const size_t ArgCount = F->getFunctionType()->getNumParams(); in runFunction()
|
H A D | ExternalFunctions.cpp | 113 FunctionType *FT = F->getFunctionType(); in lookupFunction() 206 FunctionType *FTy = F->getFunctionType(); in ffiInvoke() 283 return Fn(F->getFunctionType(), ArgVals); in callExternalFunction()
|
/openbsd/gnu/llvm/llvm/lib/IR/ |
H A D | InlineAsm.cpp | 39 cantFail(verify(getFunctionType(), constraints)); in InlineAsm() 58 FunctionType *InlineAsm::getFunctionType() const { in getFunctionType() function in InlineAsm
|
/openbsd/gnu/llvm/llvm/lib/Target/DirectX/ |
H A D | DXILOpLowering.cpp | 37 DXILB.getOverloadTy(DXILOp, F.getFunctionType(), /*NoOpCodeParam*/ true); in lowerIntrinsic()
|
/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/ |
H A D | PPCGenScalarMASSEntries.cpp | 101 MASSEntryStr, Func.getFunctionType(), Func.getAttributes()); in createScalarMASSCall()
|