FreeTensor
Loading...
Searching...
No Matches
normalize_conditional_expr.h
Go to the documentation of this file.
1#ifndef FREE_TENSOR_NORMALIZE_CONDITIONAL_EXPR_H
2#define FREE_TENSOR_NORMALIZE_CONDITIONAL_EXPR_H
3
4#include <vector>
5
6#include <expr.h>
7
8namespace freetensor {
9
22std::vector<std::pair<Expr /* value */, Expr /* condition, maybe null */>>
24
37std::vector<
38 std::pair<std::vector<Expr> /* values */, Expr /* condition, maybe null */>>
39normalizeConditionalExprList(const std::vector<Expr> &exprs);
40
41} // namespace freetensor
42
43#endif // FREE_TENSOR_NORMALIZE_CONDITIONAL_EXPR_H
Definition: allocator.h:9
std::vector< std::pair< std::vector< Expr >, Expr > > normalizeConditionalExprList(const std::vector< Expr > &exprs)
Definition: normalize_conditional_expr.cc:186
Ref< ExprNode > Expr
Definition: ast.h:184
std::vector< std::pair< Expr, Expr > > normalizeConditionalExpr(const Expr &expr)
Definition: normalize_conditional_expr.cc:176