Home
last modified time | relevance | path

Searched refs:Stride (Results 1 – 25 of 137) sorted by relevance

123456

/external/deqp/framework/delibs/decpp/
DdeArrayBuffer.hpp47 template <typename T, size_t Alignment = (sizeof(T) > 4 ? 4 : sizeof(T)), size_t Stride = sizeof(T)>
51 DE_STATIC_ASSERT(Stride >= sizeof(T));
76 template <typename T, size_t Alignment, size_t Stride>
77 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (void) throw() in ArrayBuffer()
83 template <typename T, size_t Alignment, size_t Stride>
84 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (size_t numElements) in ArrayBuffer()
91 const size_t storageSize = (numElements - 1) * Stride + sizeof(T); in ArrayBuffer()
102 template <typename T, size_t Alignment, size_t Stride>
103 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (const T* ptr, size_t numElements) in ArrayBuffer()
110 ArrayBuffer<T,Alignment,Stride> tmp(numElements); in ArrayBuffer()
[all …]
/external/deqp/framework/randomshaders/
DrsgVariableValue.hpp73 template <int Stride>
87 template <int Stride>
97 … { return ConstStridedValueAccess(getType().getElementType(), m_value + Stride*compNdx); … in component()
98 …t { return ConstStridedValueAccess(getType().getElementType(), m_value + Stride*getType().getEleme… in arrayElement()
99 …tridedValueAccess(getType().getMembers()[memberNdx].getType(), m_value + Stride*getType().getMembe… in member()
101 float asFloat (void) const { DE_STATIC_ASSERT(Stride == 1); return m_value->floatVal; } in asFloat()
102 int asInt (void) const { DE_STATIC_ASSERT(Stride == 1); return m_value->intVal; } in asInt()
103 bool asBool (void) const { DE_STATIC_ASSERT(Stride == 1); return m_value->boolVal; } in asBool()
104 Scalar asScalar (void) const { DE_STATIC_ASSERT(Stride == 1); return *m_value; } in asScalar()
106 …float asFloat (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return m_value… in asFloat()
[all …]
DrsgProgramExecutor.cpp137 template <int Stride>
138 void interpolateVertexInput (StridedValueAccess<Stride> dst, int dstComp, const ConstValueRangeAcce… in interpolateVertexInput()
150 template <int Stride>
151 void interpolateFragmentInput (StridedValueAccess<Stride> dst, int dstComp, ConstValueAccess vtx0, … in interpolateFragmentInput()
159 template <int Stride>
160 void copyVarying (ValueAccess dst, ConstStridedValueAccess<Stride> src, int compNdx) in copyVarying()
/external/pdfium/third_party/lcms/src/
Dcmspack.c98 register cmsUInt32Number Stride) in UnrollChunkyBytes() argument
136 cmsUNUSED_PARAMETER(Stride); in UnrollChunkyBytes()
145 register cmsUInt32Number Stride) in UnrollPlanarBytes() argument
155 accum += T_EXTRA(info -> InputFormat) * Stride; in UnrollPlanarBytes()
164 accum += Stride; in UnrollPlanarBytes()
175 register cmsUInt32Number Stride) in Unroll4Bytes() argument
185 cmsUNUSED_PARAMETER(Stride); in Unroll4Bytes()
192 register cmsUInt32Number Stride) in Unroll4BytesReverse() argument
202 cmsUNUSED_PARAMETER(Stride); in Unroll4BytesReverse()
209 register cmsUInt32Number Stride) in Unroll4BytesSwapFirst() argument
[all …]
Dcmsxform.c197 cmsUInt32Number Size, cmsUInt32Number Stride) in cmsDoTransformStride() argument
205 stride.BytesPerPlaneIn = Stride; in cmsDoTransformStride()
206 stride.BytesPerPlaneOut = Stride; in cmsDoTransformStride()
246 const cmsStride* Stride) in FloatXFORM() argument
254 _cmsHandleExtraChannels(p, in, out, PixelsPerLine, LineCount, Stride); in FloatXFORM()
266 accum = p->FromInputFloat(p, fIn, accum, Stride->BytesPerPlaneIn); in FloatXFORM()
294 output = p->ToOutputFloat(p, fOut, output, Stride->BytesPerPlaneOut); in FloatXFORM()
297 strideIn += Stride->BytesPerLineIn; in FloatXFORM()
298 strideOut += Stride->BytesPerLineOut; in FloatXFORM()
310 const cmsStride* Stride) in NullFloatXFORM() argument
[all …]
Dcmsalpha.c414 const cmsStride* Stride) in _cmsHandleExtraChannels() argument
443 …ComputeComponentIncrements(p->InputFormat, Stride->BytesPerPlaneIn, SourceStartingOrder, SourceInc… in _cmsHandleExtraChannels()
444 …ComputeComponentIncrements(p->OutputFormat, Stride->BytesPerPlaneOut, DestStartingOrder, DestIncre… in _cmsHandleExtraChannels()
472 SourceStrideIncrement += Stride->BytesPerLineIn; in _cmsHandleExtraChannels()
473 DestStrideIncrement += Stride->BytesPerLineOut; in _cmsHandleExtraChannels()
511 SourceStrideIncrements[j] += Stride->BytesPerLineIn; in _cmsHandleExtraChannels()
512 DestStrideIncrements[j] += Stride->BytesPerLineOut; in _cmsHandleExtraChannels()
/external/eigen/Eigen/src/Core/
DStride.h44 class Stride
55 Stride() in Stride() function
63 Stride(Index outerStride, Index innerStride) in Stride() function
71 Stride(const Stride& other) in Stride() function
90 class InnerStride : public Stride<0, Value>
92 typedef Stride<0, Value> Base;
101 class OuterStride : public Stride<Value, 0>
103 typedef Stride<Value, 0> Base;
DPlainObjectBase.h610 …static inline typename StridedConstMapType<Stride<Outer, Inner> >::type Map(const Scalar* data, co…
611 { return typename StridedConstMapType<Stride<Outer, Inner> >::type(data, stride); }
613 …static inline typename StridedMapType<Stride<Outer, Inner> >::type Map(Scalar* data, const Stride<…
614 { return typename StridedMapType<Stride<Outer, Inner> >::type(data, stride); }
616 …c inline typename StridedConstMapType<Stride<Outer, Inner> >::type Map(const Scalar* data, Index s…
617 { return typename StridedConstMapType<Stride<Outer, Inner> >::type(data, size, stride); }
619 …static inline typename StridedMapType<Stride<Outer, Inner> >::type Map(Scalar* data, Index size, c…
620 { return typename StridedMapType<Stride<Outer, Inner> >::type(data, size, stride); }
622 …ne typename StridedConstMapType<Stride<Outer, Inner> >::type Map(const Scalar* data, Index rows, I…
623 { return typename StridedConstMapType<Stride<Outer, Inner> >::type(data, rows, cols, stride); }
[all …]
/external/eigen/test/
Dmapstaticmethods.cpp55 PlainObjectType::Map(ptr, Stride<Dynamic, Dynamic>(i,j)).setZero(); in run()
56 PlainObjectType::MapAligned(ptr, Stride<2,Dynamic>(2,i)).setZero(); in run()
57 PlainObjectType::Map(const_ptr, Stride<Dynamic,3>(i,3)).sum(); in run()
58 PlainObjectType::MapAligned(const_ptr, Stride<Dynamic, Dynamic>(i,j)).sum(); in run()
60 PlainObjectType::Map(ptr, Stride<2,3>()).setZero(); in run()
61 PlainObjectType::MapAligned(ptr, Stride<3,4>()).setZero(); in run()
62 PlainObjectType::Map(const_ptr, Stride<2,4>()).sum(); in run()
63 PlainObjectType::MapAligned(const_ptr, Stride<5,3>()).sum(); in run()
102 PlainObjectType::Map(ptr, rows, cols, Stride<Dynamic, Dynamic>(i,j)).setZero(); in run()
103 PlainObjectType::MapAligned(ptr, rows, cols, Stride<2,Dynamic>(2,i)).setZero(); in run()
[all …]
/external/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp93 Stride(nullptr), Ins(nullptr), Basis(nullptr) {} in Candidate()
96 : CandidateKind(CT), Base(B), Index(Idx), Stride(S), Ins(I), in Candidate()
104 Value *Stride; member
233 Basis.Base == C.Base && Basis.Stride == C.Stride && in isBasisFor()
247 static bool isAddFoldable(const SCEV *Base, ConstantInt *Index, Value *Stride, in isAddFoldable() argument
259 return isAddFoldable(C.Base, C.Index, C.Stride, TTI); in isFoldable()
563 return C.Stride; in emitBump()
566 return Builder.CreateNeg(C.Stride); in emitBump()
572 Value *ExtendedStride = Builder.CreateSExtOrTrunc(C.Stride, DeltaType); in emitBump()
591 C.Stride == Basis.Stride); in rewriteCandidateWithBasis()
DLoopIdiomRecognize.cpp396 APInt Stride = getStoreStride(StoreEv); in isLegalStore() local
398 if (StoreSize != Stride && StoreSize != -Stride) in isLegalStore()
626 APInt Stride = getStoreStride(StoreEv); in processLoopStores() local
630 if (StoreSize != Stride && StoreSize != -Stride) in processLoopStores()
633 bool NegStride = StoreSize == -Stride; in processLoopStores()
677 APInt Stride = ConstStride->getAPInt(); in processLoopMemSet() local
678 if (SizeInBytes != Stride && SizeInBytes != -Stride) in processLoopMemSet()
689 bool NegStride = SizeInBytes == -Stride; in processLoopMemSet()
851 APInt Stride = getStoreStride(StoreEv); in processLoopStoreOfLoopLoad() local
853 bool NegStride = StoreSize == -Stride; in processLoopStoreOfLoopLoad()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp113 : CandidateKind(CT), Base(B), Index(Idx), Stride(S), Ins(I) {} in Candidate()
124 Value *Stride = nullptr; member
269 Basis.Base == C.Base && Basis.Stride == C.Stride && in isBasisFor()
283 static bool isAddFoldable(const SCEV *Base, ConstantInt *Index, Value *Stride, in isAddFoldable() argument
295 return isAddFoldable(C.Base, C.Index, C.Stride, TTI); in isFoldable()
597 return C.Stride; in emitBump()
600 return Builder.CreateNeg(C.Stride); in emitBump()
606 Value *ExtendedStride = Builder.CreateSExtOrTrunc(C.Stride, DeltaType); in emitBump()
625 C.Stride == Basis.Stride); in rewriteCandidateWithBasis()
DLoopIdiomRecognize.cpp454 APInt Stride = getStoreStride(StoreEv); in isLegalStore() local
456 if (StoreSize != Stride && StoreSize != -Stride) in isLegalStore()
695 APInt Stride = getStoreStride(StoreEv); in processLoopStores() local
699 if (StoreSize != Stride && StoreSize != -Stride) in processLoopStores()
702 bool NegStride = StoreSize == -Stride; in processLoopStores()
746 APInt Stride = ConstStride->getAPInt(); in processLoopMemSet() local
747 if (SizeInBytes != Stride && SizeInBytes != -Stride) in processLoopMemSet()
758 bool NegStride = SizeInBytes == -Stride; in processLoopMemSet()
963 APInt Stride = getStoreStride(StoreEv); in processLoopStoreOfLoopLoad() local
965 bool NegStride = StoreSize == -Stride; in processLoopStoreOfLoopLoad()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86InterleavedAccess.cpp283 unsigned VecElems, unsigned Stride, in reorderSubVector() argument
287 for (unsigned i = 0; i < Stride; i++) in reorderSubVector()
296 for (unsigned i = 0; i < (VecElems / 16) * Stride; i += 2) { in reorderSubVector()
297 genShuffleBland(VT, VPShuf, OptimizeShuf, (i / Stride) * 16, in reorderSubVector()
298 (i + 1) / Stride * 16); in reorderSubVector()
300 Vec[i % Stride], Vec[(i + 1) % Stride], OptimizeShuf); in reorderSubVector()
305 std::copy(Temp, Temp + Stride, TransposedMatrix.begin()); in reorderSubVector()
309 for (unsigned i = 0; i < Stride; i++) in reorderSubVector()
432 static void createShuffleStride(MVT VT, int Stride, in createShuffleStride() argument
439 Mask.push_back((i * Stride) % LaneSize + LaneSize * Lane); in createShuffleStride()
/external/eigen/doc/snippets/
DMap_general_stride.cpp3 cout << Map<MatrixXi, 0, Stride<Dynamic,2> >
4 (array, 3, 3, Stride<Dynamic,2>(8, 2))
DTutorial_SlicingCol.cpp9 Map<RowMajorMatrixXf,0,Stride<Dynamic,3> > M4(M3.data(), M3.rows(), (M3.cols()+2)/3,
10 Stride<Dynamic,3>(M3.outerStride(),3));
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp291 const SCEVConstant *Stride = dyn_cast<SCEVConstant>(StoreEv->getOperand(1)); in processLoopStore() local
293 if (Stride == 0 || StoreSize != Stride->getValue()->getValue()) { in processLoopStore()
297 if (0 && Stride && StoreSize == -Stride->getValue()->getValue()) { in processLoopStore()
352 const SCEVConstant *Stride = dyn_cast<SCEVConstant>(Ev->getOperand(1)); in processLoopMemSet() local
356 if (Stride == 0 || MSI->getLength() != Stride->getValue()) in processLoopMemSet()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DLoopAccessAnalysis.cpp647 int64_t Stride = getPtrStride(PSE, Ptr, L, Strides); in isNoWrap() local
648 if (Stride == 1 || PSE.hasNoOverflow(Ptr, SCEVWrapPredicate::IncrementNUSW)) in isNoWrap()
1075 int64_t Stride = StepVal / Size; in getPtrStride() local
1083 if (!IsNoWrapAddRec && Stride != 1 && Stride != -1 && in getPtrStride()
1098 return Stride; in getPtrStride()
1334 const SCEV &Dist, uint64_t Stride, in isSafeDependenceDistance() argument
1354 const uint64_t ByteStride = Stride * TypeByteSize; in isSafeDependenceDistance()
1392 static bool areStridedAccessesIndependent(uint64_t Distance, uint64_t Stride, in areStridedAccessesIndependent() argument
1394 assert(Stride > 1 && "The stride must be greater than 1"); in areStridedAccessesIndependent()
1420 return ScaledDist % Stride; in areStridedAccessesIndependent()
[all …]
DVectorUtils.cpp221 Value *Stride = U->getValue(); in getStrideFromPointer() local
222 if (!Lp->isLoopInvariant(Stride)) in getStrideFromPointer()
228 Stride = getUniqueCastUse(Stride, Lp, StripedOffRecurrenceCast); in getStrideFromPointer()
230 return Stride; in getStrideFromPointer()
505 unsigned Stride, unsigned VF) { in createStrideMask() argument
508 Mask.push_back(Builder.getInt32(Start + i * Stride)); in createStrideMask()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopVectorize/
Dpr34681.ll5 ; Check the scenario where we have an unknown Stride, which happens to also be
6 ; the loop iteration count, so if we specialize the loop for the Stride==1 case,
16 ; We check here that the following runtime scev guard for Stride==1 is NOT generated:
66 ; Check the same, but also where the Stride and the loop iteration count
75 ; We check here that the following runtime scev guard for Stride==1 is NOT generated:
/external/llvm/lib/Analysis/
DLoopAccessAnalysis.cpp578 int64_t Stride = getPtrStride(PSE, Ptr, L, Strides); in isNoWrap() local
579 return Stride == 1; in isNoWrap()
951 int64_t Stride = StepVal / Size; in getPtrStride() local
960 Stride != 1 && Stride != -1) { in getPtrStride()
973 return Stride; in getPtrStride()
1148 static bool areStridedAccessesIndependent(uint64_t Distance, uint64_t Stride, in areStridedAccessesIndependent() argument
1150 assert(Stride > 1 && "The stride must be greater than 1"); in areStridedAccessesIndependent()
1176 return ScaledDist % Stride; in areStridedAccessesIndependent()
1244 uint64_t Stride = std::abs(StrideAPtr); in isDependent() local
1247 if (std::abs(Distance) > 0 && Stride > 1 && ATy == BTy && in isDependent()
[all …]
DVectorUtils.cpp219 Value *Stride = U->getValue(); in getStrideFromPointer() local
220 if (!Lp->isLoopInvariant(Stride)) in getStrideFromPointer()
226 Stride = getUniqueCastUse(Stride, Lp, StripedOffRecurrenceCast); in getStrideFromPointer()
228 return Stride; in getStrideFromPointer()
/external/llvm/include/llvm/ADT/
DSparseSet.h206 const unsigned Stride = std::numeric_limits<SparseT>::max() + 1u;
207 for (unsigned i = Sparse[Idx], e = size(); i < e; i += Stride) {
213 if (!Stride)
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DSparseSet.h207 const unsigned Stride = std::numeric_limits<SparseT>::max() + 1u;
208 for (unsigned i = Sparse[Idx], e = size(); i < e; i += Stride) {
214 if (!Stride)
/external/deqp/doc/testspecs/GLES2/
Dfunctional.vertex_arrays.single_attribute.txt33 + Stride less than types own size
52 Stride tests render different input type and component count combinations from buffer
53 and user pointer. Stride testcases test npot and pot strides and types real size as stride.

123456