/external/clang/include/clang/AST/ |
D | Mangle.h | 28 class BlockDecl; variable 56 llvm::DenseMap<const BlockDecl*, unsigned> GlobalBlockIds; 57 llvm::DenseMap<const BlockDecl*, unsigned> LocalBlockIds; 76 unsigned getBlockId(const BlockDecl *BD, bool Local) { in getBlockId() 77 llvm::DenseMap<const BlockDecl *, unsigned> &BlockIds in getBlockId() 79 std::pair<llvm::DenseMap<const BlockDecl *, unsigned>::iterator, bool> in getBlockId() 117 void mangleGlobalBlock(const BlockDecl *BD, 121 const BlockDecl *BD, raw_ostream &Out); 123 const BlockDecl *BD, raw_ostream &Out); 124 void mangleBlock(const DeclContext *DC, const BlockDecl *BD,
|
D | MangleNumberingContext.h | 24 class BlockDecl; variable 43 virtual unsigned getManglingNumber(const BlockDecl *BD) = 0;
|
/external/llvm-project/clang/include/clang/AST/ |
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() 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 *BD,
|
D | MangleNumberingContext.h | 22 class BlockDecl; variable 41 virtual unsigned getManglingNumber(const BlockDecl *BD) = 0;
|
/external/clang/lib/AST/ |
D | Mangle.cpp | 41 const BlockDecl *BD, in mangleFunctionBlock() 186 void MangleContext::mangleGlobalBlock(const BlockDecl *BD, in mangleGlobalBlock() 204 CXXCtorType CT, const BlockDecl *BD, in mangleCtorBlock() 213 CXXDtorType DT, const BlockDecl *BD, in mangleDtorBlock() 221 void MangleContext::mangleBlock(const DeclContext *DC, const BlockDecl *BD, in mangleBlock() 230 assert((isa<NamedDecl>(DC) || isa<BlockDecl>(DC)) && in mangleBlock() 232 if (isa<BlockDecl>(DC)) in mangleBlock() 233 for (; DC && isa<BlockDecl>(DC); DC = DC->getParent()) in mangleBlock() 234 (void) getBlockId(cast<BlockDecl>(DC), true); in mangleBlock()
|
/external/llvm-project/clang/include/clang/Analysis/ |
D | AnalysisDeclContext.h | 37 class BlockDecl; variable 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, in BlockInvocationContext() 363 const BlockDecl *getBlockDecl() const { return BD; } in getBlockDecl() 370 const LocationContext *ParentLC, const BlockDecl *BD, in Profile() 413 const BlockDecl *BD, const void *Data);
|
D | AnyCall.h | 74 (K == Block && !isa<BlockDecl>(D)))) in AnyCall() 151 } else if (const auto *BD = dyn_cast<BlockDecl>(D)) { in parameters()
|
/external/clang/include/clang/Analysis/ |
D | AnalysisContext.h | 86 llvm::DenseMap<const BlockDecl*,void*> *ReferencedBlockVars; 177 getReferencedBlockVars(const BlockDecl *BD); 190 const BlockDecl *BD, 346 const BlockDecl *BD; 355 const BlockDecl *bd, const void *contextData) in BlockInvocationContext() 361 const BlockDecl *getBlockDecl() const { return BD; } in getBlockDecl() 368 const LocationContext *parent, const BlockDecl *bd, in Profile() 396 const BlockDecl *BD,
|
/external/clang/lib/Analysis/ |
D | AnalysisDeclContext.cpp | 118 } else if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) in getBody() 152 if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) { in getSelfDecl() 324 const clang::BlockDecl *BD, in getBlockInvocationContext() 427 const BlockDecl *BD, in getBlockInvocationContext() 552 static DeclVec* LazyInitializeReferencedDecls(const BlockDecl *BD, in LazyInitializeReferencedDecls() 576 AnalysisDeclContext::getReferencedBlockVars(const BlockDecl *BD) { in getReferencedBlockVars() 578 ReferencedBlockVars = new llvm::DenseMap<const BlockDecl*,void*>(); in getReferencedBlockVars()
|
D | CallGraph.cpp | 95 if (BlockDecl *BD = dyn_cast<BlockDecl>(D)) in addNodesForBlocks()
|
/external/llvm-project/clang/lib/AST/ |
D | Mangle.cpp | 38 const BlockDecl *BD, in mangleFunctionBlock() 236 void MangleContext::mangleGlobalBlock(const BlockDecl *BD, in mangleGlobalBlock() 254 CXXCtorType CT, const BlockDecl *BD, in mangleCtorBlock() 263 CXXDtorType DT, const BlockDecl *BD, in mangleDtorBlock() 271 void MangleContext::mangleBlock(const DeclContext *DC, const BlockDecl *BD, in mangleBlock() 280 assert((isa<NamedDecl>(DC) || isa<BlockDecl>(DC)) && in mangleBlock() 282 if (isa<BlockDecl>(DC)) in mangleBlock() 283 for (; DC && isa<BlockDecl>(DC); DC = DC->getParent()) in mangleBlock() 284 (void) getBlockId(cast<BlockDecl>(DC), true); in mangleBlock()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | NoEscapeCheck.cpp | 33 const BlockDecl *EscapingBlockDecl = MatchedEscapingBlock->getBlockDecl(); in check() 34 for (const BlockDecl::Capture &CapturedVar : EscapingBlockDecl->captures()) { in check()
|
/external/llvm-project/clang/lib/Analysis/ |
D | AnalysisDeclContext.cpp | 118 } else if (const auto *BD = dyn_cast<BlockDecl>(D)) in getBody() 151 if (const auto *BD = dyn_cast<BlockDecl>(D)) { in getSelfDecl() 320 const LocationContext *ParentLC, const BlockDecl *BD, const void *Data) { in getBlockInvocationContext() 392 const BlockDecl *BD, const void *Data) { in getBlockInvocationContext() 587 static DeclVec* LazyInitializeReferencedDecls(const BlockDecl *BD, in LazyInitializeReferencedDecls() 611 AnalysisDeclContext::getReferencedBlockVars(const BlockDecl *BD) { in getReferencedBlockVars() 613 ReferencedBlockVars = new llvm::DenseMap<const BlockDecl*,void*>(); in getReferencedBlockVars()
|
D | CallGraph.cpp | 141 if (BlockDecl *BD = dyn_cast<BlockDecl>(D)) in addNodesForBlocks()
|
/external/clang/lib/CodeGen/ |
D | CGBlocks.h | 230 const BlockDecl *Block; 264 const BlockDecl *getBlockDecl() const { return Block; } in getBlockDecl() 271 CGBlockInfo(const BlockDecl *blockDecl, StringRef Name);
|
D | CodeGenPGO.cpp | 276 void VisitBlockDecl(const BlockDecl *D) { in VisitBlockDecl() 653 else if (const BlockDecl *BD = dyn_cast_or_null<BlockDecl>(D)) in mapRegionCounters() 654 Walker.TraverseDecl(const_cast<BlockDecl *>(BD)); in mapRegionCounters() 720 else if (const BlockDecl *BD = dyn_cast_or_null<BlockDecl>(D)) in computeRegionCounts()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGBlocks.h | 246 const BlockDecl *Block; 276 const BlockDecl *getBlockDecl() const { return Block; } in getBlockDecl() 283 CGBlockInfo(const BlockDecl *blockDecl, StringRef Name);
|
D | CGBlocks.cpp | 35 CGBlockInfo::CGBlockInfo(const BlockDecl *block, StringRef name) in CGBlockInfo() 85 const BlockDecl::Capture *CI; 92 const BlockDecl::Capture &CI, in BlockCaptureManagedEntity() 344 const BlockDecl::Capture *Capture; // null for 'this' 350 const BlockDecl::Capture *capture, in BlockLayoutChunk() 504 const BlockDecl::Capture &CI) { in getCaptureFieldType() 525 const BlockDecl *block = info.getBlockDecl(); in computeBlockInfo() 900 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in EmitBlockLiteral() 1082 if (auto *BD = C.dyn_cast<BlockDecl *>()) in EmitBlockLiteral() 1444 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateBlockFunction() [all …]
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | TransBlockObjCVariable.cpp | 77 bool VisitBlockDecl(BlockDecl *block) { in VisitBlockDecl() 118 bool TraverseBlockDecl(BlockDecl *block) { in TraverseBlockDecl()
|
/external/clang/lib/ARCMigrate/ |
D | TransBlockObjCVariable.cpp | 78 bool VisitBlockDecl(BlockDecl *block) { in VisitBlockDecl() 119 bool TraverseBlockDecl(BlockDecl *block) { in TraverseBlockDecl()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | ScopeInfo.h | 44 class BlockDecl; variable 213 llvm::SmallPtrSet<const BlockDecl *, 1> Blocks; 459 void addBlock(const BlockDecl *BD) { in addBlock() 739 BlockDecl *TheDecl; 749 BlockScopeInfo(DiagnosticsEngine &Diag, Scope *BlockScope, BlockDecl *Block) in BlockScopeInfo()
|
/external/clang/test/Misc/ |
D | ast-dump-stmt.m | 8 // CHECK-NEXT: BlockDecl
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
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()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CallEvent.cpp | 277 if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) { in getDeclaredResultType() 307 if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) in isVariadic() 596 const BlockDecl *D = getDecl(); in parameters() 625 Params = cast<BlockDecl>(CalleeCtx->getDecl())->parameters(); in getInitialStackFrameContents()
|
D | CheckerContext.cpp | 41 if (isa<BlockDecl>(D)) in getDeclDescription()
|