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

References

lib/Transforms/InstCombine/InstCombineCompares.cpp
 4300   assert(isa<CastInst>(ICmp.getOperand(0)) && "Expected cast for operand 0");
 4301   auto *CastOp0 = cast<CastInst>(ICmp.getOperand(0));
 4307   bool IsSignedCmp = ICmp.isSigned();
 4308   if (auto *CastOp1 = dyn_cast<CastInst>(ICmp.getOperand(1))) {
 4333     if (ICmp.isEquality())
 4334       return new ICmpInst(ICmp.getPredicate(), X, Y);
 4339       return new ICmpInst(ICmp.getPredicate(), X, Y);
 4342     return new ICmpInst(ICmp.getUnsignedPredicate(), X, Y);
 4346   auto *C = dyn_cast<Constant>(ICmp.getOperand(1));
 4359     if (ICmp.isEquality())
 4360       return new ICmpInst(ICmp.getPredicate(), X, Res1);
 4365       return new ICmpInst(ICmp.getPredicate(), X, Res1);
 4368     return new ICmpInst(ICmp.getUnsignedPredicate(), X, Res1);
 4381   if (ICmp.getPredicate() == ICmpInst::ICMP_ULT)
 4386   assert(ICmp.getPredicate() == ICmpInst::ICMP_UGT && "ICmp should be folded!");