Lines Matching refs:replaceOpWithNewOp
176 rewriter.replaceOpWithNewOp<BranchOp>(op, dest, destOperands); in simplifyPassThroughBr()
215 rewriter.replaceOpWithNewOp<BranchOp>(condbr, condbr.getTrueDest(), in matchAndRewrite()
221 rewriter.replaceOpWithNewOp<BranchOp>(condbr, condbr.getFalseDest(), in matchAndRewrite()
256 rewriter.replaceOpWithNewOp<CondBranchOp>(condbr, condbr.getCondition(), in matchAndRewrite()
286 rewriter.replaceOpWithNewOp<BranchOp>(condbr, trueDest, trueOperands); in matchAndRewrite()
307 rewriter.replaceOpWithNewOp<BranchOp>(condbr, trueDest, mergedOperands); in matchAndRewrite()
348 rewriter.replaceOpWithNewOp<BranchOp>(condbr, condbr.getTrueDest(), in matchAndRewrite()
351 rewriter.replaceOpWithNewOp<BranchOp>(condbr, condbr.getFalseDest(), in matchAndRewrite()
623 rewriter.replaceOpWithNewOp<BranchOp>(op, op.getDefaultDestination(), in simplifySwitchWithOnlyDefault()
661 rewriter.replaceOpWithNewOp<SwitchOp>( in dropSwitchCasesThatMatchDefault()
679 rewriter.replaceOpWithNewOp<BranchOp>( in foldSwitch()
685 rewriter.replaceOpWithNewOp<BranchOp>(op, op.getDefaultDestination(), in foldSwitch()
747 rewriter.replaceOpWithNewOp<SwitchOp>(op, op.getFlag(), defaultDest, in simplifyPassThroughSwitch()
813 rewriter.replaceOpWithNewOp<BranchOp>(op, op.getDefaultDestination(), in simplifySwitchFromSwitchOnSameCondition()
884 rewriter.replaceOpWithNewOp<SwitchOp>( in simplifySwitchFromDefaultSwitchOnSameCondition()