OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:phi_inst
(Results
1 - 12
of
12
) sorted by null
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
structured_loop_to_selection_reduction_opportunity.cpp
176
to_block->ForEachPhiInst([&from_id](Instruction*
phi_inst
) {
179
for (uint32_t index = 0; index <
phi_inst
->NumInOperands(); index += 2) {
182
if (
phi_inst
->GetInOperand(index + 1).words[0] != from_id) {
183
new_in_operands.push_back(
phi_inst
->GetInOperand(index));
184
new_in_operands.push_back(
phi_inst
->GetInOperand(index + 1));
187
phi_inst
->SetInOperands(std::move(new_in_operands));
193
to_block->ForEachPhiInst([this, &from_id](Instruction*
phi_inst
) {
196
auto undef_id = FindOrCreateGlobalUndef(context_,
phi_inst
->type_id());
197
phi_inst
->AddOperand(Operand(SPV_OPERAND_TYPE_ID, {undef_id}));
198
phi_inst
->AddOperand(Operand(SPV_OPERAND_TYPE_ID, {from_id}))
[
all
...]
/external/deqp-deps/SPIRV-Tools/source/reduce/
structured_loop_to_selection_reduction_opportunity.cpp
174
to_block->ForEachPhiInst([&from_id](Instruction*
phi_inst
) {
177
for (uint32_t index = 0; index <
phi_inst
->NumInOperands(); index += 2) {
180
if (
phi_inst
->GetInOperand(index + 1).words[0] != from_id) {
181
new_in_operands.push_back(
phi_inst
->GetInOperand(index));
182
new_in_operands.push_back(
phi_inst
->GetInOperand(index + 1));
185
phi_inst
->SetInOperands(std::move(new_in_operands));
191
to_block->ForEachPhiInst([this, &from_id](Instruction*
phi_inst
) {
194
auto undef_id = FindOrCreateGlobalUndef(
phi_inst
->type_id());
195
phi_inst
->AddOperand(Operand(SPV_OPERAND_TYPE_ID, {undef_id}));
196
phi_inst
->AddOperand(Operand(SPV_OPERAND_TYPE_ID, {from_id}))
[
all
...]
/external/deqp-deps/SPIRV-Tools/source/opt/
basic_block.cpp
240
[this, new_block, context](Instruction*
phi_inst
) {
242
for (uint32_t i = 1; i <
phi_inst
->NumInOperands(); i += 2) {
243
if (
phi_inst
->GetSingleWordInOperand(i) == this->id()) {
245
phi_inst
->SetInOperand(i, {new_block->id()});
250
context->UpdateDefUse(
phi_inst
);
ssa_rewrite_pass.cpp
448
std::unique_ptr<Instruction>
phi_inst
(
451
generated_phis.push_back(
phi_inst
.get());
452
pass_->get_def_use_mgr()->AnalyzeInstDef(&*
phi_inst
);
453
pass_->context()->set_instr_block(&*
phi_inst
, phi_candidate->bb());
455
insert_it.InsertBefore(std::move(
phi_inst
));
467
for (Instruction*
phi_inst
: generated_phis) {
468
pass_->get_def_use_mgr()->AnalyzeInstUse(&*
phi_inst
);
inst_bindless_check_pass.cpp
215
Instruction*
phi_inst
= builder.AddPhi(
local
218
context()->ReplaceAllUsesWith(ref_result_id,
phi_inst
->result_id());
loop_peeling.cpp
536
auto find_value_idx = [](Instruction*
phi_inst
, Loop* loop) {
538
!loop->IsInsideLoop(
phi_inst
->GetSingleWordInOperand(1)) ? 0 : 2;
[
all
...]
merge_return_pass.cpp
592
std::unique_ptr<Instruction>
phi_inst
(new Instruction(
594
ret_block_iter->AddInstruction(std::move(
phi_inst
));
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
basic_block.cpp
240
[this, new_block, context](Instruction*
phi_inst
) {
242
for (uint32_t i = 1; i <
phi_inst
->NumInOperands(); i += 2) {
243
if (
phi_inst
->GetSingleWordInOperand(i) == this->id()) {
245
phi_inst
->SetInOperand(i, {new_block->id()});
250
context->UpdateDefUse(
phi_inst
);
ssa_rewrite_pass.cpp
458
std::unique_ptr<Instruction>
phi_inst
(
461
generated_phis.push_back(
phi_inst
.get());
462
pass_->get_def_use_mgr()->AnalyzeInstDef(&*
phi_inst
);
463
pass_->context()->set_instr_block(&*
phi_inst
, phi_candidate->bb());
465
insert_it.InsertBefore(std::move(
phi_inst
));
476
for (Instruction*
phi_inst
: generated_phis) {
477
pass_->get_def_use_mgr()->AnalyzeInstUse(&*
phi_inst
);
inst_bindless_check_pass.cpp
215
Instruction*
phi_inst
= builder.AddPhi(
local
218
context()->ReplaceAllUsesWith(ref_result_id,
phi_inst
->result_id());
loop_peeling.cpp
536
auto find_value_idx = [](Instruction*
phi_inst
, Loop* loop) {
538
!loop->IsInsideLoop(
phi_inst
->GetSingleWordInOperand(1)) ? 0 : 2;
[
all
...]
merge_return_pass.cpp
608
std::unique_ptr<Instruction>
phi_inst
(new Instruction(
610
ret_block_iter->AddInstruction(std::move(
phi_inst
));
Completed in 827 milliseconds