Home
last modified time | relevance | path

Searched refs:incomings (Results 1 - 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dreplace_desc_array_access_using_var_index.cpp396 std::vector<uint32_t> incomings; in CreatePhiInstruction() local
401 incomings.push_back(phi_operands[i]); in CreatePhiInstruction()
402 incomings.push_back(case_block_ids[i]); in CreatePhiInstruction()
404 incomings.push_back(phi_operands.back()); in CreatePhiInstruction()
405 incomings.push_back(default_block_id); in CreatePhiInstruction()
411 auto* phi = builder.AddPhi(phi_result_type_id, incomings); in CreatePhiInstruction()
H A Dloop_utils.cpp112 std::vector<uint32_t> incomings; in CreatePhiInstruction() local
116 incomings.push_back( in CreatePhiInstruction()
118 incomings.push_back(bb_preds[i]); in CreatePhiInstruction()
123 builder.AddPhi(def_insn_.type_id(), incomings); in CreatePhiInstruction()
133 std::vector<uint32_t> incomings; in CreatePhiInstruction() local
136 incomings.push_back(value.result_id()); in CreatePhiInstruction()
137 incomings.push_back(bb_preds[i]); in CreatePhiInstruction()
142 builder.AddPhi(def_insn_.type_id(), incomings); in CreatePhiInstruction()
H A Dir_builder.h281 // The vector |incomings| must be a sequence of pairs of <definition id,
283 Instruction* AddPhi(uint32_t type, const std::vector<uint32_t>& incomings, in AddPhi() argument
285 assert(incomings.size() % 2 == 0 && "A sequence of pairs is expected"); in AddPhi()
286 return AddNaryOp(type, SpvOpPhi, incomings, result); in AddPhi()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dreplace_desc_array_access_using_var_index.cpp396 std::vector<uint32_t> incomings; in CreatePhiInstruction() local
401 incomings.push_back(phi_operands[i]); in CreatePhiInstruction()
402 incomings.push_back(case_block_ids[i]); in CreatePhiInstruction()
404 incomings.push_back(phi_operands.back()); in CreatePhiInstruction()
405 incomings.push_back(default_block_id); in CreatePhiInstruction()
411 auto* phi = builder.AddPhi(phi_result_type_id, incomings); in CreatePhiInstruction()
H A Dloop_utils.cpp112 std::vector<uint32_t> incomings; in CreatePhiInstruction() local
116 incomings.push_back( in CreatePhiInstruction()
118 incomings.push_back(bb_preds[i]); in CreatePhiInstruction()
123 builder.AddPhi(def_insn_.type_id(), incomings); in CreatePhiInstruction()
133 std::vector<uint32_t> incomings; in CreatePhiInstruction() local
136 incomings.push_back(value.result_id()); in CreatePhiInstruction()
137 incomings.push_back(bb_preds[i]); in CreatePhiInstruction()
142 builder.AddPhi(def_insn_.type_id(), incomings); in CreatePhiInstruction()
H A Dir_builder.h281 // The vector |incomings| must be a sequence of pairs of <definition id,
283 Instruction* AddPhi(uint32_t type, const std::vector<uint32_t>& incomings, in AddPhi() argument
285 assert(incomings.size() % 2 == 0 && "A sequence of pairs is expected"); in AddPhi()
286 return AddNaryOp(type, SpvOpPhi, incomings, result); in AddPhi()
/third_party/spirv-tools/source/opt/
H A Dreplace_desc_array_access_using_var_index.cpp401 std::vector<uint32_t> incomings; in CreatePhiInstruction() local
406 incomings.push_back(phi_operands[i]); in CreatePhiInstruction()
407 incomings.push_back(case_block_ids[i]); in CreatePhiInstruction()
409 incomings.push_back(phi_operands.back()); in CreatePhiInstruction()
410 incomings.push_back(default_block_id); in CreatePhiInstruction()
416 auto* phi = builder.AddPhi(phi_result_type_id, incomings); in CreatePhiInstruction()
H A Dloop_utils.cpp111 std::vector<uint32_t> incomings; in CreatePhiInstruction() local
115 incomings.push_back( in CreatePhiInstruction()
117 incomings.push_back(bb_preds[i]); in CreatePhiInstruction()
122 builder.AddPhi(def_insn_.type_id(), incomings); in CreatePhiInstruction()
132 std::vector<uint32_t> incomings; in CreatePhiInstruction() local
135 incomings.push_back(value.result_id()); in CreatePhiInstruction()
136 incomings.push_back(bb_preds[i]); in CreatePhiInstruction()
141 builder.AddPhi(def_insn_.type_id(), incomings); in CreatePhiInstruction()
H A Dir_builder.h285 // The vector |incomings| must be a sequence of pairs of <definition id,
287 Instruction* AddPhi(uint32_t type, const std::vector<uint32_t>& incomings, in AddPhi() argument
289 assert(incomings.size() % 2 == 0 && "A sequence of pairs is expected"); in AddPhi()
290 return AddNaryOp(type, spv::Op::OpPhi, incomings, result); in AddPhi()

Completed in 17 milliseconds