LLVM API Documentation
#include <SparsePropagation.h>
Collaboration diagram for llvm::AbstractLatticeFunction:

Public Types | |
| typedef void * | LatticeVal |
Public Member Functions | |
| AbstractLatticeFunction (LatticeVal undefVal, LatticeVal overdefinedVal, LatticeVal untrackedVal) | |
| virtual | ~AbstractLatticeFunction () |
| LatticeVal | getUndefVal () const |
| LatticeVal | getOverdefinedVal () const |
| LatticeVal | getUntrackedVal () const |
| virtual bool | IsUntrackedValue (Value *V) |
| virtual LatticeVal | ComputeConstant (Constant *C) |
| virtual Constant * | GetConstant (LatticeVal LV, Value *Val, SparseSolver &SS) |
| virtual LatticeVal | ComputeArgument (Argument *I) |
| virtual LatticeVal | MergeValues (LatticeVal X, LatticeVal Y) |
| virtual LatticeVal | ComputeInstructionState (Instruction &I, SparseSolver &SS) |
| virtual void | PrintValue (LatticeVal V, std::ostream &OS) |
| PrintValue - Render the specified lattice value to the specified stream. | |
Definition at line 42 of file SparsePropagation.h.
|
|
Definition at line 44 of file SparsePropagation.h. |
|
||||||||||||||||
|
Definition at line 48 of file SparsePropagation.h. |
|
|
Definition at line 27 of file SparsePropagation.cpp. |
|
|
ComputeArgument - Given a formal argument value, compute and return a lattice value corresponding to the specified argument. Definition at line 82 of file SparsePropagation.h. References LatticeVal. Referenced by llvm::SparseSolver::getOrInitValueState(). |
|
|
ComputeConstant - Given a constant value, compute and return a lattice value corresponding to the specified constant. Definition at line 69 of file SparsePropagation.h. References LatticeVal. Referenced by llvm::SparseSolver::getOrInitValueState(). |
|
||||||||||||
|
ComputeInstructionState - Given an instruction and a vector of its operand values, compute the result value of the instruction. Definition at line 95 of file SparsePropagation.h. References LatticeVal. |
|
||||||||||||||||
|
GetConstant - If the specified lattice value is representable as an LLVM constant value, return it. Otherwise return null. The returned value must be in the same LLVM type as Val. Definition at line 76 of file SparsePropagation.h. |
|
|
Definition at line 57 of file SparsePropagation.h. References LatticeVal. Referenced by llvm::SparseSolver::getOrInitValueState(). |
|
|
Definition at line 56 of file SparsePropagation.h. References LatticeVal. Referenced by llvm::SparseSolver::getOrInitValueState(). |
|
|
Definition at line 58 of file SparsePropagation.h. References LatticeVal. Referenced by llvm::SparseSolver::getLatticeState(), and llvm::SparseSolver::getOrInitValueState(). |
|
|
IsUntrackedValue - If the specified Value is something that is obviously uninteresting to the analysis (and would always return UntrackedVal), this function can return true to avoid pointless work. Definition at line 63 of file SparsePropagation.h. Referenced by llvm::SparseSolver::getOrInitValueState(). |
|
||||||||||||
|
MergeValues - Compute and return the merge of the two specified lattice values. Merging should only move one direction down the lattice to guarantee convergence (toward overdefined). Definition at line 89 of file SparsePropagation.h. References LatticeVal. |
|
||||||||||||
|
PrintValue - Render the specified lattice value to the specified stream.
Definition at line 30 of file SparsePropagation.cpp. Referenced by llvm::SparseSolver::Print(). |