Searched refs:BlockDecl (Results 1 - 25 of 97) sorted by relevance

1234

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DMangleNumberingContext.h22 class BlockDecl;
41 virtual unsigned getManglingNumber(const BlockDecl *BD) = 0;
H A DMangle.h29 class BlockDecl;
58 llvm::DenseMap<const BlockDecl*, unsigned> GlobalBlockIds;
59 llvm::DenseMap<const BlockDecl*, unsigned> LocalBlockIds;
78 unsigned getBlockId(const BlockDecl *BD, bool Local) {
79 llvm::DenseMap<const BlockDecl *, unsigned> &BlockIds
81 std::pair<llvm::DenseMap<const BlockDecl *, unsigned>::iterator, bool>
116 void mangleGlobalBlock(const BlockDecl *BD,
120 const BlockDecl *BD, raw_ostream &Out);
122 const BlockDecl *BD, raw_ostream &Out);
123 void mangleBlock(const DeclContext *DC, const BlockDecl *B
[all...]
H A DJSONNodeDumper.h205 void Visit(const BlockDecl::Capture &C);
263 void VisitBlockDecl(const BlockDecl *D);
H A DTextNodeDumper.h188 void Visit(const BlockDecl::Capture &C);
368 void VisitBlockDecl(const BlockDecl *D);
H A DGlobalDecl.h46 /// a VarDecl, a FunctionDecl or a BlockDecl.
82 GlobalDecl(const BlockDecl *D) { Init(D); }
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/
H A DAnalysisDeclContext.h37 class BlockDecl;
92 llvm::DenseMap<const BlockDecl *, void *> *ReferencedBlockVars = nullptr;
174 getReferencedBlockVars(const BlockDecl *BD);
188 const BlockDecl *BD, const void *Data);
350 const BlockDecl *BD;
356 const LocationContext *ParentLC, const BlockDecl *BD,
363 const BlockDecl *getBlockDecl() const { return BD; }
370 const LocationContext *ParentLC, const BlockDecl *BD,
408 /// \param BD The BlockDecl.
413 const BlockDecl *B
[all...]
H A DAnyCall.h74 (K == Block && !isa<BlockDecl>(D))))
151 } else if (const auto *BD = dyn_cast<BlockDecl>(D)) {
175 // FIXME: BlockDecl does not know its return type,
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStackAddrEscapeChecker.cpp59 bool isSemaphoreCaptured(const BlockDecl &B) const;
91 const BlockDecl *BD = BR->getCodeRegion()->getDecl();
126 bool StackAddrEscapeChecker::isSemaphoreCaptured(const BlockDecl &B) const {
H A DReturnUndefChecker.cpp63 if (RT.isNull() && isa<BlockDecl>(SFC->getDecl()) &&
H A DAnalyzerStatsChecker.cpp100 else if (isa<BlockDecl>(D)) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp77 bool VisitBlockDecl(BlockDecl *block) {
118 bool TraverseBlockDecl(BlockDecl *block) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DMangle.cpp38 const BlockDecl *BD,
236 void MangleContext::mangleGlobalBlock(const BlockDecl *BD,
254 CXXCtorType CT, const BlockDecl *BD,
263 CXXDtorType DT, const BlockDecl *BD,
271 void MangleContext::mangleBlock(const DeclContext *DC, const BlockDecl *BD,
280 assert((isa<NamedDecl>(DC) || isa<BlockDecl>(DC)) &&
281 "expected a NamedDecl or BlockDecl");
282 if (isa<BlockDecl>(DC))
283 for (; DC && isa<BlockDecl>(DC); DC = DC->getParent())
284 (void) getBlockId(cast<BlockDecl>(D
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.h246 const BlockDecl *Block;
276 const BlockDecl *getBlockDecl() const { return Block; }
283 CGBlockInfo(const BlockDecl *blockDecl, StringRef Name);
H A DCodeGenPGO.cpp419 void VisitBlockDecl(const BlockDecl *D) {
821 else if (const BlockDecl *BD = dyn_cast_or_null<BlockDecl>(D))
822 Walker.TraverseDecl(const_cast<BlockDecl *>(BD));
888 else if (const BlockDecl *BD = dyn_cast_or_null<BlockDecl>(D))
H A DCGBlocks.cpp35 CGBlockInfo::CGBlockInfo(const BlockDecl *block, StringRef name)
85 const BlockDecl::Capture *CI;
92 const BlockDecl::Capture &CI,
344 const BlockDecl::Capture *Capture; // null for 'this'
350 const BlockDecl::Capture *capture,
504 const BlockDecl::Capture &CI) {
525 const BlockDecl *block = info.getBlockDecl();
901 const BlockDecl *blockDecl = blockInfo.getBlockDecl();
1083 if (auto *BD = C.dyn_cast<BlockDecl *>())
1445 const BlockDecl *blockDec
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp118 } else if (const auto *BD = dyn_cast<BlockDecl>(D))
151 if (const auto *BD = dyn_cast<BlockDecl>(D)) {
320 const LocationContext *ParentLC, const BlockDecl *BD, const void *Data) {
392 const BlockDecl *BD, const void *Data) {
587 static DeclVec* LazyInitializeReferencedDecls(const BlockDecl *BD,
611 AnalysisDeclContext::getReferencedBlockVars(const BlockDecl *BD) {
613 ReferencedBlockVars = new llvm::DenseMap<const BlockDecl*,void*>();
H A DCallGraph.cpp141 if (BlockDecl *BD = dyn_cast<BlockDecl>(D))
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DUsedDeclVisitor.h96 } else if (auto *CD = dyn_cast<BlockDecl>(D)) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp39 if (isa<BlockDecl>(D))
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h44 class BlockDecl;
210 llvm::SmallPtrSet<const BlockDecl *, 1> Blocks;
451 void addBlock(const BlockDecl *BD) {
731 BlockDecl *TheDecl;
741 BlockScopeInfo(DiagnosticsEngine &Diag, Scope *BlockScope, BlockDecl *Block)
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h243 } else if (isa<BlockDecl>(Parent)) {
244 if (cast<BlockDecl>(Parent)->isConversionFromLambda())
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DMemRegion.h621 const BlockDecl *BD;
625 BlockCodeRegion(const BlockDecl *bd, CanQualType lTy,
633 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const BlockDecl *BD,
642 const BlockDecl *getDecl() const {
690 const BlockDecl *getDecl() const { return BC->getDecl(); }
1462 const BlockCodeRegion *getBlockCodeRegion(const BlockDecl *BD,
H A DSValBuilder.h36 class BlockDecl;
240 DefinedSVal getBlockPointer(const BlockDecl *block, CanQualType locTy,
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.h99 clang::BlockDecl *ResolveBlockDIE(const DWARFDIE &die);
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.h64 clang::BlockDecl *GetOrCreateBlockDecl(PdbCompilandSymId block_id);

Completed in 253 milliseconds

1234