Home
last modified time | relevance | path

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

12345678910>>...23

/llvm-project-15.0.7/llvm/tools/sanstats/
H A Dsanstats.cpp48 ++Begin; in ReadLE()
57 while (Begin != End && *Begin) in ReadModule()
58 ++Begin; in ReadModule()
59 if (Begin == End) in ReadModule()
67 ++Begin; in ReadModule()
68 if (Begin == End) in ReadModule()
82 if (Begin > End) in ReadModule()
85 return Begin; in ReadModule()
86 if (Begin == End) in ReadModule()
142 if (Begin == End) { in main()
[all …]
/llvm-project-15.0.7/clang/include/clang/Analysis/Support/
H A DBumpVector.h60 T *Begin = nullptr; variable
109 assert(Begin + idx < End);
110 return Begin[idx];
113 assert(Begin + idx < End);
114 return Begin[idx];
146 End = Begin; in clear()
151 return pointer(Begin); in data()
182 ptrdiff_t D = I - Begin; in insert()
184 I = Begin + D; in insert()
236 if (Begin != End) { in grow()
[all …]
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DIteratorTest.cpp167 Begin = V.begin(); in TEST()
184 EXPECT_GE(I, Begin); in TEST()
185 EXPECT_LE(Begin, I); in TEST()
209 Begin = V.begin(); in TEST()
226 EXPECT_GE(I, Begin); in TEST()
368 EXPECT_EQ(A, *Begin); in TEST()
369 ++Begin; in TEST()
371 ++Begin; in TEST()
373 ++Begin; in TEST()
375 ++Begin; in TEST()
[all …]
/llvm-project-15.0.7/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);
112 assert(Begin + idx < End);
113 return Begin[idx];
117 return Begin[idx];
149 End = Begin; in clear()
154 return pointer(Begin); in data()
391 if (Begin != End) { in grow()
[all …]
H A DExprOpenMP.h223 Stmt **Begin = reinterpret_cast<Stmt **>(getTrailingObjects<Expr *>()); in children() local
224 return child_range(Begin, Begin + NumDims + 1); in children()
227 Stmt *const *Begin = in children() local
229 return const_child_range(Begin, Begin + NumDims + 1); in children()
279 Expr *Begin = nullptr; member
298 Begin = 0, enumerator
338 void setIteratorRange(unsigned I, Expr *Begin, SourceLocation ColonLoc,
411 Stmt **Begin = reinterpret_cast<Stmt **>(getTrailingObjects<Expr *>()); in children() local
413 Begin, Begin + NumIterators * static_cast<int>(RangeExprOffset::Total)); in children()
416 Stmt *const *Begin = in children() local
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DGCNIterativeScheduler.cpp50 auto BB = Begin->getParent(); in printRegion()
53 auto I = Begin; in printRegion()
79 const auto BB = Begin->getParent(); in printLivenessInfo()
109 printRegion(OS, R->Begin, R->End, LIS); in printSchedResult()
135 auto BB = R.Begin->getParent(); in BuildDAG()
173 auto BB = R.Begin->getParent(); in OverrideLegacyStrategy()
194 Rgn.Begin = Sch.RegionBegin; in schedule()
254 UPTracker.recede(*Begin); in getRegionPressure()
363 auto BB = R.Begin->getParent(); in scheduleRegion()
364 auto Top = R.Begin; in scheduleRegion()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/
H A DDelta.h27 int Begin; member
31 bool contains(int Index) const { return Index >= Begin && Index <= End; } in contains()
34 errs() << "[" << Begin; in print()
35 if (End - Begin != 0) in print()
42 return C1.Begin != C2.Begin || C1.End != C2.End;
47 return std::tie(C1.Begin, C1.End) < std::tie(C2.Begin, C2.End);
/llvm-project-15.0.7/llvm/lib/Support/
H A DParallel.cpp178 void llvm::parallelFor(size_t Begin, size_t End, in parallelFor() argument
185 auto NumItems = End - Begin; in parallelFor()
194 for (; Begin + TaskSize < End; Begin += TaskSize) { in parallelFor()
196 for (size_t I = Begin, E = Begin + TaskSize; I != E; ++I) in parallelFor()
200 for (; Begin != End; ++Begin) in parallelFor()
201 Fn(Begin); in parallelFor()
206 for (; Begin != End; ++Begin) in parallelFor()
207 Fn(Begin); in parallelFor()
/llvm-project-15.0.7/openmp/libomptarget/include/
H A DSourceInfo.h68 std::size_t Begin = SourceStr.find(';'); in getSubstring() local
69 std::size_t End = SourceStr.find(';', Begin + 1); in getSubstring()
71 Begin = End; in getSubstring()
72 End = SourceStr.find(';', Begin + 1); in getSubstring()
74 return SourceStr.substr(Begin + 1, End - Begin - 1); in getSubstring()
108 std::size_t Begin = NameStr.find(';'); in getNameFromMapping() local
109 std::size_t End = NameStr.find(';', Begin + 1); in getNameFromMapping()
110 return NameStr.substr(Begin + 1, End - Begin - 1); in getNameFromMapping()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DSequence.h275 : BeginValue(Begin), PastEndValue(End) { in iota_range()
306 auto seq(T Begin, T End) { in seq() argument
307 return iota_range<T>(Begin, End, false); in seq()
316 auto seq_inclusive(T Begin, T End) { in seq_inclusive() argument
317 return iota_range<T>(Begin, End, true); in seq_inclusive()
328 auto enum_seq(EnumT Begin, EnumT End) { in enum_seq() argument
331 return iota_range<EnumT>(Begin, End, false); in enum_seq()
344 return iota_range<EnumT>(Begin, End, false); in enum_seq()
358 return iota_range<EnumT>(Begin, End, true); in enum_seq_inclusive()
370 auto enum_seq_inclusive(EnumT Begin, EnumT End, in enum_seq_inclusive() argument
[all …]
/llvm-project-15.0.7/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;
/llvm-project-15.0.7/clang/include/clang/Frontend/
H A DCommandLineSourceLoc.h65 std::pair<unsigned, unsigned> Begin; member
94 auto Begin = ParsedSourceLocation::FromString(RangeSplit.first); in fromString() local
95 if (Begin.FileName.empty()) in fromString()
98 EndLine = Begin.Line; in fromString()
99 EndColumn = Begin.Column; in fromString()
101 return ParsedSourceRange{std::move(Begin.FileName), in fromString()
102 {Begin.Line, Begin.Column}, in fromString()
/llvm-project-15.0.7/libc/benchmarks/automemcpy/lib/
H A DRandomFunctionGenerator.cpp160 static Optional<SizeSpan> AsSizeSpan(size_t Begin, size_t End) { in AsSizeSpan() argument
161 if (Begin == End) in AsSizeSpan()
164 SS.Begin = Begin; in AsSizeSpan()
172 static Optional<Region> As(size_t Begin, size_t End) { in As() argument
173 if (auto Span = AsSizeSpan(Begin, End)) { in As()
183 if (auto Span = AsSizeSpan(Begin, End)) { in AsLoop()
196 if (auto Loop = AsLoop(Begin, End, BlockSize)) { in AsAlignedLoop()
259 void RandomFunctionGenerator::addBoundsAndAnchors(z3::expr &Begin, in addBoundsAndAnchors() argument
262 Solver.add(inSetConstraint(Begin, kAnchors)); in addBoundsAndAnchors()
264 Solver.add(Begin >= 0); in addBoundsAndAnchors()
[all …]
/llvm-project-15.0.7/llvm/unittests/Support/
H A DYAMLParserTest.cpp269 auto Begin = Node->begin(); in TEST() local
272 EXPECT_NE(Begin, End); in TEST()
273 EXPECT_EQ(Begin, Begin); in TEST()
284 auto Begin = Node->begin(); in TEST() local
287 EXPECT_NE(Begin, End); in TEST()
288 EXPECT_EQ(Begin, Begin); in TEST()
302 auto Begin = Node->begin(); in TEST() local
308 EXPECT_NE(Begin, AnotherBegin); in TEST()
309 EXPECT_NE(Begin, AnotherEnd); in TEST()
323 auto Begin = Node->begin(); in TEST() local
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DFaultMapParser.h123 const uint8_t *Begin = P + FunctionFaultInfosOffset + in getFunctionFaultInfoAt() local
125 return FunctionFaultInfoAccessor(Begin, E); in getFunctionFaultInfoAt()
132 const uint8_t *Begin = P + MySize; in getNextFunctionInfo() local
133 assert(Begin < E && "out of bounds!"); in getNextFunctionInfo()
134 return FunctionInfoAccessor(Begin, E); in getNextFunctionInfo()
138 explicit FaultMapParser(const uint8_t *Begin, const uint8_t *End) in FaultMapParser() argument
139 : P(Begin), E(End) {} in FaultMapParser()
152 const uint8_t *Begin = P + FunctionInfosOffset; in getFirstFunctionInfo() local
153 return FunctionInfoAccessor(Begin, E); in getFirstFunctionInfo()
/llvm-project-15.0.7/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()
136 Begin, VK_PRValue); in tryToFixConversion()
143 CharSourceRange::getTokenRange(Begin, Begin))); in tryToFixConversion()
146 Hints.push_back(FixItHint::CreateInsertion(Begin, "&(")); in tryToFixConversion()
149 Hints.push_back(FixItHint::CreateInsertion(Begin, "&")); in tryToFixConversion()
/llvm-project-15.0.7/compiler-rt/lib/profile/
H A DInstrProfilingBuffer.c54 uint64_t __llvm_profile_get_num_data(const __llvm_profile_data *Begin, in __llvm_profile_get_num_data() argument
56 intptr_t BeginI = (intptr_t)Begin, EndI = (intptr_t)End; in __llvm_profile_get_num_data()
62 uint64_t __llvm_profile_get_data_size(const __llvm_profile_data *Begin, in __llvm_profile_get_data_size() argument
64 return __llvm_profile_get_num_data(Begin, End) * sizeof(__llvm_profile_data); in __llvm_profile_get_data_size()
74 uint64_t __llvm_profile_get_num_counters(const char *Begin, const char *End) { in __llvm_profile_get_num_counters() argument
75 intptr_t BeginI = (intptr_t)Begin, EndI = (intptr_t)End; in __llvm_profile_get_num_counters()
81 uint64_t __llvm_profile_get_counters_size(const char *Begin, const char *End) { in __llvm_profile_get_counters_size() argument
82 return __llvm_profile_get_num_counters(Begin, End) * in __llvm_profile_get_counters_size()
/llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/
H A DLazyRandomTypeCollection.cpp231 auto Begin = Types.begin(); in fullScanForType() local
244 Begin = Types.at(Offset); in fullScanForType()
245 ++Begin; in fullScanForType()
249 while (Begin != End) { in fullScanForType()
253 Records[Idx].Type = *Begin; in fullScanForType()
254 Records[Idx].Offset = Begin.offset(); in fullScanForType()
256 ++Begin; in fullScanForType()
271 while (Begin != End) { in visitRange()
272 LargestTypeIndex = std::max(LargestTypeIndex, Begin); in visitRange()
273 auto Idx = Begin.toArrayIndex(); in visitRange()
[all …]
H A DCVSymbolVisitor.cpp104 for (auto Begin = Symbols.begin(), End = Symbols.end(); Begin != End; in visitSymbolStreamFiltered() local
105 ++Begin) { in visitSymbolStreamFiltered()
106 uint32_t BeginOffset = Begin.offset(); in visitSymbolStreamFiltered()
107 CVSymbol BeginSym = *Begin; in visitSymbolStreamFiltered()
109 if (symbolOpensScope(Begin->kind())) { in visitSymbolStreamFiltered()
134 if (symbolEndsScope(Begin->kind())) in visitSymbolStreamFiltered()
141 if (symbolOpensScope(Begin->kind())) in visitSymbolStreamFiltered()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DConstantInitBuilder.cpp186 Parent->getGEPIndicesTo(indices, Begin); in getGEPIndicesTo()
194 assert(position >= Begin); in getGEPIndicesTo()
234 if (cacheEnd < Begin) { in getOffsetFromGlobalTo()
237 cacheEnd = Begin; in getOffsetFromGlobalTo()
238 offset = Parent->getOffsetFromGlobalTo(Begin); in getOffsetFromGlobalTo()
268 assert((Begin < buffer.size() || in finishArray()
269 (Begin == buffer.size() && eltTy)) in finishArray()
271 auto elts = llvm::makeArrayRef(buffer).slice(Begin); in finishArray()
275 buffer.erase(buffer.begin() + Begin, buffer.end()); in finishArray()
284 auto elts = llvm::makeArrayRef(buffer).slice(Begin); in finishStruct()
[all …]
/llvm-project-15.0.7/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp367 SourceLocation Begin = Range.getBegin(), End = Range.getEnd(); in mapDiagnosticRanges() local
370 FileID BeginFileID = SM->getFileID(Begin); in mapDiagnosticRanges()
377 while (Begin.isMacroID() && BeginFileID != EndFileID) { in mapDiagnosticRanges()
378 BeginLocsMap[BeginFileID] = Begin; in mapDiagnosticRanges()
379 Begin = SM->getImmediateExpansionRange(Begin).getBegin(); in mapDiagnosticRanges()
380 BeginFileID = SM->getFileID(Begin); in mapDiagnosticRanges()
392 Begin = BeginLocsMap[EndFileID]; in mapDiagnosticRanges()
407 Begin = retrieveMacroLocation(Begin, BeginFileID, CaretLocFileID, in mapDiagnosticRanges()
413 if (Begin.isInvalid() || End.isInvalid()) continue; in mapDiagnosticRanges()
416 Begin = SM->getSpellingLoc(Begin); in mapDiagnosticRanges()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DBranchProbability.h62 static void normalizeProbabilities(ProbabilityIter Begin,
205 void BranchProbability::normalizeProbabilities(ProbabilityIter Begin, in normalizeProbabilities() argument
207 if (Begin == End) in normalizeProbabilities()
211 uint64_t Sum = std::accumulate(Begin, End, uint64_t(0), in normalizeProbabilities()
228 std::replace_if(Begin, End, in normalizeProbabilities()
237 BranchProbability BP(1, std::distance(Begin, End)); in normalizeProbabilities()
238 std::fill(Begin, End, BP); in normalizeProbabilities()
242 for (auto I = Begin; I != End; ++I) in normalizeProbabilities()
H A DParallel.h135 ResultTy parallel_transform_reduce(IterTy Begin, IterTy End, ResultTy Init, in parallel_transform_reduce() argument
140 size_t NumInputs = std::distance(Begin, End); in parallel_transform_reduce()
152 IterTy TBegin = Begin; in parallel_transform_reduce()
196 void parallelFor(size_t Begin, size_t End, function_ref<void(size_t)> Fn);
199 void parallelForEach(IterTy Begin, IterTy End, FuncTy Fn) { in parallelForEach() argument
200 parallelFor(0, End - Begin, [&](size_t I) { Fn(Begin[I]); }); in parallelForEach()
205 ResultTy parallelTransformReduce(IterTy Begin, IterTy End, ResultTy Init, in parallelTransformReduce() argument
210 return parallel::detail::parallel_transform_reduce(Begin, End, Init, Reduce, in parallelTransformReduce()
214 for (IterTy I = Begin; I != End; ++I) in parallelTransformReduce()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dmemtag.h167 inline uptr storeTags(uptr Begin, uptr End) { in storeTags() argument
168 DCHECK_EQ(0, Begin % 16); in storeTags()
224 : [Cur] "+&r"(Begin), [LineSize] "=&r"(LineSize), [Next] "=&r"(Next), in storeTags()
228 DCHECK_EQ(0, Begin % 16); in storeTags()
229 return Begin; in storeTags()
287 inline NORETURN uptr storeTags(uptr Begin, uptr End) { in storeTags() argument
288 (void)Begin; in storeTags()
/llvm-project-15.0.7/openmp/libomptarget/test/mapping/
H A Ddeclare_mapper_api.cpp11 void *Begin; member
16 MapComponentInfoTy(void *Base, void *Begin, int64_t Size, int64_t Type, void *Name) in MapComponentInfoTy()
17 : Base(Base), Begin(Begin), Size(Size), Type(Type), Name(Name) {} in MapComponentInfoTy()

12345678910>>...23