|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
lib/CodeGen/SelectionDAG/TargetLowering.cpp 495 SDValue NewC = TLO.DAG.getConstant(Demanded & C, DL, VT);
496 SDValue NewOp = TLO.DAG.getNode(Opcode, DL, VT, Op.getOperand(0), NewC);
518 SelectionDAG &DAG = TLO.DAG;
769 auto &DL = TLO.DAG.getDataLayout();
791 Known = TLO.DAG.computeKnownBits(Op, DemandedElts, Depth);
800 return TLO.CombineTo(Op, TLO.DAG.getUNDEF(VT));
812 return TLO.CombineTo(Op, TLO.DAG.getUNDEF(VT));
826 Known = TLO.DAG.computeKnownBits(Op, DemandedElts, Depth);
831 Known = TLO.DAG.computeKnownBits(Op, DemandedElts, Depth);
995 Op0, DemandedBits, DemandedLHS, TLO.DAG, Depth + 1);
997 Op1, DemandedBits, DemandedRHS, TLO.DAG, Depth + 1);
1001 SDValue NewOp = TLO.DAG.getVectorShuffle(VT, dl, Op0, Op1, ShuffleMask);
1017 KnownBits LHSKnown = TLO.DAG.computeKnownBits(Op0, DemandedElts, Depth);
1035 SDValue Xor = TLO.DAG.getNode(ISD::XOR, dl, VT, Op0.getOperand(0), Op1);
1052 Op0, DemandedBits, DemandedElts, TLO.DAG, Depth + 1);
1054 Op1, DemandedBits, DemandedElts, TLO.DAG, Depth + 1);
1058 SDValue NewOp = TLO.DAG.getNode(Op.getOpcode(), dl, VT, Op0, Op1);
1071 return TLO.CombineTo(Op, TLO.DAG.getConstant(0, dl, VT));
1101 Op0, DemandedBits, DemandedElts, TLO.DAG, Depth + 1);
1103 Op1, DemandedBits, DemandedElts, TLO.DAG, Depth + 1);
1107 SDValue NewOp = TLO.DAG.getNode(Op.getOpcode(), dl, VT, Op0, Op1);
1147 Op0, DemandedBits, DemandedElts, TLO.DAG, Depth + 1);
1149 Op1, DemandedBits, DemandedElts, TLO.DAG, Depth + 1);
1153 SDValue NewOp = TLO.DAG.getNode(Op.getOpcode(), dl, VT, Op0, Op1);
1172 return TLO.CombineTo(Op, TLO.DAG.getNode(ISD::OR, dl, VT, Op0, Op1));
1187 TLO.DAG.getConstant(~C->getAPIntValue() & DemandedBits, dl, VT);
1188 return TLO.CombineTo(Op, TLO.DAG.getNode(ISD::AND, dl, VT, Op0, ANDC));
1197 SDValue New = TLO.DAG.getNOT(dl, Op0, VT);
1303 SDValue NewSA = TLO.DAG.getConstant(Diff, dl, Op1.getValueType());
1305 Op, TLO.DAG.getNode(Opc, dl, VT, Op0.getOperand(0), NewSA));
1333 TLO.DAG.getNode(ISD::SHL, dl, InnerVT, InnerOp,
1334 TLO.DAG.getConstant(ShAmt, dl, ShTy));
1336 Op, TLO.DAG.getNode(ISD::ANY_EXTEND, dl, VT, NarrowShl));
1352 SDValue NewSA = TLO.DAG.getConstant(ShAmt - InnerShAmt, dl,
1354 SDValue NewExt = TLO.DAG.getNode(ISD::ANY_EXTEND, dl, VT,
1357 Op, TLO.DAG.getNode(ISD::SHL, dl, VT, NewExt, NewSA));
1409 SDValue NewSA = TLO.DAG.getConstant(Diff, dl, ShiftVT);
1411 Op, TLO.DAG.getNode(Opc, dl, VT, Op0.getOperand(0), NewSA));
1438 return TLO.CombineTo(Op, TLO.DAG.getNode(ISD::SRL, dl, VT, Op0, Op1));
1475 Op, TLO.DAG.getNode(ISD::SRL, dl, VT, Op0, Op1, Flags));
1482 TLO.DAG.getConstant(BitWidth - 1 - Log2, dl, Op1.getValueType());
1483 return TLO.CombineTo(Op, TLO.DAG.getNode(ISD::SRL, dl, VT, Op0, NewSA));
1548 unsigned NumSignBits = TLO.DAG.ComputeNumSignBits(Op0);
1560 TLO.DAG.getConstant(BitWidth - ExVTBits, dl, ShiftAmtTy);
1562 TLO.DAG.getNode(ISD::SHL, dl, VT, Op0, ShiftAmt));
1586 Op, TLO.DAG.getZeroExtendInReg(Op0, dl, ExVT.getScalarType()));
1634 TLO.DAG.getDataLayout().isLittleEndian())
1635 return TLO.CombineTo(Op, TLO.DAG.getBitcast(VT, Src));
1640 return TLO.CombineTo(Op, TLO.DAG.getNode(Opc, dl, VT, Src));
1667 TLO.DAG.getDataLayout().isLittleEndian())
1668 return TLO.CombineTo(Op, TLO.DAG.getBitcast(VT, Src));
1673 return TLO.CombineTo(Op, TLO.DAG.getNode(Opc, dl, VT, Src));
1697 return TLO.CombineTo(Op, TLO.DAG.getNode(Opc, dl, VT, Src));
1713 TLO.DAG.getDataLayout().isLittleEndian())
1714 return TLO.CombineTo(Op, TLO.DAG.getBitcast(VT, Src));
1739 Src, TruncMask, DemandedElts, TLO.DAG, Depth + 1))
1740 return TLO.CombineTo(Op, TLO.DAG.getNode(ISD::TRUNCATE, dl, VT, NewSrc));
1764 Shift = TLO.DAG.getConstant(ShVal, dl, getShiftAmountTy(VT, DL));
1775 TLO.DAG.getNode(ISD::TRUNCATE, dl, VT, Src.getOperand(0));
1777 Op, TLO.DAG.getNode(ISD::SRL, dl, VT, NewTrunc, Shift));
1844 SDValue Sign = TLO.DAG.getNode(ISD::FGETSIGN, dl, Ty, Src);
1847 Sign = TLO.DAG.getNode(ISD::ZERO_EXTEND, dl, VT, Sign);
1849 SDValue ShAmt = TLO.DAG.getConstant(ShVal, dl, VT);
1851 TLO.DAG.getNode(ISD::SHL, dl, VT, Sign, ShAmt));
1859 TLO.DAG.getDataLayout().isLittleEndian()) {
1885 TLO.DAG.getDataLayout().isLittleEndian()) {
1913 Known = TLO.DAG.computeKnownBits(Op, DemandedElts, Depth);
1939 TLO.DAG.getNode(Op.getOpcode(), dl, VT, Op0, Op1, Flags);
1948 Op0, LoMask, DemandedElts, TLO.DAG, Depth + 1);
1950 Op1, LoMask, DemandedElts, TLO.DAG, Depth + 1);
1957 TLO.DAG.getNode(Op.getOpcode(), dl, VT, Op0, Op1, Flags);
1971 SDValue Neg1 = TLO.DAG.getAllOnesConstant(dl, VT);
1976 SDValue NewOp = TLO.DAG.getNode(Op.getOpcode(), dl, VT, Op0, Neg1, Flags);
1991 Known = TLO.DAG.computeKnownBits(Op, DemandedElts, Depth);
2010 return TLO.CombineTo(Op, TLO.DAG.getConstant(Known.One, dl, VT));
2109 return TLO.CombineTo(Op, TLO.DAG.getUNDEF(VT));
2123 return TLO.CombineTo(Op, TLO.DAG.getUNDEF(VT));
2161 if (TLO.DAG.getDataLayout().isLittleEndian()) {
2223 Ops[i] = TLO.DAG.getUNDEF(Ops[0].getValueType());
2229 return TLO.CombineTo(Op, TLO.DAG.getBuildVector(VT, DL, Ops));
2281 TLO.DAG.getNode(ISD::INSERT_SUBVECTOR, DL, VT,
2282 TLO.DAG.getUNDEF(VT),
2422 NewMask, TLO.DAG);
2461 DemandedSrcElts == 1 && TLO.DAG.getDataLayout().isLittleEndian()) {
2463 return TLO.CombineTo(Op, TLO.DAG.getBitcast(VT, Src));
2469 return TLO.CombineTo(Op, TLO.DAG.getConstant(0, SDLoc(Op), VT));
2496 KnownUndef = getKnownUndefForVectorBinop(Op, TLO.DAG, UndefLHS, UndefRHS);
2546 return TLO.CombineTo(Op, TLO.DAG.getConstant(0, SDLoc(Op), VT));
2570 return TLO.CombineTo(Op, TLO.DAG.getUNDEF(VT));
2647 computeKnownBitsForTargetNode(Op, Known, DemandedElts, TLO.DAG, Depth);
lib/Target/AArch64/AArch64ISelLowering.cpp 994 New = TLO.DAG.getNode(Op.getOpcode(), DL, VT, Op.getOperand(0),
995 TLO.DAG.getConstant(NewImm, DL, VT));
1000 SDValue EncConst = TLO.DAG.getTargetConstant(Enc, DL, VT);
1002 TLO.DAG.getMachineNode(NewOpc, DL, VT, Op.getOperand(0), EncConst), 0);
lib/Target/ARM/ARMISelLowering.cpp15521 SDValue NewC = TLO.DAG.getConstant(NewMask, DL, VT);
15522 SDValue NewOp = TLO.DAG.getNode(ISD::AND, DL, VT, Op.getOperand(0), NewC);
lib/Target/X86/X86ISelLowering.cpp31476 SDValue NewC = TLO.DAG.getConstant(ZeroExtendMask, DL, VT);
31477 SDValue NewOp = TLO.DAG.getNode(ISD::AND, DL, VT, Op.getOperand(0), NewC);
34338 SDValue NewSA = TLO.DAG.getTargetConstant(Diff, dl, MVT::i8);
34340 Op, TLO.DAG.getNode(NewOpc, dl, VT, Src.getOperand(0), NewSA));
34377 SDValue NewSA = TLO.DAG.getTargetConstant(Diff, dl, MVT::i8);
34379 Op, TLO.DAG.getNode(NewOpc, dl, VT, Src.getOperand(0), NewSA));
34426 N0, DemandedSrcBits, DemandedLHS, TLO.DAG, Depth + 1);
34428 N1, DemandedSrcBits, DemandedRHS, TLO.DAG, Depth + 1);
34433 TLO.DAG.getNode(Opc, SDLoc(Op), VT, NewN0, NewN1));
34498 Src = widenSubVector(VT.getSimpleVT(), Src, false, Subtarget, TLO.DAG,
34555 extractSubVector(Op.getOperand(0), 0, TLO.DAG, DL, ExtSizeInBits);
34557 TLO.DAG.getNode(Opc, DL, Ext0.getValueType(), Ext0);
34558 SDValue UndefVec = TLO.DAG.getUNDEF(VT);
34560 insertSubVector(UndefVec, ExtOp, 0, TLO.DAG, DL, ExtSizeInBits);
34568 Src = extractSubVector(Src, 0, TLO.DAG, DL, ExtSizeInBits);
34573 Src = TLO.DAG.getNode(X86ISD::SUBV_BROADCAST, DL, SrcVT, Src);
34575 return TLO.CombineTo(Op, insertSubVector(TLO.DAG.getUNDEF(VT), Src, 0,
34576 TLO.DAG, DL, ExtSizeInBits));
34591 extractSubVector(Op.getOperand(0), 0, TLO.DAG, DL, ExtSizeInBits);
34593 TLO.DAG.getNode(Opc, DL, Ext0.getValueType(), Ext0, Op.getOperand(1));
34594 SDValue UndefVec = TLO.DAG.getUNDEF(VT);
34596 insertSubVector(UndefVec, ExtOp, 0, TLO.DAG, DL, ExtSizeInBits);
34607 SDValue Ext = extractSubVector(Op.getOperand(0), 2, TLO.DAG, DL, 128);
34608 SDValue UndefVec = TLO.DAG.getUNDEF(VT);
34609 SDValue Insert = insertSubVector(UndefVec, Ext, 0, TLO.DAG, DL, 128);
34632 extractSubVector(Op.getOperand(0), 0, TLO.DAG, DL, ExtSizeInBits);
34634 extractSubVector(Op.getOperand(1), 0, TLO.DAG, DL, ExtSizeInBits);
34635 SDValue ExtOp = TLO.DAG.getNode(Opc, DL, ExtVT, Ext0, Ext1);
34636 SDValue UndefVec = TLO.DAG.getUNDEF(VT);
34638 insertSubVector(UndefVec, ExtOp, 0, TLO.DAG, DL, ExtSizeInBits);
34649 OpZero, TLO.DAG, Depth, false))
34671 return TLO.CombineTo(Op, TLO.DAG.getUNDEF(VT));
34676 Op, getZeroVector(VT.getSimpleVT(), Subtarget, TLO.DAG, SDLoc(Op)));
34680 return TLO.CombineTo(Op, TLO.DAG.getBitcast(VT, OpInputs[Src]));
34732 LHS, DemandedMask, OriginalDemandedElts, TLO.DAG, Depth + 1);
34734 RHS, DemandedMask, OriginalDemandedElts, TLO.DAG, Depth + 1);
34739 Op, TLO.DAG.getNode(Opc, SDLoc(Op), VT, DemandedLHS, DemandedRHS));
34766 SDValue NewShift = TLO.DAG.getNode(
34768 TLO.DAG.getTargetConstant(std::abs(Diff), SDLoc(Op), MVT::i8));
34827 TLO.DAG.ComputeNumSignBits(Op00, OriginalDemandedElts);
34850 Op, TLO.DAG.getNode(X86ISD::VSRLI, SDLoc(Op), VT, Op0, Op1));
34873 return TLO.CombineTo(Op, TLO.DAG.getConstant(0, SDLoc(Op), VT));
34887 Vec, DemandedVecBits, DemandedVecElts, TLO.DAG, Depth + 1))
34889 Op, TLO.DAG.getNode(Opc, SDLoc(Op), VT, V, Op.getOperand(1)));
34962 return TLO.CombineTo(Op, TLO.DAG.getConstant(0, SDLoc(Op), VT));