CalliSourcemodule AbstractDomain : sig ... endmodule AbstractMemory : sig ... endmodule AbstractSemantics : sig ... endmodule Basicblock : sig ... endmodule Bbpool : sig ... endmodule CallGraph : sig ... endmodule CallSiteContext : sig ... endmodule Cfg : sig ... endThe CFG module represents the Control Flow Graph of CaLLi IR.
module Cond : sig ... endmodule Context : sig ... endmodule Dot : sig ... endmodule Env : sig ... endmodule Expr : sig ... endmodule Function : sig ... endmodule Global : sig ... endmodule Icfg : sig ... endmodule Inst : sig ... endmodule LlvmAnalyzer : sig ... endmodule Metadata : sig ... endmodule Module : sig ... endmodule Op : sig ... endmodule Pp : sig ... endmodule States : sig ... endmodule Stmt : sig ... endThe Stmt module is a module that adds additional information to Inst. It includes bb_name (the name of the basicblock to which the instruction belongs), and index (the index of the instruction within the basicblock)
module Term : sig ... endmodule To_dot : sig ... endmodule Transform : sig ... endThe Transform module utilize the LLVM-OCaml binding to convert LLVM IR into CaLLI IR. *
module Transform2 : sig ... endSeperate Call instructions into CallSite and ReturnSite instructions
module Transform3 : sig ... endAdd Prune Node as a first instruction in the next basicblock of the conditional branch
module Transform_meta : sig ... endmodule Transform_select : sig ... endmodule Type : sig ... endmodule Util : sig ... endmodule Val : sig ... endmodule Worklist : sig ... end