Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DReassociate.h47 struct ValueEntry { struct
51 ValueEntry(unsigned R, Value *O) : Rank(R), Op(O) {} in ValueEntry() argument
54 inline bool operator<(const ValueEntry &LHS, const ValueEntry &RHS) {
119 SmallVectorImpl<reassociate::ValueEntry> &Ops,
122 SmallVectorImpl<reassociate::ValueEntry> &Ops);
124 SmallVectorImpl<reassociate::ValueEntry> &Ops);
126 SmallVectorImpl<reassociate::ValueEntry> &Ops);
135 SmallVectorImpl<reassociate::ValueEntry> &Ops);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp82 static void PrintOps(Instruction *I, const SmallVectorImpl<ValueEntry> &Ops) { in PrintOps()
569 SmallVectorImpl<ValueEntry> &Ops, in RewriteExprTree()
599 for (const ValueEntry &Op : Ops) in RewriteExprTree()
1062 static unsigned FindInOperandList(const SmallVectorImpl<ValueEntry> &Ops, in FindInOperandList()
1108 SmallVector<ValueEntry, 8> Factors; in RemoveFactorFromExpression()
1112 Factors.append(E.second, ValueEntry(getRank(E.first), E.first)); in RemoveFactorFromExpression()
1191 SmallVectorImpl<ValueEntry> &Ops) { in OptimizeAndOrXor()
1371 SmallVectorImpl<ValueEntry> &Ops) { in OptimizeXor()
1469 ValueEntry VE(getRank(O.getValue()), O.getValue()); in OptimizeXor()
1474 ValueEntry VE(getRank(C), C); in OptimizeXor()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp1613 auto &ValueEntry = Memoizer[V]; in getValueBits() local
1614 if (ValueEntry) in getValueBits()
1615 return std::make_pair(ValueEntry->first, &ValueEntry->second); in getValueBits()
1616 ValueEntry.reset(new ValueBitsMemoizedValue()); in getValueBits()
1617 bool &Interesting = ValueEntry->first; in getValueBits()
1618 SmallVector<ValueBit, 64> &Bits = ValueEntry->second; in getValueBits()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp2116 using ValueEntry = std::pair<SDValue, size_t>; in LowerBUILD_VECTOR() typedef
2117 SmallVector<ValueEntry, 16> SplatValueCounts; in LowerBUILD_VECTOR()