Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp923 const unsigned HwLen; member
927 HST(getHexagonSubtarget(G)), HwLen(HST.getVectorLength()) {} in HvxSelector()
931 unsigned NumElems = HwLen / (ElemTy.getSizeInBits() / 8); in getSingleVT()
937 unsigned NumElems = (2 * HwLen) / (ElemTy.getSizeInBits() / 8); in getPairVT()
943 return MVT::getVectorVT(MVT::i1, HwLen); in getBoolVT()
1230 auto VecLen = static_cast<int>(HwLen); in funnels()
1291 if (isUInt<3>(Amt) || isUInt<3>(HwLen - Amt)) { in packs()
1293 SDValue S = getConst32(IsRight ? Amt : HwLen - Amt, dl); in packs()
1305 unsigned SegLen = HwLen / 2; in packs()
1350 M -= SrcOp * HwLen; in packs()
[all …]
H A DHexagonISelLoweringHVX.cpp418 unsigned HwLen = Subtarget.getVectorLength(); in initializeHVXLowering() local
423 int MaxElems = (8*HwLen) / ElemWidth; in initializeHVXLowering()
456 unsigned HwLen = Subtarget.getVectorLength(); in getPreferredHvxVectorAction() local
459 if (ElemTy == MVT::i1 && VecLen > HwLen) in getPreferredHvxVectorAction()
480 unsigned HwWidth = 8*HwLen; in getPreferredHvxVectorAction()
797 unsigned HwLen = Subtarget.getVectorLength(); in buildHvxVectorReg() local
800 assert(ElemSize*VecLen == HwLen); in buildHvxVectorReg()
844 MVT WordTy = MVT::getVectorVT(MVT::i32, HwLen/4); in buildHvxVectorReg()
857 Align Alignment(HwLen); in buildHvxVectorReg()
955 {HalfV, SplatV, DAG.getConstant(HwLen/2, dl, MVT::i32)}); in buildHvxVectorReg()
[all …]
H A DHexagonRegisterInfo.cpp265 unsigned HwLen = HST.getVectorLength(); in eliminateFrameIndex() local
266 if (RealOffset % HwLen == 0) { in eliminateFrameIndex()
267 int VecOffset = RealOffset / HwLen; in eliminateFrameIndex()
274 RealOffset = (VecOffset & -16) * HwLen; in eliminateFrameIndex()
275 InstOffset = (VecOffset % 16 - 8) * HwLen; in eliminateFrameIndex()
H A DHexagonSubtarget.cpp191 unsigned HwLen = getVectorLength(); in isHVXVectorType() local
199 if (NumElems * T.getSizeInBits() == 8 * HwLen) in isHVXVectorType()
205 if (VecWidth != 8 * HwLen && VecWidth != 16 * HwLen) in isHVXVectorType()
765 unsigned HwLen = getVectorLength(); in getIntrinsicId() local
766 if (HwLen == 64) in getIntrinsicId()
768 if (HwLen == 128) in getIntrinsicId()
H A DHexagonVectorCombine.cpp2234 unsigned HwLen = HST.getVectorLength(); in getHvxTy() local
2235 unsigned NumElems = (8 * HwLen) / ETy.getSizeInBits(); in getHvxTy()
2590 unsigned HwLen = HST.getVectorLength(); in createHvxIntrinsic() local
2591 Intrinsic::ID TC = HwLen == 64 ? Intrinsic::hexagon_V6_pred_typecast in createHvxIntrinsic()
H A DHexagonPatternsHVX.td622 // Take a pair of vectors Vt:Vs and shift them towards LSB by (Rt & HwLen).