bloqade.rewrite.passes.callgraph.ReplaceMethods
← Module overview
class
method
source
classReplaceMethods¶source
bloqade.rewrite.passes.callgraph.ReplaceMethods
Bases: RewriteRule
class ReplaceMethods(new_symbols: dict[ir.Method, ir.Method])Parameters
| Name | Type | Description |
|---|---|---|
new_symbols | dict[ir.Method, ir.Method] |
Attributes
| Name | Type | Description |
|---|---|---|
new_symbols | dict[ir.Method, ir.Method] |
methodrewrite_Statement¶source
bloqade.rewrite.passes.callgraph.ReplaceMethods.rewrite_Statement
def rewrite_Statement(node: ir.Statement) -> RewriteResultParameters
| Name | Type | Description |
|---|---|---|
node | ir.Statement |
Returns
RewriteResult