Lines Matching refs:mergeBlock
2358 mergeBlock = new Block(builder.getUniqueId(), *function); in If()
2372 builder.createBranch(mergeBlock); in makeBeginElse()
2386 builder.createBranch(mergeBlock); in makeEndIf()
2390 builder.createSelectionMerge(mergeBlock, control); in makeEndIf()
2394 builder.createConditionalBranch(condition, thenBlock, mergeBlock); in makeEndIf()
2397 function->addBlock(mergeBlock); in makeEndIf()
2398 builder.setBuildPoint(mergeBlock); in makeEndIf()
2412 Block* mergeBlock = new Block(getUniqueId(), function); in makeSwitch() local
2415 createSelectionMerge(mergeBlock, control); in makeSwitch()
2420 auto defaultOrMerge = (defaultSegment >= 0) ? segmentBlocks[defaultSegment] : mergeBlock; in makeSwitch()
2431 switchMerges.push(mergeBlock); in makeSwitch()
2902 void Builder::createSelectionMerge(Block* mergeBlock, unsigned int control) in createSelectionMerge() argument
2905 merge->addIdOperand(mergeBlock->getId()); in createSelectionMerge()
2910 void Builder::createLoopMerge(Block* mergeBlock, Block* continueBlock, unsigned int control, in createLoopMerge() argument
2914 merge->addIdOperand(mergeBlock->getId()); in createLoopMerge()