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

References

lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 4007         ISD::isBuildVectorAllZeros(N1.getNode()))
 4012   if (isNullConstant(N1))
 4013     return N1;
 4015   if (isOneConstant(N1))
 4018   if (N0.isUndef() || N1.isUndef())
 4022   if (isConstantOrConstantVector(N1, /*NoOpaques*/ true) &&
 4023       DAG.isKnownToBeAPowerOfTwo(N1) && hasOperation(ISD::SRL, VT)) {
 4025     SDValue LogBase2 = BuildLogBase2(N1, DL);
 4041       N1 = DAG.getNode(ISD::ZERO_EXTEND, DL, NewVT, N1);
 4041       N1 = DAG.getNode(ISD::ZERO_EXTEND, DL, NewVT, N1);
 4042       N1 = DAG.getNode(ISD::MUL, DL, NewVT, N0, N1);
 4042       N1 = DAG.getNode(ISD::MUL, DL, NewVT, N0, N1);
 4043       N1 = DAG.getNode(ISD::SRL, DL, NewVT, N1,
 4043       N1 = DAG.getNode(ISD::SRL, DL, NewVT, N1,
 4045                             getShiftAmountTy(N1.getValueType())));
 4046       return DAG.getNode(ISD::TRUNCATE, DL, VT, N1);