Home
last modified time | relevance | path

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

12345678910>>...14

/openbsd-src/gnu/llvm/llvm/tools/sanstats/
H A Dsanstats.cpp43 static uint64_t ReadLE(char Size, const char *Begin, const char *End) { in ReadLE() argument
46 while (Begin < End && Pos != Size) { in ReadLE()
47 Result |= uint64_t(uint8_t(*Begin)) << (Pos * 8); in ReadLE()
48 ++Begin; in ReadLE()
54 static const char *ReadModule(char SizeofPtr, const char *Begin, in ReadModule() argument
56 const char *FilenameBegin = Begin; in ReadModule()
57 while (Begin != End && *Begin) in ReadModule()
58 ++Begin; in ReadModule()
59 if (Begin == End) in ReadModule()
61 std::string Filename(FilenameBegin, Begin - FilenameBegin); in ReadModule()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Analysis/Support/
H A DBumpVector.h60 T *Begin = nullptr; variable
73 destroy_range(Begin, End); in ~BumpVector()
92 iterator begin() { return Begin; } in begin()
93 const_iterator begin() const { return Begin; } in begin()
105 bool empty() const { return Begin == End; } in empty()
106 size_type size() const { return End-Begin; } in size()
109 assert(Begin + idx < End);
110 return Begin[idx];
113 assert(Begin + idx < End);
114 return Begin[idx];
[all …]
/openbsd-src/gnu/usr.bin/cvs/
H A Dcvsnt.dsp24 # Begin Project
82 # Begin Target
86 # Begin Group "Source Files"
89 # Begin Source File
104 # Begin Source File
119 # Begin Source File
134 # Begin Source File
149 # Begin Source File
164 # Begin Source File
179 # Begin Source File
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
H A DDelta.h31 int Begin; member
35 bool contains(int Index) const { return Index >= Begin && Index <= End; } in contains()
38 errs() << '[' << Begin; in print()
39 if (End - Begin != 0) in print()
46 return C1.Begin != C2.Begin || C1.End != C2.End;
50 return C1.Begin == C2.Begin && C1.End == C2.End;
55 return std::tie(C1.Begin, C1.End) < std::tie(C2.Begin, C2.End);
72 std::pair<int, int> PairVal = std::make_pair(Val.Begin, Val.End);
/openbsd-src/gnu/llvm/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.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 …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DGCNIterativeScheduler.cpp45 MachineBasicBlock::iterator Begin, in printRegion() argument
50 auto BB = Begin->getParent(); in printRegion()
53 auto I = Begin; in printRegion()
76 MachineBasicBlock::iterator Begin, in printLivenessInfo() argument
79 const auto BB = Begin->getParent(); in printLivenessInfo()
82 const auto LiveIns = getLiveRegsBefore(*Begin, *LIS); in printLivenessInfo()
95 printRegion(OS, R->Begin, R->End, LIS, 1); in printRegions()
96 printLivenessInfo(OS, R->Begin, R->End, LIS); in printRegions()
106 printRegion(OS, R->Begin, R->End, LIS); in printSchedResult()
130 auto BB = R.Begin->getParent(); in BuildDAG()
[all …]
/openbsd-src/gnu/usr.bin/cvs/diff/
H A Dlibdiff.dsp24 # Begin Project
73 # Begin Target
77 # Begin Group "Source Files"
80 # Begin Source File
84 # Begin Source File
88 # Begin Source File
92 # Begin Source File
96 # Begin Source File
100 # Begin Source File
104 # Begin Source File
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DParallel.cpp195 void llvm::parallelFor(size_t Begin, size_t End, in parallelFor() argument
202 auto NumItems = End - Begin; in parallelFor()
211 for (; Begin + TaskSize < End; Begin += TaskSize) { in parallelFor()
213 for (size_t I = Begin, E = Begin + TaskSize; I != E; ++I) in parallelFor()
217 if (Begin != End) { in parallelFor()
219 for (size_t I = Begin; I != End; ++I) in parallelFor()
227 for (; Begin != End; ++Begin) in parallelFor()
228 Fn(Begin); in parallelFor()
/openbsd-src/gnu/llvm/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()
305 auto seq(T Begin, T End) { in seq() argument
306 return iota_range<T>(Begin, End, false); in seq()
315 auto seq_inclusive(T Begin, T End) { in seq_inclusive() argument
316 return iota_range<T>(Begin, End, true); in seq_inclusive()
327 auto enum_seq(EnumT Begin, EnumT End) { in enum_seq() argument
330 return iota_range<EnumT>(Begin, End, false); in enum_seq()
342 auto enum_seq(EnumT Begin, EnumT End, force_iteration_on_noniterable_enum_t) { in enum_seq() argument
[all …]
H A DStringExtras.h394 inline std::string join_impl(IteratorT Begin, IteratorT End, in join_impl() argument
397 if (Begin == End) in join_impl()
400 S += (*Begin); in join_impl()
401 while (++Begin != End) { in join_impl()
403 S += (*Begin); in join_impl()
409 inline std::string join_impl(IteratorT Begin, IteratorT End, in join_impl() argument
412 if (Begin == End) in join_impl()
415 size_t Len = (std::distance(Begin, End) - 1) * Separator.size(); in join_impl()
416 for (IteratorT I = Begin; I != End; ++I) in join_impl()
421 S += (*Begin); in join_impl()
[all …]
H A DBitVector.h188 int find_first_in(unsigned Begin, unsigned End, bool Set = true) const {
189 assert(Begin <= End && End <= Size);
190 if (Begin == End)
193 unsigned FirstWord = Begin / BITWORD_SIZE;
207 unsigned FirstBit = Begin % BITWORD_SIZE;
223 int find_last_in(unsigned Begin, unsigned End) const { in find_last_in() argument
224 assert(Begin <= End && End <= Size); in find_last_in()
225 if (Begin == End) in find_last_in()
229 unsigned FirstWord = Begin / BITWORD_SIZE; in find_last_in()
241 unsigned FirstBit = Begin % BITWORD_SIZE; in find_last_in()
[all …]
/openbsd-src/gnu/llvm/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;
/openbsd-src/gnu/llvm/clang/include/clang/Frontend/
H A DCommandLineSourceLoc.h66 std::pair<unsigned, unsigned> Begin; member
95 auto Begin = ParsedSourceLocation::FromString(RangeSplit.first); in fromString() local
96 if (Begin.FileName.empty()) in fromString()
99 EndLine = Begin.Line; in fromString()
100 EndColumn = Begin.Column; in fromString()
102 return ParsedSourceRange{std::move(Begin.FileName), in fromString()
103 {Begin.Line, Begin.Column}, in fromString()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DLazyRandomTypeCollection.cpp229 auto Begin = Types.begin(); in fullScanForType() local
242 Begin = Types.at(Offset); in fullScanForType()
243 ++Begin; in fullScanForType()
247 while (Begin != End) { in fullScanForType()
251 Records[Idx].Type = *Begin; in fullScanForType()
252 Records[Idx].Offset = Begin.offset(); in fullScanForType()
254 ++Begin; in fullScanForType()
263 void LazyRandomTypeCollection::visitRange(TypeIndex Begin, uint32_t BeginOffset, in visitRange() argument
269 while (Begin != End) { in visitRange()
270 LargestTypeIndex = std::max(LargestTypeIndex, Begin); 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()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DConstantInitBuilder.cpp132 Builder.Buffer.size() - Begin); in getRelativeOffset()
163 (void)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 …]
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp332 SourceLocation Begin, SourceLocation End, const SourceManager *SM, in computeCommonMacroArgExpansionFileIDs() argument
336 getMacroArgExpansionFileIDs(Begin, BeginArgExpansions, /*IsBegin=*/true, SM); in computeCommonMacroArgExpansionFileIDs()
366 SourceLocation Begin = Range.getBegin(), End = Range.getEnd(); in mapDiagnosticRanges() local
369 FileID BeginFileID = SM->getFileID(Begin); in mapDiagnosticRanges()
376 while (Begin.isMacroID() && BeginFileID != EndFileID) { in mapDiagnosticRanges()
377 BeginLocsMap[BeginFileID] = Begin; in mapDiagnosticRanges()
378 Begin = SM->getImmediateExpansionRange(Begin).getBegin(); in mapDiagnosticRanges()
379 BeginFileID = SM->getFileID(Begin); in mapDiagnosticRanges()
391 Begin = BeginLocsMap[EndFileID]; in mapDiagnosticRanges()
400 if (Begin.isInvalid() || End.isInvalid() || BeginFileID != EndFileID) in mapDiagnosticRanges()
[all …]
/openbsd-src/gnu/llvm/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.h169 ResultTy parallel_transform_reduce(IterTy Begin, IterTy End, ResultTy Init, in parallel_transform_reduce() argument
174 size_t NumInputs = std::distance(Begin, End); in parallel_transform_reduce()
186 IterTy TBegin = Begin; in parallel_transform_reduce()
230 void parallelFor(size_t Begin, size_t End, function_ref<void(size_t)> Fn);
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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DSlotIndexes.cpp180 MachineBasicBlock::iterator Begin, in repairIndexesInRange() argument
182 bool includeStart = (Begin == MBB->begin()); in repairIndexesInRange()
187 startIdx = getInstructionIndex(*--Begin); in repairIndexesInRange()
203 while (ListI != ListB || MBBI != Begin || (includeStart && !pastStart)) { in repairIndexesInRange()
210 bool MBBIAtBegin = MBBI == Begin && (!includeStart || pastStart); in repairIndexesInRange()
214 if (MBBI != Begin) in repairIndexesInRange()
219 if (MBBI != Begin) in repairIndexesInRange()
232 for (MachineBasicBlock::iterator I = End; I != Begin;) { in repairIndexesInRange()

12345678910>>...14