Lines Matching refs:Tile
33 class Tile {
35 Tile() = default;
36 explicit Tile(absl::Span<const int64> dimensions) in Tile() function
40 static Tile CreateFromProto(const TileProto& tile_proto) { in CreateFromProto()
41 return Tile(AsInt64Slice(tile_proto.dimensions())); in CreateFromProto()
45 bool operator==(const Tile& other) const {
48 bool operator!=(const Tile& other) const { return !(*this == other); }
58 Tile& add_dimensions(int64 value) { in add_dimensions()
63 Tile& clear_dimensions() { in clear_dimensions()
88 Layout(absl::Span<const int64> minor_to_major, absl::Span<const Tile> tiles,
172 const Tile& tiles(int index) const { return tiles_.at(index); } in tiles()
173 Tile* mutable_tiles(int index) { return &tiles_.at(index); } in mutable_tiles()
174 Tile* add_tiles() { in add_tiles()
175 tiles_.push_back(Tile()); in add_tiles()
182 const std::vector<Tile>& tiles() const { return tiles_; } in tiles()
183 std::vector<Tile>* mutable_tiles() { return &tiles_; } in mutable_tiles()
223 std::vector<Tile> tiles_;
229 std::ostream& operator<<(std::ostream& out, const Tile& Tile);