Home | History | Annotate | Download | only in Scalar

Lines Matching defs:Cmp

55 STATISTIC(NumCmpUses, "Number of uses of Cmp expressions replaced with uses of "
547 /// InsertedCmp - Only insert a cmp in each block once.
563 // Figure out which BB this cmp is used in.
566 // If this user is in the same block as the cmp, don't change the cmp.
569 // If we have already inserted a cmp into this block, use it.
581 // Replace a use of the cmp with a use of the new cmp.
586 // If we removed all uses, nuke the cmp.
1812 CmpInst *Cmp = dyn_cast<CmpInst>(SI->getCondition());
1819 if (!Cmp)
1822 Value *CmpOp0 = Cmp->getOperand(0);
1823 Value *CmpOp1 = Cmp->getOperand(1);
1827 return Cmp->hasOneUse() &&