Home
last modified time | relevance | path

Searched refs:terminator (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/external/mesa3d/src/compiler/nir/
Dnir_opt_loop_unroll.c115 list_for_each_entry(nir_loop_terminator, terminator, 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->nif->cf_node); in simple_unroll()
474 nir_loop_terminator *terminator = loop->info->limiting_terminator; in complex_unroll_single_terminator() local
481 nir_before_cf_node(&terminator->nif->cf_node)); in complex_unroll_single_terminator()
[all …]
/external/angle/third_party/spirv-tools/src/source/val/
Dconstruct.cpp148 auto terminator = header->terminator(); in IsStructuredExit() local
149 auto index = terminator - &_.ordered_instructions()[0]; in IsStructuredExit()
159 auto terminator = header->terminator(); in IsStructuredExit() local
160 auto index = terminator - &_.ordered_instructions()[0]; in IsStructuredExit()
189 auto terminator = block->terminator(); in IsStructuredExit() local
190 auto index = terminator - &_.ordered_instructions()[0]; in IsStructuredExit()
193 (header->terminator()->opcode() != SpvOpSwitch && in IsStructuredExit()
195 terminator->opcode() == SpvOpSwitch)) { in IsStructuredExit()
213 if (terminator->opcode() == SpvOpSwitch) { in IsStructuredExit()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dconstruct.cpp148 auto terminator = header->terminator(); in IsStructuredExit() local
149 auto index = terminator - &_.ordered_instructions()[0]; in IsStructuredExit()
159 auto terminator = header->terminator(); in IsStructuredExit() local
160 auto index = terminator - &_.ordered_instructions()[0]; in IsStructuredExit()
189 auto terminator = block->terminator(); in IsStructuredExit() local
190 auto index = terminator - &_.ordered_instructions()[0]; in IsStructuredExit()
193 (header->terminator()->opcode() != SpvOpSwitch && in IsStructuredExit()
195 terminator->opcode() == SpvOpSwitch)) { in IsStructuredExit()
213 if (terminator->opcode() == SpvOpSwitch) { in IsStructuredExit()
/external/deqp-deps/SPIRV-Tools/source/val/
Dconstruct.cpp148 auto terminator = header->terminator(); in IsStructuredExit() local
149 auto index = terminator - &_.ordered_instructions()[0]; in IsStructuredExit()
159 auto terminator = header->terminator(); in IsStructuredExit() local
160 auto index = terminator - &_.ordered_instructions()[0]; in IsStructuredExit()
189 auto terminator = block->terminator(); in IsStructuredExit() local
190 auto index = terminator - &_.ordered_instructions()[0]; in IsStructuredExit()
193 (header->terminator()->opcode() != SpvOpSwitch && in IsStructuredExit()
195 terminator->opcode() == SpvOpSwitch)) { in IsStructuredExit()
213 if (terminator->opcode() == SpvOpSwitch) { in IsStructuredExit()
/external/angle/third_party/spirv-tools/src/source/reduce/
Dsimple_conditional_branch_to_branch_opportunity_finder.cpp36 Instruction* terminator = block.terminator(); in GetAvailableOpportunities() local
37 if (terminator->opcode() != SpvOpBranchConditional) { in GetAvailableOpportunities()
47 if (terminator->GetSingleWordInOperand(kTrueBranchOperandIndex) != in GetAvailableOpportunities()
48 terminator->GetSingleWordInOperand(kFalseBranchOperandIndex)) { in GetAvailableOpportunities()
54 block.terminator())); in GetAvailableOpportunities()
Dstructured_loop_to_selection_reduction_opportunity.cpp133 auto terminator = context_->cfg()->block(source_id)->terminator(); in RedirectEdge() local
138 if (terminator->opcode() == SpvOpBranch) { in RedirectEdge()
140 } else if (terminator->opcode() == SpvOpBranchConditional) { in RedirectEdge()
143 assert(terminator->opcode() == SpvOpSwitch); in RedirectEdge()
144 for (uint32_t label_index = 1; label_index < terminator->NumOperands(); in RedirectEdge()
154 if (terminator->GetSingleWordOperand(operand_index) == original_target_id) { in RedirectEdge()
155 terminator->SetOperand(operand_index, {new_target_id}); in RedirectEdge()
197 auto terminator = loop_construct_header_->terminator(); in ChangeLoopToSelection() local
198 if (terminator->opcode() == SpvOpBranch) { in ChangeLoopToSelection()
206 auto original_branch_id = terminator->GetSingleWordOperand(0); in ChangeLoopToSelection()
[all …]
Dconditional_branch_to_simple_conditional_branch_opportunity_finder.cpp42 Instruction* terminator = block.terminator(); in GetAvailableOpportunities() local
43 if (terminator->opcode() != SpvOpBranchConditional) { in GetAvailableOpportunities()
48 terminator->GetSingleWordInOperand(kTrueBranchOperandIndex); in GetAvailableOpportunities()
50 terminator->GetSingleWordInOperand(kFalseBranchOperandIndex); in GetAvailableOpportunities()
76 context, block.terminator(), redirect_to_true)); in GetAvailableOpportunities()
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dsimple_conditional_branch_to_branch_opportunity_finder.cpp36 Instruction* terminator = block.terminator(); in GetAvailableOpportunities() local
37 if (terminator->opcode() != SpvOpBranchConditional) { in GetAvailableOpportunities()
47 if (terminator->GetSingleWordInOperand(kTrueBranchOperandIndex) != in GetAvailableOpportunities()
48 terminator->GetSingleWordInOperand(kFalseBranchOperandIndex)) { in GetAvailableOpportunities()
54 block.terminator())); in GetAvailableOpportunities()
Dstructured_loop_to_selection_reduction_opportunity.cpp133 auto terminator = context_->cfg()->block(source_id)->terminator(); in RedirectEdge() local
138 if (terminator->opcode() == SpvOpBranch) { in RedirectEdge()
140 } else if (terminator->opcode() == SpvOpBranchConditional) { in RedirectEdge()
143 assert(terminator->opcode() == SpvOpSwitch); in RedirectEdge()
144 for (uint32_t label_index = 1; label_index < terminator->NumOperands(); in RedirectEdge()
154 if (terminator->GetSingleWordOperand(operand_index) == original_target_id) { in RedirectEdge()
155 terminator->SetOperand(operand_index, {new_target_id}); in RedirectEdge()
197 auto terminator = loop_construct_header_->terminator(); in ChangeLoopToSelection() local
198 if (terminator->opcode() == SpvOpBranch) { in ChangeLoopToSelection()
206 auto original_branch_id = terminator->GetSingleWordOperand(0); in ChangeLoopToSelection()
[all …]
Dconditional_branch_to_simple_conditional_branch_opportunity_finder.cpp42 Instruction* terminator = block.terminator(); in GetAvailableOpportunities() local
43 if (terminator->opcode() != SpvOpBranchConditional) { in GetAvailableOpportunities()
48 terminator->GetSingleWordInOperand(kTrueBranchOperandIndex); in GetAvailableOpportunities()
50 terminator->GetSingleWordInOperand(kFalseBranchOperandIndex); in GetAvailableOpportunities()
76 context, block.terminator(), redirect_to_true)); in GetAvailableOpportunities()
/external/deqp-deps/SPIRV-Tools/source/reduce/
Dsimple_conditional_branch_to_branch_opportunity_finder.cpp36 Instruction* terminator = block.terminator(); in GetAvailableOpportunities() local
37 if (terminator->opcode() != SpvOpBranchConditional) { in GetAvailableOpportunities()
47 if (terminator->GetSingleWordInOperand(kTrueBranchOperandIndex) != in GetAvailableOpportunities()
48 terminator->GetSingleWordInOperand(kFalseBranchOperandIndex)) { in GetAvailableOpportunities()
54 block.terminator())); in GetAvailableOpportunities()
Dstructured_loop_to_selection_reduction_opportunity.cpp133 auto terminator = context_->cfg()->block(source_id)->terminator(); in RedirectEdge() local
138 if (terminator->opcode() == SpvOpBranch) { in RedirectEdge()
140 } else if (terminator->opcode() == SpvOpBranchConditional) { in RedirectEdge()
143 assert(terminator->opcode() == SpvOpSwitch); in RedirectEdge()
144 for (uint32_t label_index = 1; label_index < terminator->NumOperands(); in RedirectEdge()
154 if (terminator->GetSingleWordOperand(operand_index) == original_target_id) { in RedirectEdge()
155 terminator->SetOperand(operand_index, {new_target_id}); in RedirectEdge()
197 auto terminator = loop_construct_header_->terminator(); in ChangeLoopToSelection() local
198 if (terminator->opcode() == SpvOpBranch) { in ChangeLoopToSelection()
206 auto original_branch_id = terminator->GetSingleWordOperand(0); in ChangeLoopToSelection()
[all …]
Dconditional_branch_to_simple_conditional_branch_opportunity_finder.cpp42 Instruction* terminator = block.terminator(); in GetAvailableOpportunities() local
43 if (terminator->opcode() != SpvOpBranchConditional) { in GetAvailableOpportunities()
48 terminator->GetSingleWordInOperand(kTrueBranchOperandIndex); in GetAvailableOpportunities()
50 terminator->GetSingleWordInOperand(kFalseBranchOperandIndex); in GetAvailableOpportunities()
76 context, block.terminator(), redirect_to_true)); in GetAvailableOpportunities()
/external/python/cpython2/Lib/
Dasynchat.py102 self.terminator = term
105 return self.terminator
131 terminator = self.get_terminator()
132 if not terminator:
136 elif isinstance(terminator, (int, long)):
138 n = terminator
142 self.terminator = self.terminator - lb
146 self.terminator = 0
156 terminator_len = len(terminator)
157 index = self.ac_in_buffer.find(terminator)
[all …]
/external/python/cpython3/Lib/
Dasynchat.py104 self.terminator = term
107 return self.terminator
135 terminator = self.get_terminator()
136 if not terminator:
140 elif isinstance(terminator, int):
142 n = terminator
146 self.terminator = self.terminator - lb
150 self.terminator = 0
160 terminator_len = len(terminator)
161 index = self.ac_in_buffer.find(terminator)
[all …]
/external/angle/third_party/spirv-tools/src/source/opt/
Ddead_branch_elim_pass.cpp114 Instruction* terminator = block->terminator(); in MarkLiveBlocks() local
117 if (terminator->opcode() == SpvOpBranchConditional) { in MarkLiveBlocks()
119 if (GetConstCondition(terminator->GetSingleWordInOperand(0u), &condVal)) { in MarkLiveBlocks()
120 live_lab_id = terminator->GetSingleWordInOperand( in MarkLiveBlocks()
123 } else if (terminator->opcode() == SpvOpSwitch) { in MarkLiveBlocks()
125 if (GetConstInteger(terminator->GetSingleWordInOperand(0u), &sel_val)) { in MarkLiveBlocks()
130 terminator->WhileEachInOperand( in MarkLiveBlocks()
195 Instruction* terminator = block->terminator(); in SimplifyBranch() local
199 if (terminator->NumInOperands() == 2) { in SimplifyBranch()
207 new_operands.push_back(terminator->GetInOperand(0)); in SimplifyBranch()
[all …]
Dblock_merge_util.cpp127 SpvOp succ_term_op = succ_block->terminator()->opcode(); in CanMergeWithSuccessor()
177 auto terminator = bi->terminator(); in MergeWithSuccessor() local
178 auto& vec = terminator->dbg_line_insts(); in MergeWithSuccessor()
181 terminator->clear_dbg_line_insts(); in MergeWithSuccessor()
184 merge_inst->InsertBefore(terminator); in MergeWithSuccessor()
/external/deqp-deps/SPIRV-Tools/source/opt/
Ddead_branch_elim_pass.cpp114 Instruction* terminator = block->terminator(); in MarkLiveBlocks() local
117 if (terminator->opcode() == SpvOpBranchConditional) { in MarkLiveBlocks()
119 if (GetConstCondition(terminator->GetSingleWordInOperand(0u), &condVal)) { in MarkLiveBlocks()
120 live_lab_id = terminator->GetSingleWordInOperand( in MarkLiveBlocks()
123 } else if (terminator->opcode() == SpvOpSwitch) { in MarkLiveBlocks()
125 if (GetConstInteger(terminator->GetSingleWordInOperand(0u), &sel_val)) { in MarkLiveBlocks()
130 terminator->WhileEachInOperand( in MarkLiveBlocks()
195 Instruction* terminator = block->terminator(); in SimplifyBranch() local
199 if (terminator->NumInOperands() == 2) { in SimplifyBranch()
207 new_operands.push_back(terminator->GetInOperand(0)); in SimplifyBranch()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Ddead_branch_elim_pass.cpp114 Instruction* terminator = block->terminator(); in MarkLiveBlocks() local
117 if (terminator->opcode() == SpvOpBranchConditional) { in MarkLiveBlocks()
119 if (GetConstCondition(terminator->GetSingleWordInOperand(0u), &condVal)) { in MarkLiveBlocks()
120 live_lab_id = terminator->GetSingleWordInOperand( in MarkLiveBlocks()
123 } else if (terminator->opcode() == SpvOpSwitch) { in MarkLiveBlocks()
125 if (GetConstInteger(terminator->GetSingleWordInOperand(0u), &sel_val)) { in MarkLiveBlocks()
130 terminator->WhileEachInOperand( in MarkLiveBlocks()
195 Instruction* terminator = block->terminator(); in SimplifyBranch() local
199 if (terminator->NumInOperands() == 2) { in SimplifyBranch()
207 new_operands.push_back(terminator->GetInOperand(0)); in SimplifyBranch()
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES3/
DPVRTgles3Ext.cpp77 GLubyte *where, *terminator; in IsGLExtensionSupported() local
93 terminator = where + strlen(extension); in IsGLExtensionSupported()
95 if (*terminator == ' ' || *terminator == '\0') in IsGLExtensionSupported()
97 start = terminator; in IsGLExtensionSupported()
/external/jsilver/src/com/google/streamhtmlparser/util/
DEntityResolver.java231 private String convertEntity(char terminator) { in convertEntity() argument
239 return uncovertedInput(terminator); in convertEntity()
250 return uncovertedInput(terminator); in convertEntity()
261 return uncovertedInput(terminator); in convertEntity()
264 private String uncovertedInput(char terminator) { in uncovertedInput() argument
265 return String.format("%s%c", sb.toString(), terminator); in uncovertedInput()
/external/icu/icu4c/source/tools/toolutil/
Duparse.cpp300 const char **terminator, in u_parseCodePointRangeAnyTerminator() argument
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()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_dead_block.cpp64 if (existing_block->terminator()->opcode() != SpvOpBranch) { in IsApplicable()
70 existing_block->terminator()->GetSingleWordInOperand(0); in IsApplicable()
92 existing_block->terminator()->GetSingleWordInOperand(0); in Apply()
111 existing_block->terminator()->InsertBefore(MakeUnique<opt::Instruction>( in Apply()
122 existing_block->terminator()->SetOpcode(SpvOpBranchConditional); in Apply()
123 existing_block->terminator()->SetInOperands( in Apply()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_add_dead_block.cpp63 if (existing_block->terminator()->opcode() != SpvOpBranch) { in IsApplicable()
69 existing_block->terminator()->GetSingleWordInOperand(0); in IsApplicable()
92 existing_block->terminator()->GetSingleWordInOperand(0); in Apply()
112 existing_block->terminator()->InsertBefore(MakeUnique<opt::Instruction>( in Apply()
123 existing_block->terminator()->SetOpcode(SpvOpBranchConditional); in Apply()
124 existing_block->terminator()->SetInOperands( in Apply()
/external/angle/third_party/spirv-tools/src/source/fuzz/
Dtransformation_add_dead_block.cpp63 if (existing_block->terminator()->opcode() != SpvOpBranch) { in IsApplicable()
69 existing_block->terminator()->GetSingleWordInOperand(0); in IsApplicable()
92 existing_block->terminator()->GetSingleWordInOperand(0); in Apply()
112 existing_block->terminator()->InsertBefore(MakeUnique<opt::Instruction>( in Apply()
123 existing_block->terminator()->SetOpcode(SpvOpBranchConditional); in Apply()
124 existing_block->terminator()->SetInOperands( in Apply()

12345678910>>...13