TVM is an extensible development platform, with many points of entry to work with, including options for bringing new datatypes and adding lower level custom optimization passes. These how-tos describe some ways that TVM can be extended.
Writing a Customized Pass
How to Use TVM Pass Infra
How to Use TVM Pass Instrument
Bring Your Own Datatypes to TVM