HomeSort by relevance Sort by last modified time
    Searched refs:LatticeVal (Results 1 - 3 of 3) sorted by null

  /external/llvm/include/llvm/Analysis/
SparsePropagation.h 46 typedef void *LatticeVal;
48 LatticeVal UndefVal, OverdefinedVal, UntrackedVal;
50 AbstractLatticeFunction(LatticeVal undefVal, LatticeVal overdefinedVal,
51 LatticeVal untrackedVal) {
58 LatticeVal getUndefVal() const { return UndefVal; }
59 LatticeVal getOverdefinedVal() const { return OverdefinedVal; }
60 LatticeVal getUntrackedVal() const { return UntrackedVal; }
71 virtual LatticeVal ComputeConstant(Constant *C) {
84 virtual Constant *GetConstant(LatticeVal LV, Value *Val, SparseSolver &SS)
    [all...]
  /external/llvm/lib/Transforms/Scalar/
SCCP.cpp 53 /// LatticeVal class - This class represents the different lattice values that
56 class LatticeVal {
84 LatticeVal() : Val(0, undefined) {}
159 DenseMap<Value*, LatticeVal> ValueState; // The state each value is in.
164 DenseMap<std::pair<Value*, unsigned>, LatticeVal> StructValueState;
170 DenseMap<GlobalVariable*, LatticeVal> TrackedGlobals;
175 DenseMap<Function*, LatticeVal> TrackedRetVals;
179 DenseMap<std::pair<Function*, unsigned>, LatticeVal> TrackedMultipleRetVals;
229 LatticeVal &IV = TrackedGlobals[GV];
244 LatticeVal()));
    [all...]
  /external/llvm/lib/Analysis/
SparsePropagation.cpp 31 void AbstractLatticeFunction::PrintValue(LatticeVal V, raw_ostream &OS) {
46 /// getOrInitValueState - Return the LatticeVal object that corresponds to the
52 SparseSolver::LatticeVal SparseSolver::getOrInitValueState(Value *V) {
53 DenseMap<Value*, LatticeVal>::iterator I = ValueState.find(V);
56 LatticeVal LV;
78 void SparseSolver::UpdateState(Instruction &Inst, LatticeVal V) {
79 DenseMap<Value*, LatticeVal>::iterator I = ValueState.find(&Inst);
132 LatticeVal BCValue;
174 LatticeVal SCValue;
234 LatticeVal IV = LatticeFunc->ComputeInstructionState(PN, *this)
    [all...]

Completed in 594 milliseconds