Analyses

IR verification

LLVM.verifyFunction
verify(mod::Module)
verify(f::Function)

Verify the module or function mod or f. If verification fails, an exception is thrown.

source

Dominator and post-dominator

LLVM.dominatesFunction
dominates(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.

source