1#pragma once
2
3namespace taichi::lang {
4
5// These two helper functions are targeting cases where x is assumed
6// non-negative but with a signed type so no automatic transformation to bitwise
7// operations can be applied in other compiler passes.
8Stmt *generate_mod(VecStatement *stmts, Stmt *x, int y);
9Stmt *generate_div(VecStatement *stmts, Stmt *x, int y);
10
11} // namespace taichi::lang
12