| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGCXX.cpp | 233 llvm::FunctionType *FnType, bool DontDefer, in getAddrOfCXXStructor() argument 247 if (!FnType) { in getAddrOfCXXStructor() 250 FnType = getTypes().GetFunctionType(*FnInfo); in getAddrOfCXXStructor() 254 getMangledName(GD), FnType, GD, /*ForVTable=*/false, DontDefer, in getAddrOfCXXStructor()
|
| H A D | CGDebugInfo.h | 206 getOrCreateFunctionType(const Decl *D, QualType FnType, llvm::DIFile *F); 398 SourceLocation ScopeLoc, QualType FnType, 408 void EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc, QualType FnType);
|
| H A D | CGDebugInfo.cpp | 3209 QualType FnType = CGM.getContext().getFunctionType( in getFunctionFwdDeclOrStub() local 3227 getOrCreateFunctionType(GD.getDecl(), FnType, Unit), 0, Flags, SPFlags, in getFunctionFwdDeclOrStub() 3332 QualType FnType, in getOrCreateFunctionType() argument 3342 const auto *FTy = FnType->getAs<FunctionType>(); in getOrCreateFunctionType() 3362 else if (auto *FPT = dyn_cast<FunctionProtoType>(FnType)) in getOrCreateFunctionType() 3389 if (const auto *FPT = dyn_cast<FunctionProtoType>(FnType)) in getOrCreateFunctionType() 3398 return cast<llvm::DISubroutineType>(getOrCreateType(FnType, F)); in getOrCreateFunctionType() 3402 SourceLocation ScopeLoc, QualType FnType, in EmitFunctionStart() argument 3474 getOrCreateFunctionType(D, FnType, Unit), ScopeLine, FlagsForDef, in EmitFunctionStart() 3511 QualType FnType) { in EmitFunctionDecl() argument [all …]
|
| H A D | CGExpr.cpp | 2880 llvm::FunctionType *FnType, in emitCheckHandlerCall() argument 2914 FnType, FnName, in emitCheckHandlerCall() 3011 llvm::FunctionType *FnType = in EmitCheck() local 3017 emitCheckHandlerCall(*this, FnType, Args, CheckHandler, RecoverKind, in EmitCheck() 4698 const auto *FnType = cast<FunctionType>(PointeeType); in EmitCall() local 4709 MD = CGM.CreateMetadataIdentifierGeneralized(QualType(FnType, 0)); in EmitCall() 4711 MD = CGM.CreateMetadataIdentifierForType(QualType(FnType, 0)); in EmitCall() 4724 EmitCheckTypeDescriptor(QualType(FnType, 0)), in EmitCall() 4767 EmitCallArgs(Args, dyn_cast<FunctionProtoType>(FnType), E->arguments(), in EmitCall() 4771 Args, FnType, /*isChainCall=*/Chain); in EmitCall() [all …]
|
| H A D | CodeGenModule.cpp | 5390 if (auto *FnType = Ty->getAs<FunctionProtoType>()) { in GeneralizeFunctionType() local 5392 for (auto &Param : FnType->param_types()) in GeneralizeFunctionType() 5396 GeneralizeType(Ctx, FnType->getReturnType()), in GeneralizeFunctionType() 5397 GeneralizedParams, FnType->getExtProtoInfo()); in GeneralizeFunctionType() 5400 if (auto *FnType = Ty->getAs<FunctionNoProtoType>()) in GeneralizeFunctionType() local 5402 GeneralizeType(Ctx, FnType->getReturnType())); in GeneralizeFunctionType()
|
| H A D | CGBlocks.cpp | 1303 QualType FnType = BPT->getPointeeType(); in EmitBlockCallExpr() local 1306 EmitCallArgs(Args, FnType->getAs<FunctionProtoType>(), E->arguments()); in EmitBlockCallExpr() 1311 const FunctionType *FuncTy = FnType->castAs<FunctionType>(); in EmitBlockCallExpr()
|
| H A D | CodeGenModule.h | 960 llvm::FunctionType *FnType = nullptr,
|
| H A D | CGOpenMPRuntimeNVPTX.cpp | 4041 auto *FnType = in emitOutlinedFunctionCall() local 4044 if (FnType->isVarArg() && FnType->getNumParams() <= I) { in emitOutlinedFunctionCall() 4048 llvm::Type *TargetType = FnType->getParamType(I); in emitOutlinedFunctionCall()
|
| H A D | CodeGenFunction.cpp | 1035 QualType FnType = getContext().getFunctionType( in StartFunction() local 1037 DI->EmitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, CurFuncIsThunk, in StartFunction()
|
| H A D | CGClass.cpp | 1628 llvm::FunctionType *FnType = in EmitSanitizerDtorCallback() local 1631 CGF.CGM.CreateRuntimeFunction(FnType, "__sanitizer_dtor_callback"); in EmitSanitizerDtorCallback()
|
| H A D | CodeGenFunction.h | 3590 RValue EmitCall(QualType FnType, const CGCallee &Callee, const CallExpr *E,
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaCoroutine.cpp | 53 const FunctionProtoType *FnType = FD->getType()->castAs<FunctionProtoType>(); in lookupPromiseType() local 75 AddArg(FnType->getReturnType()); in lookupPromiseType() 88 T = FnType->getRefQualifier() == RQ_RValue in lookupPromiseType() 94 for (QualType T : FnType->getParamTypes()) in lookupPromiseType()
|
| H A D | SemaOverload.cpp | 10439 QualType FnType = Cand->Surrogate->getConversionType(); in NoteSurrogateCandidate() local 10444 FnType->getAs<LValueReferenceType>()) { in NoteSurrogateCandidate() 10445 FnType = FnTypeRef->getPointeeType(); in NoteSurrogateCandidate() 10448 FnType->getAs<RValueReferenceType>()) { in NoteSurrogateCandidate() 10449 FnType = FnTypeRef->getPointeeType(); in NoteSurrogateCandidate() 10453 FnType = FnTypePtr->getPointeeType(); in NoteSurrogateCandidate() 10457 FnType = QualType(FnType->getAs<FunctionType>(), 0); in NoteSurrogateCandidate() 10459 if (isPointer) FnType = S.Context.getPointerType(FnType); in NoteSurrogateCandidate() 10460 if (isRValueReference) FnType = S.Context.getRValueReferenceType(FnType); in NoteSurrogateCandidate() 10461 if (isLValueReference) FnType = S.Context.getLValueReferenceType(FnType); in NoteSurrogateCandidate() [all …]
|
| H A D | SemaLookup.cpp | 2684 const FunctionType *FnType = cast<FunctionType>(T); in addAssociatedClassesAndNamespaces() local 2685 T = FnType->getReturnType().getTypePtr(); in addAssociatedClassesAndNamespaces()
|
| H A D | SemaExpr.cpp | 16379 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in VisitCallExpr() local 16398 const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FnType); in VisitCallExpr() 16439 FnType->getExtInfo()); in VisitCallExpr() 16550 const FunctionType *FnType = FDT->castAs<FunctionType>(); in resolveDecl() local 16551 const FunctionProtoType *Proto = dyn_cast_or_null<FunctionProtoType>(FnType); in resolveDecl()
|
| H A D | SemaExprCXX.cpp | 2820 QualType FnType = Context.getFunctionType(Return, Params, EPI); in DeclareGlobalAllocationFunction() local 2823 FnType, /*TInfo=*/nullptr, SC_None, false, true); in DeclareGlobalAllocationFunction()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | AtomicExpandPass.cpp | 1736 FunctionType *FnType = FunctionType::get(ResultTy, ArgTys, false); in expandAtomicOpToLibcall() local 1738 M->getOrInsertFunction(TLI->getLibcallName(RTLibType), FnType, Attr); in expandAtomicOpToLibcall()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | Expr.cpp | 1411 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in getCallReturnType() local 1412 return FnType->getReturnType(); in getCallReturnType()
|