Home
last modified time | relevance | path

Searched refs:false_id (Results 1 – 16 of 16) sorted by relevance

/third_party/spirv-tools/source/opt/
Dinline_pass.h53 void AddBranchCond(uint32_t cond_id, uint32_t true_id, uint32_t false_id,
Dir_builder.h227 uint32_t cond_id, uint32_t true_id, uint32_t false_id,
237 {spv_operand_type_t::SPV_OPERAND_TYPE_ID, {false_id}}}));
Dinline_pass.cpp66 uint32_t false_id, in AddBranchCond() argument
72 {spv_operand_type_t::SPV_OPERAND_TYPE_ID, {false_id}}})); in AddBranchCond()
Dfolding_rules.cpp2252 uint32_t false_id = inst->GetSingleWordInOperand(2); in RedundantSelect() local
2254 if (true_id == false_id) { in RedundantSelect()
2266 inst->SetInOperands({{SPV_OPERAND_TYPE_ID, {false_id}}}); in RedundantSelect()
2276 inst->SetInOperands({{SPV_OPERAND_TYPE_ID, {false_id}}}); in RedundantSelect()
2282 ops.push_back({SPV_OPERAND_TYPE_ID, {false_id}}); in RedundantSelect()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dinline_pass.h53 void AddBranchCond(uint32_t cond_id, uint32_t true_id, uint32_t false_id,
Dir_builder.h227 uint32_t cond_id, uint32_t true_id, uint32_t false_id,
237 {spv_operand_type_t::SPV_OPERAND_TYPE_ID, {false_id}}}));
Dinline_pass.cpp66 uint32_t false_id, in AddBranchCond() argument
72 {spv_operand_type_t::SPV_OPERAND_TYPE_ID, {false_id}}})); in AddBranchCond()
Dfolding_rules.cpp1911 uint32_t false_id = inst->GetSingleWordInOperand(2); in RedundantSelect() local
1913 if (true_id == false_id) { in RedundantSelect()
1925 inst->SetInOperands({{SPV_OPERAND_TYPE_ID, {false_id}}}); in RedundantSelect()
1935 inst->SetInOperands({{SPV_OPERAND_TYPE_ID, {false_id}}}); in RedundantSelect()
1941 ops.push_back({SPV_OPERAND_TYPE_ID, {false_id}}); in RedundantSelect()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinline_pass.h53 void AddBranchCond(uint32_t cond_id, uint32_t true_id, uint32_t false_id,
Dir_builder.h227 uint32_t cond_id, uint32_t true_id, uint32_t false_id,
237 {spv_operand_type_t::SPV_OPERAND_TYPE_ID, {false_id}}}));
Dinline_pass.cpp66 uint32_t false_id, in AddBranchCond() argument
72 {spv_operand_type_t::SPV_OPERAND_TYPE_ID, {false_id}}})); in AddBranchCond()
Dfolding_rules.cpp1911 uint32_t false_id = inst->GetSingleWordInOperand(2); in RedundantSelect() local
1913 if (true_id == false_id) { in RedundantSelect()
1925 inst->SetInOperands({{SPV_OPERAND_TYPE_ID, {false_id}}}); in RedundantSelect()
1935 inst->SetInOperands({{SPV_OPERAND_TYPE_ID, {false_id}}}); in RedundantSelect()
1941 ops.push_back({SPV_OPERAND_TYPE_ID, {false_id}}); in RedundantSelect()
/third_party/spirv-tools/source/val/
Dvalidate_cfg.cpp187 const auto false_id = inst->GetOperandAs<uint32_t>(2); in ValidateBranchConditional() local
188 const auto false_target = _.FindDef(false_id); in ValidateBranchConditional()
195 if (_.version() >= SPV_SPIRV_VERSION_WORD(1, 6) && true_id == false_id) { in ValidateBranchConditional()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_cfg.cpp186 const auto false_id = inst->GetOperandAs<uint32_t>(2); in ValidateBranchConditional() local
187 const auto false_target = _.FindDef(false_id); in ValidateBranchConditional()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_cfg.cpp186 const auto false_id = inst->GetOperandAs<uint32_t>(2); in ValidateBranchConditional() local
187 const auto false_target = _.FindDef(false_id); in ValidateBranchConditional()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder.cc2621 auto false_id = get_arg_as_value_id(0); in GenerateIntrinsicCall() local
2622 if (!cond_id || !true_id || !false_id) { in GenerateIntrinsicCall()
2646 Operand::Int(true_id), Operand::Int(false_id)})) { in GenerateIntrinsicCall()