Home
last modified time | relevance | path

Searched refs:ElemWidth (Results 1 – 20 of 20) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLoweringHVX.cpp292 unsigned ElemWidth = ElemTy.getSizeInBits(); in convertToByteIndex() local
293 if (ElemWidth == 8) in convertToByteIndex()
296 unsigned L = Log2_32(ElemWidth/8); in convertToByteIndex()
305 unsigned ElemWidth = ElemTy.getSizeInBits(); in getIndexInWord32() local
306 assert(ElemWidth >= 8 && ElemWidth <= 32); in getIndexInWord32()
307 if (ElemWidth == 32) in getIndexInWord32()
313 SDValue Mask = DAG.getConstant(32/ElemWidth - 1, dl, MVT::i32); in getIndexInWord32()
356 unsigned ElemWidth = ElemTy.getSizeInBits(); in buildHvxVectorReg() local
359 unsigned ElemSize = ElemWidth / 8; in buildHvxVectorReg()
668 unsigned ElemWidth = ElemTy.getSizeInBits(); in extractHvxElementReg() local
[all …]
DHexagonTargetTransformInfo.cpp114 unsigned HexagonTTIImpl::getMinimumVF(unsigned ElemWidth) const { in getMinimumVF()
115 return (8 * ST.getVectorLength()) / ElemWidth; in getMinimumVF()
DHexagonISelLowering.h392 unsigned ElemWidth = ElemTy.getSizeInBits(); in tyVector() local
393 assert((TyWidth % ElemWidth) == 0); in tyVector()
394 return MVT::getVectorVT(ElemTy, TyWidth/ElemWidth); in tyVector()
DHexagonTargetTransformInfo.h83 unsigned getMinimumVF(unsigned ElemWidth) const;
DHexagonISelLowering.cpp2156 unsigned ElemWidth = ElemTy.getSizeInBits(); in getBuildVectorConstInts() local
2157 IntegerType *IntTy = IntegerType::get(*DAG.getContext(), ElemWidth); in getBuildVectorConstInts()
2334 unsigned ElemWidth = VecTy.getVectorElementType().getSizeInBits(); in extractVector() local
2335 assert((VecWidth % ElemWidth) == 0); in extractVector()
2340 if (ElemWidth == 1) { in extractVector()
2395 unsigned Off = IdxN->getZExtValue() * ElemWidth; in extractVector()
2413 DAG.getConstant(ElemWidth, dl, MVT::i32)); in extractVector()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonISelLoweringHVX.cpp249 int ElemWidth = ElemTy.getFixedSizeInBits(); in initializeHVXLowering() local
250 int MaxElems = (8*HwLen) / ElemWidth; in initializeHVXLowering()
416 unsigned ElemWidth = ElemTy.getSizeInBits(); in convertToByteIndex() local
417 if (ElemWidth == 8) in convertToByteIndex()
420 unsigned L = Log2_32(ElemWidth/8); in convertToByteIndex()
429 unsigned ElemWidth = ElemTy.getSizeInBits(); in getIndexInWord32() local
430 assert(ElemWidth >= 8 && ElemWidth <= 32); in getIndexInWord32()
431 if (ElemWidth == 32) in getIndexInWord32()
437 SDValue Mask = DAG.getConstant(32/ElemWidth - 1, dl, MVT::i32); in getIndexInWord32()
480 unsigned ElemWidth = ElemTy.getSizeInBits(); in buildHvxVectorReg() local
[all …]
DHexagonTargetTransformInfo.cpp107 unsigned HexagonTTIImpl::getMinimumVF(unsigned ElemWidth) const { in getMinimumVF()
108 return (8 * ST.getVectorLength()) / ElemWidth; in getMinimumVF()
DHexagonTargetTransformInfo.h85 unsigned getMinimumVF(unsigned ElemWidth) const;
DHexagonISelLowering.h407 unsigned ElemWidth = ElemTy.getSizeInBits(); in tyVector() local
408 assert((TyWidth % ElemWidth) == 0); in tyVector()
409 return MVT::getVectorVT(ElemTy, TyWidth/ElemWidth); in tyVector()
DHexagonISelLowering.cpp2304 unsigned ElemWidth = ElemTy.getSizeInBits(); in getBuildVectorConstInts() local
2305 IntegerType *IntTy = IntegerType::get(*DAG.getContext(), ElemWidth); in getBuildVectorConstInts()
2480 unsigned ElemWidth = VecTy.getVectorElementType().getSizeInBits(); in extractVector() local
2481 assert((VecWidth % ElemWidth) == 0); in extractVector()
2486 if (ElemWidth == 1) { in extractVector()
2541 unsigned Off = IdxN->getZExtValue() * ElemWidth; in extractVector()
2559 DAG.getConstant(ElemWidth, dl, MVT::i32)); in extractVector()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetTransformInfo.h838 unsigned getMinimumVF(unsigned ElemWidth) const;
1291 virtual unsigned getMinimumVF(unsigned ElemWidth) const = 0;
1667 unsigned getMinimumVF(unsigned ElemWidth) const override { in getMinimumVF() argument
1668 return Impl.getMinimumVF(ElemWidth); in getMinimumVF()
DTargetTransformInfoImpl.h393 unsigned getMinimumVF(unsigned ElemWidth) const { return 0; } in getMinimumVF() argument
/external/flatbuffers/include/flatbuffers/
Dflexbuffers.h1314 auto byte_width = Align(stack_[0].ElemWidth(buf_.size(), 0)); in Finish()
1427 BitWidth ElemWidth(size_t buf_size, size_t elem_index) const { in ElemWidth() function
1519 bit_width = (std::max)(bit_width, keys->ElemWidth(buf_.size(), 0));
1525 auto elem_width = stack_[i].ElemWidth(buf_.size(), i + prefix_elems);
/external/llvm-project/llvm/include/llvm/Analysis/
DTargetTransformInfo.h936 unsigned getMinimumVF(unsigned ElemWidth) const;
1494 virtual unsigned getMinimumVF(unsigned ElemWidth) const = 0;
1911 unsigned getMinimumVF(unsigned ElemWidth) const override { in getMinimumVF() argument
1912 return Impl.getMinimumVF(ElemWidth); in getMinimumVF()
DTargetTransformInfoImpl.h357 unsigned getMinimumVF(unsigned ElemWidth) const { return 0; } in getMinimumVF() argument
/external/clang/utils/TableGen/
DNeonEmitter.cpp195 void makeInteger(unsigned ElemWidth, bool Sign) { in makeInteger() argument
200 ElementBitwidth = ElemWidth; in makeInteger()
202 void makeImmediate(unsigned ElemWidth) { in makeImmediate() argument
207 ElementBitwidth = ElemWidth; in makeImmediate()
/external/llvm-project/clang/utils/TableGen/
DNeonEmitter.cpp222 void makeInteger(unsigned ElemWidth, bool Sign) { in makeInteger() argument
226 ElementBitwidth = ElemWidth; in makeInteger()
229 void makeImmediate(unsigned ElemWidth) { in makeImmediate() argument
232 ElementBitwidth = ElemWidth; in makeImmediate()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTargetTransformInfo.cpp505 unsigned TargetTransformInfo::getMinimumVF(unsigned ElemWidth) const { in getMinimumVF()
506 return TTIImpl->getMinimumVF(ElemWidth); in getMinimumVF()
/external/llvm-project/llvm/lib/Analysis/
DTargetTransformInfo.cpp634 unsigned TargetTransformInfo::getMinimumVF(unsigned ElemWidth) const { in getMinimumVF()
635 return TTIImpl->getMinimumVF(ElemWidth); in getMinimumVF()
/external/llvm-project/clang/lib/AST/
DExprConstant.cpp6881 CharUnits ElemWidth = Info.Ctx.getTypeSizeInChars(CAT->getElementType()); in visitArray() local
6887 if (!visit(SubObj, CAT->getElementType(), Offset + I * ElemWidth)) in visitArray()
6895 if (!visit(Filler, CAT->getElementType(), Offset + I * ElemWidth)) in visitArray()