Searched refs:ValueLatticeElement (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | LazyValueInfo.cpp | 74 static bool hasSingleValue(const ValueLatticeElement &Val) { in hasSingleValue() 99 static ValueLatticeElement intersect(const ValueLatticeElement &A, in intersect() 100 const ValueLatticeElement &B) { in intersect() 131 return ValueLatticeElement::getRange( in intersect() 167 SmallDenseMap<AssertingVH<Value>, ValueLatticeElement, 4> LatticeElements; 203 const ValueLatticeElement &Result) { in insertResult() 216 std::optional<ValueLatticeElement> getCachedValueInfo(Value *V, in getCachedValueInfo() 223 return ValueLatticeElement::getOverdefined(); in getCachedValueInfo() 398 std::optional<ValueLatticeElement> getBlockValue(Value *Val, BasicBlock *BB, 400 std::optional<ValueLatticeElement> getEdgeValue(Value *V, BasicBlock *F, [all …]
|
H A D | ValueLattice.cpp | 14 ValueLatticeElement::getCompare(CmpInst::Predicate Pred, Type *Ty, in getCompare() 15 const ValueLatticeElement &Other, in getCompare() 55 raw_ostream &operator<<(raw_ostream &OS, const ValueLatticeElement &Val) { in operator <<()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ValueLattice.h | 29 class ValueLatticeElement { 148 ValueLatticeElement() : Tag(unknown), NumRangeExtensions(0) {} in ValueLatticeElement() function 150 ~ValueLatticeElement() { destroy(); } in ~ValueLatticeElement() 152 ValueLatticeElement(const ValueLatticeElement &Other) in ValueLatticeElement() function 171 ValueLatticeElement(ValueLatticeElement &&Other) in ValueLatticeElement() function 191 ValueLatticeElement &operator=(const ValueLatticeElement &Other) { 193 new (this) ValueLatticeElement(Other); 197 ValueLatticeElement &operator=(ValueLatticeElement &&Other) { 199 new (this) ValueLatticeElement(std::move(Other)); 203 static ValueLatticeElement get(Constant *C) { in get() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SCCPSolver.cpp | 40 static ValueLatticeElement::MergeOptions getMaxWidenStepsOpts() { in getMaxWidenStepsOpts() 41 return ValueLatticeElement::MergeOptions().setMaxWidenSteps( in getMaxWidenStepsOpts() 47 bool SCCPSolver::isConstant(const ValueLatticeElement &LV) { in isConstant() 52 bool SCCPSolver::isOverdefined(const ValueLatticeElement &LV) { in isOverdefined() 179 const ValueLatticeElement &IV = Solver.getLatticeValueFor(V); in replaceSignedInst() 362 DenseMap<Value *, ValueLatticeElement> 367 DenseMap<std::pair<Value *, unsigned>, ValueLatticeElement> StructValueState; 373 DenseMap<GlobalVariable *, ValueLatticeElement> TrackedGlobals; 378 MapVector<Function *, ValueLatticeElement> TrackedRetVals; 382 MapVector<std::pair<Function *, unsigned>, ValueLatticeElement> [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | SCCPSolver.h | 38 class ValueLatticeElement; variable 129 std::vector<ValueLatticeElement> getStructLatticeValueFor(Value *V) const; 137 const ValueLatticeElement &getLatticeValueFor(Value *V) const; 140 const MapVector<Function *, ValueLatticeElement> &getTrackedRetVals(); 144 const DenseMap<GlobalVariable *, ValueLatticeElement> &getTrackedGlobals(); 165 Constant *getConstant(const ValueLatticeElement &LV, Type *Ty) const; 202 static bool isConstant(const ValueLatticeElement &LV); 208 static bool isOverdefined(const ValueLatticeElement &LV);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | SCCP.cpp | 80 [](const ValueLatticeElement &LV) { in findReturnsToZap() 282 const ValueLatticeElement &ReturnValue = I.second; in runIPSCCP()
|