Home
last modified time | relevance | path

Searched refs:ValueEntry (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Transforms/Scalar/
H A DReassociate.h46 struct ValueEntry { struct
50 ValueEntry(unsigned R, Value *O) : Rank(R), Op(O) {} in ValueEntry() argument
53 inline bool operator<(const ValueEntry &LHS, const ValueEntry &RHS) {
105 SmallVectorImpl<reassociate::ValueEntry> &Ops);
107 SmallVectorImpl<reassociate::ValueEntry> &Ops);
109 SmallVectorImpl<reassociate::ValueEntry> &Ops);
111 SmallVectorImpl<reassociate::ValueEntry> &Ops);
120 SmallVectorImpl<reassociate::ValueEntry> &Ops);
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp1164 SmallVector<ValueEntry, 8> Factors; in RemoveFactorFromExpression()
1169 ValueEntry(getRank(E.first), E.first)); in RemoveFactorFromExpression()
1526 ValueEntry VE(getRank(O.getValue()), O.getValue()); in OptimizeXor()
1531 ValueEntry VE(getRank(C), C); in OptimizeXor()
1630 Ops.insert(Ops.end(), ValueEntry(getRank(V), V)); in OptimizeAdd()
1767 Ops.insert(Ops.begin(), ValueEntry(getRank(V2), V2)); in OptimizeAdd()
1943 ValueEntry NewEntry = ValueEntry(getRank(V), V); in OptimizeMul()
1980 Ops.push_back(ValueEntry(0, Cst)); in OptimizeExpression()
2344 SmallVector<ValueEntry, 8> Ops; in ReassociateExpression()
2386 ValueEntry Tmp = Ops.pop_back_val(); in ReassociateExpression()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp1460 auto &ValueEntry = Memoizer[V]; in getValueBits() local
1461 if (ValueEntry) in getValueBits()
1462 return std::make_pair(ValueEntry->first, &ValueEntry->second); in getValueBits()
1463 ValueEntry.reset(new ValueBitsMemoizedValue()); in getValueBits()
1464 bool &Interesting = ValueEntry->first; in getValueBits()
1465 SmallVector<ValueBit, 64> &Bits = ValueEntry->second; in getValueBits()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp2105 using ValueEntry = std::pair<SDValue, size_t>; in LowerBUILD_VECTOR() typedef
2106 SmallVector<ValueEntry, 16> SplatValueCounts; in LowerBUILD_VECTOR()