Home
last modified time | relevance | path

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

12345678910>>...24

/external/llvm-project/flang/runtime/
Dcharacter.cpp73 const Descriptor &y, const Terminator &terminator) { in Compare() argument
75 terminator, x.rank() == y.rank() || x.rank() == 0 || y.rank() == 0); in Compare()
85 terminator.Crash("Character array comparison: operands are not " in Compare()
99 terminator.Crash("Compare: could not allocate storage for result"); in Compare()
137 const Terminator &terminator) { in AdjustLRHelper() argument
150 terminator.Crash("ADJUSTL/R: could not allocate storage for result"); in AdjustLRHelper()
162 Terminator terminator{sourceFile, sourceLine}; in AdjustLR() local
165 AdjustLRHelper<char, ADJUSTR>(result, string, terminator); in AdjustLR()
168 AdjustLRHelper<char16_t, ADJUSTR>(result, string, terminator); in AdjustLR()
171 AdjustLRHelper<char32_t, ADJUSTR>(result, string, terminator); in AdjustLR()
[all …]
Dtransformational.cpp28 Terminator terminator{__FILE__, __LINE__}; in GetInt64()
29 terminator.Crash("no case for %dz bytes", bytes); in GetInt64()
37 Terminator terminator{__FILE__, __LINE__}; in RESHAPE() local
38 RUNTIME_CHECK(terminator, shape.rank() == 1); in RESHAPE()
39 RUNTIME_CHECK(terminator, shape.type().IsInteger()); in RESHAPE()
41 RUNTIME_CHECK(terminator, in RESHAPE()
54 RUNTIME_CHECK(terminator, resultExtent[j] >= 0); in RESHAPE()
64 RUNTIME_CHECK(terminator, padElements > 0); in RESHAPE()
65 RUNTIME_CHECK(terminator, pad->ElementBytes() == elementBytes); in RESHAPE()
72 RUNTIME_CHECK(terminator, order->rank() == 1); in RESHAPE()
[all …]
Dallocatable.cpp58 Terminator terminator{sourceFile, sourceLine}; in RTNAME() local
60 return ReturnError(terminator, StatInvalidDescriptor, errMsg, hasStat); in RTNAME()
63 return ReturnError(terminator, StatBaseNotNull, errMsg, hasStat); in RTNAME()
65 return ReturnError(terminator, descriptor.Allocate(), errMsg, hasStat); in RTNAME()
70 Terminator terminator{sourceFile, sourceLine}; in RTNAME() local
72 return ReturnError(terminator, StatInvalidDescriptor, errMsg, hasStat); in RTNAME()
75 return ReturnError(terminator, StatBaseNull, errMsg, hasStat); in RTNAME()
77 return ReturnError(terminator, descriptor.Deallocate(), errMsg, hasStat); in RTNAME()
/external/deqp-deps/SPIRV-Tools/source/reduce/
Dstructured_loop_to_selection_reduction_opportunity.cpp130 auto terminator = context_->cfg()->block(source_id)->terminator(); in RedirectEdge() local
135 if (terminator->opcode() == SpvOpBranch) { in RedirectEdge()
137 } else if (terminator->opcode() == SpvOpBranchConditional) { in RedirectEdge()
140 assert(terminator->opcode() == SpvOpSwitch); in RedirectEdge()
141 for (uint32_t label_index = 1; label_index < terminator->NumOperands(); in RedirectEdge()
151 if (terminator->GetSingleWordOperand(operand_index) == original_target_id) { in RedirectEdge()
152 terminator->SetOperand(operand_index, {new_target_id}); in RedirectEdge()
195 auto terminator = loop_construct_header_->terminator(); in ChangeLoopToSelection() local
196 if (terminator->opcode() == SpvOpBranch) { in ChangeLoopToSelection()
204 auto original_branch_id = terminator->GetSingleWordOperand(0); in ChangeLoopToSelection()
[all …]
Dsimple_conditional_branch_to_branch_opportunity_finder.cpp33 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()
Dconditional_branch_to_simple_conditional_branch_opportunity_finder.cpp40 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()
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dstructured_loop_to_selection_reduction_opportunity.cpp130 auto terminator = context_->cfg()->block(source_id)->terminator(); in RedirectEdge() local
135 if (terminator->opcode() == SpvOpBranch) { in RedirectEdge()
137 } else if (terminator->opcode() == SpvOpBranchConditional) { in RedirectEdge()
140 assert(terminator->opcode() == SpvOpSwitch); in RedirectEdge()
141 for (uint32_t label_index = 1; label_index < terminator->NumOperands(); in RedirectEdge()
151 if (terminator->GetSingleWordOperand(operand_index) == original_target_id) { in RedirectEdge()
152 terminator->SetOperand(operand_index, {new_target_id}); in RedirectEdge()
195 auto terminator = loop_construct_header_->terminator(); in ChangeLoopToSelection() local
196 if (terminator->opcode() == SpvOpBranch) { in ChangeLoopToSelection()
204 auto original_branch_id = terminator->GetSingleWordOperand(0); in ChangeLoopToSelection()
[all …]
Dsimple_conditional_branch_to_branch_opportunity_finder.cpp33 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()
Dconditional_branch_to_simple_conditional_branch_opportunity_finder.cpp40 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()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/reduce/
Dstructured_loop_to_selection_reduction_opportunity.cpp127 auto terminator = context_->cfg()->block(source_id)->terminator(); in RedirectEdge() local
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 = loop_construct_header_->terminator(); in ChangeLoopToSelection() local
193 if (terminator->opcode() == SpvOpBranch) { in ChangeLoopToSelection()
201 auto original_branch_id = terminator->GetSingleWordOperand(0); in ChangeLoopToSelection()
[all …]
Dsimple_conditional_branch_to_branch_opportunity_finder.cpp33 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()
Dconditional_branch_to_simple_conditional_branch_opportunity_finder.cpp40 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()
/external/rust/crates/bstr/src/
Dio.rs95 fn byte_records(self, terminator: u8) -> ByteRecords<Self> in byte_records()
99 ByteRecords { terminator, buf: self } in byte_records()
187 terminator: u8, in for_byte_record()
194 self.for_byte_record_with_terminator(terminator, |chunk| { in for_byte_record()
195 for_each_record(&trim_record_slice(&chunk, terminator)) in for_byte_record()
291 terminator: u8, in for_byte_record_with_terminator()
305 while let Some(index) = buf.find_byte(terminator) { in for_byte_record_with_terminator()
333 self.read_until(terminator, &mut bytes)?; in for_byte_record_with_terminator()
374 terminator: u8, field
398 match self.buf.read_until(self.terminator, &mut bytes) { in next()
[all …]
/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/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/angle/third_party/vulkan-deps/spirv-tools/src/source/val/
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()
194 auto terminator = block->terminator(); in IsStructuredExit() local
195 auto index = terminator - &_.ordered_instructions()[0]; in IsStructuredExit()
198 (header->terminator()->opcode() != SpvOpSwitch && in IsStructuredExit()
200 terminator->opcode() == SpvOpSwitch)) { in IsStructuredExit()
218 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/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/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_replace_branch_from_dead_block_with_exit.cpp81 ir_context, block->terminator(), message_.return_value_id())) { in IsApplicable()
99 assert(block->terminator()->opcode() == SpvOpBranch && in Apply()
102 block->terminator()->GetSingleWordInOperand(0)); in Apply()
122 auto terminator = block->terminator(); in Apply() local
123 terminator->SetOpcode(static_cast<SpvOp>(message_.opcode())); in Apply()
124 terminator->SetInOperands(std::move(new_terminator_in_operands)); in Apply()
149 if (block.terminator()->opcode() != SpvOpBranch) { in BlockIsSuitable()
161 block.terminator()->GetSingleWordInOperand(0)); in BlockIsSuitable()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_replace_branch_from_dead_block_with_exit.cpp80 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()
121 auto terminator = block->terminator(); in Apply() local
122 terminator->SetOpcode(static_cast<SpvOp>(message_.opcode())); in Apply()
123 terminator->SetInOperands(std::move(new_terminator_in_operands)); in Apply()
148 if (block.terminator()->opcode() != SpvOpBranch) { in BlockIsSuitable()
160 block.terminator()->GetSingleWordInOperand(0)); in BlockIsSuitable()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_replace_branch_from_dead_block_with_exit.cpp81 ir_context, block->terminator(), message_.return_value_id())) { in IsApplicable()
99 assert(block->terminator()->opcode() == SpvOpBranch && in Apply()
102 block->terminator()->GetSingleWordInOperand(0)); in Apply()
122 auto terminator = block->terminator(); in Apply() local
123 terminator->SetOpcode(static_cast<SpvOp>(message_.opcode())); in Apply()
124 terminator->SetInOperands(std::move(new_terminator_in_operands)); in Apply()
149 if (block.terminator()->opcode() != SpvOpBranch) { in BlockIsSuitable()
161 block.terminator()->GetSingleWordInOperand(0)); in BlockIsSuitable()
/external/llvm-project/mlir/lib/Dialect/LLVMIR/Transforms/
DLegalizeForExport.cpp19 auto *terminator = bb.getTerminator(); in ensureDistinctSuccessors() local
23 for (int i = 0, e = terminator->getNumSuccessors(); i < e; ++i) { in ensureDistinctSuccessors()
24 Block *successor = terminator->getSuccessor(i); in ensureDistinctSuccessors()
38 OpBuilder builder(terminator->getContext()); in ensureDistinctSuccessors()
43 terminator->setSuccessor(dummyBlock, position); in ensureDistinctSuccessors()
45 builder.create<LLVM::BrOp>(terminator->getLoc(), in ensureDistinctSuccessors()
/external/llvm-project/mlir/test/Dialect/OpenMP/
Dops.mlir12 // CHECK: omp.terminator
13 omp.terminator
50 // CHECK: omp.terminator
51 omp.terminator
61 omp.terminator
70 omp.terminator
76 omp.terminator
79 omp.terminator
85 omp.terminator
94 omp.terminator
[all …]
/external/llvm-project/mlir/test/Target/
Dopenmp-llvm.mlir49 omp.terminator
74 omp.terminator
97 omp.terminator
114 omp.terminator
131 omp.terminator
139 omp.terminator
176 omp.terminator
194 omp.terminator
201 omp.terminator
208 omp.terminator
[all …]

12345678910>>...24