Analyses
IR verification
LLVM.verify
— Functionverify(mod::Module)
verify(f::Function)
Verify the module or function mod
or f
. If verification fails, an exception is thrown.
Dominator and post-dominator
LLVM.DomTree
— TypeDomTree
Dominator tree for a function.
LLVM.dispose
— Methoddispose(::DomTree)
Dispose of a dominator tree.
LLVM.PostDomTree
— TypePostDomTree
Post-dominator tree for a function.
LLVM.dispose
— Methoddispose(tree::PostDomTree)
Dispose of a post-dominator tree.
LLVM.dominates
— Functiondominates(tree::DomTree, A::Instruction, B::Instruction)
dominates(tree::PostDomTree, A::Instruction, B::Instruction)
Check if instruction A
dominates instruction B
in the dominator tree tree
.