Lines Matching refs:blockDecl
30 CGBlockInfo::CGBlockInfo(const BlockDecl *block, StringRef name)
187 const BlockDecl::Capture *Capture; // null for 'this'
192 const BlockDecl::Capture *capture,
332 const BlockDecl *block = info.getBlockDecl();
357 for (; isa<BlockDecl>(DC); DC = cast<BlockDecl>(DC)->getDeclContext())
376 for (BlockDecl::capture_const_iterator ci = block->capture_begin(),
561 static void enterBlockScope(CodeGenFunction &CGF, BlockDecl *block) {
587 for (BlockDecl::capture_const_iterator ci = block->capture_begin(),
636 /// kind of cleanup object is a BlockDecl*.
648 const BlockDecl *block) {
736 const BlockDecl *blockDecl = blockInfo.getBlockDecl();
739 if (blockDecl->capturesCXXThis()) {
747 for (BlockDecl::capture_const_iterator ci = blockDecl->capture_begin(),
748 ce = blockDecl->capture_end(); ci != ce; ++ci) {
775 } else if (blockDecl->isConversionFromLambda()) {
808 if (blockDecl->isConversionFromLambda()) {
1074 const BlockDecl *blockDecl = blockInfo.getBlockDecl();
1101 ImplicitParamDecl selfDecl(const_cast<BlockDecl*>(blockDecl),
1106 for (BlockDecl::param_const_iterator i = blockDecl->param_begin(),
1107 e = blockDecl->param_end(); i != e; ++i)
1122 CGM.getBlockMangledName(GD, name, blockDecl);
1126 CGM.SetInternalFunctionAttributes(blockDecl, fn, fnInfo);
1129 StartFunction(blockDecl, fnType->getResultType(), fn, fnInfo, args,
1131 CurFuncDecl = outerFnDecl; // StartFunction sets this to blockDecl
1144 if (blockDecl->capturesCXXThis()) {
1182 for (BlockDecl::capture_const_iterator ci = blockDecl->capture_begin(),
1183 ce = blockDecl->capture_end(); ci != ce; ++ci) {
1207 EmitStmt(blockDecl->getBody());
1219 for (BlockDecl::capture_const_iterator ci = blockDecl->capture_begin(),
1220 ce = blockDecl->capture_end(); ci != ce; ++ci) {
1239 cast<CompoundStmt>(blockDecl->getBody())->getRBracLoc());
1248 FinishFunction(cast<CompoundStmt>(blockDecl->getBody())->getRBracLoc());
1329 const BlockDecl *blockDecl = blockInfo.getBlockDecl();
1331 for (BlockDecl::capture_const_iterator ci = blockDecl->capture_begin(),
1332 ce = blockDecl->capture_end(); ci != ce; ++ci) {
1499 const BlockDecl *blockDecl = blockInfo.getBlockDecl();
1503 for (BlockDecl::capture_const_iterator ci = blockDecl->capture_begin(),
1504 ce = blockDecl->capture_end(); ci != ce; ++ci) {