Home
last modified time | relevance | path

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

1234

/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/lcms2-2.6/src/
Dcmspack.c97 register cmsUInt32Number Stride) in UnrollChunkyBytes() argument
135 cmsUNUSED_PARAMETER(Stride); in UnrollChunkyBytes()
144 register cmsUInt32Number Stride) in UnrollPlanarBytes() argument
154 accum += T_EXTRA(info -> InputFormat) * Stride; in UnrollPlanarBytes()
163 accum += Stride; in UnrollPlanarBytes()
174 register cmsUInt32Number Stride) in Unroll4Bytes() argument
184 cmsUNUSED_PARAMETER(Stride); in Unroll4Bytes()
191 register cmsUInt32Number Stride) in Unroll4BytesReverse() argument
201 cmsUNUSED_PARAMETER(Stride); in Unroll4BytesReverse()
208 register cmsUInt32Number Stride) in Unroll4BytesSwapFirst() argument
[all …]
Dcmsxform.c191 cmsUInt32Number Size, cmsUInt32Number Stride) in cmsDoTransformStride() argument
196 p -> xform(p, InputBuffer, OutputBuffer, Size, Stride); in cmsDoTransformStride()
207 void* out, cmsUInt32Number Size, cmsUInt32Number Stride) in FloatXFORM() argument
220 accum = p -> FromInputFloat(p, fIn, accum, Stride); in FloatXFORM()
248 output = p -> ToOutputFloat(p, fOut, output, Stride); in FloatXFORM()
258 cmsUInt32Number Stride) in NullFloatXFORM() argument
271 accum = p -> FromInputFloat(p, fIn, accum, Stride); in NullFloatXFORM()
272 output = p -> ToOutputFloat(p, fIn, output, Stride); in NullFloatXFORM()
282 cmsUInt32Number Stride) in NullXFORM() argument
295 accum = p -> FromInput(p, wIn, accum, Stride); in NullXFORM()
[all …]
/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/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));
DTutorial_Map_rowmajor.cpp6 Map<Matrix<int,2,4>, Unaligned, Stride<1,4> >(array) << endl;
/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/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)
DSparseMultiSet.h352 const unsigned Stride = std::numeric_limits<SparseT>::max() + 1u; in findIndex() local
353 for (unsigned i = Sparse[Idx], e = Dense.size(); i < e; i += Stride) { in findIndex()
360 if (!Stride) in findIndex()
/external/mesa3d/src/mesa/vbo/
Dvbo_context.c64 cl->Stride = 0; in init_legacy_currval()
94 cl->Stride = 0; in init_generic_currval()
141 cl->Stride = 0; in init_mat_currval()
/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.
/external/deqp/doc/testspecs/GLES3/
Dfunctional.vertex_arrays.single_attribute.txt36 + Stride less than types own size
55 Stride tests render different input type and component count combinations from buffer
56 and user pointer. Stride testcases test npot and pot strides and types real size as stride.
/external/libavc/common/arm/
Dih264_default_weighted_pred_a9q.s63 @* Stride of the first input buffer
66 @* Stride of the second input buffer
69 @* Stride of the destination buffer
237 @* Stride of the first input buffer
240 @* Stride of the second input buffer
243 @* Stride of the destination buffer
/external/llvm/lib/CodeGen/
DMachineRegisterInfo.cpp274 int Stride = 1; in moveOperands() local
276 Stride = -1; in moveOperands()
305 Dst += Stride; in moveOperands()
306 Src += Stride; in moveOperands()
/external/eigen/doc/
DTutorialMapClass.dox41 \li \c StrideType allows you to specify a custom layout for the memory array, using the Stride clas…
48 However, Stride is even more flexible than this; for details, see the documentation for the Map and…
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_vector_test.cc31 TEST(Vector, Stride) { in TEST() argument

1234