Home
last modified time | relevance | path

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

123

/external/clang/include/clang/AST/
DMangle.h27 class BlockDecl; variable
55 llvm::DenseMap<const BlockDecl*, unsigned> GlobalBlockIds;
56 llvm::DenseMap<const BlockDecl*, unsigned> LocalBlockIds;
75 unsigned getBlockId(const BlockDecl *BD, bool Local) { in getBlockId()
76 llvm::DenseMap<const BlockDecl *, unsigned> &BlockIds in getBlockId()
78 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,
DMangleNumberingContext.h24 class BlockDecl; variable
43 virtual unsigned getManglingNumber(const BlockDecl *BD) = 0;
DGlobalDecl.h43 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.cpp62 if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) { in getEffectiveDeclContext()
88 return isa<FunctionDecl>(DC) || isa<ObjCMethodDecl>(DC) || isa<BlockDecl>(DC); in isLocalContainerContext()
350 void mangleBlockForPrefix(const BlockDecl *Block);
351 void mangleUnqualifiedBlock(const BlockDecl *Block);
1145 assert(isa<NamedDecl>(D) || isa<BlockDecl>(D)); in mangleLocalName()
1153 else if (const BlockDecl *BD = dyn_cast<BlockDecl>(DC)) in mangleLocalName()
1185 } else if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) { in mangleLocalName()
1192 } else if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) { in mangleLocalName()
1223 void CXXNameMangler::mangleBlockForPrefix(const BlockDecl *Block) { in mangleBlockForPrefix()
1237 void CXXNameMangler::mangleUnqualifiedBlock(const BlockDecl *Block) { in mangleUnqualifiedBlock()
DItaniumCXXABI.cpp73 unsigned getManglingNumber(const BlockDecl *BD) override { in getManglingNumber()
DDecl.cpp303 if (isa<FunctionDecl>(DC) || isa<BlockDecl>(DC)) in getOutermostFuncOrBlockContext()
1191 if (const auto *BD = dyn_cast<BlockDecl>(OuterD)) { in getLVForLocalDecl()
3750 void BlockDecl::setParams(ArrayRef<ParmVarDecl *> NewParamInfo) { in setParams()
3761 void BlockDecl::setCaptures(ASTContext &Context, ArrayRef<Capture> Captures, in setCaptures()
3774 bool BlockDecl::capturesVariable(const VarDecl *variable) const { in capturesVariable()
3783 SourceRange BlockDecl::getSourceRange() const { in getSourceRange()
3876 BlockDecl *BlockDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation L) { in Create()
3877 return new (C, DC) BlockDecl(DC, L); in Create()
3880 BlockDecl *BlockDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
3881 return new (C, ID) BlockDecl(nullptr, SourceLocation()); in CreateDeserialized()
DMicrosoftCXXABI.cpp45 unsigned getManglingNumber(const BlockDecl *BD) override { in getManglingNumber()
/external/clang/include/clang/Analysis/
DAnalysisContext.h86 llvm::DenseMap<const BlockDecl*,void*> *ReferencedBlockVars;
177 getReferencedBlockVars(const BlockDecl *BD);
190 const BlockDecl *BD,
342 const BlockDecl *BD;
351 const BlockDecl *bd, const void *contextData) in BlockInvocationContext()
357 const BlockDecl *getBlockDecl() const { return BD; } in getBlockDecl()
364 const LocationContext *parent, const BlockDecl *bd, in Profile()
392 const BlockDecl *BD,
/external/clang/lib/Analysis/
DAnalysisDeclContext.cpp112 } else if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) in getBody()
142 if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) { in getSelfDecl()
314 const clang::BlockDecl *BD, in getBlockInvocationContext()
402 const BlockDecl *BD, in getBlockInvocationContext()
527 static DeclVec* LazyInitializeReferencedDecls(const BlockDecl *BD, in LazyInitializeReferencedDecls()
551 AnalysisDeclContext::getReferencedBlockVars(const BlockDecl *BD) { in getReferencedBlockVars()
553 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.cpp271 void VisitBlockDecl(const BlockDecl *D) { in VisitBlockDecl()
647 else if (const BlockDecl *BD = dyn_cast_or_null<BlockDecl>(D)) in mapRegionCounters()
648 Walker.TraverseDecl(const_cast<BlockDecl *>(BD)); in mapRegionCounters()
712 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()
319 const BlockDecl *block = info.getBlockDecl(); in computeBlockInfo()
557 static void enterBlockScope(CodeGenFunction &CGF, BlockDecl *block) { in enterBlockScope()
643 const BlockDecl *block) { in findAndRemoveBlockInfo()
751 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in EmitBlockLiteral()
1141 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateBlockFunction()
1168 ImplicitParamDecl selfDecl(getContext(), const_cast<BlockDecl*>(blockDecl), in GenerateBlockFunction()
1370 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()
DTransforms.h21 class BlockDecl; variable
DTransZeroOutPropsInDealloc.cpp144 bool TraverseBlockDecl(BlockDecl *block) { return true; } in TraverseBlockDecl()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp267 if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) { in getDeclaredResultType()
297 if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) in isVariadic()
586 const BlockDecl *D = getDecl(); in parameters()
615 Params = cast<BlockDecl>(CalleeCtx->getDecl())->parameters(); in getInitialStackFrameContents()
DMemRegion.cpp372 const BlockDecl *BD, CanQualType, in ProfileRegion()
819 else if (const BlockDecl *BD = dyn_cast<BlockDecl>(STCD)) { in getVarRegion()
859 const BlockDecl *BD = BC->getDecl(); in getBlockDataRegion()
934 MemRegionManager::getBlockTextRegion(const BlockDecl *BD, CanQualType locTy, in getBlockTextRegion()
/external/clang/test/Misc/
Dast-dump-stmt.m8 // CHECK-NEXT: BlockDecl
/external/clang/include/clang/Sema/
DScopeInfo.h31 class BlockDecl; variable
571 BlockDecl *TheDecl;
581 BlockScopeInfo(DiagnosticsEngine &Diag, Scope *BlockScope, BlockDecl *Block) in BlockScopeInfo()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DMemRegion.h593 const BlockDecl *BD;
597 BlockTextRegion(const BlockDecl *bd, CanQualType lTy, in BlockTextRegion()
606 const BlockDecl *getDecl() const { in getDecl()
616 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const BlockDecl *BD,
648 const BlockDecl *getDecl() const { return BC->getDecl(); } in getDecl()
1265 const BlockTextRegion *getBlockTextRegion(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()
488 const BlockDecl *BDecl = EWC->getObject(i); in BuildScopeInformation()

123