Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegCC
/ get_ctx
Method
get_ctx
compiler/lib/CodeGen/GlobalCtx.cpp:39–39 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
37
registerLLVMDialectTranslation(*ctx_ptr);
38
}
39
mlir::MLIRContext* get_ctx() { return ctx_ptr.get(); }
40
41
private:
42
std::unique_ptr<mlir::MLIRContext> ctx_ptr;
Callers
1
getGlobalCTX
Method · 0.80
Calls
1
get
Method · 0.45
Tested by
no test coverage detected