2021-07-28 07:10:10 +08:00
|
|
|
from mlir import _cext_loader
|
|
|
|
_cext_loader._cext.globals.append_dialect_search_prefix("npcomp.dialects")
|
2020-12-30 05:22:18 +08:00
|
|
|
|
2021-07-28 07:10:10 +08:00
|
|
|
_cext = _cext_loader._load_extension("_npcomp")
|
2020-12-30 05:22:18 +08:00
|
|
|
_cext._register_all_passes()
|
|
|
|
_cext._initialize_llvm_codegen()
|
|
|
|
|
2020-05-03 12:54:13 +08:00
|
|
|
# Top-level symbols.
|
|
|
|
from .exporter import *
|
|
|
|
from .types import *
|
|
|
|
|
|
|
|
from . import tracing
|
|
|
|
from . import utils
|