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

References

lib/Transforms/InstCombine/InstCombineCasts.cpp
  582   if (!isa<VectorType>(SrcTy) && !shouldChangeType(SrcTy, DestTy))
  601       Constant *NarrowC = ConstantExpr::getTrunc(C, DestTy);
  602       Value *TruncX = Builder.CreateTrunc(BinOp1, DestTy);
  607       Constant *NarrowC = ConstantExpr::getTrunc(C, DestTy);
  608       Value *TruncX = Builder.CreateTrunc(BinOp0, DestTy);
  612     if (match(BinOp0, m_ZExtOrSExt(m_Value(X))) && X->getType() == DestTy) {
  614       Value *NarrowOp1 = Builder.CreateTrunc(BinOp1, DestTy);
  617     if (match(BinOp1, m_ZExtOrSExt(m_Value(X))) && X->getType() == DestTy) {
  619       Value *NarrowOp0 = Builder.CreateTrunc(BinOp0, DestTy);