/external/deqp/framework/delibs/decpp/ |
D | deArrayBuffer.hpp | 47 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/ |
D | rsgVariableValue.hpp | 73 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 …]
|
/external/pdfium/third_party/lcms/src/ |
D | cmspack.c | 98 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 …]
|
D | cmsxform.c | 197 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() 268 accum = p->FromInputFloat(p, fIn, accum, Stride->BytesPerPlaneIn); in FloatXFORM() 296 output = p->ToOutputFloat(p, fOut, output, Stride->BytesPerPlaneOut); in FloatXFORM() 299 strideIn += Stride->BytesPerLineIn; in FloatXFORM() 300 strideOut += Stride->BytesPerLineOut; in FloatXFORM() 312 const cmsStride* Stride) in NullFloatXFORM() argument [all …]
|
D | cmsalpha.c | 455 const cmsStride* Stride) in _cmsHandleExtraChannels() argument 484 …ComputeComponentIncrements(p->InputFormat, Stride->BytesPerPlaneIn, SourceStartingOrder, SourceInc… in _cmsHandleExtraChannels() 485 …ComputeComponentIncrements(p->OutputFormat, Stride->BytesPerPlaneOut, DestStartingOrder, DestIncre… in _cmsHandleExtraChannels() 513 SourceStrideIncrement += Stride->BytesPerLineIn; in _cmsHandleExtraChannels() 514 DestStrideIncrement += Stride->BytesPerLineOut; in _cmsHandleExtraChannels() 552 SourceStrideIncrements[j] += Stride->BytesPerLineIn; in _cmsHandleExtraChannels() 553 DestStrideIncrements[j] += Stride->BytesPerLineOut; in _cmsHandleExtraChannels()
|
/external/eigen/Eigen/src/Core/ |
D | Stride.h | 44 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;
|
D | PlainObjectBase.h | 610 …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/ |
D | mapstaticmethods.cpp | 55 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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | VectorUtils.h | 352 unsigned Stride, unsigned VF); 423 InterleaveGroup(InstTy *Instr, int32_t Stride, Align Alignment) in InterleaveGroup() argument 425 Factor = std::abs(Stride); in InterleaveGroup() 428 Reverse = Stride < 0; in InterleaveGroup() 646 StrideDescriptor(int64_t Stride, const SCEV *Scev, uint64_t Size, in StrideDescriptor() 648 : Stride(Stride), Scev(Scev), Size(Size), Alignment(Alignment) {} in StrideDescriptor() 651 int64_t Stride = 0; member 671 createInterleaveGroup(Instruction *Instr, int Stride, Align Alignment) { in createInterleaveGroup() argument 675 new InterleaveGroup<Instruction>(Instr, Stride, Alignment); in createInterleaveGroup() 696 static bool isStrided(int Stride); [all …]
|
/external/llvm-project/llvm/lib/Analysis/ |
D | LoopCacheAnalysis.cpp | 294 const SCEV *Stride = SE.getMulExpr(Coeff, ElemSize); in computeRefCost() local 295 const SCEV *CacheLineSize = SE.getConstant(Stride->getType(), CLS); in computeRefCost() 296 Type *WiderType = SE.getWiderType(Stride->getType(), TripCount->getType()); in computeRefCost() 297 if (SE.isKnownNegative(Stride)) in computeRefCost() 298 Stride = SE.getNegativeSCEV(Stride); in computeRefCost() 299 Stride = SE.getNoopOrAnyExtend(Stride, WiderType); in computeRefCost() 301 const SCEV *Numerator = SE.getMulExpr(Stride, TripCount); in computeRefCost() 421 const SCEV *Stride = SE.getMulExpr(Coeff, ElemSize); in isConsecutive() local 422 const SCEV *CacheLineSize = SE.getConstant(Stride->getType(), CLS); in isConsecutive() 424 Stride = SE.isKnownNegative(Stride) ? SE.getNegativeSCEV(Stride) : Stride; in isConsecutive() [all …]
|
D | VectorUtils.cpp | 254 Value *Stride = U->getValue(); in getStrideFromPointer() local 255 if (!Lp->isLoopInvariant(Stride)) in getStrideFromPointer() 261 Stride = getUniqueCastUse(Stride, Lp, StripedOffRecurrenceCast); in getStrideFromPointer() 263 return Stride; in getStrideFromPointer() 793 llvm::createStrideMask(unsigned Start, unsigned Stride, unsigned VF) { in createStrideMask() argument 796 Mask.push_back(Start + i * Stride); in createStrideMask() 940 bool InterleavedAccessInfo::isStrided(int Stride) { in isStrided() argument 941 unsigned Factor = std::abs(Stride); in isStrided() 973 int64_t Stride = getPtrStride(PSE, Ptr, TheLoop, Strides, in collectConstStrideAccesses() local 979 AccessStrideInfo[&I] = StrideDescriptor(Stride, Scev, Size, in collectConstStrideAccesses() [all …]
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | VectorUtils.h | 521 llvm::SmallVector<int, 16> createStrideMask(unsigned Start, unsigned Stride, 593 InterleaveGroup(InstTy *Instr, int32_t Stride, Align Alignment) in InterleaveGroup() argument 595 Factor = std::abs(Stride); in InterleaveGroup() 598 Reverse = Stride < 0; in InterleaveGroup() 828 StrideDescriptor(int64_t Stride, const SCEV *Scev, uint64_t Size, in StrideDescriptor() 830 : Stride(Stride), Scev(Scev), Size(Size), Alignment(Alignment) {} in StrideDescriptor() 833 int64_t Stride = 0; member 853 createInterleaveGroup(Instruction *Instr, int Stride, Align Alignment) { in createInterleaveGroup() argument 857 new InterleaveGroup<Instruction>(Instr, Stride, Alignment); in createInterleaveGroup() 878 static bool isStrided(int Stride); [all …]
|
/external/llvm-project/polly/include/polly/CodeGen/ |
D | LoopGenerators.h | 65 Value *createLoop(Value *LowerBound, Value *UpperBound, Value *Stride, 140 Value *createParallelLoop(Value *LB, Value *UB, Value *Stride, 192 Value *LB, Value *UB, Value *Stride) = 0; 214 createSubFn(Value *Stride, AllocaInst *Struct, SetVector<Value *> UsedValues,
|
D | LoopGeneratorsGOMP.h | 46 Value *UB, Value *Stride); 49 Value *UB, Value *Stride) override; 53 std::tuple<Value *, Function *> createSubFn(Value *Stride, AllocaInst *Struct,
|
D | LoopGeneratorsKMP.h | 70 Value *UB, Value *Stride); 73 Value *UB, Value *Stride) override; 77 std::tuple<Value *, Function *> createSubFn(Value *Stride, AllocaInst *Struct,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
D | Minidump.h | 110 MemoryInfoIterator(ArrayRef<uint8_t> Storage, size_t Stride) in MemoryInfoIterator() argument 111 : Storage(Storage), Stride(Stride) { in MemoryInfoIterator() 112 assert(Storage.size() % Stride == 0); in MemoryInfoIterator() 125 Storage = Storage.drop_front(Stride); 131 size_t Stride; variable
|
/external/llvm-project/llvm/include/llvm/Object/ |
D | Minidump.h | 110 MemoryInfoIterator(ArrayRef<uint8_t> Storage, size_t Stride) in MemoryInfoIterator() argument 111 : Storage(Storage), Stride(Stride) { in MemoryInfoIterator() 112 assert(Storage.size() % Stride == 0); in MemoryInfoIterator() 125 Storage = Storage.drop_front(Stride); 131 size_t Stride; variable
|
/external/llvm-project/clang/test/CodeGenObjC/ |
D | matrix-type-builtins.m | 54 void test_column_major_load(PtrValue *Ptr, IntValue *Stride) { 55 // CHECK-LABEL: define void @test_column_major_load(%2* %Ptr, %3* %Stride) #4 { 61 u3x4 m = __builtin_matrix_column_major_load(Ptr.value, 3, 4, Stride.value); 64 void test_column_major_store(UnsignedMatrixValue *M, PtrValue *Ptr, IntValue *Stride) { 65 // CHECK-LABEL: define void @test_column_major_store(%1* %M, %2* %Ptr, %3* %Stride) #3 { 72 __builtin_matrix_column_major_store(M.value, Ptr.value, Stride.value);
|
/external/llvm-project/polly/lib/CodeGen/ |
D | LoopGenerators.cpp | 82 Value *polly::createLoop(Value *LB, Value *UB, Value *Stride, in createLoop() argument 154 Stride = Builder.CreateZExtOrBitCast(Stride, LoopIVType); in createLoop() 155 Value *IncrementedIV = Builder.CreateNSWAdd(IV, Stride, "polly.indvar_next"); in createLoop() 176 Value *LB, Value *UB, Value *Stride, SetVector<Value *> &UsedValues, in createParallelLoop() argument 184 std::tie(IV, SubFn) = createSubFn(Stride, Struct, UsedValues, Map); in createParallelLoop() 196 deployParallelExecution(SubFn, SubFnParam, LB, UB, Stride); in createParallelLoop()
|
D | LoopGeneratorsGOMP.cpp | 23 Value *Stride) { in createCallSpawnThreads() argument 45 LB, UB, Stride}; in createCallSpawnThreads() 53 Value *Stride) { in deployParallelExecution() argument 55 createCallSpawnThreads(SubFn, SubFnParam, LB, UB, Stride); in deployParallelExecution() 91 ParallelLoopGeneratorGOMP::createSubFn(Value *Stride, AllocaInst *StructData, in createSubFn() argument 157 createLoop(LB, UB, Stride, Builder, LI, DT, AfterBB, ICmpInst::ICMP_SLE, in createSubFn()
|
/external/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 93 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()
|
/external/eigen/doc/snippets/ |
D | Map_general_stride.cpp | 3 cout << Map<MatrixXi, 0, Stride<Dynamic,2> > 4 (array, 3, 3, Stride<Dynamic,2>(8, 2))
|
/external/llvm-project/clang/test/SemaCXX/ |
D | matrix-type-builtins.cpp | 106 void column_major_store(MyMatrix<EltTy0, R0, C0> &A, PtrTy Ptr, unsigned Stride) { in column_major_store() argument 107 __builtin_matrix_column_major_store(A.value, Ptr, Stride); in column_major_store() 111 template <typename MTy, typename PtrTy, unsigned Stride> 113 __builtin_matrix_column_major_store(A.value, Ptr, Stride); in column_major_store()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 113 : 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | VectorUtils.cpp | 247 Value *Stride = U->getValue(); in getStrideFromPointer() local 248 if (!Lp->isLoopInvariant(Stride)) in getStrideFromPointer() 254 Stride = getUniqueCastUse(Stride, Lp, StripedOffRecurrenceCast); in getStrideFromPointer() 256 return Stride; in getStrideFromPointer() 679 unsigned Stride, unsigned VF) { in createStrideMask() argument 682 Mask.push_back(Builder.getInt32(Start + i * Stride)); in createStrideMask() 799 bool InterleavedAccessInfo::isStrided(int Stride) { in isStrided() argument 800 unsigned Factor = std::abs(Stride); in isStrided() 832 int64_t Stride = getPtrStride(PSE, Ptr, TheLoop, Strides, in collectConstStrideAccesses() local 844 AccessStrideInfo[&I] = StrideDescriptor(Stride, Scev, Size, *Alignment); in collectConstStrideAccesses() [all …]
|