Home
last modified time | relevance | path

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

/freebsd-13.1/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);
107 SmallVectorImpl<reassociate::ValueEntry> &Ops);
109 SmallVectorImpl<reassociate::ValueEntry> &Ops);
111 SmallVectorImpl<reassociate::ValueEntry> &Ops);
120 SmallVectorImpl<reassociate::ValueEntry> &Ops);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp1147 SmallVector<ValueEntry, 8> Factors; in RemoveFactorFromExpression()
1510 ValueEntry VE(getRank(O.getValue()), O.getValue()); in OptimizeXor()
1515 ValueEntry VE(getRank(C), C); in OptimizeXor()
1614 Ops.insert(Ops.end(), ValueEntry(getRank(V), V)); in OptimizeAdd()
1751 Ops.insert(Ops.begin(), ValueEntry(getRank(V2), V2)); in OptimizeAdd()
1927 ValueEntry NewEntry = ValueEntry(getRank(V), V); in OptimizeMul()
1952 Ops.push_back(ValueEntry(0, Cst)); in OptimizeExpression()
2315 SmallVector<ValueEntry, 8> Ops; in ReassociateExpression()
2320 ValueEntry(getRank(E.first), E.first)); in ReassociateExpression()
2360 ValueEntry Tmp = Ops.pop_back_val(); in ReassociateExpression()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp1447 auto &ValueEntry = Memoizer[V]; in getValueBits() local
1448 if (ValueEntry) in getValueBits()
1449 return std::make_pair(ValueEntry->first, &ValueEntry->second); in getValueBits()
1450 ValueEntry.reset(new ValueBitsMemoizedValue()); in getValueBits()
1451 bool &Interesting = ValueEntry->first; in getValueBits()
1452 SmallVector<ValueBit, 64> &Bits = ValueEntry->second; in getValueBits()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp1839 using ValueEntry = std::pair<SDValue, size_t>; in LowerBUILD_VECTOR() typedef
1840 SmallVector<ValueEntry, 16> SplatValueCounts; in LowerBUILD_VECTOR()