Lines Matching refs:blockDecl
30 CGBlockInfo::CGBlockInfo(const BlockDecl *block, StringRef name)
195 const BlockDecl::Capture *Capture; // null for 'this'
200 const BlockDecl::Capture *capture,
324 const BlockDecl *block = info.getBlockDecl();
562 static void enterBlockScope(CodeGenFunction &CGF, BlockDecl *block) {
636 /// kind of cleanup object is a BlockDecl*.
648 const BlockDecl *block) {
756 const BlockDecl *blockDecl = blockInfo.getBlockDecl();
759 if (blockDecl->capturesCXXThis()) {
766 for (const auto &CI : blockDecl->captures()) {
784 if (blockDecl->isConversionFromLambda()) {
829 if (blockDecl->isConversionFromLambda()) {
1144 const BlockDecl *blockDecl = blockInfo.getBlockDecl();
1171 ImplicitParamDecl selfDecl(getContext(), const_cast<BlockDecl*>(blockDecl),
1176 args.append(blockDecl->param_begin(), blockDecl->param_end());
1187 StringRef name = CGM.getBlockMangledName(GD, blockDecl);
1190 CGM.SetInternalFunctionAttributes(blockDecl, fn, fnInfo);
1193 StartFunction(blockDecl, fnType->getReturnType(), fn, fnInfo, args,
1194 blockDecl->getLocation(),
1216 if (blockDecl->capturesCXXThis()) {
1224 for (const auto &CI : blockDecl->captures()) {
1246 PGO.assignRegionCounters(GlobalDecl(blockDecl), fn);
1247 incrementProfileCounter(blockDecl->getBody());
1248 EmitStmt(blockDecl->getBody());
1261 for (const auto &CI : blockDecl->captures()) {
1282 cast<CompoundStmt>(blockDecl->getBody())->getRBracLoc());
1291 FinishFunction(cast<CompoundStmt>(blockDecl->getBody())->getRBracLoc());
1372 const BlockDecl *blockDecl = blockInfo.getBlockDecl();
1374 for (const auto &CI : blockDecl->captures()) {
1543 const BlockDecl *blockDecl = blockInfo.getBlockDecl();
1547 for (const auto &CI : blockDecl->captures()) {