Lines Matching refs:getRank
170 unsigned ReassociatePass::getRank(Value *V) { in getRank() function in ReassociatePass
187 Rank = std::max(Rank, getRank(I->getOperand(i))); in getRank()
207 unsigned LHSRank = getRank(LHS); in canonicalizeOperands()
208 unsigned RHSRank = getRank(RHS); in canonicalizeOperands()
1007 ValueEntry(getRank(E.first), E.first)); in RemoveFactorFromExpression()
1288 O.setSymbolicRank(getRank(O.getSymbolicPart())); in OptimizeXor()
1368 ValueEntry VE(getRank(O.getValue()), O.getValue()); in OptimizeXor()
1373 ValueEntry VE(getRank(C), C); in OptimizeXor()
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()
1783 ValueEntry NewEntry = ValueEntry(getRank(V), V); in OptimizeMul()
2102 ValueEntry(getRank(E.first), E.first)); in ReassociateExpression()