Home
last modified time | relevance | path

Searched full:terminator (Results 1 – 25 of 2366) sorted by relevance

12345678910>>...95

/external/swiftshader/third_party/subzero/unittest/
DIceParseInstsTest.cpp38 1, naclbitc::BLK_CODE_ENTER, naclbitc::MODULE_BLOCK_ID, 2, Terminator, 1, in TEST()
39 naclbitc::BLK_CODE_ENTER, naclbitc::TYPE_BLOCK_ID_NEW, 2, Terminator, 3, in TEST()
40 naclbitc::TYPE_CODE_NUMENTRY, 3, Terminator, 3, in TEST()
41 naclbitc::TYPE_CODE_INTEGER, 32, Terminator, 3, naclbitc::TYPE_CODE_VOID, in TEST()
42 Terminator, 3, naclbitc::TYPE_CODE_FUNCTION, 0, 1, 0, 0, Terminator, 0, in TEST()
43 naclbitc::BLK_CODE_EXIT, Terminator, 3, naclbitc::MODULE_CODE_FUNCTION, 2, in TEST()
44 0, 1, 3, Terminator, 3, naclbitc::MODULE_CODE_FUNCTION, 2, 0, 0, 3, in TEST()
45 Terminator, 1, naclbitc::BLK_CODE_ENTER, naclbitc::FUNCTION_BLOCK_ID, 2, in TEST()
46 Terminator, 3, naclbitc::FUNC_CODE_DECLAREBLOCKS, 1, Terminator, in TEST()
48 3, naclbitc::FUNC_CODE_INST_CALL, 0, 4, 2, 100, Terminator, 3, in TEST()
[all …]
/external/llvm-project/flang/runtime/
Dcharacter.cpp11 #include "terminator.h"
73 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()
[all …]
Dmemory.h19 class Terminator; variable
22 const Terminator &, std::size_t bytes);
23 template <typename A> [[nodiscard]] A &AllocateOrCrash(const Terminator &t) { in AllocateOrCrash()
43 explicit SizedNew(const Terminator &terminator) : terminator_{terminator} {} in SizedNew() argument
51 const Terminator &terminator_;
63 explicit Allocator(const Terminator &t) : terminator{t} {} in Allocator()
66 : terminator{that.terminator} {} in Allocator()
71 AllocateMemoryOrCrash(terminator, n * sizeof(A))); in allocate()
74 const Terminator &terminator; member
Dtransformational.cpp11 #include "terminator.h"
28 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()
[all …]
Dterminator.h1 //===-- runtime/terminator.h ------------------------------------*- C++ -*-===//
21 class Terminator {
23 Terminator() {} in Terminator() function
24 Terminator(const Terminator &) = default;
25 explicit Terminator(const char *sourceFileName, int sourceLine = 0)
47 #define RUNTIME_CHECK(terminator, pred) \ argument
51 (terminator).CheckFailed(#pred, __FILE__, __LINE__)
57 Terminator{__FILE__, __LINE__}.CheckFailed(#pred)
65 void FlushOutputOnCrash(const Terminator &);
Dallocatable.cpp11 #include "terminator.h"
58 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()
Dio-api.cpp20 #include "terminator.h"
49 Terminator oom{sourceFile, sourceLine}; in BeginInternalArrayListIO()
74 Terminator oom{sourceFile, sourceLine}; in BeginInternalArrayFormattedIO()
100 Terminator oom{sourceFile, sourceLine}; in BeginInternalListIO()
127 Terminator oom{sourceFile, sourceLine}; in BeginInternalFormattedIO()
153 Terminator terminator{sourceFile, sourceLine}; in BeginExternalListIO() local
158 unitNumber, DIR, false /*formatted*/, terminator)}; in BeginExternalListIO()
160 terminator.Crash("List-directed I/O attempted on direct access file"); in BeginExternalListIO()
164 terminator.Crash("List-directed I/O attempted on unformatted file"); in BeginExternalListIO()
167 IoErrorHandler handler{terminator}; in BeginExternalListIO()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZLongBranch.cpp98 // Represents the state of a block terminator.
100 // If this terminator is a relaxable branch, this points to the branch
104 // The address that we currently assume the terminator has.
107 // The current size of the terminator in bytes.
152 void skipTerminator(BlockPosition &Position, TerminatorInfo &Terminator,
156 bool mustRelaxBranch(const TerminatorInfo &Terminator, uint64_t Address);
161 void relaxBranch(TerminatorInfo &Terminator);
178 // accordingly and move Position to the end of the block's non-terminator
200 // Position describes the state immediately before Terminator.
201 // Update Terminator accordingly and move Position past it.
[all …]
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZLongBranch.cpp98 // Represents the state of a block terminator.
100 // If this terminator is a relaxable branch, this points to the branch
104 // The address that we currently assume the terminator has.
107 // The current size of the terminator in bytes.
152 void skipTerminator(BlockPosition &Position, TerminatorInfo &Terminator,
156 bool mustRelaxBranch(const TerminatorInfo &Terminator, uint64_t Address);
161 void relaxBranch(TerminatorInfo &Terminator);
178 // accordingly and move Position to the end of the block's non-terminator
200 // Position describes the state immediately before Terminator.
201 // Update Terminator accordingly and move Position past it.
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZLongBranch.cpp93 // Represents the state of a block terminator.
95 // If this terminator is a relaxable branch, this points to the branch
99 // The address that we currently assume the terminator has.
102 // The current size of the terminator in bytes.
148 void skipTerminator(BlockPosition &Position, TerminatorInfo &Terminator,
152 bool mustRelaxBranch(const TerminatorInfo &Terminator, uint64_t Address);
157 void relaxBranch(TerminatorInfo &Terminator);
177 // accordingly and move Position to the end of the block's non-terminator
200 // Position describes the state immediately before Terminator.
201 // Update Terminator accordingly and move Position past it.
[all …]
/external/python/cpython3/Lib/
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
68 # for string terminator matching
104 self.terminator = term
107 return self.terminator
111 # check for the terminator,
128 # Continue to search for self.terminator in self.ac_in_buffer,
130 # is necessary because we might read several data+terminator
135 terminator = self.get_terminator()
[all …]
/external/python/cpython2/Lib/
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
70 # for string terminator matching
102 self.terminator = term
105 return self.terminator
109 # check for the terminator,
124 # Continue to search for self.terminator in self.ac_in_buffer,
126 # is necessary because we might read several data+terminator
131 terminator = self.get_terminator()
[all …]
/external/elfutils/tests/
Dtestfile-sizes4.s42 .byte 0x0 /* Terminator */
43 .byte 0x0 /* Terminator */
51 .byte 0x0 /* Terminator */
52 .byte 0x0 /* Terminator */
58 .byte 0x0 /* Terminator */
59 .byte 0x0 /* Terminator */
67 .byte 0x0 /* Terminator */
68 .byte 0x0 /* Terminator */
74 .byte 0x0 /* Terminator */
75 .byte 0x0 /* Terminator */
[all …]
/external/rust/crates/csv-core/src/
Dlib.rs77 let (_, n) = wtr.terminator(&mut out[nout..]);
113 /// A record terminator.
115 /// Use this to specify the record terminator while parsing CSV. The default is
116 /// CRLF, which treats `\r`, `\n` or `\r\n` as a single record terminator.
118 pub enum Terminator { enum
119 /// Parses `\r`, `\n` or `\r\n` as a single record terminator.
121 /// Parses the byte given as a record terminator.
132 impl Terminator { impl
133 /// Checks whether the terminator is set to CRLF.
136 Terminator::CRLF => true, in is_crlf()
[all …]
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_replace_branch_from_dead_block_with_exit.cpp40 // The block whose terminator is to be changed must exist. in IsApplicable()
71 // If the terminator is to be changed to OpReturnValue, with in IsApplicable()
74 // at the block terminator. in IsApplicable()
81 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()
116 // Rewrite the terminator of |message_.block_id|. 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()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_replace_branch_from_dead_block_with_exit.cpp40 // The block whose terminator is to be changed must exist. in IsApplicable()
71 // If the terminator is to be changed to OpReturnValue, with in IsApplicable()
74 // at the block terminator. in IsApplicable()
81 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()
116 // Rewrite the terminator of |message_.block_id|. 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()
[all …]
/external/llvm-project/llvm/test/ObjectYAML/MachO/
DDWARF-debug_str.yaml325 …est generating and dumping a __debug_str section which contains a string without a null terminator.
327 # RUN: yaml2obj --docnum=3 %s | obj2yaml | FileCheck %s --check-prefix=NO-TERMINATOR
329 # NO-TERMINATOR-NOT: DWARF:
330 # NO-TERMINATOR: Sections:
331 # NO-TERMINATOR-NEXT: - sectname: __debug_str
332 # NO-TERMINATOR-NEXT: segname: __DWARF
333 # NO-TERMINATOR-NEXT: addr: 0x0
334 # NO-TERMINATOR-NEXT: size: 7
335 # NO-TERMINATOR-NEXT: offset: 0x210
336 # NO-TERMINATOR-NEXT: align: 0
[all …]
/external/mesa3d/src/compiler/nir/
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->nif->cf_node); in simple_unroll()
[all …]
/external/tcpdump/tests/
Dlacp-ev.out10 Terminator TLV (0x00), length 0
20 Terminator TLV (0x00), length 0
30 Terminator TLV (0x00), length 0
40 Terminator TLV (0x00), length 0
50 Terminator TLV (0x00), length 0
60 Terminator TLV (0x00), length 0
70 Terminator TLV (0x00), length 0
80 Terminator TLV (0x00), length 0
90 Terminator TLV (0x00), length 0
100 Terminator TLV (0x00), length 0
[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 …]
/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
132 // Figure out which operands of the terminator need to be considered for in RedirectEdge()
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()
[all …]
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()
/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
132 // Figure out which operands of the terminator need to be considered for in RedirectEdge()
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()
[all …]
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()
/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 …]

12345678910>>...95