Home | History | Annotate | Download | only in CellSPU

Lines Matching refs:CurDAG

171       return CurDAG->getTargetConstant(Imm, MVT::i32);
176 return CurDAG->getTargetConstant(Imm, SPUtli.getPointerTy());
186 (SPU::get_vec_i16imm(bvNode, *CurDAG, MVT::i16).getNode() != 0)) ||
188 ((SPU::get_vec_i16imm(bvNode, *CurDAG, MVT::i32).getNode() != 0) ||
189 (SPU::get_ILHUvec_imm(bvNode, *CurDAG, MVT::i32).getNode() != 0) ||
190 (SPU::get_vec_u18imm(bvNode, *CurDAG, MVT::i32).getNode() != 0) ||
191 (SPU::get_v4i32_imm(bvNode, *CurDAG).getNode() != 0))) ||
193 ((SPU::get_vec_i16imm(bvNode, *CurDAG, MVT::i64).getNode() != 0) ||
194 (SPU::get_ILHUvec_imm(bvNode, *CurDAG, MVT::i64).getNode() != 0) ||
195 (SPU::get_vec_u18imm(bvNode, *CurDAG, MVT::i64).getNode() != 0)))) {
211 SDValue CPIdx = CurDAG->getConstantPool(CP, SPUtli.getPointerTy());
214 SPU::LowerConstantPool(CPIdx, *CurDAG, TM);
216 HandleSDNode Dummy(CurDAG->getLoad(vecVT, dl,
217 CurDAG->getEntryNode(), CGPoolOffset,
220 CurDAG->ReplaceAllUsesWith(SDValue(bvNode, 0), Dummy.getValue());
322 SDValue Zero = CurDAG->getTargetConstant(0, OffsVT);
328 Base = CurDAG->getTargetConstant( val , MVT::i32);
415 Base = CurDAG->getTargetConstant(0, PtrTy);
416 Index = CurDAG->getTargetFrameIndex(FI, PtrTy);
426 Base = CurDAG->getTargetConstant(0, PtrTy);
441 Base = CurDAG->getTargetConstant(offset, PtrTy);
442 Index = CurDAG->getTargetFrameIndex(FI, PtrTy);
446 Base = CurDAG->getTargetConstant(offset, PtrTy);
462 Base = CurDAG->getTargetConstant(offset, PtrTy);
463 Index = CurDAG->getTargetFrameIndex(FI, PtrTy);
467 Base = CurDAG->getTargetConstant(offset, PtrTy);
480 Base = CurDAG->getTargetConstant(0, PtrTy);
498 Base = CurDAG->getTargetConstant(offset, PtrTy);
504 Base = CurDAG->getTargetConstant(0, N.getValueType());
508 Base = CurDAG->getTargetConstant(0, N.getValueType());
525 Offs = CurDAG->getTargetConstant(0, Offs.getValueType());
539 Base = CurDAG->getTargetConstant(0, Index.getValueType());
575 CurDAG->getMachineNode(COPY_TO_REGCLASS,..., ) function call
581 return CurDAG->getTargetConstant(SPU::R8CRegClass.getID(), MVT::i32);
584 return CurDAG->getTargetConstant(SPU::R16CRegClass.getID(), MVT::i32);
587 return CurDAG->getTargetConstant(SPU::R32CRegClass.getID(), MVT::i32);
590 return CurDAG->getTargetConstant(SPU::R32FPRegClass.getID(), MVT::i32);
593 return CurDAG->getTargetConstant(SPU::R64CRegClass.getID(), MVT::i32);
596 return CurDAG->getTargetConstant(SPU::GPRCRegClass.getID(), MVT::i32);
604 return CurDAG->getTargetConstant(SPU::VECREGRegClass.getID(), MVT::i32);
629 SDValue TFI = CurDAG->getTargetFrameIndex(FI, N->getValueType(0));
630 SDValue Imm0 = CurDAG->getTargetConstant(0, N->getValueType(0));
639 Ops[0] = CurDAG->getRegister(SPU::R1, N->getValueType(0));
640 Ops[1] = SDValue(CurDAG->getMachineNode(SPU::ILAr32, dl,
654 EVT Op0VecVT = EVT::getVectorVT(*CurDAG->getContext(),
656 EVT OpVecVT = EVT::getVectorVT(*CurDAG->getContext(),
665 shufMask = CurDAG->getNode(ISD::BUILD_VECTOR, dl, MVT::v4i32,
666 CurDAG->getConstant(0x80808080, MVT::i32),
667 CurDAG->getConstant(0x00010203, MVT::i32),
668 CurDAG->getConstant(0x80808080, MVT::i32),
669 CurDAG->getConstant(0x08090a0b, MVT::i32));
673 shufMask = CurDAG->getNode(ISD::BUILD_VECTOR, dl, MVT::v4i32,
674 CurDAG->getConstant(0x80808080, MVT::i32),
675 CurDAG->getConstant(0x80800203, MVT::i32),
676 CurDAG->getConstant(0x80808080, MVT::i32),
677 CurDAG->getConstant(0x80800a0b, MVT::i32));
681 shufMask = CurDAG->getNode(ISD::BUILD_VECTOR, dl, MVT::v4i32,
682 CurDAG->getConstant(0x80808080, MVT::i32),
683 CurDAG->getConstant(0x80808003, MVT::i32),
684 CurDAG->getConstant(0x80808080, MVT::i32),
685 CurDAG->getConstant(0x8080800b, MVT::i32));
691 HandleSDNode PromoteScalar(CurDAG->getNode(SPUISD::PREFSLOT2VEC, dl,
701 CurDAG->getNode(SPUISD::SHUFB, dl, OpVecVT,
710 HandleSDNode Dummy(CurDAG->getNode(SPUISD::VEC2PREFSLOT, dl, OpVT,
713 CurDAG->ReplaceAllUsesWith(N, Dummy.getValue().getNode());
718 emitBuildVector(getCarryGenerateShufMask(*CurDAG, dl).getNode());
720 HandleSDNode Dummy(CurDAG->getNode(SPUISD::ADD64_MARKER, dl, OpVT,
724 CurDAG->ReplaceAllUsesWith(N, Dummy.getValue().getNode());
730 emitBuildVector(getBorrowGenerateShufMask(*CurDAG, dl).getNode());
732 HandleSDNode Dummy(CurDAG->getNode(SPUISD::SUB64_MARKER, dl, OpVT,
736 CurDAG->ReplaceAllUsesWith(N, Dummy.getValue().getNode());
742 emitBuildVector(getCarryGenerateShufMask(*CurDAG, dl).getNode());
744 HandleSDNode Dummy(CurDAG->getNode(SPUISD::MUL64_MARKER, dl, OpVT,
747 CurDAG->ReplaceAllUsesWith(N, Dummy.getValue().getNode());
766 CurDAG->getMachineNode(TargetOpcode::COPY_TO_REGCLASS, dl, OpVT,
772 SDValue shift = CurDAG->getTargetConstant(shift_amt, MVT::i32);
778 hi32 = CurDAG->getMachineNode(Opc, dl, OpVT, SDValue(hi32, 0),
808 return CurDAG->getMachineNode(Opc, dl, OpVT,
815 SDValue negConst = CurDAG->getConstant(0x8000000000000000ULL, MVT::i64);
823 signMask = emitBuildVector(CurDAG->getNode(ISD::BUILD_VECTOR, dl,
828 return CurDAG->getMachineNode(Opc, dl, OpVT,
833 return CurDAG->getMachineNode(SPU::ANDfabs64, dl, OpVT,
836 SDValue absConst = CurDAG->getConstant(0x7fffffffffffffffULL, MVT::i64);
837 SDValue absVec = CurDAG->getNode(ISD::BUILD_VECTOR, dl, MVT::v2i64,
840 return CurDAG->getMachineNode(SPU::ANDfabsvec, dl, OpVT,
850 Result = CurDAG->getMachineNode(TargetOpcode::COPY_TO_REGCLASS, dl, VT,
875 Op1 = CurDAG->getTargetConstant(CN->getSExtValue(), VT);
880 Ops[1] = SDValue(CurDAG->getMachineNode(SPU::ILr32, dl,
893 return CurDAG->SelectNodeTo(N, NewOpc, OpVT, Ops, n_ops);
895 return CurDAG->getMachineNode(NewOpc, dl, OpVT, Ops, n_ops);
915 EVT VecVT = EVT::getVectorVT(*CurDAG->getContext(),
923 VecOp0 = CurDAG->getMachineNode(TargetOpcode::COPY_TO_REGCLASS, dl, VecVT,
925 SelMaskVal = CurDAG->getTargetConstant(0xff00ULL, MVT::i16);
926 SelMask = CurDAG->getMachineNode(SPU::FSMBIv2i64, dl, VecVT, SelMaskVal);
927 ZeroFill = CurDAG->getMachineNode(SPU::ILv2i64, dl, VecVT,
928 CurDAG->getTargetConstant(0, OpVT));
929 VecOp0 = CurDAG->getMachineNode(SPU::SELBv2i64, dl, VecVT,
940 CurDAG->getMachineNode(SPU::SHLQBYIv2i64, dl, VecVT,
942 CurDAG->getTargetConstant(bytes, ShiftAmtVT));
947 CurDAG->getMachineNode(SPU::SHLQBIIv2i64, dl, VecVT,
949 CurDAG->getTargetConstant(bits, ShiftAmtVT));
953 CurDAG->getMachineNode(SPU::ROTMIr32, dl, ShiftAmtVT,
955 CurDAG->getTargetConstant(3, ShiftAmtVT));
957 CurDAG->getMachineNode(SPU::ANDIr32, dl, ShiftAmtVT,
959 CurDAG->getTargetConstant(7, ShiftAmtVT));
961 CurDAG->getMachineNode(SPU::SHLQBYv2i64, dl, VecVT,
964 CurDAG->getMachineNode(SPU::SHLQBIv2i64, dl, VecVT,
968 return CurDAG->getMachineNode(TargetOpcode::COPY_TO_REGCLASS, dl,
983 EVT VecVT = EVT::getVectorVT(*CurDAG->getContext(),
990 VecOp0 = CurDAG->getMachineNode(TargetOpcode::COPY_TO_REGCLASS, dl, VecVT,
999 CurDAG->getMachineNode(SPU::ROTQMBYIv2i64, dl, VecVT,
1001 CurDAG->getTargetConstant(bytes, ShiftAmtVT));
1006 CurDAG->getMachineNode(SPU::ROTQMBIIv2i64, dl, VecVT,
1008 CurDAG->getTargetConstant(bits, ShiftAmtVT));
1012 CurDAG->getMachineNode(SPU::ROTMIr32, dl, ShiftAmtVT,
1014 CurDAG->getTargetConstant(3, ShiftAmtVT));
1016 CurDAG->getMachineNode(SPU::ANDIr32, dl, ShiftAmtVT,
1018 CurDAG->getTargetConstant(7, ShiftAmtVT));
1021 Bytes = CurDAG->getMachineNode(SPU::SFIr32, dl, ShiftAmtVT,
1023 CurDAG->getTargetConstant(0, ShiftAmtVT));
1025 Bits = CurDAG->getMachineNode(SPU::SFIr32, dl, ShiftAmtVT,
1027 CurDAG->getTargetConstant(0, ShiftAmtVT));
1030 CurDAG->getMachineNode(SPU::ROTQMBYv2i64, dl, VecVT,
1033 CurDAG->getMachineNode(SPU::ROTQMBIv2i64, dl, VecVT,
1037 return CurDAG->getMachineNode(TargetOpcode::COPY_TO_REGCLASS, dl,
1052 EVT VecVT = EVT::getVectorVT(*CurDAG->getContext(),
1059 CurDAG->getMachineNode(TargetOpcode::COPY_TO_REGCLASS, dl,
1062 SDValue SignRotAmt = CurDAG->getTargetConstant(31, ShiftAmtVT);
1064 CurDAG->getMachineNode(SPU::ROTMAIv2i64_i32, dl, MVT::v2i64,
1067 CurDAG->getMachineNode(TargetOpcode::COPY_TO_REGCLASS, dl,
1071 CurDAG->getMachineNode(SPU::FSM64r32, dl, VecVT, SDValue(UpperHalfSign, 0));
1073 CurDAG->getMachineNode(SPU::FSMBIv2i64, dl, VecVT,
1074 CurDAG->getTargetConstant(0xff00ULL, MVT::i16));
1076 CurDAG->getMachineNode(SPU::SELBv2i64, dl, VecVT,
1090 CurDAG->getMachineNode(SPU::ROTQBYIv2i64, dl, VecVT,
1092 CurDAG->getTargetConstant(bytes, ShiftAmtVT));
1098 CurDAG->getMachineNode(SPU::ROTQBIIv2i64, dl, VecVT,
1100 CurDAG->getTargetConstant(bits, ShiftAmtVT));
1104 CurDAG->getMachineNode(SPU::SFIr32, dl, ShiftAmtVT,
1105 ShiftAmt, CurDAG->getTargetConstant(0, ShiftAmtVT));
1108 CurDAG->getMachineNode(SPU::ROTQBYBIv2i64_r32, dl, VecVT,
1111 CurDAG->getMachineNode(SPU::ROTQBIv2i64, dl, VecVT,
1115 return CurDAG->getMachineNode(TargetOpcode::COPY_TO_REGCLASS, dl,
1130 EVT OpVecVT = EVT::getVectorVT(*CurDAG->getContext(), OpVT, 2);
1132 SPU::LowerV2I64Splat(OpVecVT, *CurDAG, Value64, dl);
1143 return CurDAG->getMachineNode(TargetOpcode::COPY_TO_REGCLASS, dl, OpVT,
1179 CurDAG->getNode(SPUISD::SHUFB, dl, OpVecVT,
1186 return CurDAG->getMachineNode(TargetOpcode::COPY_TO_REGCLASS, dl,
1189 return CurDAG->getMachineNode(TargetOpcode::COPY_TO_REGCLASS, dl, OpVT,