Home
last modified time | relevance | path

Searched refs:blockDecl (Results 1 – 13 of 13) sorted by relevance

/external/clang/lib/CodeGen/
DCGBlocks.cpp756 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in EmitBlockLiteral() local
759 if (blockDecl->capturesCXXThis()) { in EmitBlockLiteral()
766 for (const auto &CI : blockDecl->captures()) { in EmitBlockLiteral()
784 if (blockDecl->isConversionFromLambda()) { in EmitBlockLiteral()
829 if (blockDecl->isConversionFromLambda()) { in EmitBlockLiteral()
1144 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateBlockFunction() local
1171 ImplicitParamDecl selfDecl(getContext(), const_cast<BlockDecl*>(blockDecl), in GenerateBlockFunction()
1176 args.append(blockDecl->param_begin(), blockDecl->param_end()); in GenerateBlockFunction()
1187 StringRef name = CGM.getBlockMangledName(GD, blockDecl); in GenerateBlockFunction()
1190 CGM.SetInternalFunctionAttributes(blockDecl, fn, fnInfo); in GenerateBlockFunction()
[all …]
DCGBlocks.h271 CGBlockInfo(const BlockDecl *blockDecl, StringRef Name);
DCGDebugInfo.cpp3356 const BlockDecl *blockDecl = block.getBlockDecl(); in EmitDeclareOfBlockLiteralArgVariable() local
3359 SourceLocation loc = blockDecl->getCaretLocation(); in EmitDeclareOfBlockLiteralArgVariable()
3365 getDeclContextDescriptor(blockDecl); in EmitDeclareOfBlockLiteralArgVariable()
3396 if (blockDecl->capturesCXXThis()) { in EmitDeclareOfBlockLiteralArgVariable()
3405 for (const auto &capture : blockDecl->captures()) { in EmitDeclareOfBlockLiteralArgVariable()
3433 cast_or_null<CXXMethodDecl>(blockDecl->getNonClosureContext())) in EmitDeclareOfBlockLiteralArgVariable()
3435 else if (auto *RDecl = dyn_cast<CXXRecordDecl>(blockDecl->getParent())) in EmitDeclareOfBlockLiteralArgVariable()
DCGObjCMac.cpp2105 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in visitBlock() local
2113 for (const auto &CI : blockDecl->captures()) { in visitBlock()
2597 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in BuildRCBlockLayout() local
2610 for (const auto &CI : blockDecl->captures()) { in BuildRCBlockLayout()
/external/llvm-project/clang/lib/CodeGen/
DCGBlocks.cpp900 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in EmitBlockLiteral() local
903 if (blockDecl->capturesCXXThis()) { in EmitBlockLiteral()
910 for (const auto &CI : blockDecl->captures()) { in EmitBlockLiteral()
927 if (blockDecl->isConversionFromLambda()) { in EmitBlockLiteral()
971 if (blockDecl->isConversionFromLambda()) { in EmitBlockLiteral()
1083 if (BD == blockDecl) in EmitBlockLiteral()
1444 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateBlockFunction() local
1480 ImplicitParamDecl SelfDecl(getContext(), const_cast<BlockDecl *>(blockDecl), in GenerateBlockFunction()
1486 args.append(blockDecl->param_begin(), blockDecl->param_end()); in GenerateBlockFunction()
1497 StringRef name = CGM.getBlockMangledName(GD, blockDecl); in GenerateBlockFunction()
[all …]
DCGBlocks.h283 CGBlockInfo(const BlockDecl *blockDecl, StringRef Name);
DCGDebugInfo.cpp4472 const BlockDecl *blockDecl = block.getBlockDecl(); in EmitDeclareOfBlockLiteralArgVariable() local
4475 SourceLocation loc = blockDecl->getCaretLocation(); in EmitDeclareOfBlockLiteralArgVariable()
4481 getDeclContextDescriptor(blockDecl); in EmitDeclareOfBlockLiteralArgVariable()
4495 if (blockDecl->capturesCXXThis()) { in EmitDeclareOfBlockLiteralArgVariable()
4504 for (const auto &capture : blockDecl->captures()) { in EmitDeclareOfBlockLiteralArgVariable()
4530 cast_or_null<CXXMethodDecl>(blockDecl->getNonClosureContext())) in EmitDeclareOfBlockLiteralArgVariable()
4532 else if (auto *RDecl = dyn_cast<CXXRecordDecl>(blockDecl->getParent())) in EmitDeclareOfBlockLiteralArgVariable()
DCGObjCMac.cpp2407 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in visitBlock() local
2415 for (const auto &CI : blockDecl->captures()) { in visitBlock()
2931 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in fillRunSkipBlockVars() local
2944 for (const auto &CI : blockDecl->captures()) { in fillRunSkipBlockVars()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DObjCAutoreleaseWriteChecker.cpp225 blockDecl(HasParamAndWritesInMarkedFuncM))); in checkASTCodeBody()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp148 REGISTER_MATCHER(blockDecl); in RegistryMaps()
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp813 blockDecl; variable
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp922 blockDecl(hasParameter(0, hasName("p"))))); in TEST()
955 blockDecl(hasAnyParameter(hasName("p"))))); in TEST()
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h1574 blockDecl;