Home
last modified time | relevance | path

Searched refs:BlockDecl (Results 1 – 25 of 80) sorted by relevance

1234

/external/clang/include/clang/AST/
DMangle.h28 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,
DMangleNumberingContext.h24 class BlockDecl; variable
43 virtual unsigned getManglingNumber(const BlockDecl *BD) = 0;
DGlobalDecl.h44 GlobalDecl(const BlockDecl *D) { Init(D); } in GlobalDecl()
/external/clang/lib/AST/
DMangle.cpp41 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()
DItaniumMangle.cpp63 if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) { in getEffectiveDeclContext()
90 return isa<FunctionDecl>(DC) || isa<ObjCMethodDecl>(DC) || isa<BlockDecl>(DC); in isLocalContainerContext()
494 void mangleBlockForPrefix(const BlockDecl *Block);
495 void mangleUnqualifiedBlock(const BlockDecl *Block);
1441 assert(isa<NamedDecl>(D) || isa<BlockDecl>(D)); in mangleLocalName()
1452 else if (const BlockDecl *BD = dyn_cast<BlockDecl>(DC)) in mangleLocalName()
1492 } else if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) { in mangleLocalName()
1501 } else if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) { in mangleLocalName()
1533 void CXXNameMangler::mangleBlockForPrefix(const BlockDecl *Block) { in mangleBlockForPrefix()
1547 void CXXNameMangler::mangleUnqualifiedBlock(const BlockDecl *Block) { in mangleUnqualifiedBlock()
DItaniumCXXABI.cpp73 unsigned getManglingNumber(const BlockDecl *BD) override { in getManglingNumber()
DDecl.cpp304 if (isa<FunctionDecl>(DC) || isa<BlockDecl>(DC)) in getOutermostFuncOrBlockContext()
1194 if (const auto *BD = dyn_cast<BlockDecl>(OuterD)) { in getLVForLocalDecl()
3876 void BlockDecl::setParams(ArrayRef<ParmVarDecl *> NewParamInfo) { in setParams()
3887 void BlockDecl::setCaptures(ASTContext &Context, ArrayRef<Capture> Captures, in setCaptures()
3900 bool BlockDecl::capturesVariable(const VarDecl *variable) const { in capturesVariable()
3909 SourceRange BlockDecl::getSourceRange() const { in getSourceRange()
4049 BlockDecl *BlockDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation L) { in Create()
4050 return new (C, DC) BlockDecl(DC, L); in Create()
4053 BlockDecl *BlockDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
4054 return new (C, ID) BlockDecl(nullptr, SourceLocation()); in CreateDeserialized()
/external/clang/include/clang/Analysis/
DAnalysisContext.h86 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/
DAnalysisDeclContext.cpp118 } 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()
DCallGraph.cpp95 if (BlockDecl *BD = dyn_cast<BlockDecl>(D)) in addNodesForBlocks()
/external/clang/lib/CodeGen/
DCGBlocks.h230 const BlockDecl *Block;
264 const BlockDecl *getBlockDecl() const { return Block; } in getBlockDecl()
271 CGBlockInfo(const BlockDecl *blockDecl, StringRef Name);
DCodeGenPGO.cpp276 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()
DCGBlocks.cpp30 CGBlockInfo::CGBlockInfo(const BlockDecl *block, StringRef name) in CGBlockInfo()
195 const BlockDecl::Capture *Capture; // null for 'this'
200 const BlockDecl::Capture *capture, in BlockLayoutChunk()
324 const BlockDecl *block = info.getBlockDecl(); in computeBlockInfo()
562 static void enterBlockScope(CodeGenFunction &CGF, BlockDecl *block) { in enterBlockScope()
648 const BlockDecl *block) { in findAndRemoveBlockInfo()
756 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in EmitBlockLiteral()
1144 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateBlockFunction()
1171 ImplicitParamDecl selfDecl(getContext(), const_cast<BlockDecl*>(blockDecl), in GenerateBlockFunction()
1372 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateCopyHelperFunction()
[all …]
/external/clang/lib/ARCMigrate/
DTransBlockObjCVariable.cpp78 bool VisitBlockDecl(BlockDecl *block) { in VisitBlockDecl()
119 bool TraverseBlockDecl(BlockDecl *block) { in TraverseBlockDecl()
DTransZeroOutPropsInDealloc.cpp144 bool TraverseBlockDecl(BlockDecl *block) { return true; } in TraverseBlockDecl()
DTransforms.h21 class BlockDecl; variable
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp277 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()
DCheckerContext.cpp41 if (isa<BlockDecl>(D)) in getDeclDescription()
DMemRegion.cpp368 const BlockDecl *BD, CanQualType, in ProfileRegion()
875 else if (const BlockDecl *BD = dyn_cast<BlockDecl>(STCD)) { in getVarRegion()
915 const BlockDecl *BD = BC->getDecl(); in getBlockDataRegion()
988 MemRegionManager::getBlockCodeRegion(const BlockDecl *BD, CanQualType locTy, in getBlockCodeRegion()
/external/clang/test/Misc/
Dast-dump-stmt.m8 // CHECK-NEXT: BlockDecl
/external/clang/include/clang/Sema/
DScopeInfo.h32 class BlockDecl; variable
599 BlockDecl *TheDecl;
609 BlockScopeInfo(DiagnosticsEngine &Diag, Scope *BlockScope, BlockDecl *Block) in BlockScopeInfo()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DMemRegion.h589 const BlockDecl *BD;
593 BlockCodeRegion(const BlockDecl *bd, CanQualType lTy, in BlockCodeRegion()
602 const BlockDecl *getDecl() const { in getDecl()
612 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const BlockDecl *BD,
644 const BlockDecl *getDecl() const { return BC->getDecl(); } in getDecl()
1261 const BlockCodeRegion *getBlockCodeRegion(const BlockDecl *BD,
/external/clang/lib/StaticAnalyzer/Checkers/
DReturnUndefChecker.cpp64 if (RT.isNull() && isa<BlockDecl>(SFC->getDecl()) && in checkPreStmt()
DAnalyzerStatsChecker.cpp101 else if (isa<BlockDecl>(D)) { in checkEndAnalysis()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp75 void BuildScopeInformation(VarDecl *D, const BlockDecl *BDecl,
234 const BlockDecl *BDecl, in BuildScopeInformation()
504 const BlockDecl *BDecl = EWC->getObject(i); in BuildScopeInformation()

1234