Home
last modified time | relevance | path

Searched refs:HwLen (Results 1 – 6 of 6) sorted by relevance

/freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
HDHexagonISelDAGToDAGHVX.cpp928 const unsigned HwLen; member
932 HST(getHexagonSubtarget(G)), HwLen(HST.getVectorLength()) {} in HvxSelector()
936 unsigned NumElems = HwLen / (ElemTy.getSizeInBits() / 8); in getSingleVT()
942 unsigned NumElems = (2 * HwLen) / (ElemTy.getSizeInBits() / 8); in getPairVT()
948 return MVT::getVectorVT(MVT::i1, HwLen); in getBoolVT()
1236 auto VecLen = static_cast<int>(HwLen); in funnels()
1297 if (isUInt<3>(Amt) || isUInt<3>(HwLen - Amt)) { in packs()
1299 SDValue S = getConst32(IsRight ? Amt : HwLen - Amt, dl); in packs()
1311 unsigned SegLen = HwLen / 2; in packs()
1356 M -= SrcOp * HwLen; in packs()
[all …]
HDHexagonISelLoweringHVX.cpp408 unsigned HwLen = Subtarget.getVectorLength(); in initializeHVXLowering() local
413 int MaxElems = (8*HwLen) / ElemWidth; in initializeHVXLowering()
446 unsigned HwLen = Subtarget.getVectorLength(); in getPreferredHvxVectorAction() local
449 if (ElemTy == MVT::i1 && VecLen > HwLen) in getPreferredHvxVectorAction()
470 unsigned HwWidth = 8*HwLen; in getPreferredHvxVectorAction()
787 unsigned HwLen = Subtarget.getVectorLength(); in buildHvxVectorReg() local
790 assert(ElemSize*VecLen == HwLen); in buildHvxVectorReg()
834 MVT WordTy = MVT::getVectorVT(MVT::i32, HwLen/4); in buildHvxVectorReg()
847 Align Alignment(HwLen); in buildHvxVectorReg()
945 {HalfV, SplatV, DAG.getConstant(HwLen/2, dl, MVT::i32)}); in buildHvxVectorReg()
[all …]
HDHexagonRegisterInfo.cpp270 unsigned HwLen = HST.getVectorLength(); in eliminateFrameIndex() local
271 if (RealOffset % HwLen == 0) { in eliminateFrameIndex()
272 int VecOffset = RealOffset / HwLen; in eliminateFrameIndex()
279 RealOffset = (VecOffset & -16) * HwLen; in eliminateFrameIndex()
280 InstOffset = (VecOffset % 16 - 8) * HwLen; in eliminateFrameIndex()
HDHexagonSubtarget.cpp192 unsigned HwLen = getVectorLength(); in isHVXVectorType() local
200 if (NumElems * T.getSizeInBits() == 8 * HwLen) in isHVXVectorType()
206 if (VecWidth != 8 * HwLen && VecWidth != 16 * HwLen) in isHVXVectorType()
764 unsigned HwLen = getVectorLength(); in getIntrinsicId() local
765 if (HwLen == 64) in getIntrinsicId()
767 if (HwLen == 128) in getIntrinsicId()
HDHexagonVectorCombine.cpp2233 unsigned HwLen = HST.getVectorLength(); in getHvxTy() local
2234 unsigned NumElems = (8 * HwLen) / ETy.getSizeInBits(); in getHvxTy()
2589 unsigned HwLen = HST.getVectorLength(); in createHvxIntrinsic() local
2590 Intrinsic::ID TC = HwLen == 64 ? Intrinsic::hexagon_V6_pred_typecast in createHvxIntrinsic()
HDHexagonPatternsHVX.td607 // Take a pair of vectors Vt:Vs and shift them towards LSB by (Rt & HwLen).