Home
last modified time | relevance | path

Searched refs:num_words (Results 1 - 25 of 93) sorted by relevance

1234

/third_party/spirv-tools/source/
H A Dbinary.cpp72 operand.num_words); in spvDecodeLiteralStringOperand()
94 spv_result_t parse(const uint32_t* words, size_t num_words,
130 // type. On success, return SPV_SUCCESS and populates the num_words,
164 << ((_.word_index < _.num_words) ? ": truncated " in exhaustedInputDiagnostic()
175 assert(index < _.num_words); in peekAt()
199 num_words(num_words_arg),
213 size_t num_words; // Number of words in the module.
239 spv_result_t Parser::parse(const uint32_t* words, size_t num_words,
241 _ = State(words, num_words, diagnostic_arg);
254 if (_.num_words < SPV_INDEX_INSTRUCTIO
[all...]
H A Dparsed_operand.cpp32 if (operand.num_words < 1) return; in EmitNumericLiteral()
34 if (operand.num_words > 2) return; in EmitNumericLiteral()
37 if (operand.num_words == 1) { in EmitNumericLiteral()
57 } else if (operand.num_words == 2) { in EmitNumericLiteral()
/third_party/skia/third_party/externals/spirv-tools/source/
H A Dbinary.cpp84 spv_result_t parse(const uint32_t* words, size_t num_words,
120 // type. On success, return SPV_SUCCESS and populates the num_words,
154 << ((_.word_index < _.num_words) ? ": truncated " in exhaustedInputDiagnostic()
165 assert(index < _.num_words); in peekAt()
189 num_words(num_words_arg),
203 size_t num_words; // Number of words in the module.
229 spv_result_t Parser::parse(const uint32_t* words, size_t num_words,
231 _ = State(words, num_words, diagnostic_arg);
244 if (_.num_words < SPV_INDEX_INSTRUCTION)
245 return diagnostic() << "Module has incomplete header: only " << _.num_words
[all...]
H A Dparsed_operand.cpp29 if (operand.num_words < 1) return; in EmitNumericLiteral()
31 if (operand.num_words > 2) return; in EmitNumericLiteral()
34 if (operand.num_words == 1) { in EmitNumericLiteral()
54 } else if (operand.num_words == 2) { in EmitNumericLiteral()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
H A Dbinary.cpp84 spv_result_t parse(const uint32_t* words, size_t num_words,
120 // type. On success, return SPV_SUCCESS and populates the num_words,
154 << ((_.word_index < _.num_words) ? ": truncated " in exhaustedInputDiagnostic()
165 assert(index < _.num_words); in peekAt()
189 num_words(num_words_arg),
203 size_t num_words; // Number of words in the module.
229 spv_result_t Parser::parse(const uint32_t* words, size_t num_words,
231 _ = State(words, num_words, diagnostic_arg);
244 if (_.num_words < SPV_INDEX_INSTRUCTION)
245 return diagnostic() << "Module has incomplete header: only " << _.num_words
[all...]
H A Dparsed_operand.cpp29 if (operand.num_words < 1) return; in EmitNumericLiteral()
31 if (operand.num_words > 2) return; in EmitNumericLiteral()
34 if (operand.num_words == 1) { in EmitNumericLiteral()
54 } else if (operand.num_words == 2) { in EmitNumericLiteral()
/third_party/spirv-tools/source/val/
H A Dinstruction.cpp26 : words_(inst->words, inst->words + inst->num_words), in Instruction()
28 inst_({words_.data(), inst->num_words, inst->opcode, inst->ext_inst_type, in Instruction()
50 assert(o.offset + o.num_words <= inst_.num_words); in GetOperandAs()
51 return spvtools::utils::MakeString(words_.data() + o.offset, o.num_words); in GetOperandAs()
H A Dvalidate.cpp148 const spv_context_t& context, const uint32_t* words, const size_t num_words, in ValidateBinaryUsingContextAndValidationState()
151 new spv_const_binary_t{words, num_words}); in ValidateBinaryUsingContextAndValidationState()
192 spvBinaryParse(&hijacked_context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState()
198 if (auto error = spvBinaryParse(&context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState()
395 const uint32_t* words, const size_t num_words, spv_diagnostic* pDiagnostic, in ValidateBinaryAndKeepValidationState()
404 num_words, kDefaultMaxNumOfWarnings)); in ValidateBinaryAndKeepValidationState()
407 hijack_context, words, num_words, pDiagnostic, vstate->get()); in ValidateBinaryAndKeepValidationState()
421 const uint32_t* words, const size_t num_words, in spvValidateBinary()
434 words, num_words, in spvValidateBinary()
439 hijack_context, words, num_words, pDiagnosti in spvValidateBinary()
147 ValidateBinaryUsingContextAndValidationState( const spv_context_t& context, const uint32_t* words, const size_t num_words, spv_diagnostic* pDiagnostic, ValidationState_t* vstate) ValidateBinaryUsingContextAndValidationState() argument
393 ValidateBinaryAndKeepValidationState( const spv_const_context context, spv_const_validator_options options, const uint32_t* words, const size_t num_words, spv_diagnostic* pDiagnostic, std::unique_ptr<ValidationState_t>* vstate) ValidateBinaryAndKeepValidationState() argument
420 spvValidateBinary(const spv_const_context context, const uint32_t* words, const size_t num_words, spv_diagnostic* pDiagnostic) spvValidateBinary() argument
[all...]
H A Dinstruction.h104 assert(o.num_words * 4 >= sizeof(T)); in GetOperandAs()
105 assert(o.offset + o.num_words <= inst_.num_words); in GetOperandAs()
/third_party/spirv-tools/tools/objdump/
H A Dextract_source.cpp80 instruction.words + operand.offset + operand.num_words); in extractOpString()
99 instruction.words + operand.offset + operand.num_words); in extractOpSourceContinued()
109 if (instruction.num_words < 3) { in extractOpSource()
117 if (instruction.num_words < 4) { in extractOpSource()
122 if (instruction.num_words < 5) { in extractOpSource()
129 reinterpret_cast<const char*>(instruction.words + instruction.num_words); in extractOpSource()
/third_party/skia/third_party/externals/spirv-tools/source/val/
H A Dvalidate.cpp156 const spv_context_t& context, const uint32_t* words, const size_t num_words, in ValidateBinaryUsingContextAndValidationState()
159 new spv_const_binary_t{words, num_words}); in ValidateBinaryUsingContextAndValidationState()
200 spvBinaryParse(&hijacked_context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState()
206 if (auto error = spvBinaryParse(&context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState()
381 const uint32_t* words, const size_t num_words, spv_diagnostic* pDiagnostic, in ValidateBinaryAndKeepValidationState()
390 num_words, kDefaultMaxNumOfWarnings)); in ValidateBinaryAndKeepValidationState()
393 hijack_context, words, num_words, pDiagnostic, vstate->get()); in ValidateBinaryAndKeepValidationState()
407 const uint32_t* words, const size_t num_words, in spvValidateBinary()
420 words, num_words, in spvValidateBinary()
425 hijack_context, words, num_words, pDiagnosti in spvValidateBinary()
155 ValidateBinaryUsingContextAndValidationState( const spv_context_t& context, const uint32_t* words, const size_t num_words, spv_diagnostic* pDiagnostic, ValidationState_t* vstate) ValidateBinaryUsingContextAndValidationState() argument
379 ValidateBinaryAndKeepValidationState( const spv_const_context context, spv_const_validator_options options, const uint32_t* words, const size_t num_words, spv_diagnostic* pDiagnostic, std::unique_ptr<ValidationState_t>* vstate) ValidateBinaryAndKeepValidationState() argument
406 spvValidateBinary(const spv_const_context context, const uint32_t* words, const size_t num_words, spv_diagnostic* pDiagnostic) spvValidateBinary() argument
[all...]
H A Dinstruction.h104 assert(o.num_words * 4 >= sizeof(T)); in GetOperandAs()
105 assert(o.offset + o.num_words <= inst_.num_words); in GetOperandAs()
H A Dinstruction.cpp23 : words_(inst->words, inst->words + inst->num_words), in Instruction()
25 inst_({words_.data(), inst->num_words, inst->opcode, inst->ext_inst_type, in Instruction()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
H A Dvalidate.cpp156 const spv_context_t& context, const uint32_t* words, const size_t num_words, in ValidateBinaryUsingContextAndValidationState()
159 new spv_const_binary_t{words, num_words}); in ValidateBinaryUsingContextAndValidationState()
200 spvBinaryParse(&hijacked_context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState()
206 if (auto error = spvBinaryParse(&context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState()
381 const uint32_t* words, const size_t num_words, spv_diagnostic* pDiagnostic, in ValidateBinaryAndKeepValidationState()
390 num_words, kDefaultMaxNumOfWarnings)); in ValidateBinaryAndKeepValidationState()
393 hijack_context, words, num_words, pDiagnostic, vstate->get()); in ValidateBinaryAndKeepValidationState()
407 const uint32_t* words, const size_t num_words, in spvValidateBinary()
420 words, num_words, in spvValidateBinary()
425 hijack_context, words, num_words, pDiagnosti in spvValidateBinary()
155 ValidateBinaryUsingContextAndValidationState( const spv_context_t& context, const uint32_t* words, const size_t num_words, spv_diagnostic* pDiagnostic, ValidationState_t* vstate) ValidateBinaryUsingContextAndValidationState() argument
379 ValidateBinaryAndKeepValidationState( const spv_const_context context, spv_const_validator_options options, const uint32_t* words, const size_t num_words, spv_diagnostic* pDiagnostic, std::unique_ptr<ValidationState_t>* vstate) ValidateBinaryAndKeepValidationState() argument
406 spvValidateBinary(const spv_const_context context, const uint32_t* words, const size_t num_words, spv_diagnostic* pDiagnostic) spvValidateBinary() argument
[all...]
H A Dinstruction.h104 assert(o.num_words * 4 >= sizeof(T)); in GetOperandAs()
105 assert(o.offset + o.num_words <= inst_.num_words); in GetOperandAs()
H A Dinstruction.cpp23 : words_(inst->words, inst->words + inst->num_words), in Instruction()
25 inst_({words_.data(), inst->num_words, inst->opcode, inst->ext_inst_type, in Instruction()
/third_party/node/deps/openssl/openssl/crypto/bn/
H A Dbn_intern.c188 int bn_set_words(BIGNUM *a, const BN_ULONG *words, int num_words) in bn_set_words() argument
190 if (bn_wexpand(a, num_words) == NULL) { in bn_set_words()
195 memcpy(a->d, words, sizeof(BN_ULONG) * num_words); in bn_set_words()
196 a->top = num_words; in bn_set_words()
/third_party/openssl/crypto/bn/
H A Dbn_intern.c188 int bn_set_words(BIGNUM *a, const BN_ULONG *words, int num_words) in bn_set_words() argument
190 if (bn_wexpand(a, num_words) == NULL) { in bn_set_words()
195 memcpy(a->d, words, sizeof(BN_ULONG) * num_words); in bn_set_words()
196 a->top = num_words; in bn_set_words()
/third_party/skia/third_party/externals/spirv-tools/tools/cfg/
H A Dbin_to_dot.cpp169 size_t num_words, std::iostream* out, in BinaryToDot()
177 spvtools::FriendlyNameMapper friendly_mapper(context, words, num_words); in BinaryToDot()
180 if (auto error = spvBinaryParse(context, &converter, words, num_words, in BinaryToDot()
168 BinaryToDot(const spv_const_context context, const uint32_t* words, size_t num_words, std::iostream* out, spv_diagnostic* diagnostic) BinaryToDot() argument
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/cfg/
H A Dbin_to_dot.cpp169 size_t num_words, std::iostream* out, in BinaryToDot()
177 spvtools::FriendlyNameMapper friendly_mapper(context, words, num_words); in BinaryToDot()
180 if (auto error = spvBinaryParse(context, &converter, words, num_words, in BinaryToDot()
168 BinaryToDot(const spv_const_context context, const uint32_t* words, size_t num_words, std::iostream* out, spv_diagnostic* diagnostic) BinaryToDot() argument
/third_party/spirv-tools/tools/cfg/
H A Dbin_to_dot.cpp169 size_t num_words, std::iostream* out, in BinaryToDot()
177 spvtools::FriendlyNameMapper friendly_mapper(context, words, num_words); in BinaryToDot()
180 if (auto error = spvBinaryParse(context, &converter, words, num_words, in BinaryToDot()
168 BinaryToDot(const spv_const_context context, const uint32_t* words, size_t num_words, std::iostream* out, spv_diagnostic* diagnostic) BinaryToDot() argument
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
H A Dspirv_builder.c58 needed += b->num_words; in spirv_buffer_prepare()
59 if (b->room >= b->num_words + needed) in spirv_buffer_prepare()
68 assert(b->num_words < b->room); in spirv_buffer_emit_word()
69 b->words[b->num_words] = word; in spirv_buffer_emit_word()
70 return b->num_words++; in spirv_buffer_emit_word()
107 size_t pos = b->extensions.num_words; in spirv_builder_emit_extension()
141 size_t pos = b->entry_points.num_words; in spirv_builder_emit_entry_point()
190 size_t pos = b->debug_names.num_words; in spirv_builder_emit_name()
740 *position = b->instructions.num_words; in spirv_builder_emit_phi()
1611 size_t pos = b->imports.num_words; in spirv_builder_import()
1638 spirv_builder_get_words(struct spirv_builder *b, uint32_t *words, size_t num_words, uint32_t spirv_version, uint32_t *tcs_vertices_out_word) spirv_builder_get_words() argument
[all...]
/third_party/mesa3d/src/compiler/spirv/tests/
H A Dhelpers.h44 void get_nir(size_t num_words, const uint32_t *words) in get_nir() argument
62 shader = spirv_to_nir(words, num_words, NULL, 0, in get_nir()
/third_party/mesa3d/src/compiler/nir/
H A Dnir_repair_ssa.c40 const unsigned num_words = BITSET_WORDS(state->impl->num_blocks); in prep_build_phi() local
45 state->def_set = ralloc_array(NULL, BITSET_WORD, num_words); in prep_build_phi()
52 memset(state->def_set, 0, num_words * sizeof(*state->def_set)); in prep_build_phi()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dinstruction.cpp81 inst.words + current_payload.offset + current_payload.num_words); in Instruction()
101 inst.words + current_payload.offset + current_payload.num_words); in Instruction()
194 const uint32_t num_words = 1 + NumOperandWords(); in ToBinaryWithoutAttachedDebugInsts() local
195 binary->push_back((num_words << 16) | static_cast<uint16_t>(opcode_)); in ToBinaryWithoutAttachedDebugInsts()
1047 uint32_t num_words = kDebugScopeNumWords; in ToBinary() local
1050 num_words = kDebugNoScopeNumWords; in ToBinary()
1053 num_words = kDebugScopeNumWordsWithoutInlinedAt; in ToBinary()
1056 (num_words << 16) | static_cast<uint16_t>(SpvOpExtInst), in ToBinary()

Completed in 15 milliseconds

1234