Home
last modified time | relevance | path

Searched refs:Begin (Results 1 – 25 of 341) sorted by relevance

12345678910>>...14

/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Support/
H A DBumpVector.h69 T *Begin = nullptr; variable
82 destroy_range(Begin, End); in ~BumpVector()
101 iterator begin() { return Begin; } in begin()
102 const_iterator begin() const { return Begin; } in begin()
114 bool empty() const { return Begin == End; } in empty()
115 size_type size() const { return End-Begin; } in size()
118 assert(Begin + idx < End);
119 return Begin[idx];
122 assert(Begin + idx < End);
123 return Begin[idx];
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTVector.h38 T *Begin = nullptr;
54 ASTVector(ASTVector &&O) : Begin(O.Begin), End(O.End), Capacity(O.Capacity) { in ASTVector()
55 O.Begin = O.End = nullptr; in ASTVector()
69 swap(Begin, O.Begin);
78 destroy_range(Begin, End); in ~ASTVector()
97 iterator begin() { return Begin; } in begin()
98 const_iterator begin() const { return Begin; } in begin()
108 bool empty() const { return Begin == End; } in empty()
109 size_type size() const { return End-Begin; } in size()
112 assert(Begin + idx < End);
[all …]
H A DExprOpenMP.h99 Stmt **Begin = reinterpret_cast<Stmt **>(getTrailingObjects<Expr *>()); in children() local
100 return child_range(Begin, Begin + NumDims + 1); in children()
103 Stmt *const *Begin = in children() local
105 return const_child_range(Begin, Begin + NumDims + 1); in children()
155 Expr *Begin = nullptr; member
174 Begin = 0, enumerator
214 void setIteratorRange(unsigned I, Expr *Begin, SourceLocation ColonLoc,
287 Stmt **Begin = reinterpret_cast<Stmt **>(getTrailingObjects<Expr *>()); in children() local
289 Begin, Begin + NumIterators * static_cast<int>(RangeExprOffset::Total)); in children()
292 Stmt *const *Begin = in children() local
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingBuffer.c67 uint64_t __llvm_profile_get_num_data(const __llvm_profile_data *Begin, in __llvm_profile_get_num_data() argument
69 intptr_t BeginI = (intptr_t)Begin, EndI = (intptr_t)End; in __llvm_profile_get_num_data()
75 uint64_t __llvm_profile_get_data_size(const __llvm_profile_data *Begin, in __llvm_profile_get_data_size() argument
77 return __llvm_profile_get_num_data(Begin, End) * sizeof(__llvm_profile_data); in __llvm_profile_get_data_size()
87 uint64_t __llvm_profile_get_num_vtable(const VTableProfData *Begin, in __llvm_profile_get_num_vtable() argument
90 intptr_t EndI = (intptr_t)End, BeginI = (intptr_t)Begin; in __llvm_profile_get_num_vtable()
95 uint64_t __llvm_profile_get_vtable_section_size(const VTableProfData *Begin, in __llvm_profile_get_vtable_section_size() argument
97 return (intptr_t)(End) - (intptr_t)(Begin); in __llvm_profile_get_vtable_section_size()
107 uint64_t __llvm_profile_get_num_counters(const char *Begin, const char *End) { in __llvm_profile_get_num_counters() argument
108 intptr_t BeginI = (intptr_t)Begin, EndI = (intptr_t)End; in __llvm_profile_get_num_counters()
[all …]
H A DInstrProfiling.h247 uint64_t __llvm_profile_get_num_data(const __llvm_profile_data *Begin,
251 uint64_t __llvm_profile_get_data_size(const __llvm_profile_data *Begin,
258 uint64_t __llvm_profile_get_num_counters(const char *Begin, const char *End);
261 uint64_t __llvm_profile_get_counters_size(const char *Begin, const char *End);
264 uint64_t __llvm_profile_get_num_bitmap_bytes(const char *Begin,
268 uint64_t __llvm_profile_get_name_size(const char *Begin, const char *End);
271 uint64_t __llvm_profile_get_num_vtable(const VTableProfData *Begin,
275 uint64_t __llvm_profile_get_vtable_section_size(const VTableProfData *Begin,
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNIterativeScheduler.cpp46 MachineBasicBlock::iterator Begin, in printRegion() argument
51 auto *BB = Begin->getParent(); in printRegion()
54 auto I = Begin; in printRegion()
77 MachineBasicBlock::iterator Begin, in printLivenessInfo() argument
80 auto *const BB = Begin->getParent(); in printLivenessInfo()
83 const auto LiveIns = getLiveRegsBefore(*Begin, *LIS); in printLivenessInfo()
96 printRegion(OS, R->Begin, R->End, LIS, 1); in printRegions()
97 printLivenessInfo(OS, R->Begin, R->End, LIS); in printRegions()
107 printRegion(OS, R->Begin, R->End, LIS); in printSchedResult()
125 for (MachineBasicBlock::iterator I = R.Begin; I != R.End; I++) { in swapIGLPMutations()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DParallel.cpp211 void llvm::parallelFor(size_t Begin, size_t End, in parallelFor() argument
215 auto NumItems = End - Begin; in parallelFor()
223 for (; Begin + TaskSize < End; Begin += TaskSize) { in parallelFor()
225 for (size_t I = Begin, E = Begin + TaskSize; I != E; ++I) in parallelFor()
229 if (Begin != End) { in parallelFor()
231 for (size_t I = Begin; I != End; ++I) in parallelFor()
239 for (; Begin != End; ++Begin) in parallelFor()
240 Fn(Begin); in parallelFor()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp328 SourceLocation Begin, SourceLocation End, const SourceManager *SM, in computeCommonMacroArgExpansionFileIDs() argument
332 getMacroArgExpansionFileIDs(Begin, BeginArgExpansions, /*IsBegin=*/true, SM); in computeCommonMacroArgExpansionFileIDs()
362 SourceLocation Begin = Range.getBegin(), End = Range.getEnd(); in mapDiagnosticRanges() local
365 FileID BeginFileID = SM->getFileID(Begin); in mapDiagnosticRanges()
372 while (Begin.isMacroID() && BeginFileID != EndFileID) { in mapDiagnosticRanges()
373 BeginLocsMap[BeginFileID] = Begin; in mapDiagnosticRanges()
374 Begin = SM->getImmediateExpansionRange(Begin).getBegin(); in mapDiagnosticRanges()
375 BeginFileID = SM->getFileID(Begin); in mapDiagnosticRanges()
387 Begin = BeginLocsMap[EndFileID]; in mapDiagnosticRanges()
396 if (Begin.isInvalid() || End.isInvalid() || BeginFileID != EndFileID) in mapDiagnosticRanges()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSequence.h273 explicit iota_range(T Begin, T End, bool Inclusive) in iota_range()
274 : BeginValue(Begin), PastEndValue(End) { in iota_range()
275 assert(Begin <= End && "Begin must be less or equal to End."); in iota_range()
299 /// Iterate over an integral type from Begin up to - but not including - End.
300 /// Note: Begin and End values have to be within [INTMAX_MIN, INTMAX_MAX] for
305 auto seq(T Begin, T End) { in seq() argument
306 return iota_range<T>(Begin, End, false); in seq()
319 /// Iterate over an integral type from Begin to End inclusive.
320 /// Note: Begin an
315 seq_inclusive(T Begin,T End) seq_inclusive() argument
327 enum_seq(EnumT Begin,EnumT End) enum_seq() argument
342 enum_seq(EnumT Begin,EnumT End,force_iteration_on_noniterable_enum_t) enum_seq() argument
354 enum_seq_inclusive(EnumT Begin,EnumT End) enum_seq_inclusive() argument
369 enum_seq_inclusive(EnumT Begin,EnumT End,force_iteration_on_noniterable_enum_t) enum_seq_inclusive() argument
[all...]
H A DBitVector.h195 int find_first_in(unsigned Begin, unsigned End, bool Set = true) const {
196 assert(Begin <= End && End <= Size);
197 if (Begin == End)
200 unsigned FirstWord = Begin / BITWORD_SIZE;
214 unsigned FirstBit = Begin % BITWORD_SIZE;
230 int find_last_in(unsigned Begin, unsigned End) const { in find_last_in() argument
231 assert(Begin <= End && End <= Size); in find_last_in()
232 if (Begin == End) in find_last_in()
236 unsigned FirstWord = Begin / BITWORD_SIZE; in find_last_in()
248 unsigned FirstBit = Begin % BITWORD_SIZE; in find_last_in()
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/begin/
H A Dtst.multibegin.d.out1 Begin fired first
2 Begin fired second
3 Begin fired third
4 Begin fired fourth
5 Begin fired fifth
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_utils.cpp49 void LogWriter::WriteAll(const char *Begin, const char *End) XRAY_NEVER_INSTRUMENT { in WriteAll() argument
50 if (Begin == End) in WriteAll()
52 auto TotalBytes = std::distance(Begin, End); in WriteAll()
67 zx_status_t Status = _zx_vmo_write(Vmo, Begin, Offset, TotalBytes); in WriteAll()
140 void LogWriter::WriteAll(const char *Begin, const char *End) XRAY_NEVER_INSTRUMENT {
141 if (Begin == End)
143 auto TotalBytes = std::distance(Begin, End);
144 while (auto Written = write(Fd, Begin, TotalBytes)) {
154 Begin += Written;
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DCommandLineSourceLoc.h69 std::pair<unsigned, unsigned> Begin; member
102 auto Begin = ParsedSourceLocation::FromString(RangeSplit.first); in fromString() local
103 if (Begin.FileName.empty()) in fromString()
106 EndLine = Begin.Line; in fromString()
107 EndColumn = Begin.Column; in fromString()
109 return ParsedSourceRange{std::move(Begin.FileName), in fromString()
110 {Begin.Line, Begin.Column}, in fromString()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DFaultMapParser.h124 const uint8_t *Begin = P + FunctionFaultInfosOffset + in getFunctionFaultInfoAt() local
126 return FunctionFaultInfoAccessor(Begin, E); in getFunctionFaultInfoAt()
133 const uint8_t *Begin = P + MySize; in getNextFunctionInfo() local
134 assert(Begin < E && "out of bounds!"); in getNextFunctionInfo()
135 return FunctionInfoAccessor(Begin, E); in getNextFunctionInfo()
139 explicit FaultMapParser(const uint8_t *Begin, const uint8_t *End) in FaultMapParser() argument
140 : P(Begin), E(End) {} in FaultMapParser()
153 const uint8_t *Begin = P + FunctionInfosOffset; in getFirstFunctionInfo() local
154 return FunctionInfoAccessor(Begin, E); in getFirstFunctionInfo()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaFixItUtils.cpp59 const SourceLocation Begin = FullExpr->getSourceRange().getBegin(); in tryToFixConversion() local
98 S, Begin, VK_LValue); in tryToFixConversion()
109 CharSourceRange::getTokenRange(Begin, Begin))); in tryToFixConversion()
112 Hints.push_back(FixItHint::CreateInsertion(Begin, "*(")); in tryToFixConversion()
115 Hints.push_back(FixItHint::CreateInsertion(Begin, "*")); in tryToFixConversion()
140 Begin, VK_PRValue); in tryToFixConversion()
147 CharSourceRange::getTokenRange(Begin, Begin))); in tryToFixConversion()
150 Hints.push_back(FixItHint::CreateInsertion(Begin, "&(")); in tryToFixConversion()
153 Hints.push_back(FixItHint::CreateInsertion(Begin, "&")); in tryToFixConversion()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DLazyRandomTypeCollection.cpp226 auto Begin = Types.begin(); in fullScanForType() local
239 Begin = Types.at(Offset); in fullScanForType()
240 ++Begin; in fullScanForType()
244 while (Begin != End) { in fullScanForType()
248 Records[Idx].Type = *Begin; in fullScanForType()
249 Records[Idx].Offset = Begin.offset(); in fullScanForType()
251 ++Begin; in fullScanForType()
260 void LazyRandomTypeCollection::visitRange(TypeIndex Begin, uint32_t BeginOffset, in visitRange() argument
266 while (Begin != End) { in visitRange()
267 LargestTypeIndex = std::max(LargestTypeIndex, Begin); in visitRange()
[all …]
H A DCVSymbolVisitor.cpp102 for (auto Begin = Symbols.begin(), End = Symbols.end(); Begin != End; in visitSymbolStreamFiltered() local
103 ++Begin) { in visitSymbolStreamFiltered()
104 uint32_t BeginOffset = Begin.offset(); in visitSymbolStreamFiltered()
105 CVSymbol BeginSym = *Begin; in visitSymbolStreamFiltered()
107 if (symbolOpensScope(Begin->kind())) { in visitSymbolStreamFiltered()
132 if (symbolEndsScope(Begin->kind())) in visitSymbolStreamFiltered()
139 if (symbolOpensScope(Begin->kind())) in visitSymbolStreamFiltered()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DConstantInitBuilder.cpp132 Builder.Buffer.size() - Begin); in getRelativeOffset()
163 getGEPIndicesTo(entry.Indices, position + Begin); in getAddrOfPosition()
186 Parent->getGEPIndicesTo(indices, Begin); in getGEPIndicesTo()
194 assert(position >= Begin); in getGEPIndicesTo()
198 position - Begin)); in getGEPIndicesTo()
233 if (cacheEnd < Begin) { in getOffsetFromGlobalTo()
236 cacheEnd = Begin; in getOffsetFromGlobalTo()
237 offset = Parent->getOffsetFromGlobalTo(Begin); in getOffsetFromGlobalTo()
267 assert((Begin < buffer.size() || in finishArray()
268 (Begin == buffer.size() && eltTy)) in finishArray()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DParallel.h168 ResultTy parallel_transform_reduce(IterTy Begin, IterTy End, ResultTy Init, in parallel_transform_reduce() argument
173 size_t NumInputs = std::distance(Begin, End); in parallel_transform_reduce()
185 IterTy TBegin = Begin; in parallel_transform_reduce()
229 LLVM_ABI void parallelFor(size_t Begin, size_t End,
233 void parallelForEach(IterTy Begin, IterTy End, FuncTy Fn) { in parallelForEach() argument
234 parallelFor(0, End - Begin, [&](size_t I) { Fn(Begin[I]); }); in parallelForEach()
239 ResultTy parallelTransformReduce(IterTy Begin, IterTy End, ResultTy Init, in parallelTransformReduce() argument
244 return parallel::detail::parallel_transform_reduce(Begin, End, Init, Reduce, in parallelTransformReduce()
248 for (IterTy I = Begin; I != End; ++I) in parallelTransformReduce()
H A DBranchProbability.h64 static void normalizeProbabilities(ProbabilityIter Begin,
214 void BranchProbability::normalizeProbabilities(ProbabilityIter Begin, in normalizeProbabilities() argument
216 if (Begin == End) in normalizeProbabilities()
220 uint64_t Sum = std::accumulate(Begin, End, uint64_t(0), in normalizeProbabilities()
237 std::replace_if(Begin, End, in normalizeProbabilities()
246 BranchProbability BP(1, std::distance(Begin, End)); in normalizeProbabilities()
247 std::fill(Begin, End, BP); in normalizeProbabilities()
251 for (auto I = Begin; I != End; ++I) in normalizeProbabilities()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dmemtag.h172 inline uptr storeTags(uptr Begin, uptr End) { in storeTags() argument
173 DCHECK_EQ(0, Begin % 16); in storeTags()
229 : [Cur] "+&r"(Begin), [LineSize] "=&r"(LineSize), [Next] "=&r"(Next), in storeTags()
233 DCHECK_EQ(0, Begin % 16); in storeTags()
234 return Begin; in storeTags()
292 inline NORETURN uptr storeTags(uptr Begin, uptr End) { in storeTags() argument
293 (void)Begin; in storeTags()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIterator.h78 const SymbolRef Begin, End;
80 ContainerData(SymbolRef B, SymbolRef E) : Begin(B), End(E) {} in ContainerData()
91 SymbolRef getBegin() const { return Begin; } in getBegin()
96 ContainerData newEnd(SymbolRef E) const { return ContainerData(Begin, E); } in newEnd()
99 return Begin == X.Begin && End == X.End;
105 ID.Add(Begin); in Profile()
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/
H A DInstruction.h391 unsigned Begin; // Inclusive. variable
397 : Begin(StartCycle), End(EndCycle), Reserved(IsReserved) {} in Begin() function
399 bool contains(unsigned Cycle) const { return Cycle >= Begin && Cycle < End; } in contains()
400 bool startsAfter(const CycleSegment &CS) const { return End <= CS.Begin; } in startsAfter()
401 bool endsBefore(const CycleSegment &CS) const { return Begin >= CS.End; } in endsBefore()
405 bool isExecuting() const { return Begin == 0 && End != 0; } in isExecuting()
408 return Begin < Other.Begin;
411 if (Begin)
412 Begin--;
418 bool isValid() const { return Begin <= End; } in isValid()
[all …]
/freebsd/contrib/libcbor/doc/source/
H A Dtutorial.rst23 :start-after: // Part 1: Begin
32 :start-after: // Part 2: Begin
41 :start-after: // Part 3: Begin
50 :start-after: // Part 4: Begin
59 :start-after: // Part 5: Begin
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DGsymReader.h333 const auto Begin = AIO.begin(); in getAddressOffsetIndex() local
335 auto Iter = std::lower_bound(Begin, End, AddrOffset); in getAddressOffsetIndex()
338 if (Iter == Begin && AddrOffset < *Begin) in getAddressOffsetIndex()
347 while (Iter != Begin) { in getAddressOffsetIndex()
355 return std::distance(Begin, Iter); in getAddressOffsetIndex()

12345678910>>...14