/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/ |
D | transformation_add_dead_continue.cpp | 51 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 …]
|
D | transformation_add_dead_break.cpp | 42 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()
|
D | fuzzer_util.cpp | 124 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 …]
|
D | transformation_add_dead_break.h | 72 opt::BasicBlock* bb_from) const;
|
D | fuzzer_util.h | 69 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/ |
D | transformation_add_dead_continue.cpp | 50 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 …]
|
D | transformation_add_dead_break.cpp | 42 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()
|
D | fuzzer_util.cpp | 77 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 …]
|
D | transformation_add_dead_break.h | 72 opt::BasicBlock* bb_from) const;
|
D | fuzzer_util.h | 59 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/ |
D | transformation_add_dead_continue.cpp | 50 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 …]
|
D | transformation_add_dead_break.cpp | 42 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()
|
D | fuzzer_util.cpp | 77 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 …]
|
D | transformation_add_dead_break.h | 72 opt::BasicBlock* bb_from) const;
|
D | fuzzer_util.h | 59 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to, 71 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
|