Home
last modified time | relevance | path

Searched refs:blockDecl (Results 1 – 4 of 4) 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()