tvm
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
expr.h File Reference

TIR expressions. More...

#include <tvm/ffi/container/array.h>
#include <tvm/ffi/container/map.h>
#include <tvm/ffi/dtype.h>
#include <tvm/ffi/string.h>
#include <tvm/ir/attrs.h>
#include <tvm/ir/cow.h>
#include <tvm/ir/expr.h>
#include <tvm/ir/object_functor.h>
#include <tvm/ir/prim/vector_expr.h>
#include <tvm/runtime/base.h>
#include <algorithm>
#include <iostream>
#include <limits>
#include <string>
#include <unordered_map>
#include <utility>
Include dependency graph for expr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tvm::prim::CastObj
 Cast value from one data type to another. More...
 
class  tvm::prim::Cast
 Managed reference to CastObj. More...
 
class  tvm::prim::BinaryOpObj< T >
 Base template to implement binary ops. More...
 
class  tvm::prim::AddObj
 a + b More...
 
class  tvm::prim::Add
 Managed reference to AddObj. More...
 
class  tvm::prim::LShiftObj
 a << b More...
 
class  tvm::prim::LShift
 Managed reference to LShiftObj. More...
 
class  tvm::prim::RShiftObj
 a >> b More...
 
class  tvm::prim::RShift
 Managed reference to RShiftObj. More...
 
class  tvm::prim::BitwiseAndObj
 a & b More...
 
class  tvm::prim::BitwiseAnd
 Managed reference to BitwiseAndObj. More...
 
class  tvm::prim::BitwiseOrObj
 a | b More...
 
class  tvm::prim::BitwiseOr
 Managed reference to BitwiseOrObj. More...
 
class  tvm::prim::BitwiseXorObj
 a ^ b More...
 
class  tvm::prim::BitwiseXor
 Managed reference to BitwiseXorObj. More...
 
class  tvm::prim::SubObj
 a - b More...
 
class  tvm::prim::Sub
 Managed reference to SubObj. More...
 
class  tvm::prim::MulObj
 a * b More...
 
class  tvm::prim::Mul
 Managed reference to MulObj. More...
 
class  tvm::prim::DivObj
 a / b in the C semnatics. More...
 
class  tvm::prim::Div
 Managed reference to DivObj. More...
 
class  tvm::prim::ModObj
 a % b in the C semnatics. More...
 
class  tvm::prim::Mod
 Managed reference to ModObj. More...
 
class  tvm::prim::FloorDivObj
 Floor division, floor(a/b) More...
 
class  tvm::prim::FloorDiv
 Managed reference to FloorDivObj. More...
 
class  tvm::prim::FloorModObj
 The remainder of the floordiv. More...
 
class  tvm::prim::FloorMod
 Managed reference to FloorModObj. More...
 
class  tvm::prim::MinObj
 min(a, b) More...
 
class  tvm::prim::Min
 Managed reference to MinObj. More...
 
class  tvm::prim::MaxObj
 max(a, b) More...
 
class  tvm::prim::Max
 Managed reference to MaxObj. More...
 
class  tvm::prim::CmpOpObj< T >
 Base template to implement comparison ops. More...
 
class  tvm::prim::EQObj
 a == b More...
 
class  tvm::prim::EQ
 Managed reference to EQObj. More...
 
class  tvm::prim::NEObj
 a != b More...
 
class  tvm::prim::NE
 Managed reference to NEObj. More...
 
class  tvm::prim::LTObj
 a < b More...
 
class  tvm::prim::LT
 Managed reference to LTObj. More...
 
struct  tvm::prim::LEObj
 a <= b More...
 
class  tvm::prim::LE
 Managed reference to LEObj. More...
 
class  tvm::prim::GTObj
 a > b More...
 
class  tvm::prim::GT
 Managed reference to GTObj. More...
 
class  tvm::prim::GEObj
 a >= b More...
 
class  tvm::prim::GE
 Managed reference to GEObj. More...
 
class  tvm::prim::AndObj
 a && b More...
 
class  tvm::prim::And
 Managed reference to AndObj. More...
 
class  tvm::prim::OrObj
 a || b More...
 
class  tvm::prim::Or
 Managed reference to OrObj. More...
 
class  tvm::prim::NotObj
 !a More...
 
class  tvm::prim::Not
 Managed reference to NotObj. More...
 
class  tvm::prim::BitwiseNotObj
 ~a More...
 
class  tvm::prim::BitwiseNot
 Managed reference to BitwiseNotObj. More...
 
class  tvm::prim::SelectObj
 return true_value if condition is true, otherwise return false_value. More...
 
class  tvm::prim::Select
 Managed reference to SelectObj. More...
 
class  tvm::prim::LetObj
 Let binding. Bind var to value then evaluate body. More...
 
class  tvm::prim::Let
 Managed reference to LetObj. More...
 
struct  tvm::prim::ExprDeepEqual
 Compare two expressions recursively and check if they are equal to each other without var remapping. More...
 

Namespaces

namespace  tvm
 An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
 
namespace  tvm::prim
 
namespace  tvm::ffi
 

Typedefs

using tvm::prim::IntImmObj = tvm::IntImmObj
 
using tvm::prim::FloatImmObj = tvm::FloatImmObj
 

Functions

template<typename K , typename V >
std::unordered_map< K, V > tvm::prim::as_unordered_map (const ffi::Map< K, V > &dmap)
 

Detailed Description

TIR expressions.