/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | Decl.cpp | 537 const auto *FD = dyn_cast<FunctionDecl>(D); local 538 if (!FD) 543 = FD->getTemplateSpecializationInfo()) { 546 FD->getMemberSpecializationInfo()) { 556 FD->hasBody(Def) && Def->isInlined() && !Def->hasAttr<GNUInlineAttr>(); 620 if (auto *FD = dyn_cast<FunctionDecl>(D)) 621 return FD->getStorageClass(); 1288 const auto *FD = cast<FunctionDecl>(OuterD); local 1289 if (!FD->isInlined() && 1290 !isTemplateInstantiation(FD 1637 OS << *FD << '('; local 3551 setInstantiationOfMemberFunction(ASTContext &C, FunctionDecl *FD, TemplateSpecializationKind TSK) argument [all...] |
H A D | ASTContext.cpp | 140 if (const auto *FD = dyn_cast<FunctionDecl>(D)) { 141 if (FD->getTemplateSpecializationKind() == TSK_ImplicitInstantiation) 328 if (const auto *FD = dyn_cast<FunctionDecl>(&D)) { 330 if (const FunctionTemplateDecl *FTD = FD->getDescribedFunctionTemplate()) 334 if (FD->getTemplateSpecializationKind() != TSK_ImplicitInstantiation) 338 if (const FunctionTemplateDecl *FTD = FD->getPrimaryTemplate()) 343 FD->getInstantiatedFromMemberFunction()) 2961 void ASTContext::adjustDeducedFunctionResultType(FunctionDecl *FD, argument 2963 FD = FD 3040 adjustExceptionSpec( FunctionDecl *FD, const FunctionProtoType::ExceptionSpecInfo &ESI, bool AsWritten) argument 6920 EncodeBitField(const ASTContext *Ctx, std::string& S, QualType T, const FieldDecl *FD) argument 6964 getObjCEncodingForTypeImpl(QualType T, std::string &S, const ObjCEncOptions Options, const FieldDecl *FD, QualType *NotEncodedT) const argument 7301 getObjCEncodingForStructureImpl(RecordDecl *RDecl, std::string &S, const FieldDecl *FD, bool includeVBases, QualType *NotEncodedT) const argument 9529 DeducedReturnType(const FunctionDecl *FD, QualType ReturnType) argument 9920 basicGVALinkageForFunction(const ASTContext &Context, const FunctionDecl *FD) argument 10261 forEachMultiversionedFunctionVersion( const FunctionDecl *FD, llvm::function_ref<void(FunctionDecl *)> Pred) const argument [all...] |
H A D | ExprConstant.cpp | 225 } else if (const FieldDecl *FD = getAsField(Path[I])) { 226 Type = FD->getType(); 423 if (const FieldDecl *FD = dyn_cast<FieldDecl>(D)) { 424 MostDerivedType = FD->getType(); 2047 if (const auto *FD = dyn_cast<const FunctionDecl>(VD)) { 2059 FD->hasAttr<DLLImportAttr>()) 2114 const auto *FD = dyn_cast_or_null<CXXMethodDecl>(Member); 2115 if (!FD) 2117 return Usage == Expr::EvaluateForMangling || FD->isVirtual() || 2118 !FD [all...] |
H A D | MicrosoftMangle.cpp | 116 const auto *FD = cast<FunctionDecl>(ND); local 117 if (const auto *FTD = FD->getPrimaryTemplate()) 120 return FD->getCanonicalDecl(); 311 void mangleFunctionEncoding(const FunctionDecl *FD, bool ShouldMangle); 380 void mangleFunctionClass(const FunctionDecl *FD); 429 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 430 LanguageLinkage L = FD->getLanguageLinkage(); 432 if (FD->hasAttr<OverloadableAttr>()) 444 if (FD->isMSVCRTEntryPoint()) 449 if (!FD 506 mangleFunctionEncoding(const FunctionDecl *FD, bool ShouldMangle) argument 2319 mangleFunctionClass(const FunctionDecl *FD) argument [all...] |
H A D | ItaniumCXXABI.cpp | 48 if (const FieldDecl *FD = RT->getDecl()->findFirstNamedDataMember()) { 49 return FD->getIdentifier();
|
H A D | Expr.cpp | 191 if (const FieldDecl *FD = E->getSourceBitField()) 192 if (!Semantic && FD->getType()->isUnsignedIntegerType() && 193 !FD->getBitWidth()->isValueDependent() && 194 FD->getBitWidthValue(FD->getASTContext()) == 1) 716 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CurrentDecl)) { 719 return FD->getNameAsString(); 724 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD)) { 735 const FunctionDecl *Decl = FD; 736 if (const FunctionDecl* Pattern = FD 1690 FieldDecl *FD = dyn_cast<FieldDecl>(MemberDecl); local 3368 const FunctionDecl* FD = getDirectCallee(); local 3482 const Decl *FD = cast<CallExpr>(this)->getCalleeDecl(); local 3575 const FieldDecl *FD = cast<CXXDefaultInitExpr>(this)->getField(); local [all...] |
H A D | DeclBase.cpp | 219 if (auto *FD = dyn_cast<FunctionDecl>(this)) 220 return FD; 231 if (auto *FD = dyn_cast<FunctionDecl>(this)) 232 return FD->getDescribedFunctionTemplate(); 655 } else if (const auto *FD = dyn_cast<FunctionDecl>(this)) { 656 if (FD->hasBody()) { 904 if (const auto *FD = dyn_cast<FunctionDecl>(this)) { 906 if (FD->hasBody(Definition)) 985 } else if (auto *FD = dyn_cast<FunctionDecl>(D)) 986 return FD; [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | DumpOutputStyle.cpp | 1104 for (const object::FpoData &FD : Records) { 1107 uint32_t(FD.Offset), uint32_t(FD.Size), uint32_t(FD.NumLocals), 1108 uint32_t(FD.NumParams), FD.getPrologSize(), 1109 FD.getNumSavedRegs(), FD.useBP(), FD.hasSEH(), 1110 formatFrameType(FD [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCall.cpp | 266 const FunctionDecl *FD) { 267 if (FD->hasAttr<CUDAGlobalAttr>()) { 434 CodeGenTypes::arrangeFunctionDeclaration(const FunctionDecl *FD) { argument 435 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD)) 439 CanQualType FTy = FD->getType()->getCanonicalTypeUnqualified(); 442 setCUDAKernelCallingConvention(FTy, CGM, FD); 515 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl()); local 521 return arrangeFunctionDeclaration(FD); 922 for (const auto *FD : RD->fields()) { 923 if (FD 265 setCUDAKernelCallingConvention(CanQualType &FTy, CodeGenModule &CGM, const FunctionDecl *FD) argument [all...] |
H A D | CGDebugInfo.cpp | 243 StringRef CGDebugInfo::getFunctionName(const FunctionDecl *FD) { argument 244 assert(FD && "Invalid FunctionDecl!"); 245 IdentifierInfo *FII = FD->getIdentifier(); 247 FD->getTemplateSpecializationInfo(); 264 FD->printName(OS); 266 FD->printQualifiedName(OS, getPrintingPolicy()); 1808 else if (const auto *FD = dyn_cast<FunctionDecl>(D)) 1809 V = CGM.GetAddrOfFunction(FD); 1879 CGDebugInfo::CollectFunctionTemplateParams(const FunctionDecl *FD, argument 1881 if (FD 3275 const auto *FD = cast<FunctionDecl>(GD.getDecl()); local 3375 auto *FD = cast<FunctionDecl>(GD.getDecl()); local 3472 const auto *FD = dyn_cast<FunctionDecl>(D); local 3531 llvm::DISubprogram *FD = DBuilder.createFunction( local 3801 const auto *FD = cast<FunctionDecl>(GD.getDecl()); local [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexTypeSourceInfo.cpp | 93 if (auto FD = dyn_cast<FunctionDecl>(D->getDeclContext())) { 94 if (FD->isThisDeclarationADefinition()) {
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | MemoryBuffer.h | 93 getOpenFileSlice(sys::fs::file_t FD, const Twine &Filename, uint64_t MapSize, 103 getOpenFile(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize,
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | ProgramPoint.cpp | 121 if (const FieldDecl *FD = Init->getAnyMember()) { 122 Out << "\"field_decl\": \"" << *FD << '\"'; local
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Attr.h | 243 if (const auto *FD = dyn_cast<FunctionDecl>(D)) 244 HasThis = FD->isCXXInstanceMember();
|
H A D | JSONNodeDumper.h | 235 void VisitFieldDecl(const FieldDecl *FD); 236 void VisitFunctionDecl(const FunctionDecl *FD); 246 void VisitFriendDecl(const FriendDecl *FD);
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineCXX.cpp | 716 if (const FunctionDecl *FD = CNE->getOperatorNew()) { 717 QualType Ty = FD->getType(); 747 FunctionDecl *FD = CNE->getOperatorNew(); local 750 FD->isReplaceableGlobalAllocationFunction(); 791 if (FD) { 792 QualType Ty = FD->getType(); 822 if (FD && FD->isReservedGlobalPlacementOperator()) {
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | NonNullParamChecker.cpp | 50 const Decl *FD = Call.getDecl(); local 53 for (const auto *NonNull : FD->specific_attrs<NonNullAttr>()) {
|
H A D | UnreachableCodeChecker.cpp | 90 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) 91 if (FD->isTemplateInstantiation())
|
H A D | StreamChecker.cpp | 114 const auto *FD = dyn_cast_or_null<FunctionDecl>(Call.getDecl()); local 115 if (!FD || FD->getKind() != Decl::Function)
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/CrossTU/ |
H A D | CrossTranslationUnit.h | 128 getCrossTUDefinition(const FunctionDecl *FD, StringRef CrossTUDir, 157 llvm::Expected<const FunctionDecl *> importDefinition(const FunctionDecl *FD,
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/bugpoint/ |
H A D | BugDriver.h | 256 bool writeProgramToFile(const std::string &Filename, int FD, 258 bool writeProgramToFile(int FD, const Module &M) const;
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateInstantiateDecl.cpp | 275 auto *FD = cast<FunctionDecl>(New); local 276 auto *ThisContext = dyn_cast_or_null<CXXRecordDecl>(FD->getDeclContext()); 283 Sema::ContextRAII SavedContext(S, FD); 285 if (FD->getNumParams() > PVD->getFunctionScopeIndex()) 287 PVD, FD->getParamDecl(PVD->getFunctionScopeIndex())); 291 FD->isCXXInstanceMember()); 358 auto *FD = cast<FunctionDecl>(New); local 359 auto *ThisContext = dyn_cast_or_null<CXXRecordDecl>(FD->getDeclContext()); 361 auto &&SubstExpr = [FD, ThisContext, &S, &TemplateArgs](Expr *E) { 364 Sema::ContextRAII SavedContext(S, FD); 4463 FunctionDecl *FD = FTD->getTemplatedDecl(); local [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | MemRegion.h | 584 const NamedDecl *FD; member in class:clang::ento::FunctionCodeRegion 587 : CodeTextRegion(sreg, FunctionCodeRegionKind), FD(fd) { 591 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const NamedDecl *FD, 597 if (const auto *D = dyn_cast<FunctionDecl>(FD)) { 601 assert(isa<ObjCMethodDecl>(FD)); 610 return FD; 1011 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const FieldDecl *FD, argument 1013 DeclRegion::ProfileRegion(ID, FD, superRegion, FieldRegionKind); 1390 const FunctionCodeRegion *getFunctionCodeRegion(const NamedDecl *FD);
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Rewrite/ |
H A D | Rewriter.cpp | 427 int FD; local 428 if (llvm::sys::fs::createUniqueFile(TempFilename, FD, TempFilename)) { 433 FileStream.reset(new llvm::raw_fd_ostream(FD, /*shouldClose=*/true));
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/DIA/ |
H A D | DIASession.cpp | 417 CComPtr<IDiaEnumFrameData> FD = local 419 if (!FD) 422 return std::make_unique<DIAEnumFrameData>(FD);
|