llir-opt  0.0.1
Low-Level Post-Link Optimiser for OCaml and C
Static Public Member Functions | List of all members
SCCPEval Class Reference

#include <passes/sccp/eval.h>

Static Public Member Functions

static Lattice Extend (const Lattice &arg, Type ty)
 Performs type conversions, if necessary.
 
static Lattice Eval (UnaryInst *inst, Lattice &arg)
 Evaluates a unary instruction.
 
static Lattice Eval (BinaryInst *inst, Lattice &lhs, Lattice &rhs)
 Evaluates a binary instruction.
 
static Lattice Eval (LoadInst *inst, Lattice &addr)
 Evaluates a load from constant data.
 

Detailed Description

Class implementing SCCP evaluation.


The documentation for this class was generated from the following files: