| /src/external/apache2/llvm/dist/llvm/tools/sanstats/ |
| sanstats.cpp | 39 static uint64_t ReadLE(char Size, const char *Begin, const char *End) { 42 while (Begin < End && Pos != Size) { 43 Result |= uint64_t(uint8_t(*Begin)) << (Pos * 8); 44 ++Begin; 50 static const char *ReadModule(char SizeofPtr, const char *Begin, 52 const char *FilenameBegin = Begin; 53 while (Begin != End && *Begin) 54 ++Begin; 55 if (Begin == End [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/llvm-reduce/deltas/ |
| Delta.h | 27 int Begin; 31 bool contains(int Index) const { return Index >= Begin && Index <= End; } 34 errs() << "[" << Begin; 35 if (End - Begin != 0) 42 return C1.Begin != C2.Begin || C1.End != C2.End; 47 return std::tie(C1.Begin, C1.End) < std::tie(C2.Begin, C2.End);
|
| /src/external/apache2/llvm/dist/clang/include/clang/Analysis/Support/ |
| BumpVector.h | 60 T *Begin = nullptr; 73 destroy_range(Begin, End); 92 iterator begin() { return Begin; } function in class:clang::BumpVector 93 const_iterator begin() const { return Begin; } function in class:clang::BumpVector 100 reverse_iterator rend() { return reverse_iterator(begin()); } 102 return const_reverse_iterator(begin()); 105 bool empty() const { return Begin == End; } 106 size_type size() const { return End-Begin; } [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Frontend/ |
| CommandLineSourceLoc.h | 65 std::pair<unsigned, unsigned> Begin; 94 auto Begin = ParsedSourceLocation::FromString(RangeSplit.first); 95 if (Begin.FileName.empty()) 98 EndLine = Begin.Line; 99 EndColumn = Begin.Column; 101 return ParsedSourceRange{std::move(Begin.FileName), 102 {Begin.Line, Begin.Column},
|
| /src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| ASTVector.h | 38 T *Begin = nullptr; 54 ASTVector(ASTVector &&O) : Begin(O.Begin), End(O.End), Capacity(O.Capacity) { 55 O.Begin = O.End = nullptr; 69 swap(Begin, O.Begin); 78 destroy_range(Begin, End); 97 iterator begin() { return Begin; } function in class:clang::ASTVector 98 const_iterator begin() const { return Begin; function in class:clang::ASTVector [all...] |
| ExprOpenMP.h | 223 Stmt **Begin = reinterpret_cast<Stmt **>(getTrailingObjects<Expr *>()); 224 return child_range(Begin, Begin + NumDims + 1); 227 Stmt *const *Begin = 229 return const_child_range(Begin, Begin + NumDims + 1); 242 /// calculated as VD = Begin + CounterVD * Step; 265 /// range-specification is of the form begin:end[:step], where begin and end are 277 /// Iterator range representation begin:end[:step] [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/xray/ |
| xray_utils.cc | 49 void LogWriter::WriteAll(const char *Begin, const char *End) XRAY_NEVER_INSTRUMENT { 50 if (Begin == End) 52 auto TotalBytes = std::distance(Begin, End); 67 zx_status_t Status = _zx_vmo_write(Vmo, Begin, Offset, TotalBytes); 136 void LogWriter::WriteAll(const char *Begin, const char *End) XRAY_NEVER_INSTRUMENT { 137 if (Begin == End) 139 auto TotalBytes = std::distance(Begin, End); 140 while (auto Written = write(Fd, Begin, TotalBytes)) { 150 Begin += Written;
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Object/ |
| FaultMapParser.h | 123 const uint8_t *Begin = P + FunctionFaultInfosOffset + 125 return FunctionFaultInfoAccessor(Begin, E); 132 const uint8_t *Begin = P + MySize; 133 assert(Begin < E && "out of bounds!"); 134 return FunctionInfoAccessor(Begin, E); 138 explicit FaultMapParser(const uint8_t *Begin, const uint8_t *End) 139 : P(Begin), E(End) {} 152 const uint8_t *Begin = P + FunctionInfosOffset; 153 return FunctionInfoAccessor(Begin, E);
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| Parallel.h | 131 void parallel_for_each(IterTy Begin, IterTy End, FuncTy Fn) { 136 auto NumItems = std::distance(Begin, End); 139 Fn(*Begin); 150 while (TaskSize < std::distance(Begin, End)) { 151 TG.spawn([=, &Fn] { std::for_each(Begin, Begin + TaskSize, Fn); }); 152 Begin += TaskSize; 154 std::for_each(Begin, End, Fn); 158 void parallel_for_each_n(IndexTy Begin, IndexTy End, FuncTy Fn) { 163 auto NumItems = End - Begin; [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| GCNIterativeScheduler.cpp | 45 MachineBasicBlock::iterator Begin, 50 auto BB = Begin->getParent(); 53 auto I = Begin; 76 MachineBasicBlock::iterator Begin, 79 const auto BB = Begin->getParent(); 82 const auto LiveIns = getLiveRegsBefore(*Begin, *LIS); 97 printRegion(OS, R->Begin, R->End, LIS, 1); 98 printLivenessInfo(OS, R->Begin, R->End, LIS); 109 printRegion(OS, R->Begin, R->End, LIS); 135 auto BB = R.Begin->getParent() [all...] |
| GCNIterativeScheduler.h | 46 MachineBasicBlock::iterator Begin, 63 MachineBasicBlock::iterator Begin; 87 GCNRegPressure getRegionPressure(MachineBasicBlock::iterator Begin, 91 return getRegionPressure(R.Begin, R.End);
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Testing/Support/ |
| Annotations.h | 51 size_t Begin = 0; 55 return std::tie(L.Begin, L.End) == std::tie(R.Begin, R.End);
|
| /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/ |
| LazyRandomTypeCollection.cpp | 180 assert(Next != PartialOffsets.begin()); 230 auto Begin = Types.begin(); 243 Begin = Types.at(Offset); 244 ++Begin; 248 while (Begin != End) { 252 Records[Idx].Type = *Begin; 253 Records[Idx].Offset = Begin.offset(); 255 ++Begin; 264 void LazyRandomTypeCollection::visitRange(TypeIndex Begin, uint32_t BeginOffset [all...] |
| DebugStringTableSubsection.cpp | 65 uint32_t Begin = Writer.getOffset(); 66 uint32_t End = Begin + StringSize; 74 uint32_t Offset = Begin + Pair.getValue(); 82 assert((End - Begin) == StringSize);
|
| /src/external/apache2/llvm/dist/clang/lib/Sema/ |
| SemaFixItUtils.cpp | 59 const SourceLocation Begin = FullExpr->getSourceRange().getBegin(); 98 S, Begin, VK_LValue); 109 CharSourceRange::getTokenRange(Begin, Begin))); 112 Hints.push_back(FixItHint::CreateInsertion(Begin, "*(")); 115 Hints.push_back(FixItHint::CreateInsertion(Begin, "*")); 136 S, Begin, VK_RValue); 143 CharSourceRange::getTokenRange(Begin, Begin))); 146 Hints.push_back(FixItHint::CreateInsertion(Begin, "&(")) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| SlotIndexes.cpp | 180 MachineBasicBlock::iterator Begin, 186 while (Begin != MBB->begin() && !hasIndex(*Begin)) 187 --Begin; 191 bool includeStart = (Begin == MBB->begin()); 196 startIdx = getInstructionIndex(*Begin); 205 // optionally includes an additional position prior to MBB->begin(), indicated 212 while (ListI != ListB || MBBI != Begin || (includeStart && !pastStart)) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| ConstantInitBuilder.cpp | 109 Buffer.erase(Buffer.begin() + newEnd, Buffer.end()); 132 Builder.Buffer.size() - Begin); 163 (void)getGEPIndicesTo(entry.Indices, position + Begin); 186 Parent->getGEPIndicesTo(indices, Begin); 194 assert(position >= Begin); 198 position - Begin)); 234 if (cacheEnd < Begin) { 236 assert(Parent && "Begin != 0 for root builder"); 237 cacheEnd = Begin; 238 offset = Parent->getOffsetFromGlobalTo(Begin); [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/MCA/ |
| Instruction.h | 291 unsigned Begin; // Inclusive. 297 : Begin(StartCycle), End(EndCycle), Reserved(IsReserved) {} 299 bool contains(unsigned Cycle) const { return Cycle >= Begin && Cycle < End; } 300 bool startsAfter(const CycleSegment &CS) const { return End <= CS.Begin; } 301 bool endsBefore(const CycleSegment &CS) const { return Begin >= CS.End; } 305 bool isExecuting() const { return Begin == 0 && End != 0; } 308 return Begin < Other.Begin; 311 if (Begin) 312 Begin-- 325 unsigned begin() const { return Begin; } function in class:llvm::mca::CycleSegment [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/IR/ |
| User.cpp | 54 Use *Begin = static_cast<Use*>(::operator new(size)); 55 Use *End = Begin + N; 56 setOperandList(Begin); 57 for (; Begin != End; Begin++) 58 new (Begin) Use(this); 95 return {MutableARef.begin(), MutableARef.end()};
|
| /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Transformer/ |
| RangeSelector.h | 34 /// Selects from the start of \p Begin and to the end of \p End. 35 RangeSelector enclose(RangeSelector Begin, RangeSelector End); 41 inline RangeSelector range(RangeSelector Begin, RangeSelector End) { 42 return enclose(std::move(Begin), std::move(End));
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/MC/ |
| MCWinEH.h | 40 const MCSymbol *Begin = nullptr; 61 : Begin(BeginFuncEHLabel), Function(Function) {} 64 : Begin(BeginFuncEHLabel), Function(Function),
|
| MCSectionXCOFF.h | 44 MCSymbol *Begin, StringRef SymbolTableName, 46 : MCSection(SV_XCOFF, Name, K, Begin), 67 MCSymbol *Begin, StringRef SymbolTableName, 69 : MCSection(SV_XCOFF, Name, K, Begin), QualName(QualName),
|
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| Iterator.h | 77 // Structure to record the symbolic begin and end position of a container 80 const SymbolRef Begin, End; 82 ContainerData(SymbolRef B, SymbolRef E) : Begin(B), End(E) {} 93 SymbolRef getBegin() const { return Begin; } 98 ContainerData newEnd(SymbolRef E) const { return ContainerData(Begin, E); } 101 return Begin == X.Begin && End == X.End; 105 return Begin != X.Begin || End != X.End; 109 ID.Add(Begin); [all...] |
| /src/external/apache2/llvm/dist/clang/tools/clang-refactor/ |
| TestSupport.h | 49 unsigned Begin, End;
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
| Waymarking.h | 219 /// Sets up the waymarking algorithm's tags for a given range [Begin, End). 221 /// \param Begin The beginning of the range to mark with tags (inclusive). 227 void fillWaymarks(TIter Begin, TIter End, size_t Offset = 0) { 228 if (Begin == End) 235 Marker::setWaymark(*Begin, Marker::Traits::Tags::Values[Offset]); 238 ++Begin; 240 if (Begin == End) 276 Marker::setWaymark(*Begin, Tag); 277 ++Begin; 278 } while (Begin != End) [all...] |