SkillAgentSearch skills...

IRViz.jl

Tools for visualizing Julia IR

Install / Use

/learn @JuliaComputing/IRViz.jl
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

IRViz

Build Status

IRViz is about generating visualizations of the code that the Julia Compiler is generating.

Getting started

There is one function in the package right now: viz, it takes a CodeInfo as input and makes a connected graph visualization of the code flow graph.

julia> using IRViz

julia> function foo()
           x = 1
           y = 1
           while x < 100
               x*=2
               y+=1
           end
           return y
       end
foo (generic function with 1 method)

julia> viz(@code_typed optimize=false foo())

Would create the output: Graph showing loop of blocks

See also:

Related Skills

View on GitHub
GitHub Stars45
CategoryDevelopment
Updated1y ago
Forks0

Languages

Julia

Security Score

75/100

Audited on Dec 12, 2024

No findings