Home
last modified time | relevance | path

Searched refs:spvFixWord (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/source/
Dspirv_endian.cpp34 uint32_t spvFixWord(const uint32_t word, const spv_endianness_t endian) { in spvFixWord() function
46 return (uint64_t(spvFixWord(high, endian)) << 32) | spvFixWord(low, endian); in spvFixDoubleWord()
Dbinary.cpp44 pHeader->magic = spvFixWord(binary->code[SPV_INDEX_MAGIC_NUMBER], endian); in spvBinaryHeaderGet()
45 pHeader->version = spvFixWord(binary->code[SPV_INDEX_VERSION_NUMBER], endian); in spvBinaryHeaderGet()
47 spvFixWord(binary->code[SPV_INDEX_GENERATOR_NUMBER], endian); in spvBinaryHeaderGet()
48 pHeader->bound = spvFixWord(binary->code[SPV_INDEX_BOUND], endian); in spvBinaryHeaderGet()
49 pHeader->schema = spvFixWord(binary->code[SPV_INDEX_SCHEMA], endian); in spvBinaryHeaderGet()
156 return spvFixWord(_.words[index], _.endian); in peekAt()
712 return spvFixWord(raw_word, endianness); in parseOperand()
Dspirv_endian.h21 uint32_t spvFixWord(const uint32_t word, const spv_endianness_t endianness);
Dopcode.cpp171 pInst->words[wordIndex] = spvFixWord(words[wordIndex], endian); in spvInstructionCopy()
/external/deqp-deps/SPIRV-Tools/source/
Dspirv_endian.cpp34 uint32_t spvFixWord(const uint32_t word, const spv_endianness_t endian) { in spvFixWord() function
46 return (uint64_t(spvFixWord(high, endian)) << 32) | spvFixWord(low, endian); in spvFixDoubleWord()
Dbinary.cpp44 pHeader->magic = spvFixWord(binary->code[SPV_INDEX_MAGIC_NUMBER], endian); in spvBinaryHeaderGet()
45 pHeader->version = spvFixWord(binary->code[SPV_INDEX_VERSION_NUMBER], endian); in spvBinaryHeaderGet()
47 spvFixWord(binary->code[SPV_INDEX_GENERATOR_NUMBER], endian); in spvBinaryHeaderGet()
48 pHeader->bound = spvFixWord(binary->code[SPV_INDEX_BOUND], endian); in spvBinaryHeaderGet()
49 pHeader->schema = spvFixWord(binary->code[SPV_INDEX_SCHEMA], endian); in spvBinaryHeaderGet()
156 return spvFixWord(_.words[index], _.endian); in peekAt()
708 return spvFixWord(raw_word, endianness); in parseOperand()
Dspirv_endian.h21 uint32_t spvFixWord(const uint32_t word, const spv_endianness_t endianness);
Dopcode.cpp171 pInst->words[wordIndex] = spvFixWord(words[wordIndex], endian); in spvInstructionCopy()
/external/swiftshader/third_party/SPIRV-Tools/test/
Dfix_word_test.cpp28 ASSERT_EQ(word, spvFixWord(word, endian)); in TEST()
40 ASSERT_EQ(result, spvFixWord(word, endian)); in TEST()
Dbinary_parse_test.cpp209 return spvFixWord(raw_word, in Parse()
/external/deqp-deps/SPIRV-Tools/test/
Dfix_word_test.cpp28 ASSERT_EQ(word, spvFixWord(word, endian)); in TEST()
40 ASSERT_EQ(result, spvFixWord(word, endian)); in TEST()
Dbinary_parse_test.cpp207 return spvFixWord(raw_word, in Parse()