Home
last modified time | relevance | path

Searched refs:inst (Results 776 - 800 of 1415) sorted by relevance

1...<<31323334353637383940>>...57

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/
H A Doperand_to_dominating_id_reduction_opportunity_finder.cpp75 for (auto& inst : *block) { in GetOpportunitiesForDominatingInst()
79 for (uint32_t index = 0; index < inst.NumOperands(); index++) { in GetOpportunitiesForDominatingInst()
80 const auto& operand = inst.GetOperand(index); in GetOpportunitiesForDominatingInst()
101 &inst, index, candidate_dominator->result_id())); in GetOpportunitiesForDominatingInst()
H A Dchange_operand_to_undef_reduction_opportunity.h28 // Constructs the opportunity to replace operand |operand_index| of |inst|
31 opt::Instruction* inst, in ChangeOperandToUndefReductionOpportunity()
34 inst_(inst), in ChangeOperandToUndefReductionOpportunity()
36 original_id_(inst->GetOperand(operand_index).words[0]) {} in ChangeOperandToUndefReductionOpportunity()
30 ChangeOperandToUndefReductionOpportunity(opt::IRContext* context, opt::Instruction* inst, uint32_t operand_index) ChangeOperandToUndefReductionOpportunity() argument
/third_party/skia/third_party/externals/tint/src/writer/spirv/
H A Dspv_dump.cc71 std::string DumpInstruction(const Instruction& inst) { in DumpInstruction() argument
74 writer.WriteInstruction(inst); in DumpInstruction()
81 for (const auto& inst : insts) { in DumpInstructions()
82 writer.WriteInstruction(inst); in DumpInstructions()
/third_party/spirv-tools/source/lint/
H A Ddivergence_analysis.h126 void EnqueueSuccessors(opt::Instruction* inst) override;
128 VisitResult Visit(opt::Instruction* inst) override;
132 VisitResult VisitInstruction(opt::Instruction* inst);
137 DivergenceLevel ComputeInstructionDivergence(opt::Instruction* inst);
/third_party/spirv-tools/source/reduce/
H A Doperand_to_dominating_id_reduction_opportunity_finder.cpp75 for (auto& inst : *block) { in GetOpportunitiesForDominatingInst()
79 for (uint32_t index = 0; index < inst.NumOperands(); index++) { in GetOpportunitiesForDominatingInst()
80 const auto& operand = inst.GetOperand(index); in GetOpportunitiesForDominatingInst()
101 &inst, index, candidate_dominator->result_id())); in GetOpportunitiesForDominatingInst()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dtransformation_replace_params_with_struct.cpp107 for (const auto* inst : in IsApplicable()
111 if (!caller_id_to_fresh_composite_id.count(inst->result_id())) { in IsApplicable()
161 for (auto* inst : fuzzerutil::GetCallers(ir_context, function->result_id())) { in Apply()
168 std::move(inst->GetInOperand(index + 1))); in Apply()
178 inst->RemoveInOperand(index + 1); in Apply()
183 caller_id_to_fresh_composite_id.at(inst->result_id()); in Apply()
184 inst->InsertBefore(MakeUnique<opt::Instruction>( in Apply()
189 inst->AddOperand({SPV_OPERAND_TYPE_ID, {fresh_composite_id}}); in Apply()
H A Dfuzzer_pass_add_no_contraction_decorations.cpp34 for (auto& inst : block) { in Apply()
38 inst.opcode())) { in Apply()
45 inst.result_id()); in Apply()
H A Dfuzzer_pass_invert_comparison_operators.cpp33 GetIRContext()->module()->ForEachInst([this](const opt::Instruction* inst) { in Apply()
35 inst->opcode())) { in Apply()
45 inst->result_id(), GetFuzzerContext()->GetFreshId())); in Apply()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dset_spec_constant_default_value_pass.cpp140 bool CanHaveSpecIdDecoration(const Instruction& inst) { in CanHaveSpecIdDecoration() argument
141 switch (inst.opcode()) { in CanHaveSpecIdDecoration()
241 for (Instruction& inst : context()->annotations()) { in Process()
243 if (inst.opcode() != SpvOp::SpvOpDecorate) continue; in Process()
244 if (inst.NumOperands() != kOpDecorateSpecIdNumOperands) continue; in Process()
245 if (inst.GetSingleWordInOperand(kDecorationOperandIndex) != in Process()
250 // 'inst' is an OpDecorate SpecId instruction. in Process()
251 uint32_t spec_id = inst.GetSingleWordOperand(kSpecIdLiteralOperandIndex); in Process()
252 uint32_t target_id = inst.GetSingleWordOperand(kTargetIdOperandIndex); in Process()
H A Drelax_float_ops_pass.h41 // Return true if |inst| can have the RelaxedPrecision decoration applied
43 bool IsRelaxable(Instruction* inst);
45 // Return true if |inst| returns scalar, vector or matrix type with base
47 bool IsFloat32(Instruction* inst);
52 // If |inst| is an instruction of float32-based type and is not decorated
54 bool ProcessInst(Instruction* inst);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dtransformation_replace_params_with_struct.cpp107 for (const auto* inst : in IsApplicable()
111 if (!caller_id_to_fresh_composite_id.count(inst->result_id())) { in IsApplicable()
161 for (auto* inst : fuzzerutil::GetCallers(ir_context, function->result_id())) { in Apply()
168 std::move(inst->GetInOperand(index + 1))); in Apply()
178 inst->RemoveInOperand(index + 1); in Apply()
183 caller_id_to_fresh_composite_id.at(inst->result_id()); in Apply()
184 inst->InsertBefore(MakeUnique<opt::Instruction>( in Apply()
189 inst->AddOperand({SPV_OPERAND_TYPE_ID, {fresh_composite_id}}); in Apply()
H A Dfuzzer_pass_add_no_contraction_decorations.cpp34 for (auto& inst : block) { in Apply()
38 inst.opcode())) { in Apply()
45 inst.result_id()); in Apply()
H A Dfuzzer_pass_invert_comparison_operators.cpp33 GetIRContext()->module()->ForEachInst([this](const opt::Instruction* inst) { in Apply()
35 inst->opcode())) { in Apply()
45 inst->result_id(), GetFuzzerContext()->GetFreshId())); in Apply()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dset_spec_constant_default_value_pass.cpp140 bool CanHaveSpecIdDecoration(const Instruction& inst) { in CanHaveSpecIdDecoration() argument
141 switch (inst.opcode()) { in CanHaveSpecIdDecoration()
241 for (Instruction& inst : context()->annotations()) { in Process()
243 if (inst.opcode() != SpvOp::SpvOpDecorate) continue; in Process()
244 if (inst.NumOperands() != kOpDecorateSpecIdNumOperands) continue; in Process()
245 if (inst.GetSingleWordInOperand(kDecorationOperandIndex) != in Process()
250 // 'inst' is an OpDecorate SpecId instruction. in Process()
251 uint32_t spec_id = inst.GetSingleWordOperand(kSpecIdLiteralOperandIndex); in Process()
252 uint32_t target_id = inst.GetSingleWordOperand(kTargetIdOperandIndex); in Process()
H A Drelax_float_ops_pass.h41 // Return true if |inst| can have the RelaxedPrecision decoration applied
43 bool IsRelaxable(Instruction* inst);
45 // Return true if |inst| returns scalar, vector or matrix type with base
47 bool IsFloat32(Instruction* inst);
52 // If |inst| is an instruction of float32-based type and is not decorated
54 bool ProcessInst(Instruction* inst);
/third_party/typescript/tests/baselines/reference/
H A DdiscriminantPropertyCheck.js87 function func2(inst: Instance) {
89 switch (inst.type) {
91 inst.value.length;
95 inst.value.toExponential;
290 function func2(inst) {
292 switch (inst.type) {
294 inst.value.length;
298 inst.value.toExponential;
/third_party/spirv-tools/source/fuzz/
H A Dtransformation_replace_params_with_struct.cpp107 for (const auto* inst : in IsApplicable()
111 if (!caller_id_to_fresh_composite_id.count(inst->result_id())) { in IsApplicable()
161 for (auto* inst : fuzzerutil::GetCallers(ir_context, function->result_id())) { in Apply()
168 std::move(inst->GetInOperand(index + 1))); in Apply()
178 inst->RemoveInOperand(index + 1); in Apply()
183 caller_id_to_fresh_composite_id.at(inst->result_id()); in Apply()
184 inst->InsertBefore(MakeUnique<opt::Instruction>( in Apply()
189 inst->AddOperand({SPV_OPERAND_TYPE_ID, {fresh_composite_id}}); in Apply()
/third_party/spirv-tools/source/opt/
H A Dset_spec_constant_default_value_pass.cpp137 bool CanHaveSpecIdDecoration(const Instruction& inst) { in CanHaveSpecIdDecoration() argument
138 switch (inst.opcode()) { in CanHaveSpecIdDecoration()
238 for (Instruction& inst : context()->annotations()) { in Process()
240 if (inst.opcode() != spv::Op::OpDecorate) continue; in Process()
241 if (inst.NumOperands() != kOpDecorateSpecIdNumOperands) continue; in Process()
242 if (inst.GetSingleWordInOperand(kDecorationOperandIndex) != in Process()
247 // 'inst' is an OpDecorate SpecId instruction. in Process()
248 uint32_t spec_id = inst.GetSingleWordOperand(kSpecIdLiteralOperandIndex); in Process()
249 uint32_t target_id = inst.GetSingleWordOperand(kTargetIdOperandIndex); in Process()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A Dvalue_table_test.cpp53 Instruction* inst = context->get_def_use_mgr()->GetDef(10); in TEST_F() local
54 EXPECT_EQ(vtable.GetValueNumber(inst), vtable.GetValueNumber(inst)); in TEST_F()
194 Instruction* inst = context->get_def_use_mgr()->GetDef(9); in TEST_F() local
195 EXPECT_EQ(vtable.GetValueNumber(inst), vtable.GetValueNumber(inst)); in TEST_F()
362 Instruction* inst = context->get_def_use_mgr()->GetDef(10); in TEST_F() local
363 EXPECT_EQ(vtable.GetValueNumber(inst), vtable.GetValueNumber(inst)); in TEST_F()
683 Instruction* inst in TEST_F() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
H A Dvalue_table_test.cpp53 Instruction* inst = context->get_def_use_mgr()->GetDef(10); in TEST_F() local
54 EXPECT_EQ(vtable.GetValueNumber(inst), vtable.GetValueNumber(inst)); in TEST_F()
194 Instruction* inst = context->get_def_use_mgr()->GetDef(9); in TEST_F() local
195 EXPECT_EQ(vtable.GetValueNumber(inst), vtable.GetValueNumber(inst)); in TEST_F()
362 Instruction* inst = context->get_def_use_mgr()->GetDef(10); in TEST_F() local
363 EXPECT_EQ(vtable.GetValueNumber(inst), vtable.GetValueNumber(inst)); in TEST_F()
683 Instruction* inst in TEST_F() local
[all...]
/third_party/spirv-tools/test/opt/
H A Dvalue_table_test.cpp52 Instruction* inst = context->get_def_use_mgr()->GetDef(10); in TEST_F() local
53 EXPECT_EQ(vtable.GetValueNumber(inst), vtable.GetValueNumber(inst)); in TEST_F()
193 Instruction* inst = context->get_def_use_mgr()->GetDef(9); in TEST_F() local
194 EXPECT_EQ(vtable.GetValueNumber(inst), vtable.GetValueNumber(inst)); in TEST_F()
361 Instruction* inst = context->get_def_use_mgr()->GetDef(10); in TEST_F() local
362 EXPECT_EQ(vtable.GetValueNumber(inst), vtable.GetValueNumber(inst)); in TEST_F()
682 Instruction* inst in TEST_F() local
[all...]
/third_party/pcre2/pcre2/src/sljit/
H A DsljitNativePPC_64.c568 sljit_ins *inst = (sljit_ins*)addr; in sljit_set_jump_addr() local
571 SLJIT_UPDATE_WX_FLAGS(inst, inst + 5, 0); in sljit_set_jump_addr()
572 inst[0] = (inst[0] & 0xffff0000u) | ((sljit_ins)(new_target >> 48) & 0xffff); in sljit_set_jump_addr()
573 inst[1] = (inst[1] & 0xffff0000u) | ((sljit_ins)(new_target >> 32) & 0xffff); in sljit_set_jump_addr()
574 inst[3] = (inst[3] & 0xffff0000u) | ((sljit_ins)(new_target >> 16) & 0xffff); in sljit_set_jump_addr()
575 inst[ in sljit_set_jump_addr()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
H A Dhi_resampler_api.h79 * Inputs: inst: valid Resampler instance pointer (HResampler)
89 HI_S32 HI_Resampler_Process(HI_VOID *inst, const HI_S16 *s16Inbuf, HI_S32 s32Insamps, HI_S16 *s16Outbuf);
101 HI_VOID HI_Resampler_Destroy(HI_VOID *inst);
108 * Inputs: inst: valid Resampler instance pointer (HI_HANDLE)
116 HI_S32 HI_Resampler_GetMaxOutputNum(HI_VOID *inst, HI_S32 s32Insamps);
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
H A Dhi_resampler_api.h79 * Inputs: inst: valid Resampler instance pointer (HResampler)
89 HI_S32 HI_Resampler_Process(HI_VOID *inst, const HI_S16 *s16Inbuf, HI_S32 s32Insamps, HI_S16 *s16Outbuf);
101 HI_VOID HI_Resampler_Destroy(HI_VOID *inst);
108 * Inputs: inst: valid Resampler instance pointer (HI_HANDLE)
116 HI_S32 HI_Resampler_GetMaxOutputNum(HI_VOID *inst, HI_S32 s32Insamps);
/third_party/skia/third_party/externals/spirv-tools/source/reduce/
H A Dchange_operand_to_undef_reduction_opportunity.h28 // Constructs the opportunity to replace operand |operand_index| of |inst|
31 opt::Instruction* inst, in ChangeOperandToUndefReductionOpportunity()
34 inst_(inst), in ChangeOperandToUndefReductionOpportunity()
36 original_id_(inst->GetOperand(operand_index).words[0]) {} in ChangeOperandToUndefReductionOpportunity()
30 ChangeOperandToUndefReductionOpportunity(opt::IRContext* context, opt::Instruction* inst, uint32_t operand_index) ChangeOperandToUndefReductionOpportunity() argument

Completed in 14 milliseconds

1...<<31323334353637383940>>...57