Home
last modified time | relevance | path

Searched refs:NumberType (Results 1 – 22 of 22) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/util/
Dparse_number.h30 struct NumberType { struct
38 inline bool IsIntegral(const NumberType& type) { in IsIntegral() argument
44 inline bool IsFloating(const NumberType& type) { in IsFloating()
49 inline bool IsSigned(const NumberType& type) { in IsSigned()
54 inline bool IsUnknown(const NumberType& type) { in IsUnknown()
60 inline int AssumedBitWidth(const NumberType& type) { in AssumedBitWidth()
104 bool CheckRangeAndIfHexThenSignExtend(T value, const NumberType& type, in CheckRangeAndIfHexThenSignExtend()
219 const char* text, const NumberType& type,
232 const char* text, const NumberType& type,
245 const NumberType& type,
Dparse_number.cpp58 const char* text, const NumberType& type, in ParseAndEncodeIntegerNumber()
135 const char* text, const NumberType& type, in ParseAndEncodeFloatingPointNumber()
193 const NumberType& type, in ParseAndEncodeNumber()
/external/swiftshader/third_party/SPIRV-Tools/source/util/
Dparse_number.h30 struct NumberType { struct
38 inline bool IsIntegral(const NumberType& type) { in IsIntegral() argument
44 inline bool IsFloating(const NumberType& type) { in IsFloating()
49 inline bool IsSigned(const NumberType& type) { in IsSigned()
54 inline bool IsUnknown(const NumberType& type) { in IsUnknown()
60 inline int AssumedBitWidth(const NumberType& type) { in AssumedBitWidth()
104 bool CheckRangeAndIfHexThenSignExtend(T value, const NumberType& type, in CheckRangeAndIfHexThenSignExtend()
219 const char* text, const NumberType& type,
232 const char* text, const NumberType& type,
245 const NumberType& type,
Dparse_number.cpp58 const char* text, const NumberType& type, in ParseAndEncodeIntegerNumber()
135 const char* text, const NumberType& type, in ParseAndEncodeFloatingPointNumber()
193 const NumberType& type, in ParseAndEncodeNumber()
/external/deqp-deps/SPIRV-Tools/test/
Dparse_number_test.cpp288 NumberType type = {16, SPV_NUMBER_SIGNED_INT}; in TEST()
311 NumberType type = {16, SPV_NUMBER_SIGNED_INT}; in TEST()
324 NumberType type = {16, SPV_NUMBER_SIGNED_INT}; in TEST()
357 NumberType type = {16, SPV_NUMBER_UNSIGNED_INT}; in TEST()
386 NumberType type = {16, SPV_NUMBER_UNSIGNED_INT}; in TEST()
397 NumberType type = {16, SPV_NUMBER_UNSIGNED_INT}; in TEST()
419 NumberType type = {32, SPV_NUMBER_SIGNED_INT}; in TEST()
442 NumberType type = {32, SPV_NUMBER_SIGNED_INT}; in TEST()
459 NumberType type = {32, SPV_NUMBER_SIGNED_INT}; in TEST()
492 NumberType type = {32, SPV_NUMBER_UNSIGNED_INT}; in TEST()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/
Dparse_number_test.cpp288 NumberType type = {16, SPV_NUMBER_SIGNED_INT}; in TEST()
311 NumberType type = {16, SPV_NUMBER_SIGNED_INT}; in TEST()
324 NumberType type = {16, SPV_NUMBER_SIGNED_INT}; in TEST()
357 NumberType type = {16, SPV_NUMBER_UNSIGNED_INT}; in TEST()
386 NumberType type = {16, SPV_NUMBER_UNSIGNED_INT}; in TEST()
397 NumberType type = {16, SPV_NUMBER_UNSIGNED_INT}; in TEST()
419 NumberType type = {32, SPV_NUMBER_SIGNED_INT}; in TEST()
442 NumberType type = {32, SPV_NUMBER_SIGNED_INT}; in TEST()
459 NumberType type = {32, SPV_NUMBER_SIGNED_INT}; in TEST()
492 NumberType type = {32, SPV_NUMBER_UNSIGNED_INT}; in TEST()
[all …]
/external/mesa3d/src/amd/addrlib/core/
Daddrelemlib.h60 enum NumberType enum
165 NumberType numType[4];
205 ADDR_FLT_32 value, UINT_32 bits, NumberType numberType, UINT_32* pResult);
Daddrelemlib.cpp136 NumberType numberType, ///< [in] the type of number in Flt32sToInt32s()
/external/deqp-deps/SPIRV-Tools/source/comp/
Dmarkv_decoder.h65 struct NumberType { struct
166 std::unordered_map<uint32_t, NumberType> type_id_to_number_type_info_;
Dmarkv_decoder.cpp892 const NumberType& info = type_info_iter->second; in SetNumericTypeInfoForType()
909 NumberType info = {SPV_NUMBER_NONE, 0}; in RecordNumberType()
/external/swiftshader/third_party/SPIRV-Tools/source/comp/
Dmarkv_decoder.h65 struct NumberType { struct
166 std::unordered_map<uint32_t, NumberType> type_id_to_number_type_info_;
Dmarkv_decoder.cpp892 const NumberType& info = type_info_iter->second; in SetNumericTypeInfoForType()
909 NumberType info = {SPV_NUMBER_NONE, 0}; in RecordNumberType()
/external/swiftshader/third_party/SPIRV-Tools/source/
Dbinary.cpp169 struct NumberType { struct in __anon15630c7d0111::Parser
207 std::unordered_map<uint32_t, NumberType> type_id_to_number_type_info;
733 const NumberType& info = type_info_iter->second; in setNumericTypeInfoForType()
751 NumberType info = {SPV_NUMBER_NONE, 0}; in recordNumberType()
Dtext_handler.cpp244 spvtools::utils::NumberType number_type; in binaryEncodeNumericLiteral()
/external/deqp-deps/SPIRV-Tools/source/
Dbinary.cpp169 struct NumberType { struct in __anonbccc42030111::Parser
205 std::unordered_map<uint32_t, NumberType> type_id_to_number_type_info;
729 const NumberType& info = type_info_iter->second; in setNumericTypeInfoForType()
747 NumberType info = {SPV_NUMBER_NONE, 0}; in recordNumberType()
Dtext_handler.cpp244 spvtools::utils::NumberType number_type; in binaryEncodeNumericLiteral()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dset_spec_constant_default_value_pass.cpp36 using utils::NumberType;
54 NumberType number_type = {32, SPV_NUMBER_UNSIGNED_INT}; in ParseDefaultValueStr()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dset_spec_constant_default_value_pass.cpp36 using utils::NumberType;
54 NumberType number_type = {32, SPV_NUMBER_UNSIGNED_INT}; in ParseDefaultValueStr()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmGraphicsShaderTestUtil.hpp61 enum NumberType enum
114 IFDataType (deUint32 numE, NumberType elementT) in IFDataType()
142 NumberType elementType;
DvktSpvAsmInstructionTests.cpp16873 const string getNumberTypeName (const NumberType type) in getNumberTypeName()
16909 const string getRandomConstantString (const NumberType type, de::Random& rnd) in getRandomConstantString()
16930 …torCompositeCases (vector<map<string, string> >& testCases, de::Random& rnd, const NumberType type) in createVectorCompositeCases()
16953 …rayCompositeCases (vector<map<string, string> >& testCases, de::Random& rnd, const NumberType type) in createArrayCompositeCases()
16976 …uctCompositeCases (vector<map<string, string> >& testCases, de::Random& rnd, const NumberType type) in createStructCompositeCases()
16997 …rixCompositeCases (vector<map<string, string> >& testCases, de::Random& rnd, const NumberType type) in createMatrixCompositeCases()
17028 …ateCompositeCases (vector<map<string, string> >& testCases, de::Random& rnd, const NumberType type) in createCompositeCases()
17040 const string getAssemblyTypeDeclaration (const NumberType type) in getAssemblyTypeDeclaration()
17051 const string getAssemblyTypeName (const NumberType type) in getAssemblyTypeName()
17062 const string specializeCompositeInsertShaderTemplate (const NumberType type, const map<string, stri… in specializeCompositeInsertShaderTemplate()
[all …]
DvktSpvAsm16bitStorageTests.cpp4203 NumberType numberType; in addGraphics16BitStorageInputOutputFloat16To16x2Group()
4277 NumberType numberType; in addGraphics16BitStorageInputOutputInt16To16x2Group()
4687 …const NumberType numberType = strcmp(cases[caseIdx].sign, "1") == 0 ? NUMBERTYPE_INT16 : NUMB… in addGraphics16BitStorageInputOutputInt16To16Group()
/external/clang/lib/Sema/
DSemaExprObjC.cpp242 QualType NumberType, in getNSNumberFactoryMethod() argument
246 S.NSAPIObj->getNSNumberFactoryMethodKind(NumberType); in getNSNumberFactoryMethod()
251 << NumberType << R; in getNSNumberFactoryMethod()
297 NumberType, /*TInfo=*/nullptr, in getNSNumberFactoryMethod()
316 QualType NumberType = Number->getType(); in BuildObjCNumericLiteral() local
323 NumberType = Context.CharTy; in BuildObjCNumericLiteral()
327 NumberType = Context.getWideCharType(); in BuildObjCNumericLiteral()
331 NumberType = Context.Char16Ty; in BuildObjCNumericLiteral()
335 NumberType = Context.Char32Ty; in BuildObjCNumericLiteral()
343 ObjCMethodDecl *Method = getNSNumberFactoryMethod(*this, AtLoc, NumberType, in BuildObjCNumericLiteral()