Lines Matching refs:ValueEntry
57 static void PrintOps(Instruction *I, const SmallVectorImpl<ValueEntry> &Ops) { in PrintOps()
612 SmallVectorImpl<ValueEntry> &Ops) { in RewriteExprTree()
956 static unsigned FindInOperandList(SmallVectorImpl<ValueEntry> &Ops, unsigned i, in FindInOperandList()
1002 SmallVector<ValueEntry, 8> Factors; in RemoveFactorFromExpression()
1007 ValueEntry(getRank(E.first), E.first)); in RemoveFactorFromExpression()
1071 const SmallVectorImpl<ValueEntry> &Ops) { in FindSingleUseMultiplyFactors()
1087 SmallVectorImpl<ValueEntry> &Ops) { in OptimizeAndOrXor()
1271 SmallVectorImpl<ValueEntry> &Ops) { in OptimizeXor()
1368 ValueEntry VE(getRank(O.getValue()), O.getValue()); in OptimizeXor()
1373 ValueEntry VE(getRank(C), C); in OptimizeXor()
1392 SmallVectorImpl<ValueEntry> &Ops) { in OptimizeAdd()
1432 Ops.insert(Ops.begin(), ValueEntry(getRank(Mul), Mul)); in OptimizeAdd()
1476 Ops.insert(Ops.end(), ValueEntry(getRank(V), V)); in OptimizeAdd()
1612 Ops.insert(Ops.begin(), ValueEntry(getRank(V2), V2)); in OptimizeAdd()
1629 bool ReassociatePass::collectMultiplyFactors(SmallVectorImpl<ValueEntry> &Ops, in collectMultiplyFactors()
1765 SmallVectorImpl<ValueEntry> &Ops) { in OptimizeMul()
1783 ValueEntry NewEntry = ValueEntry(getRank(V), V); in OptimizeMul()
1789 SmallVectorImpl<ValueEntry> &Ops) { in OptimizeExpression()
1808 Ops.push_back(ValueEntry(0, Cst)); in OptimizeExpression()
2097 SmallVector<ValueEntry, 8> Ops; in ReassociateExpression()
2102 ValueEntry(getRank(E.first), E.first)); in ReassociateExpression()
2141 ValueEntry Tmp = Ops.pop_back_val(); in ReassociateExpression()
2148 ValueEntry Tmp = Ops.pop_back_val(); in ReassociateExpression()