Home
last modified time | relevance | path

Searched refs:bb_from (Results 1 – 15 of 15) sorted by relevance

/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_add_dead_continue.cpp51 opt::BasicBlock* bb_from = in IsApplicable() local
53 if (bb_from == nullptr) { in IsApplicable()
58 if (bb_from->terminator()->opcode() != SpvOpBranch) { in IsApplicable()
64 assert(bb_from != nullptr && in IsApplicable()
67 bb_from->id() == message_.from_block() && in IsApplicable()
75 bb_from->IsLoopHeader() in IsApplicable()
107 if (!fuzzerutil::PhiIdsOkForNewEdge(ir_context, bb_from, in IsApplicable()
124 auto bb_from = ir_context->cfg()->block(message_.from_block()); in Apply() local
126 bb_from->IsLoopHeader() in Apply()
127 ? bb_from->ContinueBlockId() in Apply()
[all …]
Dtransformation_add_dead_break.cpp42 opt::IRContext* ir_context, opt::BasicBlock* bb_from) const { in AddingBreakRespectsStructuredControlFlow()
63 if (bb_from->IsLoopHeader()) { in AddingBreakRespectsStructuredControlFlow()
66 return bb_from->MergeBlockId() == message_.to_block(); in AddingBreakRespectsStructuredControlFlow()
126 opt::BasicBlock* bb_from = in IsApplicable() local
128 if (bb_from == nullptr) { in IsApplicable()
145 if (bb_from->terminator()->opcode() != SpvOpBranch) { in IsApplicable()
151 assert(bb_from != nullptr && in IsApplicable()
154 bb_from->id() == message_.from_block() && in IsApplicable()
163 if (!fuzzerutil::PhiIdsOkForNewEdge(ir_context, bb_from, bb_to, in IsApplicable()
170 if (!AddingBreakRespectsStructuredControlFlow(ir_context, bb_from)) { in IsApplicable()
Dfuzzer_util.cpp124 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to, in PhiIdsOkForNewEdge() argument
126 if (bb_from->IsSuccessor(bb_to)) { in PhiIdsOkForNewEdge()
169 context->GetDominatorAnalysis(bb_from->GetParent()); in PhiIdsOkForNewEdge()
171 bb_from->terminator())) { in PhiIdsOkForNewEdge()
189 const auto* bb_from = MaybeFindBlock(ir_context, bb_from_id); in CreateUnreachableEdgeInstruction() local
190 assert(bb_from && "|bb_from_id| is invalid"); in CreateUnreachableEdgeInstruction()
192 assert(bb_from->terminator()->opcode() == SpvOpBranch && in CreateUnreachableEdgeInstruction()
203 auto successor_id = bb_from->terminator()->GetSingleWordInOperand(0); in CreateUnreachableEdgeInstruction()
216 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to, in AddUnreachableEdgeAndUpdateOpPhis() argument
219 assert(PhiIdsOkForNewEdge(context, bb_from, bb_to, phi_ids) && in AddUnreachableEdgeAndUpdateOpPhis()
[all …]
Dtransformation_add_dead_break.h72 opt::BasicBlock* bb_from) const;
Dfuzzer_util.h69 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
91 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_add_dead_continue.cpp50 opt::BasicBlock* bb_from = in IsApplicable() local
52 if (bb_from == nullptr) { in IsApplicable()
57 if (bb_from->terminator()->opcode() != SpvOpBranch) { in IsApplicable()
63 assert(bb_from != nullptr && in IsApplicable()
66 bb_from->id() == message_.from_block() && in IsApplicable()
74 bb_from->IsLoopHeader() in IsApplicable()
107 if (!fuzzerutil::PhiIdsOkForNewEdge(ir_context, bb_from, in IsApplicable()
147 auto bb_from = ir_context->cfg()->block(message_.from_block()); in ApplyImpl() local
149 bb_from->IsLoopHeader() in ApplyImpl()
150 ? bb_from->ContinueBlockId() in ApplyImpl()
[all …]
Dtransformation_add_dead_break.cpp42 opt::IRContext* ir_context, opt::BasicBlock* bb_from) const { in AddingBreakRespectsStructuredControlFlow()
63 if (bb_from->IsLoopHeader()) { in AddingBreakRespectsStructuredControlFlow()
66 return bb_from->MergeBlockId() == message_.to_block(); in AddingBreakRespectsStructuredControlFlow()
125 opt::BasicBlock* bb_from = in IsApplicable() local
127 if (bb_from == nullptr) { in IsApplicable()
144 if (bb_from->terminator()->opcode() != SpvOpBranch) { in IsApplicable()
150 assert(bb_from != nullptr && in IsApplicable()
153 bb_from->id() == message_.from_block() && in IsApplicable()
162 if (!fuzzerutil::PhiIdsOkForNewEdge(ir_context, bb_from, bb_to, in IsApplicable()
169 if (!AddingBreakRespectsStructuredControlFlow(ir_context, bb_from)) { in IsApplicable()
Dfuzzer_util.cpp77 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to, in PhiIdsOkForNewEdge() argument
79 if (bb_from->IsSuccessor(bb_to)) { in PhiIdsOkForNewEdge()
122 context->GetDominatorAnalysis(bb_from->GetParent()); in PhiIdsOkForNewEdge()
124 bb_from->terminator())) { in PhiIdsOkForNewEdge()
139 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to, in AddUnreachableEdgeAndUpdateOpPhis() argument
142 assert(PhiIdsOkForNewEdge(context, bb_from, bb_to, phi_ids) && in AddUnreachableEdgeAndUpdateOpPhis()
144 assert(bb_from->terminator()->opcode() == SpvOpBranch && in AddUnreachableEdgeAndUpdateOpPhis()
156 const bool from_to_edge_already_exists = bb_from->IsSuccessor(bb_to); in AddUnreachableEdgeAndUpdateOpPhis()
157 auto successor = bb_from->terminator()->GetSingleWordInOperand(0); in AddUnreachableEdgeAndUpdateOpPhis()
162 bb_from->terminator()->SetOpcode(SpvOpBranchConditional); in AddUnreachableEdgeAndUpdateOpPhis()
[all …]
Dtransformation_add_dead_break.h72 opt::BasicBlock* bb_from) const;
Dfuzzer_util.h59 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
71 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_dead_continue.cpp50 opt::BasicBlock* bb_from = in IsApplicable() local
52 if (bb_from == nullptr) { in IsApplicable()
57 if (bb_from->terminator()->opcode() != SpvOpBranch) { in IsApplicable()
63 assert(bb_from != nullptr && in IsApplicable()
66 bb_from->id() == message_.from_block() && in IsApplicable()
74 bb_from->IsLoopHeader() in IsApplicable()
107 if (!fuzzerutil::PhiIdsOkForNewEdge(ir_context, bb_from, in IsApplicable()
147 auto bb_from = ir_context->cfg()->block(message_.from_block()); in ApplyImpl() local
149 bb_from->IsLoopHeader() in ApplyImpl()
150 ? bb_from->ContinueBlockId() in ApplyImpl()
[all …]
Dtransformation_add_dead_break.cpp42 opt::IRContext* ir_context, opt::BasicBlock* bb_from) const { in AddingBreakRespectsStructuredControlFlow()
63 if (bb_from->IsLoopHeader()) { in AddingBreakRespectsStructuredControlFlow()
66 return bb_from->MergeBlockId() == message_.to_block(); in AddingBreakRespectsStructuredControlFlow()
125 opt::BasicBlock* bb_from = in IsApplicable() local
127 if (bb_from == nullptr) { in IsApplicable()
144 if (bb_from->terminator()->opcode() != SpvOpBranch) { in IsApplicable()
150 assert(bb_from != nullptr && in IsApplicable()
153 bb_from->id() == message_.from_block() && in IsApplicable()
162 if (!fuzzerutil::PhiIdsOkForNewEdge(ir_context, bb_from, bb_to, in IsApplicable()
169 if (!AddingBreakRespectsStructuredControlFlow(ir_context, bb_from)) { in IsApplicable()
Dfuzzer_util.cpp77 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to, in PhiIdsOkForNewEdge() argument
79 if (bb_from->IsSuccessor(bb_to)) { in PhiIdsOkForNewEdge()
122 context->GetDominatorAnalysis(bb_from->GetParent()); in PhiIdsOkForNewEdge()
124 bb_from->terminator())) { in PhiIdsOkForNewEdge()
139 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to, in AddUnreachableEdgeAndUpdateOpPhis() argument
142 assert(PhiIdsOkForNewEdge(context, bb_from, bb_to, phi_ids) && in AddUnreachableEdgeAndUpdateOpPhis()
144 assert(bb_from->terminator()->opcode() == SpvOpBranch && in AddUnreachableEdgeAndUpdateOpPhis()
156 const bool from_to_edge_already_exists = bb_from->IsSuccessor(bb_to); in AddUnreachableEdgeAndUpdateOpPhis()
157 auto successor = bb_from->terminator()->GetSingleWordInOperand(0); in AddUnreachableEdgeAndUpdateOpPhis()
162 bb_from->terminator()->SetOpcode(SpvOpBranchConditional); in AddUnreachableEdgeAndUpdateOpPhis()
[all …]
Dtransformation_add_dead_break.h72 opt::BasicBlock* bb_from) const;
Dfuzzer_util.h59 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
71 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,