broadcast 1756 src/CodeGen_LLVM.cpp Expr broadcast = Broadcast::make(op->base, op->lanes); broadcast 1758 src/CodeGen_LLVM.cpp value = codegen(broadcast + ramp); broadcast 1796 src/CodeGen_LLVM.cpp const Broadcast *broadcast = e.as<Broadcast>(); broadcast 1797 src/CodeGen_LLVM.cpp internal_assert(broadcast); broadcast 1798 src/CodeGen_LLVM.cpp return broadcast->value; broadcast 743 src/Deinterleave.cpp Expr broadcast = Broadcast::make(x + 4, 16); broadcast 748 src/Deinterleave.cpp check(broadcast, broadcast_a, broadcast_b); broadcast 2868 src/Simplify.cpp const Broadcast *broadcast = delta.as<Broadcast>(); broadcast 2914 src/Simplify.cpp if (broadcast) { broadcast 2916 src/Simplify.cpp expr = Broadcast::make(mutate(broadcast->value == broadcast 2917 src/Simplify.cpp make_zero(broadcast->value.type())), broadcast 2918 src/Simplify.cpp broadcast->lanes); broadcast 4579 src/Simplify.cpp const Broadcast *broadcast = new_value.as<Broadcast>(); broadcast 4627 src/Simplify.cpp } else if (broadcast) { broadcast 4628 src/Simplify.cpp new_value = broadcast->value; broadcast 4630 src/Simplify.cpp replacement = substitute(new_name, Broadcast::make(new_var, broadcast->lanes), replacement); broadcast 5145 src/Simplify.cpp check(Expr(broadcast(4.0f, 5)) + Expr(ramp(3.25f, 4.5f, 5)), ramp(7.25f, 4.5f, 5)); broadcast 5146 src/Simplify.cpp check(Expr(ramp(3.25f, 4.5f, 5)) + Expr(broadcast(4.0f, 5)), ramp(7.25f, 4.5f, 5)); broadcast 5147 src/Simplify.cpp check(Expr(broadcast(3, 3)) + Expr(broadcast(1, 3)), broadcast(4, 3)); broadcast 5163 src/Simplify.cpp check(Expr(broadcast(4.0f, 5)) - Expr(ramp(3.25f, 4.5f, 5)), ramp(0.75f, -4.5f, 5)); broadcast 5164 src/Simplify.cpp check(Expr(ramp(3.25f, 4.5f, 5)) - Expr(broadcast(4.0f, 5)), ramp(-0.75f, 4.5f, 5)); broadcast 5165 src/Simplify.cpp check(Expr(broadcast(3, 3)) - Expr(broadcast(1, 3)), broadcast(2, 3)); broadcast 5206 src/Simplify.cpp check(Expr(broadcast(4.0f, 5)) * Expr(ramp(3.0f, 4.0f, 5)), ramp(12.0f, 16.0f, 5)); broadcast 5207 src/Simplify.cpp check(Expr(ramp(3.0f, 4.0f, 5)) * Expr(broadcast(2.0f, 5)), ramp(6.0f, 8.0f, 5)); broadcast 5208 src/Simplify.cpp check(Expr(broadcast(3, 3)) * Expr(broadcast(2, 3)), broadcast(6, 3)); broadcast 5338 src/Simplify.cpp check(Expr(broadcast(y, 4)) / Expr(broadcast(x, 4)), broadcast 5339 src/Simplify.cpp Expr(broadcast(y/x, 4))); broadcast 5345 src/Simplify.cpp check(Expr(ramp(4*x, 1, 4)) / 4, broadcast(x, 4)); broadcast 5346 src/Simplify.cpp check(Expr(ramp(x*4, 1, 3)) / 4, broadcast(x, 3)); broadcast 5347 src/Simplify.cpp check(Expr(ramp(x*8, 2, 4)) / 8, broadcast(x, 4)); broadcast 5348 src/Simplify.cpp check(Expr(ramp(x*8, 3, 3)) / 8, broadcast(x, 3)); broadcast 5358 src/Simplify.cpp check(Expr(broadcast(x, 4)) % Expr(broadcast(y, 4)), broadcast 5359 src/Simplify.cpp Expr(broadcast(x % y, 4))); broadcast 5360 src/Simplify.cpp check(Expr(ramp(x, 2, 4)) % (broadcast(2, 4)), broadcast 5361 src/Simplify.cpp broadcast(x % 2, 4)); broadcast 5362 src/Simplify.cpp check(Expr(ramp(2*x+1, 4, 4)) % (broadcast(2, 4)), broadcast 5363 src/Simplify.cpp broadcast(1, 4)); broadcast 5365 src/Simplify.cpp check(ramp(0, 1, 4) == broadcast(2, 4), broadcast 5366 src/Simplify.cpp ramp(-2, 1, 4) == broadcast(0, 4)); broadcast 5371 src/Simplify.cpp broadcast(const_false(), 2)) == broadcast 5372 src/Simplify.cpp broadcast(const_false(), 2); broadcast 5374 src/Simplify.cpp (ramp(const_false(), const_true(), 2) == broadcast(const_false(), 2)); broadcast 5380 src/Simplify.cpp broadcast(const_true(), 2), broadcast 5382 src/Simplify.cpp broadcast(const_false(), 2); broadcast 5384 src/Simplify.cpp (ramp(const_false(), const_true(), 2) == broadcast(const_false(), 2)); broadcast 5394 src/Simplify.cpp check(min(broadcast(x, 4), broadcast(y, 4)), broadcast 5395 src/Simplify.cpp broadcast(min(x, y), 4)); broadcast 5407 src/Simplify.cpp check(max(broadcast(x, 4), broadcast(y, 4)), broadcast 5408 src/Simplify.cpp broadcast(max(x, y), 4)); broadcast 5530 src/Simplify.cpp check(max(ramp(0, 1, 8), 7), broadcast(7, 8)); broadcast 5531 src/Simplify.cpp check(min(ramp(0, 1, 8), 0), broadcast(0, 8)); broadcast 5536 src/Simplify.cpp check(max(ramp(7, -1, 8), 7), broadcast(7, 8)); broadcast 5537 src/Simplify.cpp check(min(ramp(7, -1, 8), 0), broadcast(0, 8)); broadcast 5583 src/Simplify.cpp Expr one = broadcast(cast(Int(16), 1), 64); broadcast 5584 src/Simplify.cpp Expr three = broadcast(cast(Int(16), 3), 64); broadcast 5585 src/Simplify.cpp Expr four = broadcast(cast(Int(16), 4), 64); broadcast 5586 src/Simplify.cpp Expr five = broadcast(cast(Int(16), 5), 64); broadcast 5675 src/Simplify.cpp check(min(min(xv, broadcast(y, 64)), broadcast(z, 64)), min(xv, broadcast(min(y, z), 64))); broadcast 5677 src/Simplify.cpp check(min(min(broadcast(x, 64), yv), broadcast(z, 64)), min(yv, broadcast(min(x, z), 64))); broadcast 5679 src/Simplify.cpp check(min(broadcast(x, 64), min(yv, broadcast(z, 64))), min(yv, broadcast(min(z, x), 64))); broadcast 5681 src/Simplify.cpp check(min(broadcast(x, 64), min(broadcast(y, 64), zv)), min(zv, broadcast(min(y, x), 64))); broadcast 5684 src/Simplify.cpp check(max(max(xv, broadcast(y, 64)), broadcast(z, 64)), max(xv, broadcast(max(y, z), 64))); broadcast 5686 src/Simplify.cpp check(max(max(broadcast(x, 64), yv), broadcast(z, 64)), max(yv, broadcast(max(x, z), 64))); broadcast 5688 src/Simplify.cpp check(max(broadcast(x, 64), max(yv, broadcast(z, 64))), max(yv, broadcast(max(z, x), 64))); broadcast 5690 src/Simplify.cpp check(max(broadcast(x, 64), max(broadcast(y, 64), zv)), max(zv, broadcast(max(y, x), 64))); broadcast 5750 src/Simplify.cpp check(!Expr(broadcast(x > y, 4)), broadcast 5751 src/Simplify.cpp broadcast(x <= y, 4)); broadcast 5759 src/Simplify.cpp check(broadcast(b1, 4) || broadcast(!b1, 4), broadcast(t, 4)); broadcast 5760 src/Simplify.cpp check(broadcast(!b1, 4) || broadcast(b1, 4), broadcast(t, 4)); broadcast 5761 src/Simplify.cpp check(broadcast(b1, 4) && broadcast(!b1, 4), broadcast(f, 4)); broadcast 5762 src/Simplify.cpp check(broadcast(!b1, 4) && broadcast(b1, 4), broadcast(f, 4)); broadcast 5763 src/Simplify.cpp check(broadcast(b1, 4) && broadcast(b1, 4), broadcast(b1, 4)); broadcast 5764 src/Simplify.cpp check(broadcast(b1, 4) || broadcast(b1, 4), broadcast(b1, 4)); broadcast 5867 src/Simplify.cpp check(ramp(x*4, 1, 4) < broadcast(y*4, 4), broadcast(x < y, 4)); broadcast 5868 src/Simplify.cpp check(ramp(x*8, 1, 4) < broadcast(y*8, 4), broadcast(x < y, 4)); broadcast 5869 src/Simplify.cpp check(ramp(x*8 + 1, 1, 4) < broadcast(y*8, 4), broadcast(x < y, 4)); broadcast 5870 src/Simplify.cpp check(ramp(x*8 + 4, 1, 4) < broadcast(y*8, 4), broadcast(x < y, 4)); broadcast 5871 src/Simplify.cpp check(ramp(x*8 + 8, 1, 4) < broadcast(y*8, 4), broadcast(x < y + (-1), 4)); broadcast 5872 src/Simplify.cpp check(ramp(x*8 + 5, 1, 4) < broadcast(y*8, 4), ramp(x*8 + 5, 1, 4) < broadcast(y*8, 4)); broadcast 5873 src/Simplify.cpp check(ramp(x*8 - 1, 1, 4) < broadcast(y*8, 4), ramp(x*8 + (-1), 1, 4) < broadcast(y*8, 4)); broadcast 5874 src/Simplify.cpp check(ramp(x*8, 1, 4) < broadcast(y*4, 4), broadcast(x*2 < y, 4)); broadcast 5875 src/Simplify.cpp check(ramp(x*8, 2, 4) < broadcast(y*8, 4), broadcast(x < y, 4)); broadcast 5876 src/Simplify.cpp check(ramp(x*8 + 1, 2, 4) < broadcast(y*8, 4), broadcast(x < y, 4)); broadcast 5877 src/Simplify.cpp check(ramp(x*8 + 2, 2, 4) < broadcast(y*8, 4), ramp(x*8 + 2, 2, 4) < broadcast(y*8, 4)); broadcast 5878 src/Simplify.cpp check(ramp(x*8, 3, 4) < broadcast(y*8, 4), ramp(x*8, 3, 4) < broadcast(y*8, 4)); broadcast 5879 src/Simplify.cpp check(select(ramp((x/16)*16, 1, 8) < broadcast((y/8)*8, 8), broadcast(1, 8), broadcast(3, 8)), broadcast 5880 src/Simplify.cpp select((x/16)*2 < y/8, broadcast(1, 8), broadcast(3, 8))); broadcast 5882 src/Simplify.cpp check(ramp(x*8, -1, 4) < broadcast(y*8, 4), ramp(x*8, -1, 4) < broadcast(y*8, 4)); broadcast 5883 src/Simplify.cpp check(ramp(x*8 + 1, -1, 4) < broadcast(y*8, 4), ramp(x*8 + 1, -1, 4) < broadcast(y*8, 4)); broadcast 5884 src/Simplify.cpp check(ramp(x*8 + 4, -1, 4) < broadcast(y*8, 4), broadcast(x < y, 4)); broadcast 5885 src/Simplify.cpp check(ramp(x*8 + 8, -1, 4) < broadcast(y*8, 4), ramp(x*8 + 8, -1, 4) < broadcast(y*8, 4)); broadcast 5886 src/Simplify.cpp check(ramp(x*8 + 5, -1, 4) < broadcast(y*8, 4), broadcast(x < y, 4)); broadcast 5887 src/Simplify.cpp check(ramp(x*8 - 1, -1, 4) < broadcast(y*8, 4), broadcast(x < y + 1, 4)); broadcast 6270 src/Simplify.cpp check(Let::make("v", ramp(x*2+7, 3, 4), v + Expr(broadcast(2, 4))), broadcast 6274 src/Simplify.cpp check(Let::make("v", broadcast(x, 4), v + Expr(broadcast(2, 4))), broadcast 6275 src/Simplify.cpp broadcast(x+2, 4)); broadcast 6330 src/Simplify.cpp check_in_bounds(ramp(x, 1, 4) < broadcast( 0, 4), const_false(4), bounds_info); broadcast 6331 src/Simplify.cpp check_in_bounds(ramp(x, 1, 4) < broadcast( 8, 4), const_true(4), bounds_info); broadcast 6332 src/Simplify.cpp check_in_bounds(ramp(x, -1, 4) < broadcast(-4, 4), const_false(4), bounds_info); broadcast 6333 src/Simplify.cpp check_in_bounds(ramp(x, -1, 4) < broadcast( 5, 4), const_true(4), bounds_info); broadcast 6334 src/Simplify.cpp check_in_bounds(min(ramp(x, 1, 4), broadcast( 0, 4)), broadcast(0, 4), bounds_info); broadcast 6335 src/Simplify.cpp check_in_bounds(min(ramp(x, 1, 4), broadcast( 8, 4)), ramp(x, 1, 4), bounds_info); broadcast 6336 src/Simplify.cpp check_in_bounds(min(ramp(x, -1, 4), broadcast(-4, 4)), broadcast(-4, 4), bounds_info); broadcast 6337 src/Simplify.cpp check_in_bounds(min(ramp(x, -1, 4), broadcast( 5, 4)), ramp(x, -1, 4), bounds_info); broadcast 6338 src/Simplify.cpp check_in_bounds(max(ramp(x, 1, 4), broadcast( 0, 4)), ramp(x, 1, 4), bounds_info); broadcast 6339 src/Simplify.cpp check_in_bounds(max(ramp(x, 1, 4), broadcast( 8, 4)), broadcast(8, 4), bounds_info); broadcast 6340 src/Simplify.cpp check_in_bounds(max(ramp(x, -1, 4), broadcast(-4, 4)), ramp(x, -1, 4), bounds_info); broadcast 6341 src/Simplify.cpp check_in_bounds(max(ramp(x, -1, 4), broadcast( 5, 4)), broadcast(5, 4), bounds_info); broadcast 6462 src/Simplify.cpp Expr e = simplify(max(ramp(x, y, 2), broadcast(x, 2)) - max(broadcast(y, 2), ramp(y, y, 2))); broadcast 6463 src/Simplify.cpp Expr expected = max(ramp(x, y, 2), broadcast(x, 2)) - max(ramp(y, y, 2), broadcast(y, 2));