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

References

lib/Analysis/InstructionSimplify.cpp
 3188     if (Constant *CRHS = dyn_cast<Constant>(RHS))
 3192     std::swap(LHS, RHS);
 3202   if (isa<UndefValue>(RHS) && ICmpInst::isEquality(Pred))
 3207   if (LHS == RHS || isa<UndefValue>(RHS))
 3207   if (LHS == RHS || isa<UndefValue>(RHS))
 3210   if (Value *V = simplifyICmpOfBools(Pred, LHS, RHS, Q))
 3213   if (Value *V = simplifyICmpWithZero(Pred, LHS, RHS, Q))
 3216   if (Value *V = simplifyICmpWithConstant(Pred, LHS, RHS, Q.IIQ))
 3221   if (isa<Instruction>(RHS) && isa<Instruction>(LHS)) {
 3222     auto RHS_Instr = cast<Instruction>(RHS);
 3234         return ConstantInt::getTrue(RHS->getContext());
 3239         return ConstantInt::getFalse(RHS->getContext());
 3244   if (isa<CastInst>(LHS) && (isa<Constant>(RHS) || isa<CastInst>(RHS))) {
 3244   if (isa<CastInst>(LHS) && (isa<Constant>(RHS) || isa<CastInst>(RHS))) {
 3254       if (Constant *RHSC = dyn_cast<Constant>(RHS)) {
 3260       } else if (PtrToIntInst *RI = dyn_cast<PtrToIntInst>(RHS)) {
 3272       if (ZExtInst *RI = dyn_cast<ZExtInst>(RHS)) {
 3282       else if (ConstantInt *CI = dyn_cast<ConstantInt>(RHS)) {
 3332       if (SExtInst *RI = dyn_cast<SExtInst>(RHS)) {
 3341       else if (ConstantInt *CI = dyn_cast<ConstantInt>(RHS)) {
 3404       isKnownNonEqual(LHS, RHS, Q.DL, Q.AC, Q.CxtI, Q.DT, Q.IIQ.UseInstrInfo)) {
 3408   if (Value *V = simplifyICmpWithBinOp(Pred, LHS, RHS, Q, MaxRecurse))
 3411   if (Value *V = simplifyICmpWithMinMax(Pred, LHS, RHS, Q, MaxRecurse))
 3418                                      Q.IIQ, LHS, RHS))
 3421     if (auto *CRHS = dyn_cast<PtrToIntOperator>(RHS))
 3432     if (GEPOperator *GRHS = dyn_cast<GEPOperator>(RHS)) {
 3456   if (isa<SelectInst>(LHS) || isa<SelectInst>(RHS))
 3457     if (Value *V = ThreadCmpOverSelect(Pred, LHS, RHS, Q, MaxRecurse))
 3462   if (isa<PHINode>(LHS) || isa<PHINode>(RHS))
 3463     if (Value *V = ThreadCmpOverPHI(Pred, LHS, RHS, Q, MaxRecurse))