Home
last modified time | relevance | path

Searched refs:DstType (Results 1 – 25 of 55) sorted by relevance

123

/external/gemmlowp/internal/
Doutput_sse.h182 template <typename DstType>
183 struct StoreFinalOutputImpl<RegBlockInt32<4, 1>, DstType> {
184 static void Run(const RegBlockInt32<4, 1>& src, DstType* dst, int row,
186 if (DstType::kOrder == MapOrder::ColMajor) {
197 template <typename DstType>
198 struct StoreFinalOutputImpl<RegBlockInt32<8, 1>, DstType> {
199 static void Run(const RegBlockInt32<8, 1>& src, DstType* dst, int row,
201 if (DstType::kOrder == MapOrder::ColMajor) {
217 template <typename DstType>
218 struct StoreFinalOutputImpl<RegBlockInt16<4, 1>, DstType> {
[all …]
Doutput_neon.h273 template <typename DstType>
274 struct StoreFinalOutputImpl<RegBlockInt32<8, 1>, DstType> {
275 static void Run(const RegBlockInt32<8, 1>& src, DstType* dst, int row,
277 if (DstType::kOrder == MapOrder::ColMajor) {
293 template <typename DstType>
294 struct StoreFinalOutputImpl<RegBlockInt16<4, 1>, DstType> {
295 static void Run(const RegBlockInt16<4, 1>& src, DstType* dst, int row,
297 if (DstType::kOrder == MapOrder::ColMajor) {
308 template <typename DstType>
309 struct StoreFinalOutputImpl<RegBlockInt16<8, 1>, DstType> {
[all …]
Doutput_msa.h346 template <typename DstType>
347 struct StoreFinalOutputImpl<RegBlockInt32<4, 1>, DstType> {
348 static void Run(const RegBlockInt32<4, 1>& src, DstType* dst, int row,
350 if (DstType::kOrder == MapOrder::ColMajor) {
361 template <typename DstType>
362 struct StoreFinalOutputImpl<RegBlockInt32<8, 1>, DstType> {
363 static void Run(const RegBlockInt32<8, 1>& src, DstType* dst, int row,
365 if (DstType::kOrder == MapOrder::ColMajor) {
381 template <typename DstType>
382 struct StoreFinalOutputImpl<RegBlockInt16<4, 1>, DstType> {
[all …]
Ddispatch_gemm_shape.h29 typedef T DstType; typedef
34 using TransposeType = typename TransposeImpl<T>::DstType;
58 typedef VectorMap<Scalar, TransposedShape> DstType;
59 static DstType Run(const SrcType& src) {
60 return DstType(src.data(), src.size());
68 typedef MatrixMap<Scalar, TransposedOrder> DstType;
69 static DstType Run(const SrcType& src) {
70 return DstType(src.data(), src.cols(), src.rows(), src.stride());
79 typedef OutputStageQuantizeDownInt32ToUint8ScalePC<TransposedShape> DstType;
80 static DstType Run(const SrcType& src) {
[all …]
Doutput.h508 template <typename RegisterBlockType, typename DstType>
514 template <typename ScalarType, int Rows, int Cols, typename DstType>
515 struct StoreFinalOutputImpl<RegisterBlock<ScalarType, Rows, Cols>, DstType> {
517 static void Run(const RegisterBlockType& src, DstType* dst, int row,
531 template <typename RegisterBlockType, typename DstType>
532 void StoreFinalOutput(RegisterBlockType src, DstType* dst, int row, int col) {
533 StoreFinalOutputImpl<RegisterBlockType, DstType>::Run(src, dst, row, col);
545 template <typename DstType>
546 void Execute(InputType input, DstType* dst, int src_global_row,
554 typedef typename DstType::Scalar ScalarDstType;
/external/llvm-project/llvm/test/LTO/X86/
Dtype-mapping-bug.ll8 ; to %DstType.
10 %DstType = type { i8 }
14 %Tricky.1 = type { %DstType* }
16 @x = global %DstType zeroinitializer
23 ; getting a mapping from %DstType, which has previously used as
/external/ruy/example/
Dparametrized_example.cc63 template <typename LhsType, typename RhsType, typename DstType>
66 typename std::conditional<std::is_floating_point<DstType>::value, DstType, in run()
71 ruy::Matrix<DstType> dst; in run()
115 std::vector<DstType> dst_buf(flat_size(dst.layout())); in run()
125 ruy::MulParams<AccumType, DstType> mul_params; in run()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DMachineIRBuilder.h67 enum class DstType { Ty_LLT, Ty_Reg, Ty_RC }; enum
68 DstOp(unsigned R) : Reg(R), Ty(DstType::Ty_Reg) {} in DstOp()
69 DstOp(Register R) : Reg(R), Ty(DstType::Ty_Reg) {} in DstOp()
70 DstOp(const MachineOperand &Op) : Reg(Op.getReg()), Ty(DstType::Ty_Reg) {} in DstOp()
71 DstOp(const LLT &T) : LLTTy(T), Ty(DstType::Ty_LLT) {} in DstOp()
72 DstOp(const TargetRegisterClass *TRC) : RC(TRC), Ty(DstType::Ty_RC) {} in DstOp()
76 case DstType::Ty_Reg: in addDefToMIB()
79 case DstType::Ty_LLT: in addDefToMIB()
82 case DstType::Ty_RC: in addDefToMIB()
90 case DstType::Ty_RC: in getLLTTy()
[all …]
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DCSEMIRBuilder.cpp68 case DstOp::DstType::Ty_RC: in profileDstOp()
71 case DstOp::DstType::Ty_Reg: { in profileDstOp()
134 DstOp::DstType DT = Op.getDstOpKind(); in checkCopyToDefsPossible()
135 return DT == DstOp::DstType::Ty_LLT || DT == DstOp::DstType::Ty_RC; in checkCopyToDefsPossible()
146 if (Op.getDstOpKind() == DstOp::DstType::Ty_Reg) in generateCopiesIfRequired()
/external/deqp/framework/randomshaders/
DrsgExpression.cpp537 template <typename SrcType, typename DstType>
538 inline DstType convert (SrcType src) in convert()
541 return Scalar::min<DstType>().template as<DstType>(); in convert()
543 return Scalar::max<DstType>().template as<DstType>(); in convert()
545 return DstType(src); in convert()
567 template <typename SrcType, typename DstType>
568 inline void convertValueRange (SrcType srcMin, SrcType srcMax, DstType& dstMin, DstType& dstMax) in convertValueRange()
570 dstMin = convert<SrcType, DstType>(srcMin); in convertValueRange()
571 dstMax = convert<SrcType, DstType>(srcMax); in convertValueRange()
598 template <typename SrcType, typename DstType>
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCSEMIRBuilder.cpp61 case DstOp::DstType::Ty_RC: in profileDstOp()
119 DstOp::DstType DT = Op.getDstOpKind(); in checkCopyToDefsPossible()
120 return DT == DstOp::DstType::Ty_LLT || DT == DstOp::DstType::Ty_RC; in checkCopyToDefsPossible()
131 if (Op.getDstOpKind() == DstOp::DstType::Ty_Reg) in generateCopiesIfRequired()
/external/eigen/Eigen/src/SVD/
DSVDBase.h214 template<typename RhsType, typename DstType>
216 void _solve_impl(const RhsType &rhs, DstType &dst) const;
258 template<typename RhsType, typename DstType>
259 void SVDBase<Derived>::_solve_impl(const RhsType &rhs, DstType &dst) const in _solve_impl()
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DMachineIRBuilder.h66 enum class DstType { Ty_LLT, Ty_Reg, Ty_RC }; enum
67 DstOp(unsigned R) : Reg(R), Ty(DstType::Ty_Reg) {} in DstOp()
68 DstOp(Register R) : Reg(R), Ty(DstType::Ty_Reg) {} in DstOp()
69 DstOp(const MachineOperand &Op) : Reg(Op.getReg()), Ty(DstType::Ty_Reg) {} in DstOp()
70 DstOp(const LLT T) : LLTTy(T), Ty(DstType::Ty_LLT) {} in DstOp()
71 DstOp(const TargetRegisterClass *TRC) : RC(TRC), Ty(DstType::Ty_RC) {} in DstOp()
75 case DstType::Ty_Reg: in addDefToMIB()
78 case DstType::Ty_LLT: in addDefToMIB()
81 case DstType::Ty_RC: in addDefToMIB()
89 case DstType::Ty_RC: in getLLTTy()
[all …]
/external/skia/tests/
DVkHardwareBufferTest.cpp1076 enum class DstType { enum
1082 SrcType srcType, DstType dstType, bool shareSyncs) { in run_test()
1106 if (DstType::kVulkan == dstType) { in run_test()
1110 SkASSERT(DstType::kEGL == dstType); in run_test()
1295 run_test(reporter, options, SrcType::kCPU, DstType::kVulkan, false); in DEF_GPUTEST()
1299 run_test(reporter, options, SrcType::kVulkan, DstType::kVulkan, false); in DEF_GPUTEST()
1303 run_test(reporter, options, SrcType::kVulkan, DstType::kVulkan, true); in DEF_GPUTEST()
1308 run_test(reporter, options, SrcType::kEGL, DstType::kVulkan, false); in DEF_GPUTEST()
1312 run_test(reporter, options, SrcType::kCPU, DstType::kEGL, false); in DEF_GPUTEST()
1316 run_test(reporter, options, SrcType::kEGL, DstType::kEGL, false); in DEF_GPUTEST()
[all …]
/external/skqp/tests/
DVkHardwareBufferTest.cpp1073 enum class DstType { enum
1079 SrcType srcType, DstType dstType, bool shareSyncs) { in run_test()
1099 if (DstType::kVulkan == dstType) { in run_test()
1102 SkASSERT(DstType::kEGL == dstType); in run_test()
1284 run_test(reporter, options, SrcType::kCPU, DstType::kVulkan, false); in DEF_GPUTEST()
1288 run_test(reporter, options, SrcType::kEGL, DstType::kVulkan, false); in DEF_GPUTEST()
1292 run_test(reporter, options, SrcType::kVulkan, DstType::kVulkan, false); in DEF_GPUTEST()
1296 run_test(reporter, options, SrcType::kCPU, DstType::kEGL, false); in DEF_GPUTEST()
1300 run_test(reporter, options, SrcType::kEGL, DstType::kEGL, false); in DEF_GPUTEST()
1304 run_test(reporter, options, SrcType::kVulkan, DstType::kEGL, false); in DEF_GPUTEST()
[all …]
/external/eigen/Eigen/src/SparseCore/
DSparseTriangularView.h50 template<typename RhsType, typename DstType>
52 EIGEN_STRONG_INLINE void _solve_impl(const RhsType &rhs, DstType &dst) const { in _solve_impl()
53 …if(!(internal::is_same<RhsType,DstType>::value && internal::extract_data(dst) == internal::extract… in _solve_impl()
/external/eigen/Eigen/src/LU/
DFullPivLU.h413 template<typename RhsType, typename DstType>
415 void _solve_impl(const RhsType &rhs, DstType &dst) const;
417 template<bool Conjugate, typename RhsType, typename DstType>
419 void _solve_impl_transposed(const RhsType &rhs, DstType &dst) const;
746 template<typename RhsType, typename DstType>
747 void FullPivLU<_MatrixType>::_solve_impl(const RhsType &rhs, DstType &dst) const
794 template<bool Conjugate, typename RhsType, typename DstType>
795 void FullPivLU<_MatrixType>::_solve_impl_transposed(const RhsType &rhs, DstType &dst) const
DPartialPivLU.h224 template<typename RhsType, typename DstType>
226 void _solve_impl(const RhsType &rhs, DstType &dst) const {
246 template<bool Conjugate, typename RhsType, typename DstType>
248 void _solve_impl_transposed(const RhsType &rhs, DstType &dst) const {
/external/llvm-project/clang/lib/CodeGen/
DCGExprScalar.cpp308 Value *Src, QualType SrcType, QualType DstType,
324 QualType DstType, SourceLocation Loc);
330 QualType DstType, SourceLocation Loc);
892 QualType DstType, llvm::Type *DstTy, SourceLocation Loc) { in EmitFloatConversionCheck() argument
908 unsigned Width = CGF.getContext().getIntWidth(DstType); in EmitFloatConversionCheck()
909 bool Unsigned = DstType->isUnsignedIntegerOrEnumerationType(); in EmitFloatConversionCheck()
953 CGF.EmitCheckTypeDescriptor(DstType)}; in EmitFloatConversionCheck()
963 QualType DstType, CGBuilderTy &Builder) { in EmitIntegerTruncationCheckHelper() argument
975 bool DstSigned = DstType->isSignedIntegerOrEnumerationType(); in EmitIntegerTruncationCheckHelper()
999 QualType SrcType, QualType DstType) { in PromotionIsPotentiallyEligibleForImplicitIntegerConversionCheck() argument
[all …]
/external/eigen/Eigen/src/QR/
DHouseholderQR.h215 template<typename RhsType, typename DstType>
217 void _solve_impl(const RhsType &rhs, DstType &dst) const;
349 template<typename RhsType, typename DstType>
350 void HouseholderQR<_MatrixType>::_solve_impl(const RhsType &rhs, DstType &dst) const in _solve_impl()
DCompleteOrthogonalDecomposition.h369 template <typename RhsType, typename DstType>
370 EIGEN_DEVICE_FUNC void _solve_impl(const RhsType& rhs, DstType& dst) const;
491 template <typename RhsType, typename DstType>
493 const RhsType& rhs, DstType& dst) const {
DColPivHouseholderQR.h418 template<typename RhsType, typename DstType>
420 void _solve_impl(const RhsType &rhs, DstType &dst) const;
584 template<typename RhsType, typename DstType>
585 void ColPivHouseholderQR<_MatrixType>::_solve_impl(const RhsType &rhs, DstType &dst) const
/external/clang/lib/CodeGen/
DCGExprScalar.cpp146 Value *Src, QualType SrcType, QualType DstType,
599 QualType DstType, llvm::Type *DstTy, SourceLocation Loc) { in EmitFloatConversionCheck() argument
610 assert(DstType->isFloatingType()); in EmitFloatConversionCheck()
614 APFloat::getLargest(CGF.getContext().getFloatTypeSemantics(DstType)); in EmitFloatConversionCheck()
640 unsigned Width = CGF.getContext().getIntWidth(DstType); in EmitFloatConversionCheck()
641 bool Unsigned = DstType->isUnsignedIntegerOrEnumerationType(); in EmitFloatConversionCheck()
698 if (CGF.getContext().getFloatingTypeOrder(OrigSrcType, DstType) != 1) in EmitFloatConversionCheck()
705 CGF.getContext().getFloatTypeSemantics(DstType); in EmitFloatConversionCheck()
725 CGF.EmitCheckTypeDescriptor(DstType)}; in EmitFloatConversionCheck()
733 QualType DstType, in EmitScalarConversion() argument
[all …]
/external/tensorflow/tensorflow/core/framework/
Dtensor_util.h124 using DstType = typename std::iterator_traits<DstIter>::value_type; in ToArray() local
125 std::transform(begin, end, dst, [](const SrcType& x) -> DstType { in ToArray()
126 return static_cast<DstType>(x); in ToArray()
/external/eigen/Eigen/src/Cholesky/
DLLT.h202 template<typename RhsType, typename DstType>
204 void _solve_impl(const RhsType &rhs, DstType &dst) const;
472 template<typename RhsType, typename DstType>
473 void LLT<_MatrixType,_UpLo>::_solve_impl(const RhsType &rhs, DstType &dst) const

123