| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | Mangle.h | 29 class BlockDecl; variable 58 llvm::DenseMap<const BlockDecl*, unsigned> GlobalBlockIds; 59 llvm::DenseMap<const BlockDecl*, unsigned> LocalBlockIds; 78 unsigned getBlockId(const BlockDecl *BD, bool Local) { in getBlockId() 79 llvm::DenseMap<const BlockDecl *, unsigned> &BlockIds in getBlockId() 81 std::pair<llvm::DenseMap<const BlockDecl *, unsigned>::iterator, bool> in getBlockId() 119 void mangleGlobalBlock(const BlockDecl *BD, 123 const BlockDecl *BD, raw_ostream &Out); 125 const BlockDecl *BD, raw_ostream &Out); 126 void mangleBlock(const DeclContext *DC, const BlockDecl *BD,
|
| H A D | MangleNumberingContext.h | 23 class BlockDecl; variable 42 virtual unsigned getManglingNumber(const BlockDecl *BD) = 0;
|
| H A D | GlobalDecl.h | 53 GlobalDecl(const BlockDecl *D) { Init(D); } in GlobalDecl()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | Mangle.cpp | 35 const BlockDecl *BD, in mangleFunctionBlock() 188 void MangleContext::mangleGlobalBlock(const BlockDecl *BD, in mangleGlobalBlock() 206 CXXCtorType CT, const BlockDecl *BD, in mangleCtorBlock() 215 CXXDtorType DT, const BlockDecl *BD, in mangleDtorBlock() 223 void MangleContext::mangleBlock(const DeclContext *DC, const BlockDecl *BD, in mangleBlock() 232 assert((isa<NamedDecl>(DC) || isa<BlockDecl>(DC)) && in mangleBlock() 234 if (isa<BlockDecl>(DC)) in mangleBlock() 235 for (; DC && isa<BlockDecl>(DC); DC = DC->getParent()) in mangleBlock() 236 (void) getBlockId(cast<BlockDecl>(DC), true); in mangleBlock()
|
| H A D | Decl.cpp | 306 if (isa<FunctionDecl>(DC) || isa<BlockDecl>(DC)) in getOutermostFuncOrBlockContext() 1253 if (const auto *BD = dyn_cast<BlockDecl>(OuterD)) { in getLVForLocalDecl() 4256 BlockDecl::BlockDecl(DeclContext *DC, SourceLocation CaretLoc) in BlockDecl() function in BlockDecl 4265 void BlockDecl::setParams(ArrayRef<ParmVarDecl *> NewParamInfo) { in setParams() 4276 void BlockDecl::setCaptures(ASTContext &Context, ArrayRef<Capture> Captures, in setCaptures() 4289 bool BlockDecl::capturesVariable(const VarDecl *variable) const { in capturesVariable() 4298 SourceRange BlockDecl::getSourceRange() const { in getSourceRange() 4442 BlockDecl *BlockDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation L) { in Create() 4443 return new (C, DC) BlockDecl(DC, L); in Create() 4446 BlockDecl *BlockDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() [all …]
|
| H A D | ItaniumMangle.cpp | 57 if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) { in getEffectiveDeclContext() 84 return isa<FunctionDecl>(DC) || isa<ObjCMethodDecl>(DC) || isa<BlockDecl>(DC); in isLocalContainerContext() 487 void mangleBlockForPrefix(const BlockDecl *Block); 488 void mangleUnqualifiedBlock(const BlockDecl *Block); 1547 assert(isa<NamedDecl>(D) || isa<BlockDecl>(D)); in mangleLocalName() 1558 else if (const BlockDecl *BD = dyn_cast<BlockDecl>(DC)) in mangleLocalName() 1598 } else if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) { in mangleLocalName() 1607 } else if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) { in mangleLocalName() 1639 void CXXNameMangler::mangleBlockForPrefix(const BlockDecl *Block) { in mangleBlockForPrefix() 1653 void CXXNameMangler::mangleUnqualifiedBlock(const BlockDecl *Block) { in mangleUnqualifiedBlock()
|
| H A D | ItaniumCXXABI.cpp | 127 unsigned getManglingNumber(const BlockDecl *BD) override { in getManglingNumber()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Analysis/ |
| H A D | AnalysisDeclContext.h | 35 class BlockDecl; variable 90 llvm::DenseMap<const BlockDecl *,void *> *ReferencedBlockVars = nullptr; 180 getReferencedBlockVars(const BlockDecl *BD); 193 const BlockDecl *BD, 365 const BlockDecl *BD; 371 const LocationContext *parent, const BlockDecl *bd, in BlockInvocationContext() 379 const BlockDecl *getBlockDecl() const { return BD; } in getBlockDecl() 386 const LocationContext *parent, const BlockDecl *bd, in Profile() 418 const BlockDecl *BD,
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/ |
| H A D | AnalysisDeclContext.cpp | 117 } else if (const auto *BD = dyn_cast<BlockDecl>(D)) in getBody() 150 if (const auto *BD = dyn_cast<BlockDecl>(D)) { in getSelfDecl() 318 const BlockDecl *BD, in getBlockInvocationContext() 421 const BlockDecl *BD, in getBlockInvocationContext() 574 static DeclVec* LazyInitializeReferencedDecls(const BlockDecl *BD, in LazyInitializeReferencedDecls() 598 AnalysisDeclContext::getReferencedBlockVars(const BlockDecl *BD) { in getReferencedBlockVars() 600 ReferencedBlockVars = new llvm::DenseMap<const BlockDecl*,void*>(); in getReferencedBlockVars()
|
| H A D | CallGraph.cpp | 111 if (BlockDecl *BD = dyn_cast<BlockDecl>(D)) in addNodesForBlocks()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGBlocks.h | 247 const BlockDecl *Block; 281 const BlockDecl *getBlockDecl() const { return Block; } in getBlockDecl() 288 CGBlockInfo(const BlockDecl *blockDecl, StringRef Name);
|
| H A D | CGBlocks.cpp | 36 CGBlockInfo::CGBlockInfo(const BlockDecl *block, StringRef name) in CGBlockInfo() 86 const BlockDecl::Capture *CI; 93 const BlockDecl::Capture &CI, in BlockCaptureManagedEntity() 343 const BlockDecl::Capture *Capture; // null for 'this' 349 const BlockDecl::Capture *capture, in BlockLayoutChunk() 524 const BlockDecl *block = info.getBlockDecl(); in computeBlockInfo() 1032 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in EmitBlockLiteral() 1529 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateBlockFunction() 1825 const BlockDecl::Capture &CI = *E.CI; in getBlockCaptureStr() 2059 const BlockDecl::Capture &CI = *CopiedCapture.CI; in GenerateCopyHelperFunction() [all …]
|
| H A D | CodeGenPGO.cpp | 416 void VisitBlockDecl(const BlockDecl *D) { in VisitBlockDecl() 810 else if (const BlockDecl *BD = dyn_cast_or_null<BlockDecl>(D)) in mapRegionCounters() 811 Walker.TraverseDecl(const_cast<BlockDecl *>(BD)); in mapRegionCounters() 877 else if (const BlockDecl *BD = dyn_cast_or_null<BlockDecl>(D)) in computeRegionCounts()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| H A D | TransBlockObjCVariable.cpp | 78 bool VisitBlockDecl(BlockDecl *block) { in VisitBlockDecl() 119 bool TraverseBlockDecl(BlockDecl *block) { in TraverseBlockDecl()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | ScopeInfo.h | 43 class BlockDecl; variable 207 llvm::SmallPtrSet<const BlockDecl *, 1> Blocks; 437 void addBlock(const BlockDecl *BD) { in addBlock() 713 BlockDecl *TheDecl; 723 BlockScopeInfo(DiagnosticsEngine &Diag, Scope *BlockScope, BlockDecl *Block) in BlockScopeInfo()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | StackAddrEscapeChecker.cpp | 59 bool isSemaphoreCaptured(const BlockDecl &B) const; 91 const BlockDecl *BD = BR->getCodeRegion()->getDecl(); in genName() 126 bool StackAddrEscapeChecker::isSemaphoreCaptured(const BlockDecl &B) const { in isSemaphoreCaptured()
|
| H A D | ReturnUndefChecker.cpp | 64 if (RT.isNull() && isa<BlockDecl>(SFC->getDecl()) && in checkPreStmt()
|
| H A D | AnalyzerStatsChecker.cpp | 101 else if (isa<BlockDecl>(D)) { in checkEndAnalysis()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | MemRegion.h | 631 const BlockDecl *BD; 635 BlockCodeRegion(const BlockDecl *bd, CanQualType lTy, in BlockCodeRegion() 643 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const BlockDecl *BD, 652 const BlockDecl *getDecl() const { in getDecl() 700 const BlockDecl *getDecl() const { return BC->getDecl(); } in getDecl() 1389 const BlockCodeRegion *getBlockCodeRegion(const BlockDecl *BD,
|
| H A D | SValBuilder.h | 37 class BlockDecl; variable 241 DefinedSVal getBlockPointer(const BlockDecl *block, CanQualType locTy,
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | CallEvent.cpp | 240 else if (const auto *BD = dyn_cast<BlockDecl>(D)) in getParameterLocation() 454 if (const auto *BD = dyn_cast<BlockDecl>(D)) { in getDeclaredResultType() 484 if (const auto *BD = dyn_cast<BlockDecl>(D)) in isVariadic() 838 const BlockDecl *D = getDecl(); in parameters() 867 Params = cast<BlockDecl>(CalleeCtx->getDecl())->parameters(); in getInitialStackFrameContents()
|
| H A D | CheckerContext.cpp | 40 if (isa<BlockDecl>(D)) in getDeclDescription()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFASTParserClang.h | 71 clang::BlockDecl *ResolveBlockDIE(const DWARFDIE &die);
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | PdbAstBuilder.h | 68 clang::BlockDecl *GetOrCreateBlockDecl(PdbCompilandSymId block_id);
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | JumpDiagnostics.cpp | 75 void BuildScopeInformation(VarDecl *D, const BlockDecl *BDecl, 238 const BlockDecl *BDecl, in BuildScopeInformation() 518 const BlockDecl *BDecl = EWC->getObject(i); in BuildScopeInformation()
|