| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCXX.cpp | 222 GlobalDecl GD, const CGFunctionInfo *FnInfo, llvm::FunctionType *FnType, in getAddrAndTypeOfCXXStructor() argument 235 if (!FnType) { in getAddrAndTypeOfCXXStructor() 238 FnType = getTypes().GetFunctionType(*FnInfo); in getAddrAndTypeOfCXXStructor() 242 getMangledName(GD), FnType, GD, /*ForVTable=*/false, DontDefer, in getAddrAndTypeOfCXXStructor() 244 return {FnType, Ptr}; in getAddrAndTypeOfCXXStructor()
|
| H A D | CGDebugInfo.h | 236 getOrCreateFunctionType(const Decl *D, QualType FnType, llvm::DIFile *F); 425 SourceLocation ScopeLoc, QualType FnType, 436 QualType FnType, llvm::Function *Fn = nullptr); 652 getObjCMethodDeclaration(const Decl *D, llvm::DISubroutineType *FnType,
|
| H A D | CodeGenModule.h | 1023 llvm::FunctionType *FnType = nullptr, 1026 return cast<llvm::Constant>(getAddrAndTypeOfCXXStructor(GD, FnInfo, FnType, 1034 llvm::FunctionType *FnType = nullptr, bool DontDefer = false,
|
| H A D | CGExpr.cpp | 3152 llvm::FunctionType *FnType, in emitCheckHandlerCall() argument 3186 FnType, FnName, in emitCheckHandlerCall() 3283 llvm::FunctionType *FnType = in EmitCheck() local 3289 emitCheckHandlerCall(*this, FnType, Args, CheckHandler, RecoverKind, in EmitCheck() 5185 const auto *FnType = cast<FunctionType>(PointeeType); in EmitCall() local 5196 MD = CGM.CreateMetadataIdentifierGeneralized(QualType(FnType, 0)); in EmitCall() 5198 MD = CGM.CreateMetadataIdentifierForType(QualType(FnType, 0)); in EmitCall() 5211 EmitCheckTypeDescriptor(QualType(FnType, 0)), in EmitCall() 5258 Args, FnType, /*ChainCall=*/Chain); in EmitCall() 5280 if (isa<FunctionNoProtoType>(FnType) || Chain) { in EmitCall() [all …]
|
| H A D | CGDebugInfo.cpp | 3633 QualType FnType = CGM.getContext().getFunctionType( in getFunctionFwdDeclOrStub() local 3651 getOrCreateFunctionType(GD.getDecl(), FnType, Unit), 0, Flags, SPFlags, in getFunctionFwdDeclOrStub() 3754 const Decl *D, llvm::DISubroutineType *FnType, unsigned LineNo, in getObjCMethodDeclaration() argument 3783 InterfaceType->getFile(), LineNo, FnType, LineNo, Flags, SPFlags); in getObjCMethodDeclaration() 3792 QualType FnType, in getOrCreateFunctionType() argument 3805 const auto *FTy = FnType->getAs<FunctionType>(); in getOrCreateFunctionType() 3825 else if (auto *FPT = dyn_cast<FunctionProtoType>(FnType)) in getOrCreateFunctionType() 3852 if (const auto *FPT = dyn_cast<FunctionProtoType>(FnType)) in getOrCreateFunctionType() 3861 return cast<llvm::DISubroutineType>(getOrCreateType(FnType, F)); in getOrCreateFunctionType() 3966 QualType FnType, llvm::Function *Fn) { in EmitFunctionDecl() argument [all …]
|
| H A D | CGBlocks.cpp | 1184 QualType FnType = BPT->getPointeeType(); in EmitBlockCallExpr() local 1201 EmitCallArgs(Args, FnType->getAs<FunctionProtoType>(), E->arguments()); in EmitBlockCallExpr() 1222 EmitCallArgs(Args, FnType->getAs<FunctionProtoType>(), E->arguments()); in EmitBlockCallExpr() 1228 const FunctionType *FuncTy = FnType->castAs<FunctionType>(); in EmitBlockCallExpr()
|
| H A D | CGOpenMPRuntimeGPU.cpp | 3406 auto *FnType = OutlinedFn.getFunctionType(); in emitOutlinedFunctionCall() local 3408 if (FnType->isVarArg() && FnType->getNumParams() <= I) { in emitOutlinedFunctionCall() 3412 llvm::Type *TargetType = FnType->getParamType(I); in emitOutlinedFunctionCall()
|
| H A D | CodeGenModule.cpp | 6280 if (auto *FnType = Ty->getAs<FunctionProtoType>()) { in GeneralizeFunctionType() local 6282 for (auto &Param : FnType->param_types()) in GeneralizeFunctionType() 6286 GeneralizeType(Ctx, FnType->getReturnType()), in GeneralizeFunctionType() 6287 GeneralizedParams, FnType->getExtProtoInfo()); in GeneralizeFunctionType() 6290 if (auto *FnType = Ty->getAs<FunctionNoProtoType>()) in GeneralizeFunctionType() local 6292 GeneralizeType(Ctx, FnType->getReturnType())); in GeneralizeFunctionType()
|
| H A D | CodeGenFunction.cpp | 993 QualType FnType = getContext().getFunctionType( in StartFunction() local 995 DI->emitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, CurFuncIsThunk); in StartFunction()
|
| H A D | CGClass.cpp | 1664 llvm::FunctionType *FnType = in EmitSanitizerDtorCallback() local 1667 CGF.CGM.CreateRuntimeFunction(FnType, "__sanitizer_dtor_callback"); in EmitSanitizerDtorCallback()
|
| H A D | CGCall.cpp | 5334 auto *FnType = llvm::FunctionType::get(CGM.VoidTy, /*isVarArg=*/false); in EmitCall() local 5336 CGM.CreateRuntimeFunction(FnType, "__asan_handle_no_return"); in EmitCall()
|
| H A D | CodeGenFunction.h | 3952 RValue EmitCall(QualType FnType, const CGCallee &Callee, const CallExpr *E,
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCoroutine.cpp | 54 const FunctionProtoType *FnType = FD->getType()->castAs<FunctionProtoType>(); in lookupPromiseType() local 76 AddArg(FnType->getReturnType()); in lookupPromiseType() 89 T = FnType->getRefQualifier() == RQ_RValue in lookupPromiseType() 95 for (QualType T : FnType->getParamTypes()) in lookupPromiseType()
|
| H A D | SemaOverload.cpp | 11247 QualType FnType = Cand->Surrogate->getConversionType(); in NoteSurrogateCandidate() local 11252 FnType->getAs<LValueReferenceType>()) { in NoteSurrogateCandidate() 11253 FnType = FnTypeRef->getPointeeType(); in NoteSurrogateCandidate() 11256 FnType->getAs<RValueReferenceType>()) { in NoteSurrogateCandidate() 11257 FnType = FnTypeRef->getPointeeType(); in NoteSurrogateCandidate() 11261 FnType = FnTypePtr->getPointeeType(); in NoteSurrogateCandidate() 11265 FnType = QualType(FnType->getAs<FunctionType>(), 0); in NoteSurrogateCandidate() 11267 if (isPointer) FnType = S.Context.getPointerType(FnType); in NoteSurrogateCandidate() 11268 if (isRValueReference) FnType = S.Context.getRValueReferenceType(FnType); in NoteSurrogateCandidate() 11269 if (isLValueReference) FnType = S.Context.getLValueReferenceType(FnType); in NoteSurrogateCandidate() [all …]
|
| H A D | SemaLookup.cpp | 2895 const FunctionType *FnType = cast<FunctionType>(T); in addAssociatedClassesAndNamespaces() local 2896 T = FnType->getReturnType().getTypePtr(); in addAssociatedClassesAndNamespaces()
|
| H A D | SemaExprCXX.cpp | 3057 QualType FnType = Context.getFunctionType(Return, Params, EPI); in DeclareGlobalAllocationFunction() local 3060 FnType, /*TInfo=*/nullptr, SC_None, false, true); in DeclareGlobalAllocationFunction()
|
| H A D | SemaExpr.cpp | 19329 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in VisitCallExpr() local 19348 const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FnType); in VisitCallExpr() 19389 FnType->getExtInfo()); in VisitCallExpr() 19500 const FunctionType *FnType = FDT->castAs<FunctionType>(); in resolveDecl() local 19501 const FunctionProtoType *Proto = dyn_cast_or_null<FunctionProtoType>(FnType); in resolveDecl()
|
| H A D | SemaCodeComplete.cpp | 5226 if (const FunctionType *FnType = Callee->getAs<FunctionType>()) in getApproximateType() local 5227 return FnType->getReturnType().getNonReferenceType(); in getApproximateType()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | AtomicExpandPass.cpp | 1863 FunctionType *FnType = FunctionType::get(ResultTy, ArgTys, false); in expandAtomicOpToLibcall() local 1865 M->getOrInsertFunction(TLI->getLibcallName(RTLibType), FnType, Attr); in expandAtomicOpToLibcall()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | Expr.cpp | 1544 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in getCallReturnType() local 1545 return FnType->getReturnType(); in getCallReturnType()
|