Home
last modified time | relevance | path

Searched refs:condition_value (Results 1 – 25 of 26) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_dead_block.cpp28 bool condition_value) { in TransformationAddDeadBlock() argument
31 message_.set_condition_value(condition_value); in TransformationAddDeadBlock()
45 message_.condition_value(), false)) { in IsApplicable()
118 ir_context, *transformation_context, message_.condition_value(), false); in Apply()
149 {message_.condition_value() ? successor_block_id in Apply()
152 {message_.condition_value() ? message_.fresh_id() in Apply()
Dfuzzer_pass_add_dead_blocks.cpp54 bool condition_value = GetFuzzerContext()->ChooseEven(); in Apply() local
55 FindOrCreateBoolConstant(condition_value, false); in Apply()
64 GetFuzzerContext()->GetFreshId(), block.id(), condition_value)); in Apply()
Dfuzzer_pass_add_dead_continues.cpp74 bool condition_value = GetFuzzerContext()->ChooseEven(); in Apply() local
75 FindOrCreateBoolConstant(condition_value, false); in Apply()
81 block.id(), condition_value, std::move(phi_ids)); in Apply()
Dtransformation_add_dead_block.h32 bool condition_value);
Dfuzzer_util.cpp202 auto condition_value = condition_inst->opcode() == SpvOpConstantTrue; in CreateUnreachableEdgeInstruction() local
211 {SPV_OPERAND_TYPE_ID, {condition_value ? successor_id : bb_to_id}}, in CreateUnreachableEdgeInstruction()
212 {SPV_OPERAND_TYPE_ID, {condition_value ? bb_to_id : successor_id}}}); in CreateUnreachableEdgeInstruction()
/third_party/spirv-tools/source/fuzz/
Dtransformation_add_dead_block.cpp28 bool condition_value) { in TransformationAddDeadBlock() argument
31 message_.set_condition_value(condition_value); in TransformationAddDeadBlock()
45 message_.condition_value(), false)) { in IsApplicable()
118 ir_context, *transformation_context, message_.condition_value(), false); in Apply()
149 {message_.condition_value() ? successor_block_id in Apply()
152 {message_.condition_value() ? message_.fresh_id() in Apply()
Dfuzzer_pass_add_dead_blocks.cpp53 bool condition_value = GetFuzzerContext()->ChooseEven(); in Apply() local
54 FindOrCreateBoolConstant(condition_value, false); in Apply()
63 GetFuzzerContext()->GetFreshId(), block.id(), condition_value)); in Apply()
Dfuzzer_pass_add_dead_continues.cpp73 bool condition_value = GetFuzzerContext()->ChooseEven(); in Apply() local
74 FindOrCreateBoolConstant(condition_value, false); in Apply()
80 block.id(), condition_value, std::move(phi_ids)); in Apply()
Dtransformation_add_dead_block.h32 bool condition_value);
Dfuzzer_util.cpp202 auto condition_value = condition_inst->opcode() == SpvOpConstantTrue; in CreateUnreachableEdgeInstruction() local
211 {SPV_OPERAND_TYPE_ID, {condition_value ? successor_id : bb_to_id}}, in CreateUnreachableEdgeInstruction()
212 {SPV_OPERAND_TYPE_ID, {condition_value ? bb_to_id : successor_id}}}); in CreateUnreachableEdgeInstruction()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_add_dead_block.cpp28 bool condition_value) { in TransformationAddDeadBlock() argument
31 message_.set_condition_value(condition_value); in TransformationAddDeadBlock()
45 message_.condition_value(), false)) { in IsApplicable()
118 ir_context, *transformation_context, message_.condition_value(), false); in Apply()
149 {message_.condition_value() ? successor_block_id in Apply()
152 {message_.condition_value() ? message_.fresh_id() in Apply()
Dfuzzer_pass_add_dead_blocks.cpp54 bool condition_value = GetFuzzerContext()->ChooseEven(); in Apply() local
55 FindOrCreateBoolConstant(condition_value, false); in Apply()
64 GetFuzzerContext()->GetFreshId(), block.id(), condition_value)); in Apply()
Dfuzzer_pass_add_dead_continues.cpp74 bool condition_value = GetFuzzerContext()->ChooseEven(); in Apply() local
75 FindOrCreateBoolConstant(condition_value, false); in Apply()
81 block.id(), condition_value, std::move(phi_ids)); in Apply()
Dtransformation_add_dead_block.h32 bool condition_value);
Dfuzzer_util.cpp202 auto condition_value = condition_inst->opcode() == SpvOpConstantTrue; in CreateUnreachableEdgeInstruction() local
211 {SPV_OPERAND_TYPE_ID, {condition_value ? successor_id : bb_to_id}}, in CreateUnreachableEdgeInstruction()
212 {SPV_OPERAND_TYPE_ID, {condition_value ? bb_to_id : successor_id}}}); in CreateUnreachableEdgeInstruction()
/third_party/mindspore/mindspore/core/ops/
Dassert.cc59 …auto condition_value = reinterpret_cast<bool *>(input_args[0]->BuildValue()->cast<tensor::TensorPt… in AssertInfer() local
60 MS_EXCEPTION_IF_NULL(condition_value); in AssertInfer()
61 if (!*condition_value) { in AssertInfer()
/third_party/spirv-tools/source/opt/
Dloop_descriptor.cpp690 int64_t condition_value = type->IsSigned() in FindNumberOfIterations() local
727 int64_t num_itrs = GetIterations(condition->opcode(), condition_value, in FindNumberOfIterations()
755 int64_t Loop::GetIterations(SpvOp condition, int64_t condition_value, in GetIterations() argument
763 if (!(init_value < condition_value)) return 0; in GetIterations()
765 diff = condition_value - init_value; in GetIterations()
779 if (!(init_value > condition_value)) return 0; in GetIterations()
781 diff = init_value - condition_value; in GetIterations()
796 if (!(init_value >= condition_value)) return 0; in GetIterations()
800 diff = init_value - (condition_value - 1); in GetIterations()
815 if (!(init_value <= condition_value)) return 0; in GetIterations()
[all …]
Dloop_descriptor.h402 int64_t GetIterations(SpvOp condition, int64_t condition_value,
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dloop_descriptor.cpp690 int64_t condition_value = type->IsSigned() in FindNumberOfIterations() local
727 int64_t num_itrs = GetIterations(condition->opcode(), condition_value, in FindNumberOfIterations()
755 int64_t Loop::GetIterations(SpvOp condition, int64_t condition_value, in GetIterations() argument
763 if (!(init_value < condition_value)) return 0; in GetIterations()
765 diff = condition_value - init_value; in GetIterations()
779 if (!(init_value > condition_value)) return 0; in GetIterations()
781 diff = init_value - condition_value; in GetIterations()
796 if (!(init_value >= condition_value)) return 0; in GetIterations()
800 diff = init_value - (condition_value - 1); in GetIterations()
815 if (!(init_value <= condition_value)) return 0; in GetIterations()
[all …]
Dloop_descriptor.h402 int64_t GetIterations(SpvOp condition, int64_t condition_value,
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_descriptor.cpp690 int64_t condition_value = type->IsSigned() in FindNumberOfIterations() local
727 int64_t num_itrs = GetIterations(condition->opcode(), condition_value, in FindNumberOfIterations()
755 int64_t Loop::GetIterations(SpvOp condition, int64_t condition_value, in GetIterations() argument
763 if (!(init_value < condition_value)) return 0; in GetIterations()
765 diff = condition_value - init_value; in GetIterations()
779 if (!(init_value > condition_value)) return 0; in GetIterations()
781 diff = init_value - condition_value; in GetIterations()
796 if (!(init_value >= condition_value)) return 0; in GetIterations()
800 diff = init_value - (condition_value - 1); in GetIterations()
815 if (!(init_value <= condition_value)) return 0; in GetIterations()
[all …]
Dloop_descriptor.h402 int64_t GetIterations(SpvOp condition, int64_t condition_value,
/third_party/mindspore/mindspore/profiler/parser/
Dintegrator.py444 for condition_key, condition_value in condition.items():
450 for exp_key, exp_value in condition_value.items():
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/protobufs/
Dspvtoolsfuzz.proto731 bool condition_value = 3; field
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/protobufs/
Dspvtoolsfuzz.proto731 bool condition_value = 3; field

12