Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/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) {
99 SmallVectorImpl<reassociate::ValueEntry> &Ops);
101 SmallVectorImpl<reassociate::ValueEntry> &Ops);
103 SmallVectorImpl<reassociate::ValueEntry> &Ops);
105 SmallVectorImpl<reassociate::ValueEntry> &Ops);
114 SmallVectorImpl<reassociate::ValueEntry> &Ops);
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp1021 SmallVector<ValueEntry, 8> Factors; in RemoveFactorFromExpression()
1385 ValueEntry VE(getRank(O.getValue()), O.getValue()); in OptimizeXor()
1390 ValueEntry VE(getRank(C), C); in OptimizeXor()
1489 Ops.insert(Ops.end(), ValueEntry(getRank(V), V)); in OptimizeAdd()
1626 Ops.insert(Ops.begin(), ValueEntry(getRank(V2), V2)); in OptimizeAdd()
1803 ValueEntry NewEntry = ValueEntry(getRank(V), V); in OptimizeMul()
1828 Ops.push_back(ValueEntry(0, Cst)); in OptimizeExpression()
2129 SmallVector<ValueEntry, 8> Ops; in ReassociateExpression()
2134 ValueEntry(getRank(E.first), E.first)); in ReassociateExpression()
2174 ValueEntry Tmp = Ops.pop_back_val(); in ReassociateExpression()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp1189 auto &ValueEntry = Memoizer[V]; in getValueBits() local
1190 if (ValueEntry) in getValueBits()
1191 return std::make_pair(ValueEntry->first, &ValueEntry->second); in getValueBits()
1192 ValueEntry.reset(new ValueBitsMemoizedValue()); in getValueBits()
1193 bool &Interesting = ValueEntry->first; in getValueBits()
1194 SmallVector<ValueBit, 64> &Bits = ValueEntry->second; in getValueBits()