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

References

lib/Transforms/InstCombine/InstCombineCasts.cpp
  864       if (In->getType() != CI.getType())
  865         In = Builder.CreateIntCast(In, CI.getType(), false /*ZExt*/);
  872       return replaceInstUsesWith(CI, In);
  887       KnownBits Known = computeKnownBits(ICI->getOperand(0), 0, &CI);
  897           Constant *Res = ConstantInt::get(CI.getType(), isNE);
  898           return replaceInstUsesWith(CI, Res);
  915         if (CI.getType() == In->getType())
  916           return replaceInstUsesWith(CI, In);
  918         Value *IntCast = Builder.CreateIntCast(In, CI.getType(), false);
  919         return replaceInstUsesWith(CI, IntCast);
  927   if (ICI->isEquality() && CI.getType() == ICI->getOperand(0)->getType()) {
  928     if (IntegerType *ITy = dyn_cast<IntegerType>(CI.getType())) {
  932       KnownBits KnownLHS = computeKnownBits(LHS, 0, &CI);
  933       KnownBits KnownRHS = computeKnownBits(RHS, 0, &CI);
  955           return replaceInstUsesWith(CI, Result);