Lines Matching refs:BlockAction

625 struct BlockAction {  struct
626 static BlockAction getCreate(Block *block) { in getCreate() argument
629 static BlockAction getErase(Block *block, BlockPosition originalPosition) { in getErase() argument
632 static BlockAction getMerge(Block *block, Block *sourceBlock) { in getMerge() argument
633 BlockAction action{BlockActionKind::Merge, block, {}}; in getMerge()
637 static BlockAction getMove(Block *block, BlockPosition originalPosition) { in getMove() argument
640 static BlockAction getSplit(Block *block, Block *originalBlock) { in getSplit() argument
641 BlockAction action{BlockActionKind::Split, block, {}}; in getSplit()
645 static BlockAction getTypeConversion(Block *block) { in getTypeConversion() argument
646 return BlockAction{BlockActionKind::TypeConversion, block, {}}; in getTypeConversion()
794 SmallVector<BlockAction, 4> blockActions;
1119 blockActions.push_back(BlockAction::getTypeConversion(newBlock)); in convertBlockSignature()
1189 blockActions.push_back(BlockAction::getErase(block, {region, origPrevBlock})); in notifyBlockIsBeingErased()
1193 blockActions.push_back(BlockAction::getCreate(block)); in notifyCreatedBlock()
1198 blockActions.push_back(BlockAction::getSplit(continuation, block)); in notifySplitBlock()
1203 blockActions.push_back(BlockAction::getMerge(block, srcBlock)); in notifyBlocksBeingMerged()
1213 BlockAction::getMove(laterBlock, {&region, &earlierBlock})); in notifyRegionIsBeingInlinedBefore()
1216 blockActions.push_back(BlockAction::getMove(laterBlock, {&region, nullptr})); in notifyRegionIsBeingInlinedBefore()
1222 blockActions.push_back(BlockAction::getCreate(&block)); in notifyRegionWasClonedBefore()