/third_party/spirv-tools/source/opt/ |
D | amd_ext_to_khr.cpp | 571 uint32_t bool_id = type_mgr->GetBoolTypeId(); in ReplaceCubeFaceCoord() local 617 Instruction* is_z_neg = ir_builder.AddBinaryOp(bool_id, SpvOpFOrdLessThan, in ReplaceCubeFaceCoord() 619 Instruction* is_y_neg = ir_builder.AddBinaryOp(bool_id, SpvOpFOrdLessThan, in ReplaceCubeFaceCoord() 621 Instruction* is_x_neg = ir_builder.AddBinaryOp(bool_id, SpvOpFOrdLessThan, in ReplaceCubeFaceCoord() 636 ir_builder.AddBinaryOp(bool_id, SpvOpFOrdGreaterThanEqual, in ReplaceCubeFaceCoord() 639 ir_builder.AddUnaryOp(bool_id, SpvOpLogicalNot, is_z_max->result_id()); in ReplaceCubeFaceCoord() 641 bool_id, SpvOpFOrdGreaterThanEqual, ay->result_id(), ax->result_id()); in ReplaceCubeFaceCoord() 643 bool_id, SpvOpLogicalAnd, not_is_z_max->result_id(), y_gr_x->result_id()); in ReplaceCubeFaceCoord() 718 uint32_t bool_id = type_mgr->GetBoolTypeId(); in ReplaceCubeFaceIndex() local 755 Instruction* is_z_neg = ir_builder.AddBinaryOp(bool_id, SpvOpFOrdLessThan, in ReplaceCubeFaceIndex() [all …]
|
D | merge_return_pass.cpp | 504 uint32_t bool_id = context()->get_type_mgr()->GetId(&bool_type); in BreakFromConstruct() local 505 assert(bool_id != 0); in BreakFromConstruct() 507 builder.AddLoad(bool_id, return_flag_->result_id())->result_id(); in BreakFromConstruct() 619 uint32_t bool_id = type_mgr->GetTypeInstruction(&temp); in AddReturnFlag() local 620 analysis::Bool* bool_type = type_mgr->GetType(bool_id)->AsBool(); in AddReturnFlag() 628 type_mgr->FindPointerToType(bool_id, SpvStorageClassFunction); in AddReturnFlag()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | amd_ext_to_khr.cpp | 571 uint32_t bool_id = type_mgr->GetBoolTypeId(); in ReplaceCubeFaceCoord() local 617 Instruction* is_z_neg = ir_builder.AddBinaryOp(bool_id, SpvOpFOrdLessThan, in ReplaceCubeFaceCoord() 619 Instruction* is_y_neg = ir_builder.AddBinaryOp(bool_id, SpvOpFOrdLessThan, in ReplaceCubeFaceCoord() 621 Instruction* is_x_neg = ir_builder.AddBinaryOp(bool_id, SpvOpFOrdLessThan, in ReplaceCubeFaceCoord() 636 ir_builder.AddBinaryOp(bool_id, SpvOpFOrdGreaterThanEqual, in ReplaceCubeFaceCoord() 639 ir_builder.AddUnaryOp(bool_id, SpvOpLogicalNot, is_z_max->result_id()); in ReplaceCubeFaceCoord() 641 bool_id, SpvOpFOrdGreaterThanEqual, ay->result_id(), ax->result_id()); in ReplaceCubeFaceCoord() 643 bool_id, SpvOpLogicalAnd, not_is_z_max->result_id(), y_gr_x->result_id()); in ReplaceCubeFaceCoord() 718 uint32_t bool_id = type_mgr->GetBoolTypeId(); in ReplaceCubeFaceIndex() local 755 Instruction* is_z_neg = ir_builder.AddBinaryOp(bool_id, SpvOpFOrdLessThan, in ReplaceCubeFaceIndex() [all …]
|
D | merge_return_pass.cpp | 503 uint32_t bool_id = context()->get_type_mgr()->GetId(&bool_type); in BreakFromConstruct() local 504 assert(bool_id != 0); in BreakFromConstruct() 506 builder.AddLoad(bool_id, return_flag_->result_id())->result_id(); in BreakFromConstruct() 618 uint32_t bool_id = type_mgr->GetTypeInstruction(&temp); in AddReturnFlag() local 619 analysis::Bool* bool_type = type_mgr->GetType(bool_id)->AsBool(); in AddReturnFlag() 627 type_mgr->FindPointerToType(bool_id, SpvStorageClassFunction); in AddReturnFlag()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | amd_ext_to_khr.cpp | 571 uint32_t bool_id = type_mgr->GetBoolTypeId(); in ReplaceCubeFaceCoord() local 617 Instruction* is_z_neg = ir_builder.AddBinaryOp(bool_id, SpvOpFOrdLessThan, in ReplaceCubeFaceCoord() 619 Instruction* is_y_neg = ir_builder.AddBinaryOp(bool_id, SpvOpFOrdLessThan, in ReplaceCubeFaceCoord() 621 Instruction* is_x_neg = ir_builder.AddBinaryOp(bool_id, SpvOpFOrdLessThan, in ReplaceCubeFaceCoord() 636 ir_builder.AddBinaryOp(bool_id, SpvOpFOrdGreaterThanEqual, in ReplaceCubeFaceCoord() 639 ir_builder.AddUnaryOp(bool_id, SpvOpLogicalNot, is_z_max->result_id()); in ReplaceCubeFaceCoord() 641 bool_id, SpvOpFOrdGreaterThanEqual, ay->result_id(), ax->result_id()); in ReplaceCubeFaceCoord() 643 bool_id, SpvOpLogicalAnd, not_is_z_max->result_id(), y_gr_x->result_id()); in ReplaceCubeFaceCoord() 718 uint32_t bool_id = type_mgr->GetBoolTypeId(); in ReplaceCubeFaceIndex() local 755 Instruction* is_z_neg = ir_builder.AddBinaryOp(bool_id, SpvOpFOrdLessThan, in ReplaceCubeFaceIndex() [all …]
|
D | merge_return_pass.cpp | 503 uint32_t bool_id = context()->get_type_mgr()->GetId(&bool_type); in BreakFromConstruct() local 504 assert(bool_id != 0); in BreakFromConstruct() 506 builder.AddLoad(bool_id, return_flag_->result_id())->result_id(); in BreakFromConstruct() 618 uint32_t bool_id = type_mgr->GetTypeInstruction(&temp); in AddReturnFlag() local 619 analysis::Bool* bool_type = type_mgr->GetType(bool_id)->AsBool(); in AddReturnFlag() 627 type_mgr->FindPointerToType(bool_id, SpvStorageClassFunction); in AddReturnFlag()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | transformation_add_dead_continue.cpp | 41 const auto bool_id = fuzzerutil::MaybeGetBoolConstant( in IsApplicable() local 44 if (!bool_id) { in IsApplicable() 118 ir_context, message_.from_block(), continue_block, bool_id)); in IsApplicable()
|
D | transformation_add_dead_break.cpp | 115 const auto bool_id = in IsApplicable() local 118 if (!bool_id) { in IsApplicable() 179 ir_context, message_.from_block(), message_.to_block(), bool_id)); in IsApplicable()
|
D | transformation_add_dead_block.cpp | 117 auto bool_id = fuzzerutil::MaybeGetBoolConstant( in Apply() local 147 {{SPV_OPERAND_TYPE_ID, {bool_id}}, in Apply()
|
D | fuzzer_util.h | 80 uint32_t bool_id); 92 uint32_t bool_id,
|
D | fuzzer_util.cpp | 188 uint32_t bool_id) { in CreateUnreachableEdgeInstruction() argument 196 auto condition_inst = ir_context->get_def_use_mgr()->GetDef(bool_id); in CreateUnreachableEdgeInstruction() 210 {{SPV_OPERAND_TYPE_ID, {bool_id}}, in CreateUnreachableEdgeInstruction() 217 uint32_t bool_id, in AddUnreachableEdgeAndUpdateOpPhis() argument 224 context, bb_from->id(), bb_to->id(), bool_id); in AddUnreachableEdgeAndUpdateOpPhis()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_add_dead_continue.cpp | 41 const auto bool_id = fuzzerutil::MaybeGetBoolConstant( in IsApplicable() local 44 if (!bool_id) { in IsApplicable() 118 ir_context, message_.from_block(), continue_block, bool_id)); in IsApplicable()
|
D | transformation_add_dead_break.cpp | 115 const auto bool_id = in IsApplicable() local 118 if (!bool_id) { in IsApplicable() 179 ir_context, message_.from_block(), message_.to_block(), bool_id)); in IsApplicable()
|
D | transformation_add_dead_block.cpp | 117 auto bool_id = fuzzerutil::MaybeGetBoolConstant( in Apply() local 147 {{SPV_OPERAND_TYPE_ID, {bool_id}}, in Apply()
|
D | fuzzer_util.h | 80 uint32_t bool_id); 92 uint32_t bool_id,
|
D | fuzzer_util.cpp | 188 uint32_t bool_id) { in CreateUnreachableEdgeInstruction() argument 196 auto condition_inst = ir_context->get_def_use_mgr()->GetDef(bool_id); in CreateUnreachableEdgeInstruction() 210 {{SPV_OPERAND_TYPE_ID, {bool_id}}, in CreateUnreachableEdgeInstruction() 217 uint32_t bool_id, in AddUnreachableEdgeAndUpdateOpPhis() argument 224 context, bb_from->id(), bb_to->id(), bool_id); in AddUnreachableEdgeAndUpdateOpPhis()
|
/third_party/spirv-tools/source/fuzz/ |
D | transformation_add_dead_continue.cpp | 41 const auto bool_id = fuzzerutil::MaybeGetBoolConstant( in IsApplicable() local 44 if (!bool_id) { in IsApplicable() 118 ir_context, message_.from_block(), continue_block, bool_id)); in IsApplicable()
|
D | transformation_add_dead_break.cpp | 115 const auto bool_id = in IsApplicable() local 118 if (!bool_id) { in IsApplicable() 179 ir_context, message_.from_block(), message_.to_block(), bool_id)); in IsApplicable()
|
D | transformation_add_dead_block.cpp | 117 auto bool_id = fuzzerutil::MaybeGetBoolConstant( in Apply() local 147 {{SPV_OPERAND_TYPE_ID, {bool_id}}, in Apply()
|
D | fuzzer_util.h | 80 uint32_t bool_id); 92 uint32_t bool_id,
|
D | fuzzer_util.cpp | 188 uint32_t bool_id) { in CreateUnreachableEdgeInstruction() argument 196 auto condition_inst = ir_context->get_def_use_mgr()->GetDef(bool_id); in CreateUnreachableEdgeInstruction() 210 {{SPV_OPERAND_TYPE_ID, {bool_id}}, in CreateUnreachableEdgeInstruction() 217 uint32_t bool_id, in AddUnreachableEdgeAndUpdateOpPhis() argument 224 context, bb_from->id(), bb_to->id(), bool_id); in AddUnreachableEdgeAndUpdateOpPhis()
|