tvm
|
Typedefs | |
using | Pass = tvm::transform::Pass |
Functions | |
Pass | ConvertPoolAllocationsToOffsets (const Map< tir::Stmt, PoolAllocation > &pool_allocations, Bool emit_tvmscript_printable=Bool(false)) |
Convert the analyzed PoolAllocation to offsets from pool variables. More... | |
Pass | AssignPoolInfo () |
Assign PoolInfo objects to tir.allocate nodes depending on the PrimFunc's target. More... | |
Pass | CreateAllocatesForIO () |
This pass creates Allocate nodes for I/O tensors. More... | |
using tvm::tir::usmp::transform::Pass = typedef tvm::transform::Pass |
Pass tvm::tir::usmp::transform::AssignPoolInfo | ( | ) |
Pass tvm::tir::usmp::transform::ConvertPoolAllocationsToOffsets | ( | const Map< tir::Stmt, PoolAllocation > & | pool_allocations, |
Bool | emit_tvmscript_printable = Bool(false) |
||
) |
Convert the analyzed PoolAllocation to offsets from pool variables.
This pass would convert the main function to accept pool variables as an input that get passed onto the operator PrimFuncs. Furthermore, the static allocations will be converted to offsets within the pool variable.
Pass tvm::tir::usmp::transform::CreateAllocatesForIO | ( | ) |