Home
last modified time | relevance | path

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

123

/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A 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,
H A DMangleNumberingContext.h24 class BlockDecl; variable
43 virtual unsigned getManglingNumber(const BlockDecl *BD) = 0;
H A DGlobalDecl.h43 GlobalDecl(const BlockDecl *D) { Init(D); } in GlobalDecl()
/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DMangle.cpp41 const BlockDecl *BD, in mangleFunctionBlock()
186 void MangleContext::mangleGlobalBlock(const BlockDecl *BD, in mangleGlobalBlock()
204 CXXCtorType CT, const BlockDecl *BD, in mangleCtorBlock()
214 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 DItaniumCXXABI.cpp73 unsigned getManglingNumber(const BlockDecl *BD) override { in getManglingNumber()
H A DItaniumMangle.cpp62 if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) { in getEffectiveDeclContext()
80 return isa<FunctionDecl>(DC) || isa<ObjCMethodDecl>(DC) || isa<BlockDecl>(DC); in isLocalContainerContext()
340 void mangleBlockForPrefix(const BlockDecl *Block);
341 void mangleUnqualifiedBlock(const BlockDecl *Block);
1289 assert(isa<NamedDecl>(D) || isa<BlockDecl>(D)); in mangleLocalName()
1297 else if (const BlockDecl *BD = dyn_cast<BlockDecl>(DC)) in mangleLocalName()
1329 } else if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) { in mangleLocalName()
1336 } else if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) { in mangleLocalName()
1367 void CXXNameMangler::mangleBlockForPrefix(const BlockDecl *Block) { in mangleBlockForPrefix()
1381 void CXXNameMangler::mangleUnqualifiedBlock(const BlockDecl *Block) { in mangleUnqualifiedBlock()
H A DMicrosoftCXXABI.cpp44 unsigned getManglingNumber(const BlockDecl *BD) override { in getManglingNumber()
H A DDecl.cpp298 if (isa<FunctionDecl>(DC) || isa<BlockDecl>(DC)) in getOutermostFuncOrBlockContext()
1186 if (const BlockDecl *BD = dyn_cast<BlockDecl>(OuterD)) { in getLVForLocalDecl()
3694 void BlockDecl::setParams(ArrayRef<ParmVarDecl *> NewParamInfo) { in setParams()
3705 void BlockDecl::setCaptures(ASTContext &Context, in setCaptures()
3727 bool BlockDecl::capturesVariable(const VarDecl *variable) const { in capturesVariable()
3736 SourceRange BlockDecl::getSourceRange() const { in getSourceRange()
3822 BlockDecl *BlockDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation L) { in Create()
3823 return new (C, DC) BlockDecl(DC, L); in Create()
3826 BlockDecl *BlockDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
3827 return new (C, ID) BlockDecl(nullptr, SourceLocation()); in CreateDeserialized()
/minix3/external/bsd/llvm/dist/clang/include/clang/Analysis/
H A 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,
/minix3/external/bsd/llvm/dist/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp112 } else if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) in getBody()
142 if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) { in getSelfDecl()
297 const clang::BlockDecl *BD, in getBlockInvocationContext()
385 const BlockDecl *BD, in getBlockInvocationContext()
510 static DeclVec* LazyInitializeReferencedDecls(const BlockDecl *BD, in LazyInitializeReferencedDecls()
535 AnalysisDeclContext::getReferencedBlockVars(const BlockDecl *BD) { in getReferencedBlockVars()
537 ReferencedBlockVars = new llvm::DenseMap<const BlockDecl*,void*>(); in getReferencedBlockVars()
H A DCallGraph.cpp95 if (BlockDecl *BD = dyn_cast<BlockDecl>(D)) in addNodesForBlocks()
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGBlocks.h210 const BlockDecl *Block;
243 const BlockDecl *getBlockDecl() const { return Block; } in getBlockDecl()
250 CGBlockInfo(const BlockDecl *blockDecl, StringRef Name);
H A DCodeGenPGO.cpp300 void VisitBlockDecl(const BlockDecl *D) { in VisitBlockDecl()
698 else if (const BlockDecl *BD = dyn_cast_or_null<BlockDecl>(D)) in mapRegionCounters()
699 Walker.TraverseDecl(const_cast<BlockDecl *>(BD)); in mapRegionCounters()
764 else if (const BlockDecl *BD = dyn_cast_or_null<BlockDecl>(D)) in computeRegionCounts()
H A 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()
340 const BlockDecl *block = info.getBlockDecl(); in computeBlockInfo()
572 static void enterBlockScope(CodeGenFunction &CGF, BlockDecl *block) { in enterBlockScope()
658 const BlockDecl *block) { in findAndRemoveBlockInfo()
746 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in EmitBlockLiteral()
1107 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateBlockFunction()
1134 ImplicitParamDecl selfDecl(getContext(), const_cast<BlockDecl*>(blockDecl), in GenerateBlockFunction()
1346 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateCopyHelperFunction()
[all …]
/minix3/external/bsd/llvm/dist/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp78 bool VisitBlockDecl(BlockDecl *block) { in VisitBlockDecl()
119 bool TraverseBlockDecl(BlockDecl *block) { in TraverseBlockDecl()
H A DTransZeroOutPropsInDealloc.cpp144 bool TraverseBlockDecl(BlockDecl *block) { return true; } in TraverseBlockDecl()
H A DTransforms.h21 class BlockDecl; variable
/minix3/external/bsd/llvm/dist/clang/test/Misc/
H A Dast-dump-stmt.m8 // CHECK-NEXT: BlockDecl
/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp249 if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) { in getDeclaredResultType()
279 if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) in isVariadic()
546 const BlockDecl *D = getDecl(); in parameters()
560 const BlockDecl *D = cast<BlockDecl>(CalleeCtx->getDecl()); in getInitialStackFrameContents()
H A DMemRegion.cpp372 const BlockDecl *BD, CanQualType, in ProfileRegion()
819 else if (const BlockDecl *BD = dyn_cast<BlockDecl>(STCD)) { in getVarRegion()
856 const BlockDecl *BD = BC->getDecl(); in getBlockDataRegion()
931 MemRegionManager::getBlockTextRegion(const BlockDecl *BD, CanQualType locTy, in getBlockTextRegion()
/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DReturnUndefChecker.cpp64 if (RT.isNull() && isa<BlockDecl>(SFC->getDecl()) && in checkPreStmt()
H A DAnalyzerStatsChecker.cpp101 else if (isa<BlockDecl>(D)) { in checkEndAnalysis()
/minix3/external/bsd/llvm/dist/clang/include/clang/Sema/
H A DScopeInfo.h31 class BlockDecl; variable
538 BlockDecl *TheDecl;
548 BlockScopeInfo(DiagnosticsEngine &Diag, Scope *BlockScope, BlockDecl *Block) in BlockScopeInfo()
/minix3/external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A 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,
/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DJumpDiagnostics.cpp75 void BuildScopeInformation(VarDecl *D, const BlockDecl *BDecl,
231 const BlockDecl *BDecl, in BuildScopeInformation()
453 const BlockDecl *BDecl = EWC->getObject(i); in BuildScopeInformation()

123