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

References

lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
  251       switch (TLI.getLoadExtAction(LD->getExtensionType(), LD->getValueType(0),
  257         if (SDValue Lowered = TLI.LowerOperation(Result, DAG)) {
  280       switch (TLI.getTruncStoreAction(ValVT, StVT)) {
  285         SDValue Lowered = TLI.LowerOperation(Result, DAG);
  341     Action = TLI.getOperationAction(Node->getOpcode(), Node->getValueType(0));
  348         TLI.getStrictFPOperationAction(Node->getOpcode(),
  352       if (TLI.getOperationAction(Node->getOpcode(), EltVT)
  354           TLI.getStrictFPOperationAction(Node->getOpcode(), EltVT)
  452     Action = TLI.getOperationAction(Node->getOpcode(), Node->getValueType(0));
  459     Action = TLI.getFixedPointOperationAction(Node->getOpcode(),
  478     Action = TLI.getOperationAction(Node->getOpcode(),
  496     if (SDValue Tmp1 = TLI.LowerOperation(Op, DAG)) {
  542   MVT NVT = TLI.getTypeToPromoteTo(Op.getOpcode(), VT);
  573   MVT NVT = TLI.getTypeToPromoteTo(Op.getOpcode(), VT);
  598   MVT NVT = TLI.getTypeToPromoteTo(Op.getOpcode(), VT);
  606       TLI.isOperationLegalOrCustom(ISD::FP_TO_SINT, NVT))
  647     EVT WideVT = TLI.getPointerTy(DAG.getDataLayout());
  704           BitOffset, dl, TLI.getShiftAmountTy(WideVT, DAG.getDataLayout()));
  714               TLI.getShiftAmountTy(WideVT, DAG.getDataLayout()));
  734                             TLI.getShiftAmountTy(WideVT, DAG.getDataLayout()));
  746     SDValue Scalarized = TLI.scalarizeVectorLoad(LD, DAG);
  765   SDValue TF = TLI.scalarizeVectorStore(ST, DAG);
  881     return TLI.expandVecReduce(Op.getNode(), DAG);
  906   if (TLI.getOperationAction(ISD::AND, VT) == TargetLowering::Expand ||
  907       TLI.getOperationAction(ISD::XOR, VT) == TargetLowering::Expand ||
  908       TLI.getOperationAction(ISD::OR,  VT) == TargetLowering::Expand ||
  909       TLI.getOperationAction(ISD::BUILD_VECTOR,  VT) == TargetLowering::Expand)
  946   if (TLI.getOperationAction(ISD::SRA, VT) == TargetLowering::Expand ||
  947       TLI.getOperationAction(ISD::SHL, VT) == TargetLowering::Expand)
  982         DAG.getConstant(0, DL, TLI.getVectorIdxTy(DAG.getDataLayout())));
 1042         DAG.getConstant(0, DL, TLI.getVectorIdxTy(DAG.getDataLayout())));
 1080   if (!TLI.isShuffleMaskLegal(ShuffleMask, ByteVT))
 1093   if (TLI.isOperationLegalOrCustom(ISD::BITREVERSE, VT.getScalarType()))
 1105     if (TLI.isShuffleMaskLegal(BSWAPMask, ByteVT) &&
 1106         (TLI.isOperationLegalOrCustom(ISD::BITREVERSE, ByteVT) ||
 1107          (TLI.isOperationLegalOrCustom(ISD::SHL, ByteVT) &&
 1108           TLI.isOperationLegalOrCustom(ISD::SRL, ByteVT) &&
 1109           TLI.isOperationLegalOrCustomOrPromote(ISD::AND, ByteVT) &&
 1110           TLI.isOperationLegalOrCustomOrPromote(ISD::OR, ByteVT)))) {
 1122   if (!TLI.isOperationLegalOrCustom(ISD::SHL, VT) ||
 1123       !TLI.isOperationLegalOrCustom(ISD::SRL, VT) ||
 1124       !TLI.isOperationLegalOrCustomOrPromote(ISD::AND, VT) ||
 1125       !TLI.isOperationLegalOrCustomOrPromote(ISD::OR, VT))
 1150   if (TLI.getOperationAction(ISD::AND, VT) == TargetLowering::Expand ||
 1151       TLI.getOperationAction(ISD::XOR, VT) == TargetLowering::Expand ||
 1152       TLI.getOperationAction(ISD::OR, VT) == TargetLowering::Expand ||
 1153       TLI.getBooleanContents(Op1.getValueType()) !=
 1182   if (TLI.expandABS(Op.getNode(), Result, DAG))
 1192   if (TLI.expandFP_TO_UINT(Op.getNode(), Result, Chain, DAG)) {
 1209   if (TLI.expandUINT_TO_FP(Op.getNode(), Result, DAG))
 1213   if (TLI.getOperationAction(ISD::SINT_TO_FP, VT) == TargetLowering::Expand ||
 1214       TLI.getOperationAction(ISD::SRL,        VT) == TargetLowering::Expand)
 1248   if (TLI.isOperationLegalOrCustom(ISD::FSUB, Op.getValueType())) {
 1263   if (TLI.isOperationLegalOrCustom(ISD::FNEG, VT) &&
 1264       TLI.isOperationLegalOrCustom(ISD::FADD, VT))
 1272   if (TLI.expandCTPOP(Op.getNode(), Result, DAG))
 1280   if (TLI.expandCTLZ(Op.getNode(), Result, DAG))
 1288   if (TLI.expandCTTZ(Op.getNode(), Result, DAG))
 1296   if (TLI.expandFunnelShift(Op.getNode(), Result, DAG))
 1304   if (TLI.expandROT(Op.getNode(), Result, DAG))
 1311   if (SDValue Expanded = TLI.expandFMINNUM_FMAXNUM(Op.getNode(), DAG))
 1318   TLI.expandUADDSUBO(Op.getNode(), Result, Overflow, DAG);
 1331   TLI.expandSADDSUBO(Op.getNode(), Result, Overflow, DAG);
 1344   if (!TLI.expandMULO(Op.getNode(), Result, Overflow, DAG))
 1357   if (SDValue Expanded = TLI.expandAddSubSat(Op.getNode(), DAG))
 1363   if (SDValue Expanded = TLI.expandFixedPointMul(Op.getNode(), DAG))
 1426         DAG.getConstant(i, dl, TLI.getVectorIdxTy(DAG.getDataLayout())));
 1429         DAG.getConstant(i, dl, TLI.getVectorIdxTy(DAG.getDataLayout())));
 1431                          TLI.getSetCCResultType(DAG.getDataLayout(),