reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/InstCombine/InstCombineCompares.cpp
 4926   Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1);
 4926   Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1);
 4928   ICmpInst::Predicate Pred = I.getPredicate();
 4941   if (SimplifyDemandedBits(&I, 0,
 4942                            getDemandedBitsLHSMask(I, BitWidth),
 4944     return &I;
 4946   if (SimplifyDemandedBits(&I, 1, APInt::getAllOnesValue(BitWidth),
 4948     return &I;
 4955   if (I.isSigned()) {
 4980                  ? replaceInstUsesWith(I, ConstantInt::getFalse(I.getType()))
 4980                  ? replaceInstUsesWith(I, ConstantInt::getFalse(I.getType()))
 4981                  : replaceInstUsesWith(I, ConstantInt::getTrue(I.getType()));
 4981                  : replaceInstUsesWith(I, ConstantInt::getTrue(I.getType()));
 5031       return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType()));
 5031       return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType()));
 5033       return replaceInstUsesWith(I, ConstantInt::getFalse(I.getType()));
 5033       return replaceInstUsesWith(I, ConstantInt::getFalse(I.getType()));
 5053       return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType()));
 5053       return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType()));
 5055       return replaceInstUsesWith(I, ConstantInt::getFalse(I.getType()));
 5055       return replaceInstUsesWith(I, ConstantInt::getFalse(I.getType()));
 5075       return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType()));
 5075       return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType()));
 5077       return replaceInstUsesWith(I, ConstantInt::getFalse(I.getType()));
 5077       return replaceInstUsesWith(I, ConstantInt::getFalse(I.getType()));
 5090       return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType()));
 5090       return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType()));
 5092       return replaceInstUsesWith(I, ConstantInt::getFalse(I.getType()));
 5092       return replaceInstUsesWith(I, ConstantInt::getFalse(I.getType()));
 5106       return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType()));
 5106       return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType()));
 5108       return replaceInstUsesWith(I, ConstantInt::getFalse(I.getType()));
 5108       return replaceInstUsesWith(I, ConstantInt::getFalse(I.getType()));
 5115       return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType()));
 5115       return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType()));
 5117       return replaceInstUsesWith(I, ConstantInt::getFalse(I.getType()));
 5117       return replaceInstUsesWith(I, ConstantInt::getFalse(I.getType()));
 5124       return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType()));
 5124       return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType()));
 5126       return replaceInstUsesWith(I, ConstantInt::getFalse(I.getType()));
 5126       return replaceInstUsesWith(I, ConstantInt::getFalse(I.getType()));
 5133       return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType()));
 5133       return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType()));
 5135       return replaceInstUsesWith(I, ConstantInt::getFalse(I.getType()));
 5135       return replaceInstUsesWith(I, ConstantInt::getFalse(I.getType()));
 5143   if (I.isSigned() &&
 5146     return new ICmpInst(I.getUnsignedPredicate(), Op0, Op1);