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

References

lib/Target/SystemZ/SystemZISelLowering.cpp
 2210   if (C.Op0.getOpcode() == ISD::TRUNCATE &&
 2211       C.Op0.getOperand(0).getOpcode() == ISD::LOAD &&
 2212       C.Op1.getOpcode() == ISD::Constant &&
 2213       cast<ConstantSDNode>(C.Op1)->getZExtValue() == 0) {
 2214     auto *L = cast<LoadSDNode>(C.Op0.getOperand(0));
 2215     if (L->getMemoryVT().getStoreSizeInBits() <= C.Op0.getValueSizeInBits()) {
 2217       if ((Type == ISD::ZEXTLOAD && C.ICmpType != SystemZICMP::SignedOnly) ||
 2218           (Type == ISD::SEXTLOAD && C.ICmpType != SystemZICMP::UnsignedOnly)) {
 2219         C.Op0 = C.Op0.getOperand(0);
 2219         C.Op0 = C.Op0.getOperand(0);
 2220         C.Op1 = DAG.getConstant(0, DL, C.Op0.getValueType());
 2220         C.Op1 = DAG.getConstant(0, DL, C.Op0.getValueType());