/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelLoweringHVX.cpp | 208 HexagonTargetLowering::getInt(unsigned IntId, MVT ResTy, ArrayRef<SDValue> Ops, in getInt() argument 214 return DAG.getNode(ISD::INTRINSIC_WO_CHAIN, dl, ResTy, IntOps); in getInt() 330 MVT ResTy = tyVector(OpTy, MVT::i8); in getByteShuffle() local 344 assert(ResTy.getVectorNumElements() == ByteMask.size()); in getByteShuffle() 345 return DAG.getVectorShuffle(ResTy, dl, opCastElem(Op0, MVT::i8, DAG), in getByteShuffle() 665 const SDLoc &dl, MVT ResTy, SelectionDAG &DAG) const { in extractHvxElementReg() argument 689 const SDLoc &dl, MVT ResTy, SelectionDAG &DAG) const { in extractHvxElementPred() argument 691 assert(ResTy == MVT::i1); in extractHvxElementPred() 769 const SDLoc &dl, MVT ResTy, SelectionDAG &DAG) const { in extractHvxSubvectorReg() argument 789 if (VecTy == ResTy) in extractHvxSubvectorReg() [all …]
|
D | HexagonISelLowering.h | 349 MVT ValTy, MVT ResTy, SelectionDAG &DAG) const; 373 SDValue getInt(unsigned IntId, MVT ResTy, ArrayRef<SDValue> Ops, 423 MVT ResTy, SelectionDAG &DAG) const; 425 MVT ResTy, SelectionDAG &DAG) const; 431 MVT ResTy, SelectionDAG &DAG) const; 433 MVT ResTy, SelectionDAG &DAG) const; 438 SDValue extendHvxVectorPred(SDValue VecV, const SDLoc &dl, MVT ResTy,
|
D | HexagonISelDAGToDAGHVX.cpp | 860 bool scalarizeShuffle(ArrayRef<int> Mask, const SDLoc &dl, MVT ResTy, 1362 MVT ResTy, SDValue Va, SDValue Vb, in scalarizeShuffle() argument 1365 MVT ElemTy = ResTy.getVectorElementType(); in scalarizeShuffle() 1430 LV = DAG.getNode(ISD::CONCAT_VECTORS, dl, ResTy, {L0, L1}); in scalarizeShuffle() 1432 SDValue BV = DAG.getBuildVector(ResTy, dl, Ops); in scalarizeShuffle() 1507 MVT ResTy = getSingleVT(MVT::i8); in contracting() local 1550 Results.push(Hexagon::V6_vdealb4w, ResTy, {Vb, Va}); in contracting() 1580 Res.Ty = ResTy; in contracting() 1610 Res.Ty = ResTy; in contracting() 1950 MVT ResTy = getSingleVT(MVT::i8); in butterfly() local [all …]
|
D | HexagonISelDAGToDAG.h | 127 SDValue selectUndef(const SDLoc &dl, MVT ResTy) { in selectUndef() argument 128 SDNode *U = CurDAG->getMachineNode(TargetOpcode::IMPLICIT_DEF, dl, ResTy); in selectUndef()
|
D | HexagonISelDAGToDAG.cpp | 772 MVT ResTy = N->getValueType(0).getSimpleVT(); in SelectVAlign() local 773 if (HST->isHVXVectorType(ResTy, true)) in SelectVAlign() 777 unsigned VecLen = ResTy.getSizeInBits(); in SelectVAlign() 796 SDValue E = CurDAG->getTargetExtractSubreg(Hexagon::isub_lo, dl, ResTy, in SelectVAlign() 803 SDNode *VA = CurDAG->getMachineNode(Hexagon::S2_valignrb, dl, ResTy, in SelectVAlign() 834 MVT ResTy = N->getValueType(0).getSimpleVT(); in SelectP2D() local 835 SDNode *T = CurDAG->getMachineNode(Hexagon::C2_mask, SDLoc(N), ResTy, in SelectP2D() 842 MVT ResTy = N->getValueType(0).getSimpleVT(); in SelectD2P() local 844 SDNode *T = CurDAG->getMachineNode(Hexagon::A4_vcmpbgtui, dl, ResTy, in SelectD2P() 851 MVT ResTy = N->getValueType(0).getSimpleVT(); in SelectV2Q() local [all …]
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonISelLoweringHVX.cpp | 301 HexagonTargetLowering::getInt(unsigned IntId, MVT ResTy, ArrayRef<SDValue> Ops, in getInt() argument 307 return DAG.getNode(ISD::INTRINSIC_WO_CHAIN, dl, ResTy, IntOps); in getInt() 454 MVT ResTy = tyVector(OpTy, MVT::i8); in getByteShuffle() local 468 assert(ResTy.getVectorNumElements() == ByteMask.size()); in getByteShuffle() 469 return DAG.getVectorShuffle(ResTy, dl, opCastElem(Op0, MVT::i8, DAG), in getByteShuffle() 795 const SDLoc &dl, MVT ResTy, SelectionDAG &DAG) const { in extractHvxElementReg() argument 819 const SDLoc &dl, MVT ResTy, SelectionDAG &DAG) const { in extractHvxElementPred() argument 821 assert(ResTy == MVT::i1); in extractHvxElementPred() 899 const SDLoc &dl, MVT ResTy, SelectionDAG &DAG) const { in extractHvxSubvectorReg() argument 919 if (VecTy == ResTy) in extractHvxSubvectorReg() [all …]
|
D | HexagonISelLowering.h | 363 MVT ValTy, MVT ResTy, SelectionDAG &DAG) const; 371 SDValue appendUndef(SDValue Val, MVT ResTy, SelectionDAG &DAG) const; 388 SDValue getInt(unsigned IntId, MVT ResTy, ArrayRef<SDValue> Ops, 445 MVT ResTy, SelectionDAG &DAG) const; 447 MVT ResTy, SelectionDAG &DAG) const; 453 MVT ResTy, SelectionDAG &DAG) const; 455 MVT ResTy, SelectionDAG &DAG) const; 460 SDValue extendHvxVectorPred(SDValue VecV, const SDLoc &dl, MVT ResTy, 462 SDValue compressHvxPred(SDValue VecQ, const SDLoc &dl, MVT ResTy,
|
D | HexagonISelDAGToDAGHVX.cpp | 867 bool scalarizeShuffle(ArrayRef<int> Mask, const SDLoc &dl, MVT ResTy, 1418 MVT ResTy, SDValue Va, SDValue Vb, in scalarizeShuffle() argument 1421 MVT ElemTy = ResTy.getVectorElementType(); in scalarizeShuffle() 1481 LV = DAG.getNode(ISD::CONCAT_VECTORS, dl, ResTy, {L0, L1}); in scalarizeShuffle() 1483 SDValue BV = DAG.getBuildVector(ResTy, dl, Ops); in scalarizeShuffle() 1488 SDValue IS = DAG.getNode(HexagonISD::ISEL, dl, ResTy, LV); in scalarizeShuffle() 1510 MVT ResTy = getSingleVT(MVT::i8); in contracting() local 1553 Results.push(Hexagon::V6_vdealb4w, ResTy, {Vb, Va}); in contracting() 1583 Res.Ty = ResTy; in contracting() 1613 Res.Ty = ResTy; in contracting() [all …]
|
D | HexagonISelDAGToDAG.h | 125 SDValue selectUndef(const SDLoc &dl, MVT ResTy) { in selectUndef() argument 126 SDNode *U = CurDAG->getMachineNode(TargetOpcode::IMPLICIT_DEF, dl, ResTy); in selectUndef()
|
D | HexagonISelDAGToDAG.cpp | 772 MVT ResTy = N->getValueType(0).getSimpleVT(); in SelectVAlign() local 773 if (HST->isHVXVectorType(ResTy, true)) in SelectVAlign() 777 unsigned VecLen = ResTy.getSizeInBits(); in SelectVAlign() 804 SDValue E = CurDAG->getTargetExtractSubreg(Hexagon::isub_lo, dl, ResTy, in SelectVAlign() 811 SDNode *VA = CurDAG->getMachineNode(Hexagon::S2_valignrb, dl, ResTy, in SelectVAlign() 842 MVT ResTy = N->getValueType(0).getSimpleVT(); in SelectP2D() local 843 SDNode *T = CurDAG->getMachineNode(Hexagon::C2_mask, SDLoc(N), ResTy, in SelectP2D() 850 MVT ResTy = N->getValueType(0).getSimpleVT(); in SelectD2P() local 852 SDNode *T = CurDAG->getMachineNode(Hexagon::A4_vcmpbgtui, dl, ResTy, in SelectD2P() 859 MVT ResTy = N->getValueType(0).getSimpleVT(); in SelectV2Q() local [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsSEISelLowering.cpp | 1374 EVT ResTy = Op->getValueType(0); in lowerMSACopyIntr() local 1377 SDValue Result = DAG.getNode(Opc, DL, ResTy, Vec, Idx, in lowerMSACopyIntr() 1498 EVT ResTy = Op->getValueType(0); in lowerMSABitClear() local 1500 SDValue One = DAG.getConstant(1, DL, ResTy); in lowerMSABitClear() 1501 SDValue Bit = DAG.getNode(ISD::SHL, DL, ResTy, One, Op->getOperand(2)); in lowerMSABitClear() 1503 return DAG.getNode(ISD::AND, DL, ResTy, Op->getOperand(1), in lowerMSABitClear() 1504 DAG.getNOT(DL, Bit, ResTy)); in lowerMSABitClear() 1509 EVT ResTy = Op->getValueType(0); in lowerMSABitClearImm() local 1510 APInt BitImm = APInt(ResTy.getVectorElementType().getSizeInBits(), 1) in lowerMSABitClearImm() 1512 SDValue BitMask = DAG.getConstant(~BitImm, DL, ResTy); in lowerMSABitClearImm() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsSEISelLowering.cpp | 413 EVT ResTy = Op->getValueType(0); in lowerSELECT() local 420 return DAG.getNode(MipsISD::FSELECT, DL, ResTy, Tmp, Op->getOperand(1), in lowerSELECT() 1366 EVT ResTy = Op->getValueType(0); in lowerMSACopyIntr() local 1369 SDValue Result = DAG.getNode(Opc, DL, ResTy, Vec, Idx, in lowerMSACopyIntr() 1510 EVT ResTy = Op->getValueType(0); in truncateVecElts() local 1513 MVT ResEltTy = ResTy == MVT::v2i64 ? MVT::i64 : MVT::i32; in truncateVecElts() 1516 SDValue SplatVec = getBuildVectorSplat(ResTy, ConstValue, BigEndian, DAG); in truncateVecElts() 1518 return DAG.getNode(ISD::AND, DL, ResTy, Vec, SplatVec); in truncateVecElts() 1522 EVT ResTy = Op->getValueType(0); in lowerMSABitClear() local 1524 SDValue One = DAG.getConstant(1, DL, ResTy); in lowerMSABitClear() [all …]
|
/external/llvm-project/llvm/lib/Target/Mips/ |
D | MipsSEISelLowering.cpp | 413 EVT ResTy = Op->getValueType(0); in lowerSELECT() local 420 return DAG.getNode(MipsISD::FSELECT, DL, ResTy, Tmp, Op->getOperand(1), in lowerSELECT() 1365 EVT ResTy = Op->getValueType(0); in lowerMSACopyIntr() local 1368 SDValue Result = DAG.getNode(Opc, DL, ResTy, Vec, Idx, in lowerMSACopyIntr() 1509 EVT ResTy = Op->getValueType(0); in truncateVecElts() local 1512 MVT ResEltTy = ResTy == MVT::v2i64 ? MVT::i64 : MVT::i32; in truncateVecElts() 1515 SDValue SplatVec = getBuildVectorSplat(ResTy, ConstValue, BigEndian, DAG); in truncateVecElts() 1517 return DAG.getNode(ISD::AND, DL, ResTy, Vec, SplatVec); in truncateVecElts() 1521 EVT ResTy = Op->getValueType(0); in lowerMSABitClear() local 1523 SDValue One = DAG.getConstant(1, DL, ResTy); in lowerMSABitClear() [all …]
|
/external/llvm/lib/Target/Sparc/AsmParser/ |
D | SparcAsmParser.cpp | 747 OperandMatchResultTy ResTy = parseSparcAsmOperand(Offset); in parseMEMOperand() local 748 if (ResTy != MatchOperand_Success || !Offset) in parseMEMOperand() 761 OperandMatchResultTy ResTy = MatchOperandParserImpl(Operands, Mnemonic); in parseOperand() local 766 if (ResTy == MatchOperand_Success || ResTy == MatchOperand_ParseFail) in parseOperand() 767 return ResTy; in parseOperand() 788 ResTy = MatchOperand_Success; in parseOperand() 790 ResTy = parseMEMOperand(Operands); in parseOperand() 793 if (ResTy != MatchOperand_Success) in parseOperand() 794 return ResTy; in parseOperand() 806 ResTy = parseSparcAsmOperand(Op, false); in parseOperand() [all …]
|
/external/llvm-project/llvm/lib/Target/Sparc/AsmParser/ |
D | SparcAsmParser.cpp | 755 OperandMatchResultTy ResTy = parseSparcAsmOperand(Offset); in parseMEMOperand() local 756 if (ResTy != MatchOperand_Success || !Offset) in parseMEMOperand() 815 OperandMatchResultTy ResTy = MatchOperandParserImpl(Operands, Mnemonic); in parseOperand() local 820 if (ResTy == MatchOperand_Success || ResTy == MatchOperand_ParseFail) in parseOperand() 821 return ResTy; in parseOperand() 842 ResTy = MatchOperand_Success; in parseOperand() 844 ResTy = parseMEMOperand(Operands); in parseOperand() 847 if (ResTy != MatchOperand_Success) in parseOperand() 848 return ResTy; in parseOperand() 860 ResTy = parseSparcAsmOperand(Op, false); in parseOperand() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/AsmParser/ |
D | SparcAsmParser.cpp | 744 OperandMatchResultTy ResTy = parseSparcAsmOperand(Offset); in parseMEMOperand() local 745 if (ResTy != MatchOperand_Success || !Offset) in parseMEMOperand() 804 OperandMatchResultTy ResTy = MatchOperandParserImpl(Operands, Mnemonic); in parseOperand() local 809 if (ResTy == MatchOperand_Success || ResTy == MatchOperand_ParseFail) in parseOperand() 810 return ResTy; in parseOperand() 831 ResTy = MatchOperand_Success; in parseOperand() 833 ResTy = parseMEMOperand(Operands); in parseOperand() 836 if (ResTy != MatchOperand_Success) in parseOperand() 837 return ResTy; in parseOperand() 849 ResTy = parseSparcAsmOperand(Op, false); in parseOperand() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | MachineIRBuilder.cpp | 540 LLT ResTy = getMRI()->getType(Res); in buildSequence() local 551 if (MaybeMerge && Ops.size() * OpSize == ResTy.getSizeInBits()) { in buildSequence() 556 Register ResIn = getMRI()->createGenericVirtualRegister(ResTy); in buildSequence() 562 : getMRI()->createGenericVirtualRegister(ResTy); in buildSequence() 929 void MachineIRBuilder::validateSelectOp(const LLT &ResTy, const LLT &TstTy, in validateSelectOp() argument 932 assert((ResTy.isScalar() || ResTy.isVector() || ResTy.isPointer()) && in validateSelectOp() 934 assert((ResTy == Op0Ty && ResTy == Op1Ty) && "type mismatch"); in validateSelectOp() 935 if (ResTy.isScalar() || ResTy.isPointer()) in validateSelectOp()
|
/external/llvm-project/llvm/lib/Target/SystemZ/AsmParser/ |
D | SystemZAsmParser.cpp | 1214 OperandMatchResultTy ResTy; in ParseDirectiveInsn() local 1216 ResTy = parseAnyReg(Operands); in ParseDirectiveInsn() 1218 ResTy = parseVR128(Operands); in ParseDirectiveInsn() 1220 ResTy = parseBDXAddr64(Operands); in ParseDirectiveInsn() 1222 ResTy = parseBDAddr64(Operands); in ParseDirectiveInsn() 1224 ResTy = parseBDVAddr64(Operands); in ParseDirectiveInsn() 1226 ResTy = parsePCRel32(Operands); in ParseDirectiveInsn() 1228 ResTy = parsePCRel16(Operands); in ParseDirectiveInsn() 1242 ResTy = MatchOperand_Success; in ParseDirectiveInsn() 1245 if (ResTy != MatchOperand_Success) in ParseDirectiveInsn() [all …]
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | MachineIRBuilder.cpp | 535 LLT ResTy = getMRI()->getType(Res); in buildSequence() local 546 if (MaybeMerge && Ops.size() * OpSize == ResTy.getSizeInBits()) { in buildSequence() 551 Register ResIn = getMRI()->createGenericVirtualRegister(ResTy); in buildSequence() 557 : getMRI()->createGenericVirtualRegister(ResTy); in buildSequence() 958 void MachineIRBuilder::validateSelectOp(const LLT ResTy, const LLT TstTy, in validateSelectOp() argument 961 assert((ResTy.isScalar() || ResTy.isVector() || ResTy.isPointer()) && in validateSelectOp() 963 assert((ResTy == Op0Ty && ResTy == Op1Ty) && "type mismatch"); in validateSelectOp() 964 if (ResTy.isScalar() || ResTy.isPointer()) in validateSelectOp()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/AsmParser/ |
D | SystemZAsmParser.cpp | 1063 OperandMatchResultTy ResTy; in ParseDirectiveInsn() local 1065 ResTy = parseAnyReg(Operands); in ParseDirectiveInsn() 1067 ResTy = parseBDXAddr64(Operands); in ParseDirectiveInsn() 1069 ResTy = parseBDAddr64(Operands); in ParseDirectiveInsn() 1071 ResTy = parsePCRel32(Operands); in ParseDirectiveInsn() 1073 ResTy = parsePCRel16(Operands); in ParseDirectiveInsn() 1087 ResTy = MatchOperand_Success; in ParseDirectiveInsn() 1090 if (ResTy != MatchOperand_Success) in ParseDirectiveInsn() 1187 OperandMatchResultTy ResTy = MatchOperandParserImpl(Operands, Mnemonic); in parseOperand() local 1189 if (ResTy == MatchOperand_Success) in parseOperand() [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMInstrNEON.td | 2435 string Dt, ValueType ResTy, ValueType OpTy, SDNode OpNode> 2438 [(set DPR:$Vd, (ResTy (OpNode (OpTy DPR:$Vm))))]>; 2441 string Dt, ValueType ResTy, ValueType OpTy, SDNode OpNode> 2444 [(set QPR:$Vd, (ResTy (OpNode (OpTy QPR:$Vm))))]>; 2450 ValueType ResTy, ValueType OpTy, SDPatternOperator IntOp> 2453 [(set DPR:$Vd, (ResTy (IntOp (OpTy DPR:$Vm))))]>; 2457 ValueType ResTy, ValueType OpTy, SDPatternOperator IntOp> 2460 [(set QPR:$Vd, (ResTy (IntOp (OpTy QPR:$Vm))))]>; 2465 ValueType ResTy, ValueType OpTy, SDPatternOperator IntOp> 2468 [(set DPR:$Vd, (ResTy (IntOp (OpTy DPR:$Vm))))]>; [all …]
|
/external/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 4122 OperandMatchResultTy ResTy = MatchOperandParserImpl(Operands, Mnemonic); in parseOperand() local 4123 if (ResTy == MatchOperand_Success) in parseOperand() 4128 if (ResTy == MatchOperand_ParseFail) in parseOperand() 4171 OperandMatchResultTy ResTy = parseImm(Operands); in parseOperand() local 4172 return ResTy != MatchOperand_Success; in parseOperand() 4296 OperandMatchResultTy ResTy = parseAnyRegister(Operands); in ParseRegister() local 4297 if (ResTy == MatchOperand_Success) { in ParseRegister() 4449 OperandMatchResultTy ResTy = in searchSymbolAlias() local 4451 if (ResTy == MatchOperand_Success) { in searchSymbolAlias() 4454 } else if (ResTy == MatchOperand_ParseFail) in searchSymbolAlias() [all …]
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | ARMInstrNEON.td | 2450 string Dt, ValueType ResTy, ValueType OpTy, SDNode OpNode> 2453 [(set DPR:$Vd, (ResTy (OpNode (OpTy DPR:$Vm))))]>; 2456 string Dt, ValueType ResTy, ValueType OpTy, SDNode OpNode> 2459 [(set QPR:$Vd, (ResTy (OpNode (OpTy QPR:$Vm))))]>; 2465 ValueType ResTy, ValueType OpTy, SDPatternOperator IntOp> 2468 [(set DPR:$Vd, (ResTy (IntOp (OpTy DPR:$Vm))))]>; 2472 ValueType ResTy, ValueType OpTy, SDPatternOperator IntOp> 2475 [(set QPR:$Vd, (ResTy (IntOp (OpTy QPR:$Vm))))]>; 2480 ValueType ResTy, ValueType OpTy, SDPatternOperator IntOp> 2483 [(set DPR:$Vd, (ResTy (IntOp (OpTy DPR:$Vm))))]>; [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMInstrNEON.td | 2519 string Dt, ValueType ResTy, ValueType OpTy, SDNode OpNode> 2522 [(set DPR:$Vd, (ResTy (OpNode (OpTy DPR:$Vm))))]>; 2525 string Dt, ValueType ResTy, ValueType OpTy, SDNode OpNode> 2528 [(set QPR:$Vd, (ResTy (OpNode (OpTy QPR:$Vm))))]>; 2534 ValueType ResTy, ValueType OpTy, SDPatternOperator IntOp> 2537 [(set DPR:$Vd, (ResTy (IntOp (OpTy DPR:$Vm))))]>; 2541 ValueType ResTy, ValueType OpTy, SDPatternOperator IntOp> 2544 [(set QPR:$Vd, (ResTy (IntOp (OpTy QPR:$Vm))))]>; 2549 ValueType ResTy, ValueType OpTy, SDPatternOperator IntOp> 2552 [(set DPR:$Vd, (ResTy (IntOp (OpTy DPR:$Vm))))]>; [all …]
|
/external/llvm-project/llvm/lib/Target/VE/AsmParser/ |
D | VEAsmParser.cpp | 1401 OperandMatchResultTy ResTy = MatchOperandParserImpl(Operands, Mnemonic); in parseOperand() local 1406 if (ResTy == MatchOperand_Success || ResTy == MatchOperand_ParseFail) in parseOperand() 1407 return ResTy; in parseOperand() 1444 ResTy = parseVEAsmOperand(Op); in parseOperand() 1445 if (ResTy != MatchOperand_Success || !Op) in parseOperand() 1460 ResTy = parseVEAsmOperand(Op2); in parseOperand() 1461 if (ResTy != MatchOperand_Success || !Op2) in parseOperand()
|