Home
last modified time | relevance | path

Searched refs:BaseType (Results 1 – 11 of 11) sorted by relevance

/frameworks/libs/binary_translation/intrinsics/include/berberis/intrinsics/common/
Dintrinsics_float.h51 template <typename BaseType>
55 explicit constexpr WrappedFloatType(BaseType value) : value_(value) {} in WrappedFloatType()
62 typename = std::enable_if_t<std::is_integral_v<BaseType> &&
63 sizeof(BaseType) == sizeof(IntType)>>
67 memcpy(&result, &value_, sizeof(BaseType));
117 static_assert(!std::numeric_limits<BaseType>::is_exact,
119 BaseType value_;
139 template <typename BaseType>
140 class numeric_limits<berberis::intrinsics::WrappedFloatType<BaseType>> {
147 static constexpr bool has_quiet_NaN = std::numeric_limits<BaseType>::has_quiet_NaN;
[all …]
/frameworks/libs/binary_translation/base/include/berberis/base/
Dbit_util.h32 template <typename BaseType>
35 template <typename BaseType>
38 template <typename BaseType>
309 template <typename BaseType>
326 using BaseType = Base;
328 static_assert(std::is_integral_v<BaseType>);
329 static_assert(!std::is_signed_v<BaseType>);
333 sizeof(IntType) == sizeof(BaseType)>>
339 std::is_integral_v<IntType> && sizeof(BaseType) == sizeof(IntType) &&
340 !std::is_signed_v<IntType> && !std::is_same_v<IntType, BaseType>>>
[all …]
/frameworks/libs/binary_translation/intrinsics/riscv64/include/berberis/intrinsics/riscv64/
Dvector_intrinsics.h321 static_cast<typename MaskType::BaseType>(mask));
401 BitMaskToSimdMask<ElementType>(static_cast<typename MaskType::BaseType>(mask));
567 ElementType element = {static_cast<typename ElementType::BaseType>(index * kElementsCount)}; in VidvForTests()
689 typename Wrapping<typename ElementType::BaseType>::UnsignedType value{ in Viotam()
690 static_cast<typename ElementType::BaseType>(counter)}; in Viotam()
710 std::get<0>(FCvtFloatToInteger<typename TargetElementType::BaseType, SourceElementType>( in Vfcvtv()
717 std::get<0>(FCvtIntegerToFloat<TargetElementType, typename SourceElementType::BaseType>( in Vfcvtv()
718 rm, frm, src.Get<typename SourceElementType::BaseType>(index))), in Vfcvtv()
965 ElementType{std::get<0>(Aadd(csr, static_cast<typename ElementType::BaseType>(args)...))})
968 ElementType{std::get<0>(Aadd(csr, static_cast<typename ElementType::BaseType>(args)...))})
[all …]
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dpointer_wrapper.h14 using BaseType = T;
/frameworks/native/libs/vr/libpdx/private/pdx/
Dutility.h207 using BaseType = ByteBuffer;
208 using iterator = typename BaseType::iterator;
209 using const_iterator = typename BaseType::const_iterator;
210 using size_type = typename BaseType::size_type;
/frameworks/compile/slang/
Dslang_rs_object_ref_count.cpp353 const clang::Type *BaseType = RefRSArr->getType().getTypePtr(); in ClearArrayRSObject() local
354 slangAssert(BaseType->isArrayType()); in ClearArrayRSObject()
356 int NumArrayElements = ArrayDim(BaseType); in ClearArrayRSObject()
358 BaseType = BaseType->getArrayElementTypeNoTypeQual(); in ClearArrayRSObject()
463 C.getPointerType(BaseType->getCanonicalTypeInternal()), in ClearArrayRSObject()
472 BaseType->getCanonicalTypeInternal(), in ClearArrayRSObject()
477 DataType DT = RSExportPrimitiveType::GetRSSpecificType(BaseType); in ClearArrayRSObject()
480 if (BaseType->isArrayType()) { in ClearArrayRSObject()
560 const clang::Type *BaseType = RefRSStruct->getType().getTypePtr(); in ClearStructRSObject() local
562 slangAssert(!BaseType->isArrayType()); in ClearStructRSObject()
[all …]
/frameworks/native/libs/vr/libpdx/
Dvariant_tests.cpp16 struct BaseType { struct
18 BaseType(int value) : value(value) {} in BaseType() argument
22 struct DerivedType : BaseType {
24 DerivedType(int value) : BaseType{value} {}; in DerivedType()
1001 std::unique_ptr<BaseType> u(std::make_unique<BaseType>(20)); in TEST()
/frameworks/libs/binary_translation/intrinsics/riscv64_to_x86_64/include/berberis/intrinsics/
Dvector_intrinsics.h35 constants_pool::kVectorConst<typename decltype(kDefaultElement)::BaseType{kDefaultElement}>)); in VectorBroadcast()
/frameworks/native/cmds/lshal/
DListCommand.cpp884 using BaseType = std::underlying_type_t<T>; in GetAllValues() typedef
886 for (BaseType i = 0; i < static_cast<BaseType>(T::LAST); ++i) { in GetAllValues()
/frameworks/libs/binary_translation/interpreter/riscv64/
Dinterpreter_test.cc166 const ElementType::BaseType (&expected_results)[kNFfields * kLmul][static_cast<int>( in VlxsegXeiXX()
181 const DataElementType::BaseType (&expected_results)[kNFfields * kLmul][static_cast<int>( in VlxsegXeiXX()
194 index_register.Set(IndexElementType{static_cast<typename IndexElementType::BaseType>( in VlxsegXeiXX()
208 const ElementType::BaseType ( in TestVlsegXeXX()
219 const ElementType::BaseType ( in TestVlssegXeXX()
228 const ElementType::BaseType ( in TestVectorLoad()
379 index_register.Set(IndexElementType{static_cast<typename IndexElementType::BaseType>( in VsxsegXeiXX()
Dinterpreter.h1103 if ((MaskType(register_mask) & MaskType{static_cast<typename MaskType::BaseType>(
1712 constexpr SignedType kNegativeZero{std::numeric_limits<typename SignedType::BaseType>::min()}; in OpVector()
2478 Vec<UnsignedType{std::numeric_limits<typename UnsignedType::BaseType>::max()}>{ in OpVector()
2484 Vec<SignedType{std::numeric_limits<typename SignedType::BaseType>::max()}>{args.src1}, in OpVector()
2492 Vec<SignedType{std::numeric_limits<typename SignedType::BaseType>::min()}>{args.src1}, in OpVector()
2942 if ((MaskType(register_mask) & MaskType{static_cast<typename MaskType::BaseType>(
4035 if ((static_cast<MaskType::BaseType>(mask_bits) & (1 << last_elem_within_reg_pos)) == 0) { in OpVectorslide1down()