Home
last modified time | relevance | path

Searched refs:LatticeVal (Results 1 – 3 of 3) sorted by relevance

/external/llvm/include/llvm/Analysis/
DSparsePropagation.h46 typedef void *LatticeVal; typedef
48 LatticeVal UndefVal, OverdefinedVal, UntrackedVal;
50 AbstractLatticeFunction(LatticeVal undefVal, LatticeVal overdefinedVal, in AbstractLatticeFunction()
51 LatticeVal untrackedVal) { in AbstractLatticeFunction()
58 LatticeVal getUndefVal() const { return UndefVal; } in getUndefVal()
59 LatticeVal getOverdefinedVal() const { return OverdefinedVal; } in getOverdefinedVal()
60 LatticeVal getUntrackedVal() const { return UntrackedVal; } in getUntrackedVal()
71 virtual LatticeVal ComputeConstant(Constant *C) { in ComputeConstant()
84 virtual Constant *GetConstant(LatticeVal LV, Value *Val, SparseSolver &SS) { in GetConstant()
90 virtual LatticeVal ComputeArgument(Argument *I) { in ComputeArgument()
[all …]
/external/llvm/lib/Transforms/Scalar/
DSCCP.cpp57 class LatticeVal { class
85 LatticeVal() : Val(nullptr, undefined) {} in LatticeVal() function in __anon10360b9e0111::LatticeVal
160 DenseMap<Value*, LatticeVal> ValueState; // The state each value is in.
165 DenseMap<std::pair<Value*, unsigned>, LatticeVal> StructValueState;
171 DenseMap<GlobalVariable*, LatticeVal> TrackedGlobals;
176 DenseMap<Function*, LatticeVal> TrackedRetVals;
180 DenseMap<std::pair<Function*, unsigned>, LatticeVal> TrackedMultipleRetVals;
231 LatticeVal &IV = TrackedGlobals[GV]; in TrackValueOfGlobalVariable()
246 LatticeVal())); in AddTrackedFunction()
248 TrackedRetVals.insert(std::make_pair(F, LatticeVal())); in AddTrackedFunction()
[all …]
/external/llvm/lib/Analysis/
DSparsePropagation.cpp32 void AbstractLatticeFunction::PrintValue(LatticeVal V, raw_ostream &OS) { in PrintValue()
53 SparseSolver::LatticeVal SparseSolver::getOrInitValueState(Value *V) { in getOrInitValueState()
54 DenseMap<Value*, LatticeVal>::iterator I = ValueState.find(V); in getOrInitValueState()
57 LatticeVal LV; in getOrInitValueState()
79 void SparseSolver::UpdateState(Instruction &Inst, LatticeVal V) { in UpdateState()
80 DenseMap<Value*, LatticeVal>::iterator I = ValueState.find(&Inst); in UpdateState()
133 LatticeVal BCValue; in getFeasibleSuccessors()
175 LatticeVal SCValue; in getFeasibleSuccessors()
235 LatticeVal IV = LatticeFunc->ComputeInstructionState(PN, *this); in visitPHINode()
241 LatticeVal PNIV = getOrInitValueState(&PN); in visitPHINode()
[all …]