HomeSort by: relevance | last modified time | path
    Searched refs:FnType (Results 1 - 21 of 21) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGCXX.cpp 210 getAddrOfCXXStructor(GD, &FnInfo, /*FnType=*/nullptr,
222 GlobalDecl GD, const CGFunctionInfo *FnInfo, llvm::FunctionType *FnType,
235 if (!FnType) {
238 FnType = getTypes().GetFunctionType(*FnInfo);
242 getMangledName(GD), FnType, GD, /*ForVTable=*/false, DontDefer,
244 return {FnType, Ptr};
CGDebugInfo.h 236 getOrCreateFunctionType(const Decl *D, QualType FnType, llvm::DIFile *F);
425 SourceLocation ScopeLoc, QualType FnType,
436 QualType FnType, llvm::Function *Fn = nullptr);
639 /// \param FnType For Objective-C methods, their type.
644 getObjCMethodDeclaration(const Decl *D, llvm::DISubroutineType *FnType,
CodeGenModule.h 1023 llvm::FunctionType *FnType = nullptr,
1026 return cast<llvm::Constant>(getAddrAndTypeOfCXXStructor(GD, FnInfo, FnType,
1034 llvm::FunctionType *FnType = nullptr, bool DontDefer = false,
CGDebugInfo.cpp 3650 QualType FnType = CGM.getContext().getFunctionType(
3662 getOrCreateFunctionType(GD.getDecl(), FnType, Unit), 0, Flags, SPFlags,
3668 getOrCreateFunctionType(GD.getDecl(), FnType, Unit), 0, Flags, SPFlags,
3771 const Decl *D, llvm::DISubroutineType *FnType, unsigned LineNo,
3800 InterfaceType->getFile(), LineNo, FnType, LineNo, Flags, SPFlags);
3809 QualType FnType,
3822 const auto *FTy = FnType->getAs<FunctionType>();
3842 else if (auto *FPT = dyn_cast<FunctionProtoType>(FnType))
3869 if (const auto *FPT = dyn_cast<FunctionProtoType>(FnType))
3878 return cast<llvm::DISubroutineType>(getOrCreateType(FnType, F))
    [all...]
CGExpr.cpp 3152 llvm::FunctionType *FnType,
3186 FnType, FnName,
3283 llvm::FunctionType *FnType =
3289 emitCheckHandlerCall(*this, FnType, Args, CheckHandler, RecoverKind,
3299 emitCheckHandlerCall(*this, FnType, Args, CheckHandler, RecoverKind, true,
3302 emitCheckHandlerCall(*this, FnType, Args, CheckHandler, RecoverKind, false,
5185 const auto *FnType = cast<FunctionType>(PointeeType);
5196 MD = CGM.CreateMetadataIdentifierGeneralized(QualType(FnType, 0));
5198 MD = CGM.CreateMetadataIdentifierForType(QualType(FnType, 0));
5211 EmitCheckTypeDescriptor(QualType(FnType, 0))
    [all...]
CGBlocks.cpp 1184 QualType FnType = BPT->getPointeeType();
1201 EmitCallArgs(Args, FnType->getAs<FunctionProtoType>(), E->arguments());
1222 EmitCallArgs(Args, FnType->getAs<FunctionProtoType>(), E->arguments());
1228 const FunctionType *FuncTy = FnType->castAs<FunctionType>();
1492 const FunctionProtoType *fnType = blockInfo.getBlockExpr()->getFunctionType();
1494 CGM.getTypes().arrangeBlockFunctionDeclaration(fnType, args);
1514 StartFunction(blockDecl, fnType->getReturnType(), fn, fnInfo, args,
CodeGenModule.cpp 3995 return getAddrOfCXXStructor(GD, /*FnInfo=*/nullptr, /*FnType=*/nullptr,
6246 if (auto *FnType = Ty->getAs<FunctionProtoType>()) {
6248 for (auto &Param : FnType->param_types())
6252 GeneralizeType(Ctx, FnType->getReturnType()),
6253 GeneralizedParams, FnType->getExtProtoInfo());
6256 if (auto *FnType = Ty->getAs<FunctionNoProtoType>())
6258 GeneralizeType(Ctx, FnType->getReturnType()));
CodeGenFunction.cpp 990 QualType FnType = getContext().getFunctionType(
992 DI->emitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, CurFuncIsThunk);
CGOpenMPRuntimeGPU.cpp 3996 auto *FnType = OutlinedFn.getFunctionType();
3998 if (FnType->isVarArg() && FnType->getNumParams() <= I) {
4002 llvm::Type *TargetType = FnType->getParamType(I);
CGClass.cpp 1667 llvm::FunctionType *FnType =
1670 CGF.CGM.CreateRuntimeFunction(FnType, "__sanitizer_dtor_callback");
CGCall.cpp 569 const FunctionType *fnType,
581 if (const FunctionProtoType *proto = dyn_cast<FunctionProtoType>(fnType)) {
595 cast<FunctionNoProtoType>(fnType))) {
603 return CGT.arrangeLLVMFunctionInfo(GetReturnType(fnType->getReturnType()),
605 argTypes, fnType->getExtInfo(), paramInfos,
615 const FunctionType *fnType,
617 return arrangeFreeFunctionLikeCall(*this, CGM, args, fnType,
625 const FunctionType *fnType) {
626 return arrangeFreeFunctionLikeCall(*this, CGM, args, fnType, 1,
5327 auto *FnType = llvm::FunctionType::get(CGM.VoidTy, /*isVarArg=*/false)
    [all...]
CodeGenFunction.h 3951 RValue EmitCall(QualType FnType, const CGCallee &Callee, const CallExpr *E,
  /src/external/apache2/llvm/dist/libcxx/benchmarks/
allocation.bench.cpp 116 using FnType = void(*)(benchmark::State&);
119 FnType func;
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaCoroutine.cpp 54 const FunctionProtoType *FnType = FD->getType()->castAs<FunctionProtoType>();
76 AddArg(FnType->getReturnType());
89 T = FnType->getRefQualifier() == RQ_RValue
95 for (QualType T : FnType->getParamTypes())
SemaOverload.cpp 11230 QualType FnType = Cand->Surrogate->getConversionType();
11235 FnType->getAs<LValueReferenceType>()) {
11236 FnType = FnTypeRef->getPointeeType();
11239 FnType->getAs<RValueReferenceType>()) {
11240 FnType = FnTypeRef->getPointeeType();
11243 if (const PointerType *FnTypePtr = FnType->getAs<PointerType>()) {
11244 FnType = FnTypePtr->getPointeeType();
11248 FnType = QualType(FnType->getAs<FunctionType>(), 0);
11250 if (isPointer) FnType = S.Context.getPointerType(FnType)
    [all...]
SemaLookup.cpp 2895 const FunctionType *FnType = cast<FunctionType>(T);
2896 T = FnType->getReturnType().getTypePtr();
SemaExprCXX.cpp 3040 QualType FnType = Context.getFunctionType(Return, Params, EPI);
3043 FnType, /*TInfo=*/nullptr, SC_None, false, true);
SemaExpr.cpp 15386 // ^ fntype { ... }
19153 const FunctionType *FnType = CalleeType->castAs<FunctionType>();
19172 const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FnType);
19213 FnType->getExtInfo());
19324 const FunctionType *FnType = FDT->castAs<FunctionType>();
19325 const FunctionProtoType *Proto = dyn_cast_or_null<FunctionProtoType>(FnType);
SemaCodeComplete.cpp 5223 if (const FunctionType *FnType = Callee->getAs<FunctionType>())
5224 return FnType->getReturnType().getNonReferenceType();
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
AtomicExpandPass.cpp 1822 FunctionType *FnType = FunctionType::get(ResultTy, ArgTys, false);
1824 M->getOrInsertFunction(TLI->getLibcallName(RTLibType), FnType, Attr);
  /src/external/apache2/llvm/dist/clang/lib/AST/
Expr.cpp 1478 const FunctionType *FnType = CalleeType->castAs<FunctionType>();
1479 return FnType->getReturnType();

Completed in 118 milliseconds