/external/clang/lib/StaticAnalyzer/Checkers/ |
DereferenceChecker.cpp | 35 llvm::SmallVectorImpl<SourceRange> &Ranges, 41 llvm::SmallVectorImpl<SourceRange> &Ranges, 53 Ranges.push_back(DR->getSourceRange()); 62 Ranges.push_back(SourceRange(L, L)); 110 llvm::SmallVector<SourceRange, 2> Ranges; 122 AddDerefSource(os, Ranges, AE->getBase()->IgnoreParenCasts()); 130 AddDerefSource(os, Ranges, U->getSubExpr()->IgnoreParens(), true); 139 AddDerefSource(os, Ranges, M->getBase()->IgnoreParenCasts(), true); 153 Ranges.push_back(IV->getSourceRange()); 169 I = Ranges.begin(), E = Ranges.end(); I!=E; ++I [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
RangeConstraintManager.cpp | 73 /// RangeSet contains a set of ranges. If the set is empty, then 78 PrimRangeSet ranges; // no need to make const, since it is an member in class:__anon4472::RangeSet 85 RangeSet(PrimRangeSet RS) : ranges(RS) {} 87 iterator begin() const { return ranges.begin(); } 88 iterator end() const { return ranges.end(); } 90 bool isEmpty() const { return ranges.isEmpty(); } 94 : ranges(F.add(F.getEmptySet(), Range(from, to))) {} 98 void Profile(llvm::FoldingSetNodeID &ID) const { ranges.Profile(ID); } 104 return ranges.isSingleton() ? ranges.begin()->getConcreteValue() : 0 [all...] |
/external/llvm/lib/Transforms/Scalar/ |
MemCpyOptimizer.cpp | 127 /// two ranges into [0, 3) which is memset'able. 191 /// Ranges - A sorted list of the memset ranges. We use std::list here 193 std::list<MemsetRange> Ranges; 200 const_iterator begin() const { return Ranges.begin(); } 201 const_iterator end() const { return Ranges.end(); } 202 bool empty() const { return Ranges.empty(); } 233 /// existing ranges as appropriate. 235 /// Do a linear search of the ranges to see if this can be joined and/or to 236 /// find the insertion point in the list. We keep the ranges sorted fo [all...] |
/external/chromium/base/metrics/ |
histogram.h | 268 typedef int Sample; // Used for samples (and ranges of samples). 275 typedef std::vector<Sample> Ranges; 409 // 0x8000 means print ranges in hex. 429 // Check to see if bucket ranges, counts and tallies in the snapshot are 430 // consistent with the bucket ranges and checksums in our histogram. This can 443 virtual Sample ranges(size_t i) const; 566 Ranges ranges_; 568 // For redundancy, we store a checksum of all the sample ranges when ranges 628 // For some ranges, we store a printable description of a bucket range [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
BugReporter.h | 135 /// getRanges - Returns the source ranges associated with this bug. 201 llvm::SmallVector<SourceRange, 4> Ranges; 216 Ranges.push_back(R); 220 return std::make_pair(Ranges.begin(), Ranges.end()); 226 Ranges.begin(), E = Ranges.end(); I != E; ++I) {
|
/external/llvm/utils/TableGen/ |
TGParser.cpp | 464 bool TGParser::ParseRangePiece(std::vector<unsigned> &Ranges) { 477 Ranges.push_back(Start); 497 Ranges.push_back(Start); 500 Ranges.push_back(Start); 505 /// ParseRangeList - Parse a list of scalars and ranges into scalar values. 528 bool TGParser::ParseOptionalRangeList(std::vector<unsigned> &Ranges) { 536 Ranges = ParseRangeList(); 537 if (Ranges.empty()) return true; 550 bool TGParser::ParseOptionalBitList(std::vector<unsigned> &Ranges) { 558 Ranges = ParseRangeList() [all...] |
/external/clang/lib/Frontend/ |
ASTUnit.cpp | [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
DwarfDebug.cpp | 145 SmallVector<DbgRange, 4> Ranges; 163 const SmallVector<DbgRange, 4> &getRanges() { return Ranges; } 188 Ranges.push_back(DbgRange(FirstInsn, LastInsn)); 523 const SmallVector<DbgRange, 4> &Ranges = Scope->getRanges(); 524 if (Ranges.empty()) 528 SmallVector<DbgRange, 4>::const_iterator RI = Ranges.begin(); 529 if (Ranges.size() > 1) { 535 for (SmallVector<DbgRange, 4>::const_iterator RI = Ranges.begin(), 536 RE = Ranges.end(); RI != RE; ++RI) { 564 const SmallVector<DbgRange, 4> &Ranges = Scope->getRanges() [all...] |