Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/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,
108 SmallVectorImpl<reassociate::ValueEntry> &Ops);
110 SmallVectorImpl<reassociate::ValueEntry> &Ops);
112 SmallVectorImpl<reassociate::ValueEntry> &Ops);
121 SmallVectorImpl<reassociate::ValueEntry> &Ops);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp1191 SmallVector<ValueEntry, 8> Factors; in RemoveFactorFromExpression()
1196 ValueEntry(getRank(E.first), E.first)); in RemoveFactorFromExpression()
1552 ValueEntry VE(getRank(O.getValue()), O.getValue()); in OptimizeXor()
1557 ValueEntry VE(getRank(C), C); in OptimizeXor()
1656 Ops.insert(Ops.end(), ValueEntry(getRank(V), V)); in OptimizeAdd()
1792 Ops.insert(Ops.begin(), ValueEntry(getRank(V2), V2)); in OptimizeAdd()
1968 ValueEntry NewEntry = ValueEntry(getRank(V), V); in OptimizeMul()
2005 Ops.push_back(ValueEntry(0, Cst)); in OptimizeExpression()
2371 SmallVector<ValueEntry, 8> Ops; in ReassociateExpression()
2413 ValueEntry Tmp = Ops.pop_back_val(); in ReassociateExpression()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp1626 auto &ValueEntry = Memoizer[V]; in getValueBits() local
1627 if (ValueEntry) in getValueBits()
1628 return std::make_pair(ValueEntry->first, &ValueEntry->second); in getValueBits()
1629 ValueEntry.reset(new ValueBitsMemoizedValue()); in getValueBits()
1630 bool &Interesting = ValueEntry->first; in getValueBits()
1631 SmallVector<ValueBit, 64> &Bits = ValueEntry->second; in getValueBits()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp2099 using ValueEntry = std::pair<SDValue, size_t>; in LowerBUILD_VECTOR() typedef
2100 SmallVector<ValueEntry, 16> SplatValueCounts; in LowerBUILD_VECTOR()