Home | History | Annotate | Download | only in Hexagon

Lines Matching refs:MVT

276   if (MemType == MVT::i64 && isShiftedInt<11,3>(Offset)) {
279 if (MemType == MVT::i32 && isShiftedInt<11,2>(Offset)) {
282 if (MemType == MVT::i16 && isShiftedInt<11,1>(Offset)) {
285 if (MemType == MVT::i8 && isInt<11>(Offset)) {
308 MVT PointerTy = TLI.getPointerTy();
317 if (LoadedVT == MVT::i64) Opcode = Hexagon::LDrid_indexed;
318 else if (LoadedVT == MVT::i32) Opcode = Hexagon::LDriw_indexed;
319 else if (LoadedVT == MVT::i16) Opcode = Hexagon::LDrih_indexed;
320 else if (LoadedVT == MVT::i8) Opcode = Hexagon::LDrib_indexed;
327 MVT::Other,
357 N1.getNode()->getValueType(0) == MVT::i32) {
359 SDValue TargetConst = CurDAG->getTargetConstant(Val, MVT::i32);
360 SDNode *Result_1 = CurDAG->getMachineNode(Opcode, dl, MVT::i32, MVT::i32,
361 MVT::Other, Base, TargetConst,
363 SDNode *Result_2 = CurDAG->getMachineNode(Hexagon::SXTW, dl, MVT::i64,
379 SDValue TargetConst0 = CurDAG->getTargetConstant(0, MVT::i32);
380 SDValue TargetConstVal = CurDAG->getTargetConstant(Val, MVT::i32);
381 SDNode *Result_1 = CurDAG->getMachineNode(Opcode, dl, MVT::i32,
382 MVT::Other, Base, TargetConst0,
385 MVT::i64, SDValue(Result_1, 0));
387 MVT::i32, Base, TargetConstVal,
421 N1.getNode()->getValueType(0) == MVT::i32) {
423 SDValue TargetConstVal = CurDAG->getTargetConstant(Val, MVT::i32);
424 SDValue TargetConst0 = CurDAG->getTargetConstant(0, MVT::i32);
425 SDNode *Result_1 = CurDAG->getMachineNode(Opcode, dl, MVT::i32,
426 MVT::i32, MVT::Other, Base,
428 SDNode *Result_2 = CurDAG->getMachineNode(Hexagon::TFRI, dl, MVT::i32,
431 MVT::i64, MVT::Other,
450 SDValue TargetConst0 = CurDAG->getTargetConstant(0, MVT::i32);
451 SDValue TargetConstVal = CurDAG->getTargetConstant(Val, MVT::i32);
452 SDNode *Result_1 = CurDAG->getMachineNode(Opcode, dl, MVT::i32,
453 MVT::Other,
455 SDNode *Result_2 = CurDAG->getMachineNode(Hexagon::TFRI, dl, MVT::i32,
458 MVT::i64, MVT::Other,
462 SDNode* Result_4 = CurDAG->getMachineNode(Hexagon::ADD_ri, dl, MVT::i32,
498 if (LoadedVT == MVT::i64) {
503 } else if (LoadedVT == MVT::i32) {
508 } else if (LoadedVT == MVT::i16) {
513 } else if (LoadedVT == MVT::i8) {
522 if (LD->getValueType(0) == MVT::i64 &&
526 if (LD->getValueType(0) == MVT::i64 &&
532 SDValue TargetConstVal = CurDAG->getTargetConstant(Val, MVT::i32);
535 MVT::i32, MVT::Other, Base,
551 SDValue TargetConst0 = CurDAG->getTargetConstant(0, MVT::i32);
552 SDValue TargetConstVal = CurDAG->getTargetConstant(Val, MVT::i32);
555 MVT::Other, Base, TargetConst0,
557 SDNode* Result_2 = CurDAG->getMachineNode(Hexagon::ADD_ri, dl, MVT::i32,
608 CurDAG->getTargetConstant(Val, MVT::i32), Chain};
612 if (StoredVT == MVT::i64) Opcode = Hexagon::POST_STdri;
613 else if (StoredVT == MVT::i32) Opcode = Hexagon::POST_STwri;
614 else if (StoredVT == MVT::i16) Opcode = Hexagon::POST_SThri;
615 else if (StoredVT == MVT::i8) Opcode = Hexagon::POST_STbri;
619 SDNode* Result = CurDAG->getMachineNode(Opcode, dl, MVT::i32,
620 MVT::Other, Ops, 4);
633 SDValue Ops[] = { Base, CurDAG->getTargetConstant(0, MVT::i32), Value,
638 if (StoredVT == MVT::i64) Opcode = Hexagon::STrid;
639 else if (StoredVT == MVT::i32) Opcode = Hexagon::STriw;
640 else if (StoredVT == MVT::i16) Opcode = Hexagon::STrih;
641 else if (StoredVT == MVT::i8) Opcode = Hexagon::STrib;
645 SDValue TargetConstVal = CurDAG->getTargetConstant(Val, MVT::i32);
646 SDNode* Result_1 = CurDAG->getMachineNode(Opcode, dl, MVT::Other, Ops,
649 SDNode* Result_2 = CurDAG->getMachineNode(Hexagon::ADD_ri, dl, MVT::i32,
676 !(Value.getValueType() == MVT::i64 && ST->isTruncatingStore())) {
682 MVT PointerTy = TLI.getPointerTy();
692 if (StoredVT == MVT::i64) Opcode = Hexagon::STrid_indexed;
693 else if (StoredVT == MVT::i32) Opcode = Hexagon::STriw_indexed;
694 else if (StoredVT == MVT::i16) Opcode = Hexagon::STrih_indexed;
695 else if (StoredVT == MVT::i8) Opcode = Hexagon::STrib_indexed;
703 MVT::Other, Ops, 4);
743 if (N->getValueType(0) == MVT::i64) {
754 if (Sext0.getNode()->getValueType(0) != MVT::i32) {
761 if (LD->getMemoryVT() != MVT::i32 ||
768 SDValue TargetConst0 = CurDAG->getTargetConstant(0, MVT::i32);
769 OP0 = SDValue (CurDAG->getMachineNode(Hexagon::LDriw, dl, MVT::i32,
770 MVT::Other,
780 if (Sext1.getNode()->getValueType(0) != MVT::i32) {
787 if (LD->getMemoryVT() != MVT::i32 ||
794 SDValue TargetConst0 = CurDAG->getTargetConstant(0, MVT::i32);
795 OP1 = SDValue (CurDAG->getMachineNode(Hexagon::LDriw, dl, MVT::i32,
796 MVT::Other,
804 SDNode *Result = CurDAG->getMachineNode(Hexagon::MPY64, dl, MVT::i64,
822 if (cast<VTSDNode>(N001)->getVT() == MVT::i16) {
836 N0.getNode()->getValueType(N0.getResNo()) == MVT::i1 &&
837 N00.getNode()->getValueType(N00.getResNo()) == MVT::i32) {
839 MVT::i32, N000);
841 MVT::i32,
860 MVT::i1 &&
861 N00.getNode()->getValueType(N00.getResNo()) == MVT::i32) {
863 MVT::i32, N000);
865 MVT::i32,
897 if (N->getValueType(0) == MVT::i32) {
899 if (Shift.getNode()->getValueType(0) == MVT::i64) {
934 if (Sext0.getNode()->getValueType(0) != MVT::i32) {
941 if (LD->getMemoryVT() != MVT::i32 ||
948 SDValue TargetConst0 = CurDAG->getTargetConstant(0, MVT::i32);
949 OP0 = SDValue (CurDAG->getMachineNode(Hexagon::LDriw, dl, MVT::i32,
950 MVT::Other,
960 if (Sext1.getNode()->getValueType(0) != MVT::i32)
966 if (LD->getMemoryVT() != MVT::i32 ||
973 SDValue TargetConst0 = CurDAG->getTargetConstant(0, MVT::i32);
974 OP1 = SDValue (CurDAG->getMachineNode(Hexagon::LDriw, dl, MVT::i32,
975 MVT::Other,
983 SDNode *Result = CurDAG->getMachineNode(Hexagon::MPY, dl, MVT::i32,
996 if (N->getValueType(0) == MVT::i32) {
1012 MVT::i32);
1017 MVT::i32, Mul_0, Val);
1039 SDValue Val = CurDAG->getTargetConstant(-ValConst, MVT::i32);
1044 CurDAG->getMachineNode(Hexagon::MPYI_ri, dl, MVT::i32,
1078 if (N->getValueType(0) == MVT::i64) {
1080 SDValue TargetConst0 = CurDAG->getTargetConstant(0, MVT::i32);
1082 MVT::i32,
1085 MVT::i32,
1088 MVT::i64, MVT::Other,
1094 if (N->getValueType(0) == MVT::i32) {
1097 MVT::i32,
1138 SDNode *PdRs = CurDAG->getMachineNode(Hexagon::TFR_PdRs, dl, MVT::i1,
1145 SDValue SDVal = CurDAG->getTargetConstant(Val, MVT::i32);
1167 if (N->getValueType(0) == MVT::i1) {
1173 CurDAG->getMachineNode(Hexagon::TFRI, dl, MVT::i32,
1174 CurDAG->getTargetConstant(0, MVT::i32));
1177 SDNode* Pd = CurDAG->getMachineNode(Hexagon::TFR_PdRs, dl, MVT::i1,
1181 SDNode* NotPd = CurDAG->getMachineNode(Hexagon::NOT_p, dl, MVT::i1,
1185 Result = CurDAG->getMachineNode(Hexagon::XOR_pp, dl, MVT::i1,
1206 if (N->getValueType(0) != MVT::i32) {
1212 || Src1->getValueType(0) != MVT::i32) {
1218 SDNode* Result = CurDAG->getMachineNode(Hexagon::ASR_rr_acc, dl, MVT::i32,
1280 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32);
1281 Offset = CurDAG->getTargetConstant(0, MVT::i32);
1285 Offset = CurDAG->getTargetConstant(0, MVT::i32);
1297 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32);
1298 Offset = CurDAG->getTargetConstant(0, MVT::i32);
1302 Offset = CurDAG->getTargetConstant(0, MVT::i32);
1314 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32);
1315 Offset = CurDAG->getTargetConstant(0, MVT::i32);
1319 Offset = CurDAG->getTargetConstant(0, MVT::i32);
1331 MVT::i32);
1332 Offset = CurDAG->getTargetConstant(0, MVT::i32);
1336 Offset = CurDAG->getTargetConstant(0, MVT::i32);
1348 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32);
1349 Offset = CurDAG->getTargetConstant(0, MVT::i32);
1353 Offset = CurDAG->getTargetConstant(0, MVT::i32);
1365 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32);
1366 Offset = CurDAG->getTargetConstant(0, MVT::i32);
1370 Offset = CurDAG->getTargetConstant(0, MVT::i32);
1382 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32);
1383 Offset = CurDAG->getTargetConstant(0, MVT::i32);
1387 Offset = CurDAG->getTargetConstant(0, MVT::i32);
1410 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32);
1411 Offset = CurDAG->getTargetConstant(0, MVT::i32);
1415 Offset = CurDAG->getTargetConstant(0, MVT::i32);
1450 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32);
1451 Offset = CurDAG->getTargetConstant(0, MVT::i32);
1462 Offset = CurDAG->getTargetConstant(0, MVT::i32);