/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Analysis/Support/ |
H A D | BumpVector.h | 59 T *Begin, *End, *Capacity; member in class:clang::BumpVector 63 : Begin(nullptr), End(nullptr), Capacity(nullptr) { 70 destroy_range(Begin, End); 89 iterator begin() { return Begin; } 90 const_iterator begin() const { return Begin; } 100 bool empty() const { return Begin == End; } 101 size_type size() const { return End-Begin; } 104 assert(Begin + idx < End); 105 return Begin[idx]; 108 assert(Begin [all...] |
/freebsd-11.0-release/contrib/llvm/include/llvm/ADT/ |
H A D | StringExtras.h | 169 inline std::string join_impl(IteratorT Begin, IteratorT End, argument 172 if (Begin == End) 175 S += (*Begin); 176 while (++Begin != End) { 178 S += (*Begin); 184 inline std::string join_impl(IteratorT Begin, IteratorT End, argument 187 if (Begin == End) 190 size_t Len = (std::distance(Begin, End) - 1) * Separator.size(); 191 for (IteratorT I = Begin; I != End; ++I) 192 Len += (*Begin) 205 join(IteratorT Begin, IteratorT End, StringRef Separator) argument [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | ASTVector.h | 35 T *Begin, *End; member in class:clang::ASTVector 48 ASTVector() : Begin(nullptr), End(nullptr), Capacity(nullptr, false) {} 50 ASTVector(ASTVector &&O) : Begin(O.Begin), End(O.End), Capacity(O.Capacity) { 51 O.Begin = O.End = nullptr; 57 : Begin(nullptr), End(nullptr), Capacity(nullptr, false) { 64 swap(Begin, O.Begin); 73 destroy_range(Begin, End); 92 iterator begin() { return Begin; } [all...] |
/freebsd-11.0-release/contrib/llvm/include/llvm/MC/ |
H A D | MCWinEH.h | 34 const MCSymbol *Begin; member in struct:llvm::WinEH::FrameInfo 49 : Begin(nullptr), End(nullptr), ExceptionHandler(nullptr), 54 : Begin(BeginFuncEHLabel), End(nullptr), ExceptionHandler(nullptr), 60 : Begin(BeginFuncEHLabel), End(nullptr), ExceptionHandler(nullptr),
|
H A D | MCSectionCOFF.h | 47 MCSymbol *Begin) 48 : MCSection(SV_COFF, K, Begin), SectionName(Section), 45 MCSectionCOFF(StringRef Section, unsigned Characteristics, MCSymbol *COMDATSymbol, int Selection, SectionKind K, MCSymbol *Begin) argument
|
H A D | MCSectionELF.h | 57 MCSymbol *Begin, const MCSectionELF *Associated) 58 : MCSection(SV_ELF, K, Begin), SectionName(Section), Type(type), 55 MCSectionELF(StringRef Section, unsigned type, unsigned flags, SectionKind K, unsigned entrySize, const MCSymbolELF *group, unsigned UniqueID, MCSymbol *Begin, const MCSectionELF *Associated) argument
|
H A D | MCSection.h | 72 MCSymbol *Begin; member in class:llvm::MCSection 105 MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin); 115 MCSymbol *getBeginSymbol() { return Begin; } 120 assert(!Begin); 121 Begin = Sym;
|
/freebsd-11.0-release/contrib/llvm/tools/llvm-pdbdump/ |
H A D | LinePrinter.h | 41 void SetFilters(std::list<Regex> &List, Iter Begin, Iter End) { argument 43 for (; Begin != End; ++Begin) 44 List.emplace_back(StringRef(*Begin));
|
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/ |
H A D | MachineLoopInfo.cpp | 52 MachineFunction::iterator Begin = TopMBB->getParent()->begin(); local 53 if (TopMBB != Begin) { 57 if (TopMBB == Begin) break;
|
H A D | SlotIndexes.cpp | 147 MachineBasicBlock::iterator Begin, 153 while (Begin != MBB->begin() && !hasIndex(Begin)) 154 --Begin; 158 bool includeStart = (Begin == MBB->begin()); 163 startIdx = getInstructionIndex(Begin); 179 while (ListI != ListB || MBBI != Begin || (includeStart && !pastStart)) { 186 bool MBBIAtBegin = MBBI == Begin && (!includeStart || pastStart); 190 if (MBBI != Begin) 195 if (MBBI != Begin) 146 repairIndexesInRange(MachineBasicBlock *MBB, MachineBasicBlock::iterator Begin, MachineBasicBlock::iterator End) argument [all...] |
H A D | AntiDepBreaker.h | 43 MachineBasicBlock::iterator Begin,
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaFixItUtils.cpp | 60 const SourceLocation Begin = FullExpr->getSourceRange().getBegin(); local 99 S, Begin, VK_LValue); 110 CharSourceRange::getTokenRange(Begin, Begin))); 113 Hints.push_back(FixItHint::CreateInsertion(Begin, "*(")); 116 Hints.push_back(FixItHint::CreateInsertion(Begin, "*")); 137 S, Begin, VK_RValue); 144 CharSourceRange::getTokenRange(Begin, Begin))); 147 Hints.push_back(FixItHint::CreateInsertion(Begin, " [all...] |
/freebsd-11.0-release/contrib/llvm/lib/MC/ |
H A D | StringTableBuilder.cpp | 33 static void multikey_qsort(StringPair **Begin, StringPair **End, int Pos) { argument 35 if (End - Begin <= 1) 38 // Partition items. Items in [Begin, P) are greater than the pivot, 40 int Pivot = charTailAt(*Begin, Pos); 41 StringPair **P = Begin; 43 for (StringPair **R = Begin + 1; R < Q;) { 53 multikey_qsort(Begin, P, Pos); 57 Begin = P;
|
H A D | MCSection.cpp | 22 MCSection::MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin) argument 23 : Begin(Begin), BundleGroupBeforeFirstInst(false), HasInstructions(false),
|
H A D | MCContext.cpp | 290 MCSymbol *Begin = nullptr; 292 Begin = createTempSymbol(BeginSymName, false); 296 Segment, Section, TypeAndAttributes, Reserved2, Kind, Begin); 364 MCSymbol *Begin = nullptr; local 366 Begin = createTempSymbol(BeginSymName, false); 370 Begin, Associated); 400 MCSymbol *Begin = nullptr; 402 Begin = createTempSymbol(BeginSymName, false); 406 CachedName, Characteristics, COMDATSymbol, Selection, Kind, Begin);
|
/freebsd-11.0-release/contrib/llvm/include/llvm/CodeGen/ |
H A D | FaultMaps.h | 176 const uint8_t *Begin = P + FunctionFaultInfosOffset + 178 return FunctionFaultInfoAccessor(Begin, E); 185 const uint8_t *Begin = P + MySize; 186 assert(Begin < E && "out of bounds!"); 187 return FunctionInfoAccessor(Begin, E); 191 explicit FaultMapParser(const uint8_t *Begin, const uint8_t *End) 192 : P(Begin), E(End) {} 205 const uint8_t *Begin = P + FunctionInfosOffset; 206 return FunctionInfoAccessor(Begin, E);
|
/freebsd-11.0-release/contrib/llvm/include/llvm/Support/ |
H A D | BranchProbability.h | 63 static void normalizeProbabilities(ProbabilityIter Begin, 176 void BranchProbability::normalizeProbabilities(ProbabilityIter Begin, argument 178 if (Begin == End) 182 uint64_t Sum = std::accumulate(Begin, End, uint64_t(0), 199 std::replace_if(Begin, End, 208 BranchProbability BP(1, std::distance(Begin, End)); 209 std::fill(Begin, End, BP); 213 for (auto I = Begin; I != End; ++I)
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/ARCMigrate/ |
H A D | TransAutoreleasePool.cpp | 99 clearRefsIn(*scope.Begin, info.Refs); 123 clearUnavailableDiags(*scope.Begin); 127 Pass.TA.replaceStmt(*scope.Begin, "@autoreleasepool {"); 142 Pass.TA.replaceStmt(*scope.Begin, "@autoreleasepool {"); 183 Scopes.back().Begin = I; 198 Scopes.back().Begin = I; 228 Stmt::child_iterator Begin; member in struct:__anon3608::AutoreleasePoolRewriter::PoolScope 233 PoolScope() : PoolVar(nullptr), CompoundParent(nullptr), Begin(), End(), 237 Stmt::child_iterator rangeS = Begin; 241 Stmt::child_iterator rangeE = Begin; [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Frontend/ |
H A D | DiagnosticRenderer.cpp | 371 SourceLocation Begin, SourceLocation End, const SourceManager *SM, 375 getMacroArgExpansionFileIDs(Begin, BeginArgExpansions, /*IsBegin=*/true, SM); 404 SourceLocation Begin = I->getBegin(), End = I->getEnd(); local 407 FileID BeginFileID = SM->getFileID(Begin); 414 while (Begin.isMacroID() && BeginFileID != EndFileID) { 415 BeginLocsMap[BeginFileID] = Begin; 416 Begin = SM->getImmediateExpansionRange(Begin).first; 417 BeginFileID = SM->getFileID(Begin); 427 Begin 370 computeCommonMacroArgExpansionFileIDs( SourceLocation Begin, SourceLocation End, const SourceManager *SM, SmallVectorImpl<FileID> &CommonArgExpansions) argument [all...] |
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DebugLocEntry.h | 26 /// Begin and end symbols for the address range that this location is valid. 27 const MCSymbol *Begin; member in class:llvm::DebugLocEntry 88 : Begin(B), End(E) { 104 if ((End == Next.Begin && Values == Next.Values)) { 111 const MCSymbol *getBeginSym() const { return Begin; }
|
/freebsd-11.0-release/contrib/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFDebugLoc.h | 25 uint64_t Begin; member in struct:llvm::DWARFDebugLoc::Entry
|
/freebsd-11.0-release/contrib/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDebugLoc.cpp | 25 OS << "Beginning address offset: " << format("0x%016" PRIx64, E.Begin) 50 E.Begin = data.getUnsigned(&Offset, AddressSize); 52 E.Begin += AI->second.second; 63 if (E.Begin == 0 && E.End == 0)
|
/freebsd-11.0-release/contrib/llvm/lib/Target/Hexagon/ |
H A D | HexagonStoreWidening.cpp | 88 void createStoreGroup(MachineInstr *BaseStore, InstrGroup::iterator Begin, 94 bool selectStores(InstrGroup::iterator Begin, InstrGroup::iterator End, 241 InstrGroup::iterator Begin, InstrGroup::iterator End, InstrGroup &Group) { 248 for (auto I = Begin; I != End; ++I) { 308 bool HexagonStoreWidening::selectStores(InstrGroup::iterator Begin, argument 311 assert(Begin != End && "No instructions to analyze"); 314 if (std::distance(Begin, End) <= 1) 317 MachineInstr *FirstMI = *Begin; 344 MachineInstr *S1 = FirstMI, *S2 = *(Begin+1); 345 InstrGroup::iterator I = Begin 240 createStoreGroup(MachineInstr *BaseStore, InstrGroup::iterator Begin, InstrGroup::iterator End, InstrGroup &Group) argument [all...] |
/freebsd-11.0-release/contrib/llvm/lib/IR/ |
H A D | User.cpp | 57 Use *Begin = static_cast<Use*>(::operator new(size)); local 58 Use *End = Begin + N; 60 setOperandList(Use::initTags(Begin, End));
|
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Utils/ |
H A D | LowerSwitch.cpp | 82 BasicBlock *switchConvert(CaseItr Begin, CaseItr End, 206 LowerSwitch::switchConvert(CaseItr Begin, CaseItr End, ConstantInt *LowerBound, argument 211 unsigned Size = End - Begin; 218 if (Begin->Low == LowerBound && Begin->High == UpperBound) { 223 fixPhis(Begin->BB, OrigBlock, Predecessor, NumMergedCases); 224 return Begin->BB; 226 return newLeafBlock(*Begin, Val, OrigBlock, Default); 230 std::vector<CaseRange> LHS(Begin, Begin [all...] |