| /netbsd-src/external/apache2/llvm/dist/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); 644 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 | CGDebugInfo.cpp | 3650 QualType FnType = CGM.getContext().getFunctionType( in getFunctionFwdDeclOrStub() local 3662 getOrCreateFunctionType(GD.getDecl(), FnType, Unit), 0, Flags, SPFlags, in getFunctionFwdDeclOrStub() 3668 getOrCreateFunctionType(GD.getDecl(), FnType, Unit), 0, Flags, SPFlags, in getFunctionFwdDeclOrStub() 3771 const Decl *D, llvm::DISubroutineType *FnType, unsigned LineNo, in getObjCMethodDeclaration() argument 3800 InterfaceType->getFile(), LineNo, FnType, LineNo, Flags, SPFlags); in getObjCMethodDeclaration() 3809 QualType FnType, in getOrCreateFunctionType() argument 3822 const auto *FTy = FnType->getAs<FunctionType>(); in getOrCreateFunctionType() 3842 else if (auto *FPT = dyn_cast<FunctionProtoType>(FnType)) in getOrCreateFunctionType() 3869 if (const auto *FPT = dyn_cast<FunctionProtoType>(FnType)) in getOrCreateFunctionType() 3878 return cast<llvm::DISubroutineType>(getOrCreateType(FnType, F)); in getOrCreateFunctionType() [all …]
|
| 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() 3299 emitCheckHandlerCall(*this, FnType, Args, CheckHandler, RecoverKind, true, in EmitCheck() 3302 emitCheckHandlerCall(*this, FnType, Args, CheckHandler, RecoverKind, false, 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() [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 | CodeGenModule.cpp | 6246 if (auto *FnType = Ty->getAs<FunctionProtoType>()) { in GeneralizeFunctionType() local 6248 for (auto &Param : FnType->param_types()) in GeneralizeFunctionType() 6252 GeneralizeType(Ctx, FnType->getReturnType()), in GeneralizeFunctionType() 6253 GeneralizedParams, FnType->getExtProtoInfo()); in GeneralizeFunctionType() 6256 if (auto *FnType = Ty->getAs<FunctionNoProtoType>()) in GeneralizeFunctionType() local 6258 GeneralizeType(Ctx, FnType->getReturnType())); in GeneralizeFunctionType()
|
| H A D | CGOpenMPRuntimeGPU.cpp | 3996 auto *FnType = OutlinedFn.getFunctionType(); in emitOutlinedFunctionCall() local 3998 if (FnType->isVarArg() && FnType->getNumParams() <= I) { in emitOutlinedFunctionCall() 4002 llvm::Type *TargetType = FnType->getParamType(I); in emitOutlinedFunctionCall()
|
| H A D | CodeGenFunction.cpp | 990 QualType FnType = getContext().getFunctionType( in StartFunction() local 992 DI->emitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, CurFuncIsThunk); in StartFunction()
|
| H A D | CGClass.cpp | 1667 llvm::FunctionType *FnType = in EmitSanitizerDtorCallback() local 1670 CGF.CGM.CreateRuntimeFunction(FnType, "__sanitizer_dtor_callback"); in EmitSanitizerDtorCallback()
|
| H A D | CGCall.cpp | 5327 auto *FnType = llvm::FunctionType::get(CGM.VoidTy, /*isVarArg=*/false); in EmitCall() local 5329 CGM.CreateRuntimeFunction(FnType, "__asan_handle_no_return"); in EmitCall()
|
| H A D | CodeGenFunction.h | 3951 RValue EmitCall(QualType FnType, const CGCallee &Callee, const CallExpr *E,
|
| /netbsd-src/external/apache2/llvm/dist/libcxx/benchmarks/ |
| H A D | allocation.bench.cpp | 116 using FnType = void(*)(benchmark::State&); in RegisterAllocBenchmarks() typedef 119 FnType func; in RegisterAllocBenchmarks()
|
| /netbsd-src/external/apache2/llvm/dist/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 | 11230 QualType FnType = Cand->Surrogate->getConversionType(); in NoteSurrogateCandidate() local 11235 FnType->getAs<LValueReferenceType>()) { in NoteSurrogateCandidate() 11236 FnType = FnTypeRef->getPointeeType(); in NoteSurrogateCandidate() 11239 FnType->getAs<RValueReferenceType>()) { in NoteSurrogateCandidate() 11240 FnType = FnTypeRef->getPointeeType(); in NoteSurrogateCandidate() 11243 if (const PointerType *FnTypePtr = FnType->getAs<PointerType>()) { in NoteSurrogateCandidate() 11244 FnType = FnTypePtr->getPointeeType(); in NoteSurrogateCandidate() 11248 FnType = QualType(FnType->getAs<FunctionType>(), 0); in NoteSurrogateCandidate() 11250 if (isPointer) FnType = S.Context.getPointerType(FnType); in NoteSurrogateCandidate() 11251 if (isRValueReference) FnType = S.Context.getRValueReferenceType(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 | SemaExpr.cpp | 19153 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in VisitCallExpr() local 19172 const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FnType); in VisitCallExpr() 19213 FnType->getExtInfo()); in VisitCallExpr() 19324 const FunctionType *FnType = FDT->castAs<FunctionType>(); in resolveDecl() local 19325 const FunctionProtoType *Proto = dyn_cast_or_null<FunctionProtoType>(FnType); in resolveDecl()
|
| H A D | SemaExprCXX.cpp | 3040 QualType FnType = Context.getFunctionType(Return, Params, EPI); in DeclareGlobalAllocationFunction() local 3043 FnType, /*TInfo=*/nullptr, SC_None, false, true); in DeclareGlobalAllocationFunction()
|
| H A D | SemaCodeComplete.cpp | 5223 if (const FunctionType *FnType = Callee->getAs<FunctionType>()) in getApproximateType() local 5224 return FnType->getReturnType().getNonReferenceType(); in getApproximateType()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | AtomicExpandPass.cpp | 1822 FunctionType *FnType = FunctionType::get(ResultTy, ArgTys, false); in expandAtomicOpToLibcall() local 1824 M->getOrInsertFunction(TLI->getLibcallName(RTLibType), FnType, Attr); in expandAtomicOpToLibcall()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | Expr.cpp | 1478 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in getCallReturnType() local 1479 return FnType->getReturnType(); in getCallReturnType()
|