Home
last modified time | relevance | path

Searched refs:terminator (Results 1 - 25 of 220) sorted by relevance

123456789

/third_party/skia/third_party/externals/spirv-tools/source/reduce/
H A Dstructured_loop_to_selection_reduction_opportunity.cpp127 auto terminator = context_->cfg()->block(source_id)->terminator(); in RedirectEdge() local
129 // Figure out which operands of the terminator need to be considered for in RedirectEdge()
132 if (terminator->opcode() == SpvOpBranch) { in RedirectEdge()
134 } else if (terminator->opcode() == SpvOpBranchConditional) { in RedirectEdge()
137 assert(terminator->opcode() == SpvOpSwitch); in RedirectEdge()
138 for (uint32_t label_index = 1; label_index < terminator->NumOperands(); in RedirectEdge()
148 if (terminator->GetSingleWordOperand(operand_index) == original_target_id) { in RedirectEdge()
149 terminator->SetOperand(operand_index, {new_target_id}); in RedirectEdge()
192 auto terminator in ChangeLoopToSelection() local
[all...]
H A Dsimple_conditional_branch_to_branch_opportunity_finder.cpp32 // The terminator must be SpvOpBranchConditional. in GetAvailableOpportunities()
33 opt::Instruction* terminator = block.terminator(); in GetAvailableOpportunities() local
34 if (terminator->opcode() != SpvOpBranchConditional) { in GetAvailableOpportunities()
44 if (terminator->GetSingleWordInOperand(kTrueBranchOperandIndex) != in GetAvailableOpportunities()
45 terminator->GetSingleWordInOperand(kFalseBranchOperandIndex)) { in GetAvailableOpportunities()
51 block.terminator())); in GetAvailableOpportunities()
H A Dconditional_branch_to_simple_conditional_branch_opportunity_finder.cpp39 // The terminator must be SpvOpBranchConditional. in GetAvailableOpportunities()
40 opt::Instruction* terminator = block.terminator(); in GetAvailableOpportunities() local
41 if (terminator->opcode() != SpvOpBranchConditional) { in GetAvailableOpportunities()
46 terminator->GetSingleWordInOperand(kTrueBranchOperandIndex); in GetAvailableOpportunities()
48 terminator->GetSingleWordInOperand(kFalseBranchOperandIndex); in GetAvailableOpportunities()
74 context, block.terminator(), redirect_to_true)); in GetAvailableOpportunities()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/
H A Dstructured_loop_to_selection_reduction_opportunity.cpp127 auto terminator = context_->cfg()->block(source_id)->terminator(); in RedirectEdge() local
129 // Figure out which operands of the terminator need to be considered for in RedirectEdge()
132 if (terminator->opcode() == SpvOpBranch) { in RedirectEdge()
134 } else if (terminator->opcode() == SpvOpBranchConditional) { in RedirectEdge()
137 assert(terminator->opcode() == SpvOpSwitch); in RedirectEdge()
138 for (uint32_t label_index = 1; label_index < terminator->NumOperands(); in RedirectEdge()
148 if (terminator->GetSingleWordOperand(operand_index) == original_target_id) { in RedirectEdge()
149 terminator->SetOperand(operand_index, {new_target_id}); in RedirectEdge()
192 auto terminator in ChangeLoopToSelection() local
[all...]
H A Dsimple_conditional_branch_to_branch_opportunity_finder.cpp32 // The terminator must be SpvOpBranchConditional. in GetAvailableOpportunities()
33 opt::Instruction* terminator = block.terminator(); in GetAvailableOpportunities() local
34 if (terminator->opcode() != SpvOpBranchConditional) { in GetAvailableOpportunities()
44 if (terminator->GetSingleWordInOperand(kTrueBranchOperandIndex) != in GetAvailableOpportunities()
45 terminator->GetSingleWordInOperand(kFalseBranchOperandIndex)) { in GetAvailableOpportunities()
51 block.terminator())); in GetAvailableOpportunities()
H A Dconditional_branch_to_simple_conditional_branch_opportunity_finder.cpp39 // The terminator must be SpvOpBranchConditional. in GetAvailableOpportunities()
40 opt::Instruction* terminator = block.terminator(); in GetAvailableOpportunities() local
41 if (terminator->opcode() != SpvOpBranchConditional) { in GetAvailableOpportunities()
46 terminator->GetSingleWordInOperand(kTrueBranchOperandIndex); in GetAvailableOpportunities()
48 terminator->GetSingleWordInOperand(kFalseBranchOperandIndex); in GetAvailableOpportunities()
74 context, block.terminator(), redirect_to_true)); in GetAvailableOpportunities()
/third_party/spirv-tools/source/reduce/
H A Dstructured_loop_to_selection_reduction_opportunity.cpp127 auto terminator = context_->cfg()->block(source_id)->terminator(); in RedirectEdge() local
129 // Figure out which operands of the terminator need to be considered for in RedirectEdge()
132 if (terminator->opcode() == spv::Op::OpBranch) { in RedirectEdge()
134 } else if (terminator->opcode() == spv::Op::OpBranchConditional) { in RedirectEdge()
137 assert(terminator->opcode() == spv::Op::OpSwitch); in RedirectEdge()
138 for (uint32_t label_index = 1; label_index < terminator->NumOperands(); in RedirectEdge()
148 if (terminator->GetSingleWordOperand(operand_index) == original_target_id) { in RedirectEdge()
149 terminator->SetOperand(operand_index, {new_target_id}); in RedirectEdge()
193 auto terminator in ChangeLoopToSelection() local
[all...]
H A Dsimple_conditional_branch_to_branch_opportunity_finder.cpp32 // The terminator must be spv::Op::OpBranchConditional. in GetAvailableOpportunities()
33 opt::Instruction* terminator = block.terminator(); in GetAvailableOpportunities() local
34 if (terminator->opcode() != spv::Op::OpBranchConditional) { in GetAvailableOpportunities()
44 if (terminator->GetSingleWordInOperand(kTrueBranchOperandIndex) != in GetAvailableOpportunities()
45 terminator->GetSingleWordInOperand(kFalseBranchOperandIndex)) { in GetAvailableOpportunities()
51 block.terminator())); in GetAvailableOpportunities()
H A Dconditional_branch_to_simple_conditional_branch_opportunity_finder.cpp39 // The terminator must be spv::Op::OpBranchConditional. in GetAvailableOpportunities()
40 opt::Instruction* terminator = block.terminator(); in GetAvailableOpportunities() local
41 if (terminator->opcode() != spv::Op::OpBranchConditional) { in GetAvailableOpportunities()
46 terminator->GetSingleWordInOperand(kTrueBranchOperandIndex); in GetAvailableOpportunities()
48 terminator->GetSingleWordInOperand(kFalseBranchOperandIndex); in GetAvailableOpportunities()
74 context, block.terminator(), redirect_to_true)); in GetAvailableOpportunities()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dtransformation_replace_branch_from_dead_block_with_exit.cpp39 // The block whose terminator is to be changed must exist. in IsApplicable()
70 // If the terminator is to be changed to OpReturnValue, with in IsApplicable()
73 // at the block terminator. in IsApplicable()
80 ir_context, block->terminator(), message_.return_value_id())) { in IsApplicable()
98 assert(block->terminator()->opcode() == SpvOpBranch && in Apply()
101 block->terminator()->GetSingleWordInOperand(0)); in Apply()
115 // Rewrite the terminator of |message_.block_id|. in Apply()
121 auto terminator = block->terminator(); in Apply() local
122 terminator in Apply()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dtransformation_replace_branch_from_dead_block_with_exit.cpp39 // The block whose terminator is to be changed must exist. in IsApplicable()
70 // If the terminator is to be changed to OpReturnValue, with in IsApplicable()
73 // at the block terminator. in IsApplicable()
80 ir_context, block->terminator(), message_.return_value_id())) { in IsApplicable()
98 assert(block->terminator()->opcode() == SpvOpBranch && in Apply()
101 block->terminator()->GetSingleWordInOperand(0)); in Apply()
115 // Rewrite the terminator of |message_.block_id|. in Apply()
121 auto terminator = block->terminator(); in Apply() local
122 terminator in Apply()
[all...]
/third_party/python/Lib/
H A Dasynchat.py35 'terminator' (usually '\r\n' for single-line responses, '\r\n.\r\n'
41 of the connection, you'll have self.terminator set to '\r\n', in
45 method) up to the terminator, and then control will be returned to
75 # for string terminator matching
111 self.terminator = term
114 return self.terminator
118 # check for the terminator,
135 # Continue to search for self.terminator in self.ac_in_buffer,
137 # is necessary because we might read several data+terminator
142 terminator
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/val/
H A Dconstruct.cpp153 auto terminator = header->terminator(); in IsStructuredExit() local
154 auto index = terminator - &_.ordered_instructions()[0]; in IsStructuredExit()
164 auto terminator = header->terminator(); in IsStructuredExit() local
165 auto index = terminator - &_.ordered_instructions()[0]; in IsStructuredExit()
195 auto terminator = block->terminator(); in IsStructuredExit() local
196 auto index = terminator - &_.ordered_instructions()[0]; in IsStructuredExit()
199 (header->terminator() in IsStructuredExit()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
H A Dconstruct.cpp153 auto terminator = header->terminator(); in IsStructuredExit() local
154 auto index = terminator - &_.ordered_instructions()[0]; in IsStructuredExit()
164 auto terminator = header->terminator(); in IsStructuredExit() local
165 auto index = terminator - &_.ordered_instructions()[0]; in IsStructuredExit()
195 auto terminator = block->terminator(); in IsStructuredExit() local
196 auto index = terminator - &_.ordered_instructions()[0]; in IsStructuredExit()
199 (header->terminator() in IsStructuredExit()
[all...]
/third_party/spirv-tools/source/val/
H A Dconstruct.cpp137 auto terminator = header->terminator(); in IsStructuredExit() local
138 auto index = terminator - &_.ordered_instructions()[0]; in IsStructuredExit()
148 auto terminator = header->terminator(); in IsStructuredExit() local
149 auto index = terminator - &_.ordered_instructions()[0]; in IsStructuredExit()
182 auto terminator = block->terminator(); in IsStructuredExit() local
183 auto index = terminator - &_.ordered_instructions()[0]; in IsStructuredExit()
186 (header->terminator() in IsStructuredExit()
[all...]
/third_party/mesa3d/src/compiler/nir/
H A Dnir_opt_loop_unroll.c114 /* Skip over loop terminator and get the loop body. */ in simple_unroll()
115 list_for_each_entry(nir_loop_terminator, terminator, in simple_unroll()
119 /* Remove all but the limiting terminator as we know the other exit in simple_unroll()
124 if (terminator->nif != limiting_term->nif) { in simple_unroll()
127 get_first_blocks_in_terminator(terminator, &first_break_block, in simple_unroll()
130 assert(nir_is_trivial_loop_if(terminator->nif, in simple_unroll()
131 terminator->break_block)); in simple_unroll()
136 nir_after_block(terminator->continue_from_block)); in simple_unroll()
138 nir_after_cf_node(&terminator->nif->cf_node)); in simple_unroll()
140 nir_cf_node_remove(&terminator in simple_unroll()
474 nir_loop_terminator *terminator = loop->info->limiting_terminator; complex_unroll_single_terminator() local
722 nir_loop_terminator *terminator = partial_unroll() local
1086 nir_loop_terminator *terminator = process_loops() local
[all...]
/third_party/spirv-tools/source/fuzz/
H A Dtransformation_replace_branch_from_dead_block_with_exit.cpp39 // The block whose terminator is to be changed must exist. in IsApplicable()
70 // If the terminator is to be changed to OpReturnValue, with in IsApplicable()
73 // at the block terminator. in IsApplicable()
80 ir_context, block->terminator(), message_.return_value_id())) { in IsApplicable()
98 assert(block->terminator()->opcode() == spv::Op::OpBranch && in Apply()
101 block->terminator()->GetSingleWordInOperand(0)); in Apply()
115 // Rewrite the terminator of |message_.block_id|. in Apply()
121 auto terminator = block->terminator(); in Apply() local
122 terminator in Apply()
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Ddead_branch_elim_pass.cpp115 Instruction* terminator = block->terminator(); in MarkLiveBlocks() local
117 // Check if the terminator has a single valid successor. in MarkLiveBlocks()
118 if (terminator->opcode() == SpvOpBranchConditional) { in MarkLiveBlocks()
120 if (GetConstCondition(terminator->GetSingleWordInOperand(0u), &condVal)) { in MarkLiveBlocks()
121 live_lab_id = terminator->GetSingleWordInOperand( in MarkLiveBlocks()
124 } else if (terminator->opcode() == SpvOpSwitch) { in MarkLiveBlocks()
126 if (GetConstInteger(terminator->GetSingleWordInOperand(0u), &sel_val)) { in MarkLiveBlocks()
131 terminator->WhileEachInOperand( in MarkLiveBlocks()
196 Instruction* terminator in SimplifyBranch() local
[all...]
H A Dblock_merge_util.cpp122 SpvOp succ_term_op = succ_block->terminator()->opcode(); in CanMergeWithSuccessor()
172 auto terminator = bi->terminator(); in MergeWithSuccessor() local
173 auto& vec = terminator->dbg_line_insts(); in MergeWithSuccessor()
178 terminator->ClearDbgLineInsts(); in MergeWithSuccessor()
182 // Clear debug scope of terminator to avoid DebugScope in MergeWithSuccessor()
183 // emitted between terminator and merge. in MergeWithSuccessor()
184 terminator->SetDebugScope(DebugScope(kNoDebugScope, kNoInlinedAt)); in MergeWithSuccessor()
185 // Move the merge instruction to just before the terminator. in MergeWithSuccessor()
186 merge_inst->InsertBefore(terminator); in MergeWithSuccessor()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Ddead_branch_elim_pass.cpp115 Instruction* terminator = block->terminator(); in MarkLiveBlocks() local
117 // Check if the terminator has a single valid successor. in MarkLiveBlocks()
118 if (terminator->opcode() == SpvOpBranchConditional) { in MarkLiveBlocks()
120 if (GetConstCondition(terminator->GetSingleWordInOperand(0u), &condVal)) { in MarkLiveBlocks()
121 live_lab_id = terminator->GetSingleWordInOperand( in MarkLiveBlocks()
124 } else if (terminator->opcode() == SpvOpSwitch) { in MarkLiveBlocks()
126 if (GetConstInteger(terminator->GetSingleWordInOperand(0u), &sel_val)) { in MarkLiveBlocks()
131 terminator->WhileEachInOperand( in MarkLiveBlocks()
196 Instruction* terminator in SimplifyBranch() local
[all...]
H A Dblock_merge_util.cpp122 SpvOp succ_term_op = succ_block->terminator()->opcode(); in CanMergeWithSuccessor()
172 auto terminator = bi->terminator(); in MergeWithSuccessor() local
173 auto& vec = terminator->dbg_line_insts(); in MergeWithSuccessor()
178 terminator->ClearDbgLineInsts(); in MergeWithSuccessor()
182 // Clear debug scope of terminator to avoid DebugScope in MergeWithSuccessor()
183 // emitted between terminator and merge. in MergeWithSuccessor()
184 terminator->SetDebugScope(DebugScope(kNoDebugScope, kNoInlinedAt)); in MergeWithSuccessor()
185 // Move the merge instruction to just before the terminator. in MergeWithSuccessor()
186 merge_inst->InsertBefore(terminator); in MergeWithSuccessor()
[all...]
/third_party/spirv-tools/source/opt/
H A Ddead_branch_elim_pass.cpp111 Instruction* terminator = block->terminator(); in MarkLiveBlocks() local
113 // Check if the terminator has a single valid successor. in MarkLiveBlocks()
114 if (terminator->opcode() == spv::Op::OpBranchConditional) { in MarkLiveBlocks()
116 if (GetConstCondition(terminator->GetSingleWordInOperand(0u), &condVal)) { in MarkLiveBlocks()
117 live_lab_id = terminator->GetSingleWordInOperand( in MarkLiveBlocks()
120 } else if (terminator->opcode() == spv::Op::OpSwitch) { in MarkLiveBlocks()
122 if (GetConstInteger(terminator->GetSingleWordInOperand(0u), &sel_val)) { in MarkLiveBlocks()
127 terminator->WhileEachInOperand( in MarkLiveBlocks()
192 Instruction* terminator in SimplifyBranch() local
[all...]
/third_party/node/deps/icu-small/source/tools/toolutil/
H A Duparse.cpp300 const char **terminator, in u_parseCodePointRangeAnyTerminator()
325 *terminator=end; in u_parseCodePointRangeAnyTerminator()
344 *terminator=end; in u_parseCodePointRangeAnyTerminator()
352 const char *terminator; in u_parseCodePointRange() local
354 u_parseCodePointRangeAnyTerminator(s, pStart, pEnd, &terminator, pErrorCode); in u_parseCodePointRange()
356 terminator=u_skipWhitespace(terminator); in u_parseCodePointRange()
357 if(*terminator!=';' && *terminator!=0) { in u_parseCodePointRange()
298 u_parseCodePointRangeAnyTerminator(const char *s, uint32_t *pStart, uint32_t *pEnd, const char **terminator, UErrorCode *pErrorCode) u_parseCodePointRangeAnyTerminator() argument
/third_party/icu/icu4c/source/tools/toolutil/
H A Duparse.cpp300 const char **terminator, in u_parseCodePointRangeAnyTerminator()
325 *terminator=end; in u_parseCodePointRangeAnyTerminator()
344 *terminator=end; in u_parseCodePointRangeAnyTerminator()
352 const char *terminator; in u_parseCodePointRange() local
354 u_parseCodePointRangeAnyTerminator(s, pStart, pEnd, &terminator, pErrorCode); in u_parseCodePointRange()
356 terminator=u_skipWhitespace(terminator); in u_parseCodePointRange()
357 if(*terminator!=';' && *terminator!=0) { in u_parseCodePointRange()
298 u_parseCodePointRangeAnyTerminator(const char *s, uint32_t *pStart, uint32_t *pEnd, const char **terminator, UErrorCode *pErrorCode) u_parseCodePointRangeAnyTerminator() argument
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
H A Duparse.cpp300 const char **terminator, in u_parseCodePointRangeAnyTerminator()
325 *terminator=end; in u_parseCodePointRangeAnyTerminator()
344 *terminator=end; in u_parseCodePointRangeAnyTerminator()
352 const char *terminator; in u_parseCodePointRange() local
354 u_parseCodePointRangeAnyTerminator(s, pStart, pEnd, &terminator, pErrorCode); in u_parseCodePointRange()
356 terminator=u_skipWhitespace(terminator); in u_parseCodePointRange()
357 if(*terminator!=';' && *terminator!=0) { in u_parseCodePointRange()
298 u_parseCodePointRangeAnyTerminator(const char *s, uint32_t *pStart, uint32_t *pEnd, const char **terminator, UErrorCode *pErrorCode) u_parseCodePointRangeAnyTerminator() argument

Completed in 11 milliseconds

123456789