Home
last modified time | relevance | path

Searched refs:first_word (Results 1 – 19 of 19) sorted by relevance

/third_party/spirv-tools/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp345 uint32_t first_word = value; in EncodeIntegerAsWords() local
353 utils::IsBitAtPositionSet(first_word, bit_width - 1); in EncodeIntegerAsWords()
358 first_word = utils::SetHighBits(first_word, num_high_bits_to_mask); in EncodeIntegerAsWords()
360 first_word = utils::ClearHighBits(first_word, num_high_bits_to_mask); in EncodeIntegerAsWords()
364 utils::SmallVector<uint32_t, 2> words = {first_word}; in EncodeIntegerAsWords()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp345 uint32_t first_word = value; in EncodeIntegerAsWords() local
353 utils::IsBitAtPositionSet(first_word, bit_width - 1); in EncodeIntegerAsWords()
358 first_word = utils::SetHighBits(first_word, num_high_bits_to_mask); in EncodeIntegerAsWords()
360 first_word = utils::ClearHighBits(first_word, num_high_bits_to_mask); in EncodeIntegerAsWords()
364 utils::SmallVector<uint32_t, 2> words = {first_word}; in EncodeIntegerAsWords()
Dconstants.cpp411 auto first_word = literal_words.begin() + (words_per_element * i); in GetNumericVectorConstantWithWords() local
412 std::vector<uint32_t> const_data(first_word, in GetNumericVectorConstantWithWords()
413 first_word + words_per_element); in GetNumericVectorConstantWithWords()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp345 uint32_t first_word = value; in EncodeIntegerAsWords() local
353 utils::IsBitAtPositionSet(first_word, bit_width - 1); in EncodeIntegerAsWords()
358 first_word = utils::SetHighBits(first_word, num_high_bits_to_mask); in EncodeIntegerAsWords()
360 first_word = utils::ClearHighBits(first_word, num_high_bits_to_mask); in EncodeIntegerAsWords()
364 utils::SmallVector<uint32_t, 2> words = {first_word}; in EncodeIntegerAsWords()
Dconstants.cpp411 auto first_word = literal_words.begin() + (words_per_element * i); in GetNumericVectorConstantWithWords() local
412 std::vector<uint32_t> const_data(first_word, in GetNumericVectorConstantWithWords()
413 first_word + words_per_element); in GetNumericVectorConstantWithWords()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvkutils.c515 guint32 first_word; in gst_vulkan_create_shader() local
521 first_word = code[0] | code[1] << 8 | code[2] << 16 | code[3] << 24; in gst_vulkan_create_shader()
522 g_return_val_if_fail (first_word == SPIRV_MAGIC_NUMBER_NE in gst_vulkan_create_shader()
523 || first_word == SPIRV_MAGIC_NUMBER_OE, VK_NULL_HANDLE); in gst_vulkan_create_shader()
524 if (first_word == SPIRV_MAGIC_NUMBER_OE) { in gst_vulkan_create_shader()
544 first_word = ((guint32 *) new_code)[0]; in gst_vulkan_create_shader()
545 g_assert (first_word == SPIRV_MAGIC_NUMBER_NE); in gst_vulkan_create_shader()
/third_party/protobuf/src/google/protobuf/util/internal/
Dutility.cc257 bool first_word = true; in ToCamelCase() local
265 if (!result.empty()) first_word = false; in ToCamelCase()
267 } else if (first_word) { in ToCamelCase()
275 first_word = false; in ToCamelCase()
/third_party/spirv-tools/test/tools/
Dexpect.py159 first_word = read_word(binary, 0, True)
160 if first_word == 0x07230203:
162 first_word = read_word(binary, 0, False)
163 if first_word == 0x07230203:
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/
Dexpect.py159 first_word = read_word(binary, 0, True)
160 if first_word == 0x07230203:
162 first_word = read_word(binary, 0, False)
163 if first_word == 0x07230203:
/third_party/skia/third_party/externals/spirv-tools/test/tools/
Dexpect.py159 first_word = read_word(binary, 0, True)
160 if first_word == 0x07230203:
162 first_word = read_word(binary, 0, False)
163 if first_word == 0x07230203:
/third_party/mesa3d/src/gallium/frontends/clover/spirv/
Dinvocation.cpp685 const uint32_t first_word = get<uint32_t>(binary.data(), 0u); in spirv_to_cpu() local
686 if (first_word == SpvMagicNumber) in spirv_to_cpu()
762 const uint32_t first_word = in is_binary_spirv() local
764 return (first_word == SpvMagicNumber) || in is_binary_spirv()
765 (util_bswap32(first_word) == SpvMagicNumber); in is_binary_spirv()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dbinary.cpp275 const uint32_t first_word = peek(); in parseInstruction() local
281 _.endian_converted_words.push_back(first_word); in parseInstruction()
290 spvOpcodeSplit(first_word, &inst_word_count, &inst.opcode); in parseInstruction()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/util/
Dbit_stream.cpp315 const uint64_t first_word = bits << offset; in WriteBits() local
316 buffer_.back() |= first_word; in WriteBits()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Dbinary.cpp290 const uint32_t first_word = peek(); in parseInstruction() local
296 _.endian_converted_words.push_back(first_word); in parseInstruction()
305 spvOpcodeSplit(first_word, &inst_word_count, &inst.opcode); in parseInstruction()
/third_party/spirv-tools/source/
Dbinary.cpp290 const uint32_t first_word = peek(); in parseInstruction() local
296 _.endian_converted_words.push_back(first_word); in parseInstruction()
305 spvOpcodeSplit(first_word, &inst_word_count, &inst.opcode); in parseInstruction()
/third_party/skia/third_party/externals/spirv-tools/source/
Dbinary.cpp290 const uint32_t first_word = peek(); in parseInstruction() local
296 _.endian_converted_words.push_back(first_word); in parseInstruction()
305 spvOpcodeSplit(first_word, &inst_word_count, &inst.opcode); in parseInstruction()
/third_party/mesa3d/src/asahi/lib/
Dgen_pack.py360 first_word = contributor.start // 32
362 for b in range(first_word, last_word + 1):
/third_party/mesa3d/src/panfrost/lib/genxml/
Dgen_pack.py471 first_word = contributor.start // 32
473 for b in range(first_word, last_word + 1):
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc524 int first_word = HasbitWord(chunk, 0); in OnStartChunk() local
538 if (this_word != first_word) { in OnStartChunk()