Searched refs:LatticeVal (Results 1 – 6 of 6) sorted by relevance
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | SparsePropagation.h | 46 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/include/llvm/Analysis/ |
D | SparsePropagation.h | 47 typedef void *LatticeVal; typedef 50 LatticeVal UndefVal, OverdefinedVal, UntrackedVal; 53 AbstractLatticeFunction(LatticeVal undefVal, LatticeVal overdefinedVal, in AbstractLatticeFunction() 54 LatticeVal untrackedVal) { in AbstractLatticeFunction() 61 LatticeVal getUndefVal() const { return UndefVal; } in getUndefVal() 62 LatticeVal getOverdefinedVal() const { return OverdefinedVal; } in getOverdefinedVal() 63 LatticeVal getUntrackedVal() const { return UntrackedVal; } in getUntrackedVal() 72 virtual LatticeVal ComputeConstant(Constant *C) { in ComputeConstant() 83 virtual Constant *GetConstant(LatticeVal LV, Value *Val, SparseSolver &SS) { in GetConstant() 89 virtual LatticeVal ComputeArgument(Argument *I) { in ComputeArgument() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 60 class LatticeVal { class 88 LatticeVal() : Val(nullptr, unknown) {} in LatticeVal() function in __anon357eee1d0111::LatticeVal 163 DenseMap<Value*, LatticeVal> ValueState; // The state each value is in. 168 DenseMap<std::pair<Value*, unsigned>, LatticeVal> StructValueState; 174 DenseMap<GlobalVariable*, LatticeVal> TrackedGlobals; 179 DenseMap<Function*, LatticeVal> TrackedRetVals; 183 DenseMap<std::pair<Function*, unsigned>, LatticeVal> TrackedMultipleRetVals; 234 LatticeVal &IV = TrackedGlobals[GV]; in TrackValueOfGlobalVariable() 249 LatticeVal())); in AddTrackedFunction() 251 TrackedRetVals.insert(std::make_pair(F, LatticeVal())); in AddTrackedFunction() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | SCCP.cpp | 58 class LatticeVal { class 86 LatticeVal() : Val(0, undefined) {} in LatticeVal() function in __anonb057c7490111::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; 233 LatticeVal &IV = TrackedGlobals[GV]; in TrackValueOfGlobalVariable() 248 LatticeVal())); in AddTrackedFunction() 250 TrackedRetVals.insert(std::make_pair(F, LatticeVal())); in AddTrackedFunction() [all …]
|
/external/llvm/lib/Analysis/ |
D | SparsePropagation.cpp | 32 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 …]
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | SparsePropagation.cpp | 31 void AbstractLatticeFunction::PrintValue(LatticeVal V, raw_ostream &OS) { in PrintValue() 52 SparseSolver::LatticeVal SparseSolver::getOrInitValueState(Value *V) { in getOrInitValueState() 53 DenseMap<Value*, LatticeVal>::iterator I = ValueState.find(V); in getOrInitValueState() 56 LatticeVal LV; in getOrInitValueState() 78 void SparseSolver::UpdateState(Instruction &Inst, LatticeVal V) { in UpdateState() 79 DenseMap<Value*, LatticeVal>::iterator I = ValueState.find(&Inst); in UpdateState() 132 LatticeVal BCValue; in getFeasibleSuccessors() 174 LatticeVal SCValue; in getFeasibleSuccessors() 234 LatticeVal IV = LatticeFunc->ComputeInstructionState(PN, *this); in visitPHINode() 240 LatticeVal PNIV = getOrInitValueState(&PN); in visitPHINode() [all …]
|