Home
last modified time | relevance | path

Searched refs:ValueLatticeElement (Results 1 – 7 of 7) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp96 static ValueLatticeElement intersect(const ValueLatticeElement &A, in intersect()
128 return ValueLatticeElement::getRange( in intersect()
880 ValueLatticeElement &Val = *OptVal; in getRangeFor()
980 Optional<ValueLatticeElement>
1154 static Optional<ValueLatticeElement>
1470 ValueLatticeElement Result = ValueLatticeElement::getOverdefined(); in getValueAt()
1589 ValueLatticeElement Result = in getConstant()
1607 ValueLatticeElement Result = in getConstantRange()
1626 ValueLatticeElement Result = in getConstantOnEdge()
1645 ValueLatticeElement Result = in getConstantRangeOnEdge()
[all …]
H A DValueLattice.cpp12 raw_ostream &operator<<(raw_ostream &OS, const ValueLatticeElement &Val) { in operator <<()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueLattice.h27 class ValueLatticeElement {
148 ~ValueLatticeElement() { destroy(); } in ~ValueLatticeElement()
150 ValueLatticeElement(const ValueLatticeElement &Other) in ValueLatticeElement() function
169 ValueLatticeElement(ValueLatticeElement &&Other) in ValueLatticeElement() function
189 ValueLatticeElement &operator=(const ValueLatticeElement &Other) {
195 ValueLatticeElement &operator=(ValueLatticeElement &&Other) {
202 ValueLatticeElement Res; in get()
210 ValueLatticeElement Res; in getNot()
221 ValueLatticeElement Res;
227 ValueLatticeElement Res;
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp50 bool isConstant(const ValueLatticeElement &LV) { in isConstant()
73 DenseMap<Value *, ValueLatticeElement>
510 ValueLatticeElement LV = It->second; in isStructLatticeConstant()
934 ValueLatticeElement &IV = ValueState[&I]; in visitUnaryOperator()
961 ValueLatticeElement &IV = ValueState[&I]; in visitBinaryOperator()
988 ValueLatticeElement NewV; in visitBinaryOperator()
1033 ValueLatticeElement CV; in visitCmpInst()
1104 return ValueLatticeElement::getRange( in getValueFromMetadata()
1107 return ValueLatticeElement::getNot( in getValueFromMetadata()
1129 ValueLatticeElement &IV = ValueState[&I]; in visitLoadInst()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSCCPSolver.h104 std::vector<ValueLatticeElement> getStructLatticeValueFor(Value *V) const;
108 const ValueLatticeElement &getLatticeValueFor(Value *V) const;
111 const MapVector<Function *, ValueLatticeElement> &getTrackedRetVals();
115 const DenseMap<GlobalVariable *, ValueLatticeElement> &getTrackedGlobals();
132 Constant *getConstant(const ValueLatticeElement &LV) const;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSCCP.cpp87 static bool isConstant(const ValueLatticeElement &LV) { in isConstant()
96 static bool isOverdefined(const ValueLatticeElement &LV) { in isOverdefined()
103 std::vector<ValueLatticeElement> IVs = Solver.getStructLatticeValueFor(V); in tryToReplaceWithConstant()
105 [](const ValueLatticeElement &LV) { return isOverdefined(LV); })) in tryToReplaceWithConstant()
110 ValueLatticeElement V = IVs[i]; in tryToReplaceWithConstant()
117 const ValueLatticeElement &IV = Solver.getLatticeValueFor(V); in tryToReplaceWithConstant()
169 const ValueLatticeElement &IV = Solver.getLatticeValueFor(ExtOp); in simplifyInstsInBlock()
323 [](const ValueLatticeElement &LV) { in findReturnsToZap()
572 const ValueLatticeElement &ReturnValue = I.second; in runIPSCCP()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp72 static bool isOverdefined(const ValueLatticeElement &LV) { in isOverdefined()
138 const ValueLatticeElement &IV = Solver.getLatticeValueFor(V); in tryToReplaceWithConstant()