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

References

lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 5678   if (N0 == N1)
 5679     return N0;
 5687     if (ISD::isBuildVectorAllZeros(N0.getNode()))
 5690       return N0;
 5693     if (ISD::isBuildVectorAllOnes(N0.getNode()))
 5695       return DAG.getAllOnesConstant(SDLoc(N), N0.getValueType());
 5702     if (isa<ShuffleVectorSDNode>(N0) &&
 5706       bool ZeroN00 = ISD::isBuildVectorAllZeros(N0.getOperand(0).getNode());
 5707       bool ZeroN01 = ISD::isBuildVectorAllZeros(N0.getOperand(1).getNode());
 5714         const ShuffleVectorSDNode *SV0 = cast<ShuffleVectorSDNode>(N0);
 5751           SDValue NewLHS = ZeroN00 ? N0.getOperand(1) : N0.getOperand(0);
 5751           SDValue NewLHS = ZeroN00 ? N0.getOperand(1) : N0.getOperand(0);
 5765   ConstantSDNode *N0C = getAsNonOpaqueConstant(N0);
 5770   if (DAG.isConstantIntBuildVectorOrConstantInt(N0) &&
 5772     return DAG.getNode(ISD::OR, SDLoc(N), VT, N1, N0);
 5775     return N0;
 5784   if (N1C && DAG.MaskedValueIsZero(N0, ~N1C->getAPIntValue()))
 5787   if (SDValue Combined = visitORLike(N0, N1, N))
 5791   if (SDValue BSwap = MatchBSwapHWord(N, N0, N1))
 5793   if (SDValue BSwap = MatchBSwapHWordLow(N, N0, N1))
 5797   if (SDValue ROR = reassociateOps(ISD::OR, SDLoc(N), N0, N1, N->getFlags()))
 5805   if (N0.getOpcode() == ISD::AND && N0.getNode()->hasOneUse() &&
 5805   if (N0.getOpcode() == ISD::AND && N0.getNode()->hasOneUse() &&
 5806       ISD::matchBinaryPredicate(N0.getOperand(1), N1, MatchIntersect, true)) {
 5808             ISD::OR, SDLoc(N1), VT, N1.getNode(), N0.getOperand(1).getNode())) {
 5809       SDValue IOR = DAG.getNode(ISD::OR, SDLoc(N0), VT, N0.getOperand(0), N1);
 5809       SDValue IOR = DAG.getNode(ISD::OR, SDLoc(N0), VT, N0.getOperand(0), N1);
 5815   if (SDValue Combined = visitORCommutative(DAG, N0, N1, N))
 5817   if (SDValue Combined = visitORCommutative(DAG, N1, N0, N))
 5821   if (N0.getOpcode() == N1.getOpcode())
 5826   if (SDValue Rot = MatchRotate(N0, N1, SDLoc(N)))
 5838       DAG.haveNoCommonBitsSet(N0, N1))