MCPcopy Index your code
hub / github.com/python/mypy / lower_ir

Function lower_ir

mypyc/transform/lower.py:22–26  ·  view source on GitHub ↗
(ir: FuncIR, options: CompilerOptions)

Source from the content-addressed store, hash-verified

20
21
22def lower_ir(ir: FuncIR, options: CompilerOptions) -> None:
23 builder = LowLevelIRBuilder(None, options)
24 visitor = LoweringVisitor(builder)
25 visitor.transform_blocks(ir.blocks)
26 ir.blocks = builder.blocks
27
28
29class LoweringVisitor(IRTransform):

Callers 3

run_caseMethod · 0.90
run_caseMethod · 0.90
compile_scc_to_irFunction · 0.90

Calls 3

LowLevelIRBuilderClass · 0.90
LoweringVisitorClass · 0.85
transform_blocksMethod · 0.80

Tested by 2

run_caseMethod · 0.72
run_caseMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…