Lines Matching refs:blockDecl

750   const BlockDecl *blockDecl = blockInfo.getBlockDecl();  in EmitBlockLiteral()  local
753 if (blockDecl->capturesCXXThis()) { in EmitBlockLiteral()
760 for (const auto &CI : blockDecl->captures()) { in EmitBlockLiteral()
787 } else if (blockDecl->isConversionFromLambda()) { in EmitBlockLiteral()
822 if (blockDecl->isConversionFromLambda()) { in EmitBlockLiteral()
1111 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateBlockFunction() local
1138 ImplicitParamDecl selfDecl(getContext(), const_cast<BlockDecl*>(blockDecl), in GenerateBlockFunction()
1143 args.append(blockDecl->param_begin(), blockDecl->param_end()); in GenerateBlockFunction()
1155 StringRef name = CGM.getBlockMangledName(GD, blockDecl); in GenerateBlockFunction()
1158 CGM.SetInternalFunctionAttributes(blockDecl, fn, fnInfo); in GenerateBlockFunction()
1161 StartFunction(blockDecl, fnType->getReturnType(), fn, fnInfo, args, in GenerateBlockFunction()
1162 blockDecl->getLocation(), in GenerateBlockFunction()
1191 if (blockDecl->capturesCXXThis()) { in GenerateBlockFunction()
1199 for (const auto &CI : blockDecl->captures()) { in GenerateBlockFunction()
1223 PGO.assignRegionCounters(blockDecl, fn); in GenerateBlockFunction()
1224 RegionCounter Cnt = getPGORegionCounter(blockDecl->getBody()); in GenerateBlockFunction()
1226 EmitStmt(blockDecl->getBody()); in GenerateBlockFunction()
1239 for (const auto &CI : blockDecl->captures()) { in GenerateBlockFunction()
1260 cast<CompoundStmt>(blockDecl->getBody())->getRBracLoc()); in GenerateBlockFunction()
1269 FinishFunction(cast<CompoundStmt>(blockDecl->getBody())->getRBracLoc()); in GenerateBlockFunction()
1348 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateCopyHelperFunction() local
1350 for (const auto &CI : blockDecl->captures()) { in GenerateCopyHelperFunction()
1517 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in GenerateDestroyHelperFunction() local
1521 for (const auto &CI : blockDecl->captures()) { in GenerateDestroyHelperFunction()