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

References

lib/CodeGen/SelectionDAG/DAGCombiner.cpp
19250     return N0;
19254   if (N0.isUndef() && N1.getOpcode() == ISD::EXTRACT_SUBVECTOR &&
19262   if (N0.isUndef() && N1.getOpcode() == ISD::BITCAST &&
19276   if (N0.getOpcode() == ISD::BITCAST && N1.getOpcode() == ISD::BITCAST) {
19277     SDValue CN0 = N0.getOperand(0);
19293   if (N0.getOpcode() == ISD::INSERT_SUBVECTOR &&
19294       N0.getOperand(1).getValueType() == N1.getValueType() &&
19295       N0.getOperand(2) == N2)
19296     return DAG.getNode(ISD::INSERT_SUBVECTOR, SDLoc(N), VT, N0.getOperand(0),
19302   if (N0.isUndef() && N1.getOpcode() == ISD::INSERT_SUBVECTOR &&
19304     return DAG.getNode(ISD::INSERT_SUBVECTOR, SDLoc(N), VT, N0,
19315   if ((N0.isUndef() || N0.getOpcode() == ISD::BITCAST) &&
19315   if ((N0.isUndef() || N0.getOpcode() == ISD::BITCAST) &&
19317     SDValue N0Src = peekThroughBitcasts(N0);
19321     if ((N0.isUndef() || N0SrcSVT == N1SrcSVT) &&
19353   if (N0.getOpcode() == ISD::INSERT_SUBVECTOR && N0.hasOneUse() &&
19353   if (N0.getOpcode() == ISD::INSERT_SUBVECTOR && N0.hasOneUse() &&
19354       N1.getValueType() == N0.getOperand(1).getValueType() &&
19355       isa<ConstantSDNode>(N0.getOperand(2))) {
19356     unsigned OtherIdx = N0.getConstantOperandVal(2);
19360                                   N0.getOperand(0), N1, N2);
19362       return DAG.getNode(ISD::INSERT_SUBVECTOR, SDLoc(N0.getNode()),
19363                          VT, NewOp, N0.getOperand(1), N0.getOperand(2));
19363                          VT, NewOp, N0.getOperand(1), N0.getOperand(2));
19369   if (N0.getOpcode() == ISD::CONCAT_VECTORS && N0.hasOneUse() &&
19369   if (N0.getOpcode() == ISD::CONCAT_VECTORS && N0.hasOneUse() &&
19370       N0.getOperand(0).getValueType() == N1.getValueType()) {
19373     SmallVector<SDValue, 8> Ops(N0->op_begin(), N0->op_end());
19373     SmallVector<SDValue, 8> Ops(N0->op_begin(), N0->op_end());