Home
last modified time | relevance | path

Searched refs:branch_inst (Results 1 - 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dtransformation_swap_conditional_branch_operands.cpp46 auto* branch_inst = in Apply() local
48 assert(branch_inst); in Apply()
50 auto* block = ir_context->get_instr_block(branch_inst); in Apply()
55 auto iter = fuzzerutil::GetIteratorForInstruction(block, branch_inst); in Apply()
67 branch_inst->GetSingleWordInOperand(0)); in Apply()
83 branch_inst->GetInOperand(0).words[0] = message_.fresh_id(); in Apply()
86 std::swap(branch_inst->GetInOperand(1), branch_inst->GetInOperand(2)); in Apply()
89 if (branch_inst->NumInOperands() > 3) { in Apply()
90 std::swap(branch_inst in Apply()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dtransformation_swap_conditional_branch_operands.cpp46 auto* branch_inst = in Apply() local
48 assert(branch_inst); in Apply()
50 auto* block = ir_context->get_instr_block(branch_inst); in Apply()
55 auto iter = fuzzerutil::GetIteratorForInstruction(block, branch_inst); in Apply()
67 branch_inst->GetSingleWordInOperand(0)); in Apply()
83 branch_inst->GetInOperand(0).words[0] = message_.fresh_id(); in Apply()
86 std::swap(branch_inst->GetInOperand(1), branch_inst->GetInOperand(2)); in Apply()
89 if (branch_inst->NumInOperands() > 3) { in Apply()
90 std::swap(branch_inst in Apply()
[all...]
/third_party/spirv-tools/source/fuzz/
H A Dtransformation_swap_conditional_branch_operands.cpp46 auto* branch_inst = in Apply() local
48 assert(branch_inst); in Apply()
50 auto* block = ir_context->get_instr_block(branch_inst); in Apply()
55 auto iter = fuzzerutil::GetIteratorForInstruction(block, branch_inst); in Apply()
69 branch_inst->GetSingleWordInOperand(0)); in Apply()
85 branch_inst->GetInOperand(0).words[0] = message_.fresh_id(); in Apply()
88 std::swap(branch_inst->GetInOperand(1), branch_inst->GetInOperand(2)); in Apply()
91 if (branch_inst->NumInOperands() > 3) { in Apply()
92 std::swap(branch_inst in Apply()
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dloop_descriptor.cpp661 const Instruction* branch_inst, in FindNumberOfIterations()
670 def_use_manager->GetDef(branch_inst->GetSingleWordOperand(0)); in FindNumberOfIterations()
861 const Instruction& branch_inst = *condition_block->ctail(); in FindConditionVariable() local
865 if (branch_inst.opcode() == SpvOp::SpvOpBranchConditional) { in FindConditionVariable()
872 def_use_manager->GetDef(branch_inst.GetSingleWordOperand(0)); in FindConditionVariable()
915 if (!FindNumberOfIterations(variable_inst, &branch_inst, nullptr)) in FindConditionVariable()
660 FindNumberOfIterations(const Instruction* induction, const Instruction* branch_inst, size_t* iterations_out, int64_t* step_value_out, int64_t* init_value_out) const FindNumberOfIterations() argument
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dloop_descriptor.cpp661 const Instruction* branch_inst, in FindNumberOfIterations()
670 def_use_manager->GetDef(branch_inst->GetSingleWordOperand(0)); in FindNumberOfIterations()
861 const Instruction& branch_inst = *condition_block->ctail(); in FindConditionVariable() local
865 if (branch_inst.opcode() == SpvOp::SpvOpBranchConditional) { in FindConditionVariable()
872 def_use_manager->GetDef(branch_inst.GetSingleWordOperand(0)); in FindConditionVariable()
915 if (!FindNumberOfIterations(variable_inst, &branch_inst, nullptr)) in FindConditionVariable()
660 FindNumberOfIterations(const Instruction* induction, const Instruction* branch_inst, size_t* iterations_out, int64_t* step_value_out, int64_t* init_value_out) const FindNumberOfIterations() argument
/third_party/spirv-tools/source/opt/
H A Dloop_descriptor.cpp655 const Instruction* branch_inst, in FindNumberOfIterations()
664 def_use_manager->GetDef(branch_inst->GetSingleWordOperand(0)); in FindNumberOfIterations()
859 const Instruction& branch_inst = *condition_block->ctail(); in FindConditionVariable() local
863 if (branch_inst.opcode() == spv::Op::OpBranchConditional) { in FindConditionVariable()
870 def_use_manager->GetDef(branch_inst.GetSingleWordOperand(0)); in FindConditionVariable()
914 if (!FindNumberOfIterations(variable_inst, &branch_inst, nullptr)) in FindConditionVariable()
654 FindNumberOfIterations(const Instruction* induction, const Instruction* branch_inst, size_t* iterations_out, int64_t* step_value_out, int64_t* init_value_out) const FindNumberOfIterations() argument
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_qpu_schedule.c1053 uint64_t *branch_inst = &c->qpu_insts[block->branch_qpu_ip]; in qpu_set_branch_targets() local
1054 assert(QPU_GET_FIELD(*branch_inst, QPU_SIG) == QPU_SIG_BRANCH); in qpu_set_branch_targets()
1055 assert(QPU_GET_FIELD(*branch_inst, QPU_BRANCH_TARGET) == 0); in qpu_set_branch_targets()
1060 *branch_inst = (*branch_inst | in qpu_set_branch_targets()

Completed in 8 milliseconds