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

References

lib/CodeGen/SelectionDAG/TargetLowering.cpp
  791       Known = TLO.DAG.computeKnownBits(Op, DemandedElts, Depth);
  797     DemandedElts = APInt::getAllOnesValue(NumElts);
  811     if (!DemandedElts[0])
  826     Known = TLO.DAG.computeKnownBits(Op, DemandedElts, Depth);
  831       Known = TLO.DAG.computeKnownBits(Op, DemandedElts, Depth);
  844     APInt DemandedVecElts(DemandedElts);
  850       if (!DemandedElts[Idx])
  882     APInt BaseElts = DemandedElts;
  888         SubElts = DemandedElts.extractBits(NumSubElts, SubIdx);
  922       SrcElts = DemandedElts.zextOrSelf(NumSrcElts).shl(Idx);
  936           DemandedElts.extractBits(NumSubElts, i * NumSubElts);
  955       if (!DemandedElts[i])
 1017       KnownBits LHSKnown = TLO.DAG.computeKnownBits(Op0, DemandedElts, Depth);
 1040     if (SimplifyDemandedBits(Op1, DemandedBits, DemandedElts, Known, TLO,
 1044     if (SimplifyDemandedBits(Op0, ~Known.Zero & DemandedBits, DemandedElts,
 1050     if (!DemandedBits.isAllOnesValue() || !DemandedElts.isAllOnesValue()) {
 1052           Op0, DemandedBits, DemandedElts, TLO.DAG, Depth + 1);
 1054           Op1, DemandedBits, DemandedElts, TLO.DAG, Depth + 1);
 1089     if (SimplifyDemandedBits(Op1, DemandedBits, DemandedElts, Known, TLO,
 1093     if (SimplifyDemandedBits(Op0, ~Known.One & DemandedBits, DemandedElts,
 1099     if (!DemandedBits.isAllOnesValue() || !DemandedElts.isAllOnesValue()) {
 1101           Op0, DemandedBits, DemandedElts, TLO.DAG, Depth + 1);
 1103           Op1, DemandedBits, DemandedElts, TLO.DAG, Depth + 1);
 1135     if (SimplifyDemandedBits(Op1, DemandedBits, DemandedElts, Known, TLO,
 1139     if (SimplifyDemandedBits(Op0, DemandedBits, DemandedElts, Known2, TLO,
 1145     if (!DemandedBits.isAllOnesValue() || !DemandedElts.isAllOnesValue()) {
 1147           Op0, DemandedBits, DemandedElts, TLO.DAG, Depth + 1);
 1149           Op1, DemandedBits, DemandedElts, TLO.DAG, Depth + 1);
 1277     if (ConstantSDNode *SA = isConstOrConstSplat(Op1, DemandedElts)) {
 1293                   isConstOrConstSplat(Op0.getOperand(1), DemandedElts)) {
 1311       if (SimplifyDemandedBits(Op0, DemandedBits.lshr(ShAmt), DemandedElts,
 1374     if (ConstantSDNode *SA = isConstOrConstSplat(Op1, DemandedElts)) {
 1397                 isConstOrConstSplat(Op0.getOperand(1), DemandedElts)) {
 1418       if (SimplifyDemandedBits(Op0, InDemandedMask, DemandedElts, Known, TLO,
 1440     if (ConstantSDNode *SA = isConstOrConstSplat(Op1, DemandedElts)) {
 1461       if (SimplifyDemandedBits(Op0, InDemandedMask, DemandedElts, Known, TLO,
 1499     if (ConstantSDNode *SA = isConstOrConstSplat(Op2, DemandedElts)) {
 1505         if (SimplifyDemandedBits(IsFSHL ? Op0 : Op1, DemandedBits, DemandedElts,
 1515       if (SimplifyDemandedBits(Op0, Demanded0, DemandedElts, Known2, TLO,
 1518       if (SimplifyDemandedBits(Op1, Demanded1, DemandedElts, Known, TLO,
 1534     if (SimplifyDemandedBits(Src, DemandedSrcBits, DemandedElts, Known2, TLO,
 1632       if (IsVecInReg && DemandedElts == 1 &&
 1644     APInt InDemandedElts = DemandedElts.zextOrSelf(InElts);
 1665       if (IsVecInReg && DemandedElts == 1 &&
 1677     APInt InDemandedElts = DemandedElts.zextOrSelf(InElts);
 1711     if (IsVecInReg && DemandedElts == 1 &&
 1717     APInt InDemandedElts = DemandedElts.zextOrSelf(InElts);
 1739             Src, TruncMask, DemandedElts, TLO.DAG, Depth + 1))
 1870             if (DemandedElts[j])
 1891         if (DemandedElts[i]) {
 1913       Known = TLO.DAG.computeKnownBits(Op, DemandedElts, Depth);
 1927     if (SimplifyDemandedBits(Op0, LoMask, DemandedElts, Known2, TLO,
 1929         SimplifyDemandedBits(Op1, LoMask, DemandedElts, Known2, TLO,
 1946     if (!LoMask.isAllOnesValue() || !DemandedElts.isAllOnesValue()) {
 1948           Op0, LoMask, DemandedElts, TLO.DAG, Depth + 1);
 1950           Op1, LoMask, DemandedElts, TLO.DAG, Depth + 1);
 1984       if (SimplifyDemandedBitsForTargetNode(Op, DemandedBits, DemandedElts,
 1991     Known = TLO.DAG.computeKnownBits(Op, DemandedElts, Depth);