| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | DependencyDirectivesScanner.cpp | 89 lexToken(const char *&First, const char *const End); 92 lexIncludeFilename(const char *&First, const char *const End); 94 void skipLine(const char *&First, const char *const End); 95 void skipDirective(StringRef Name, const char *&First, const char *const End); 107 tryLexIdentifierOrSkipLine(const char *&First, const char *const End); 110 [[nodiscard]] StringRef lexIdentifier(const char *&First, 119 const char *&First, 127 [[nodiscard]] bool isNextTokenOrSkipLine(tok::TokenKind K, const char *&First, 136 tryLexStringLiteralOrSkipLine(const char *&First, const char *const End); 138 [[nodiscard]] bool scanImpl(const char *First, const char *const End); [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Format/ |
| H A D | UnwrappedLineFormatter.cpp | 24 const FormatToken *Next = Line.First->getNextNonComment(); in startsExternCBlock() 101 if (Line.First->is(tok::comment) && IndentForLevel[Line.Level] != -1) in adjustToUnmodifiedLine() 103 unsigned LevelIndent = Line.First->OriginalColumn; in adjustToUnmodifiedLine() 117 const auto &RootToken = *Line.First; in getIndentOffset() 175 return AnnotatedLines[StartLineIndex]->First->getNamespaceToken(); in getMatchingNamespaceToken() 179 const FormatToken *NamespaceToken = Line->First->getNamespaceToken(); in getNamespaceTokenText() 210 if (Next[i + 1]->First->NewlinesBefore > 0) in getNextMergedLine() 234 if (NextLine.Type == LT_Invalid || NextLine.First->MustBreakBefore) in tryFitMultipleLinesInOne() 237 (!NextLine.InPPDirective || NextLine.First->HasUnescapedNewline)) { in tryFitMultipleLinesInOne() 254 TheLine->First == TheLine->Last && in tryFitMultipleLinesInOne() [all …]
|
| H A D | DefinitionBlockSeparator.cpp | 51 for (const FormatToken *CurrentToken = Line->First; CurrentToken; in separateBlocks() 96 IsAccessSpecifierToken(Lines[OpeningLineIndex - 1]->First))) { in separateBlocks() 107 return Line->First->is(tok::hash) && Line->First->Next && in separateBlocks() 108 Line->First->Next->isOneOf(tok::pp_if, tok::pp_ifdef, tok::pp_else, in separateBlocks() 121 for (const FormatToken *CurrentToken = CurrentLine->First; CurrentToken; in separateBlocks() 132 Lines[I + 1]->First->is(tok::l_brace); in separateBlocks() 140 if (Lines[OpeningLineIndex]->First->is(TT_CSharpGenericTypeConstraint)) in separateBlocks() 149 if (const auto *Tok = OperateLine->First; in separateBlocks() 155 if (OperateLine->First->is(tok::identifier) && in separateBlocks() 156 OperateLine->First == OperateLine->Last && in separateBlocks() [all …]
|
| H A D | AffectedRangeManager.cpp | 30 assert(Line->First); in computeAffectedLines() 31 Line->LeadingEmptyLinesAffected = affectsLeadingEmptyLines(*Line->First); in computeAffectedLines() 38 while (PPEnd != E && !(*PPEnd)->First->HasUnescapedNewline) { in computeAffectedLines() 43 if (affectsTokenRange(*Line->First, *Last, in computeAffectedLines() 72 bool AffectedRangeManager::affectsTokenRange(const FormatToken &First, in affectsTokenRange() argument 75 SourceLocation Start = First.WhitespaceRange.getBegin(); in affectsTokenRange() 77 Start = Start.getLocWithOffset(First.LastNewlineOffset); in affectsTokenRange() 119 assert(Line->First); in nonPPLineAffected() 120 for (FormatToken *Tok = Line->First; Tok; Tok = Tok->Next) { in nonPPLineAffected() 135 Line->First->NewlinesBefore == 0; in nonPPLineAffected() [all …]
|
| H A D | TokenAnnotator.h | 52 : First(Line.Tokens.front().Tok), Type(LT_Other), Level(Line.Level), in AnnotatedLine() 69 First->Previous = nullptr; in AnnotatedLine() 70 FormatToken *Current = First; in AnnotatedLine() 107 FormatToken *Current = First; in ~AnnotatedLine() 116 return First && First->is(tok::comment) && !First->getNextNonComment(); in isComment() 122 return First && First->startsSequence(Tokens...); in startsWith() 163 assert(First); in getFirstNonComment() 164 return First->is(tok::comment) ? First->getNextNonComment() : First; in getFirstNonComment() 172 FormatToken *First; variable
|
| H A D | QualifierAlignmentFixer.cpp | 68 const FormatToken *First) { in removeToken() argument 69 auto Range = CharSourceRange::getCharRange(First->getStartOfNonWhitespace(), in removeToken() 70 First->Tok.getEndLoc()); in removeToken() 76 const FormatToken *First, in insertQualifierAfter() argument 78 auto Range = CharSourceRange::getCharRange(First->Tok.getLocation(), in insertQualifierAfter() 79 First->Tok.getEndLoc()); in insertQualifierAfter() 82 NewText += First->TokenText; in insertQualifierAfter() 89 const FormatToken *First, in insertQualifierBefore() argument 91 auto Range = CharSourceRange::getCharRange(First->getStartOfNonWhitespace(), in insertQualifierBefore() 92 First->Tok.getEndLoc()); in insertQualifierBefore() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | ilist_base.h | 41 static void removeRangeImpl(node_base_type &First, node_base_type &Last) { in removeRangeImpl() argument 42 node_base_type *Prev = First.getPrev(); in removeRangeImpl() 48 First.setPrev(nullptr); in removeRangeImpl() 52 static void transferBeforeImpl(node_base_type &Next, node_base_type &First, in transferBeforeImpl() argument 54 if (&Next == &Last || &First == &Last) in transferBeforeImpl() 58 assert(&Next != &First && in transferBeforeImpl() 65 First.getPrev()->setNext(&Last); in transferBeforeImpl() 66 Last.setPrev(First.getPrev()); in transferBeforeImpl() 71 First.setPrev(&Prev); in transferBeforeImpl() 72 Prev.setNext(&First); in transferBeforeImpl() [all …]
|
| H A D | simple_ilist.h | 172 void insert(iterator I, Iterator First, Iterator Last) { in cloneFrom() 173 for (; First != Last; ++First) in cloneFrom() 174 insert(I, *First); in cloneFrom() 211 iterator erase(iterator First, iterator Last) { in eraseAndDispose() 212 list_base_type::removeRange(*First.getNodePtr(), *Last.getNodePtr()); in eraseAndDispose() 227 iterator eraseAndDispose(iterator First, iterator Last, Disposer dispose) { 228 while (First != Last) in clear() 229 First = eraseAndDispose(First, dispos in clear() 164 insert(iterator I,Iterator First,Iterator Last) insert() argument 203 erase(iterator First,iterator Last) erase() argument 219 eraseAndDispose(iterator First,iterator Last,Disposer dispose) eraseAndDispose() argument 246 splice(iterator I,simple_ilist &,iterator First,iterator Last) splice() argument [all...] |
| /freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | PPCallbacks.h | 472 std::unique_ptr<PPCallbacks> First, Second; variable 477 : First(std::move(_First)), Second(std::move(_Second)) {} in PPChainedCallbacks() 484 First->FileChanged(Loc, Reason, FileType, PrevFID); in FileChanged() 491 First->LexedFileChanged(FID, Reason, FileType, PrevFID, Loc); in LexedFileChanged() 497 First->FileSkipped(SkippedFile, FilenameTok, FileType); in FileSkipped() 502 bool Skip = First->FileNotFound(FileName); in EmbedFileNotFound() 512 First->EmbedDirective(HashLoc, FileName, IsAngled, File, Params); in EmbedDirective() 517 bool Skip = First->FileNotFound(FileName); in FileNotFound() 531 First->InclusionDirective(HashLoc, IncludeTok, FileName, IsAngled, in InclusionDirective() 541 First->EnteredSubmodule(M, ImportLoc, ForPragma); in EnteredSubmodule() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | list.h | 135 T *front() { return First; } in front() 136 const T *front() const { return First; } in front() 141 First = Last = nullptr; in clear() 149 return Iterator(LinkOp<T>(this->getBase(), this->getSize()), First); in begin() 157 First); in begin() 168 T *First = nullptr; member 174 CHECK_EQ(First, nullptr); in checkConsistency() 178 for (T *I = First;; I = this->getNext(I)) { in checkConsistency() 189 using IntrusiveList<T>::First; 200 First = X; in push_back() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SwitchLoweringUtils.cpp | 24 unsigned First, unsigned Last) { in getJumpTableRange() argument 25 assert(Last >= First); in getJumpTableRange() 26 const APInt &LowCase = Clusters[First].Low->getValue(); in getJumpTableRange() 38 unsigned First, unsigned Last) { in getJumpTableNumCases() argument 39 assert(Last >= First); in getJumpTableNumCases() 40 assert(TotalCases[Last] >= TotalCases[First]); in getJumpTableNumCases() 42 TotalCases[Last] - (First == 0 ? 0 : TotalCases[First - 1]); in getJumpTableNumCases() 174 for (unsigned First = 0, Last; First < N; First = Last + 1) { in findJumpTables() local 175 Last = LastElement[First]; in findJumpTables() 176 assert(Last >= First); in findJumpTables() [all …]
|
| H A D | InterferenceCache.cpp | 159 BI->First = BI->Last = SlotIndex(); in update() 169 if (!BI->First.isValid() || StartI < BI->First) in update() 170 BI->First = StartI; in update() 182 if (!BI->First.isValid() || StartI < BI->First) in update() 183 BI->First = StartI; in update() 189 SlotIndex Limit = BI->First.isValid() ? BI->First : Stop; in update() 194 BI->First = RegMaskSlots[i]; in update() 199 if (BI->First.isValid()) in update()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVLoadStoreOptimizer.cpp | 65 bool tryConvertToLdStPair(MachineBasicBlock::iterator First, 151 MachineBasicBlock::iterator First, MachineBasicBlock::iterator Second) { in tryConvertToLdStPair() argument 154 switch (First->getOpcode()) { in tryConvertToLdStPair() 175 MachineFunction *MF = First->getMF(); in tryConvertToLdStPair() 176 const MachineMemOperand *MMO = *First->memoperands_begin(); in tryConvertToLdStPair() 182 int64_t Offset = First->getOperand(2).getImm(); in tryConvertToLdStPair() 187 *MF, First->getDebugLoc() ? First->getDebugLoc() : Second->getDebugLoc(), in tryConvertToLdStPair() 189 MIB.add(First->getOperand(0)) in tryConvertToLdStPair() 191 .add(First->getOperand(1)) in tryConvertToLdStPair() 192 .add(First->getOperand(2)) in tryConvertToLdStPair() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
| H A D | API.cpp | 56 return (First == nullptr) == (Last == nullptr); in IsWellFormed() 62 if (Other.First == nullptr && Other.Last == nullptr) in stealRecordChain() 66 if (First) in stealRecordChain() 67 Last->NextInContext = Other.First; in stealRecordChain() 69 First = Other.First; in stealRecordChain() 73 for (auto *StolenRecord = Other.First; StolenRecord != nullptr; in stealRecordChain() 78 Other.First = nullptr; in stealRecordChain() 84 if (!First) { in addToRecordChain() 85 First = Record; in addToRecordChain() 96 for (APIRecord *Curr = First; Curr != Record; Curr = Curr->NextInContext) in removeFromRecordChain() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/ |
| H A D | RefactoringActionRulesInternal.h | 29 void ignoreError(Expected<FirstT> &First, Expected<RestT> &... Rest) { in ignoreError() argument 30 if (!First) in ignoreError() 31 llvm::consumeError(First.takeError()); in ignoreError() 38 llvm::Error findError(Expected<FirstT> &First, Expected<RestT> &... Rest) { in findError() argument 39 if (!First) { in findError() 41 return First.takeError(); in findError() 72 const FirstT &First, const RestT &... Rest) { in visitRefactoringOptionsImpl() argument 82 (OptionGatherer{Visitor})(First); in visitRefactoringOptionsImpl() 96 template <typename Base, typename First, typename... Rest> 97 struct HasBaseOf : std::conditional_t<HasBaseOf<Base, First>::value || [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | BasicBlock.cpp | 728 BasicBlock::iterator First, in spliceDebugInfoEmptyBlock() argument 745 assert(First == Last); in spliceDebugInfoEmptyBlock() 747 bool ReadFromHead = First.getHeadBit(); in spliceDebugInfoEmptyBlock() 767 if (Src->empty() || First != Src->begin() || !ReadFromHead) in spliceDebugInfoEmptyBlock() 771 if (!First->hasDbgRecords()) in spliceDebugInfoEmptyBlock() 774 createMarker(Dest)->absorbDebugValues(*First->DebugMarker, InsertAtHead); in spliceDebugInfoEmptyBlock() 778 BasicBlock::iterator First, in spliceDebugInfo() argument 819 if (!First.getHeadBit() && First->hasDbgRecords()) { in spliceDebugInfo() 820 MoreDanglingDbgRecords = Src->getMarker(First); in spliceDebugInfo() 824 if (First->hasDbgRecords()) { in spliceDebugInfo() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Demangle/ |
| H A D | ItaniumDemangle.h | 46 T *First = nullptr; variable 51 bool isInline() const { return First == Inline; } in isInline() 54 First = Inline; in clearInline() 65 std::copy(First, Last, Tmp); in reserve() 66 First = Tmp; in reserve() 68 First = static_cast<T *>(std::realloc(First, NewCap * sizeof(T))); in reserve() 69 if (First == nullptr) in reserve() 72 Last = First + S; in reserve() 73 Cap = First + NewCap; in reserve() 77 PODSmallVector() : First(Inline), Last(First), Cap(Inline + N) {} in PODSmallVector() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiMemAluCombiner.cpp | 328 MbbIterator First = MemInstr; in findClosestSuitableAluInstr() local 331 while (First != Last) { in findClosestSuitableAluInstr() 332 Decrement ? --First : ++First; in findClosestSuitableAluInstr() 334 if (First == Last) in findClosestSuitableAluInstr() 338 if (First->isDebugInstr()) in findClosestSuitableAluInstr() 341 if (isSuitableAluInstr(IsSpls, First, *Base, *Offset)) { in findClosestSuitableAluInstr() 342 return First; in findClosestSuitableAluInstr() 346 if (First != Last) { in findClosestSuitableAluInstr() 347 if (InstrUsesReg(First, Base)) in findClosestSuitableAluInstr() 349 if (Offset->isReg() && InstrUsesReg(First, Offset)) in findClosestSuitableAluInstr()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | HashBuilder.h | 104 /// * `template <typename ItT> void addRange(ItT First, ItT Last)` 107 /// * `template <typename ItT> void addRangeElements(ItT First, ItT Last)` 328 HashBuilder &addRange(ForwardIteratorT First, ForwardIteratorT Last) { in addRangeElementsImpl() argument 329 add(std::distance(First, Last)); in addRangeElementsImpl() 330 return addRangeElements(First, Last); in addRangeElementsImpl() 338 HashBuilder &addRangeElements(ForwardIteratorT First, ForwardIteratorT Last) { 340 First, Last, in addRangeElementsImpl() argument 366 HashBuilder &addRangeElementsImpl(ForwardIteratorT First, 369 for (auto It = First; It != Last; ++It) 378 addRangeElementsImpl(T *First, 289 addRange(ForwardIteratorT First,ForwardIteratorT Last) addRange() argument 299 addRangeElements(ForwardIteratorT First,ForwardIteratorT Last) addRangeElements() argument [all...] |
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | OpenACCKinds.h | 663 bool First = true; in printOpenACCModifierKind() local 667 First = false; in printOpenACCModifierKind() 671 if (!First) in printOpenACCModifierKind() 674 First = false; in printOpenACCModifierKind() 678 if (!First) in printOpenACCModifierKind() 681 First = false; in printOpenACCModifierKind() 685 if (!First) in printOpenACCModifierKind() 688 First = false; in printOpenACCModifierKind() 692 if (!First) in printOpenACCModifierKind() 695 First = false; in printOpenACCModifierKind() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMWinCOFFStreamer.cpp | 88 void emitARMWinCFISaveFRegs(unsigned First, unsigned Last) override; 179 void ARMTargetWinCOFFStreamer::emitARMWinCFISaveFRegs(unsigned First, in emitARMWinCFISaveFRegs() argument 181 assert(First <= Last); in emitARMWinCFISaveFRegs() 182 assert(First >= 16 || Last < 16); in emitARMWinCFISaveFRegs() 183 assert(First <= 31 && Last <= 31); in emitARMWinCFISaveFRegs() 184 if (First == 8) in emitARMWinCFISaveFRegs() 186 else if (First <= 15) in emitARMWinCFISaveFRegs() 187 emitARMWinUnwindCode(Win64EH::UOP_SaveFRegD0D15, First, Last); in emitARMWinCFISaveFRegs() 189 emitARMWinUnwindCode(Win64EH::UOP_SaveFRegD16D31, First, Last); in emitARMWinCFISaveFRegs()
|
| /freebsd/lib/msun/ |
| H A D | Symbol.map | 184 /* First added in 8.0-CURRENT */ 220 /* First added in 9.0-CURRENT */ 230 /* First added in 10.0-CURRENT */ 282 /* First added in 11.0-CURRENT */ 287 /* First added in 12.0-CURRENT */ 306 /* First added in 14.0-CURRENT */ 320 /* First added in 16.0-CURRENT */
|
| /freebsd/usr.bin/calendar/calendars/ |
| H A D | calendar.status_reports | 8 03/01 Status Reports: First call for Q1 13 06/01 Status Reports: First call for Q2 18 09/01 Status Reports: First call for Q3 23 12/01 Status Reports: First call for Q4
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | BinaryStreamWriter.cpp | 86 WritableBinaryStreamRef First = Stream.drop_front(Offset); in split() local 88 WritableBinaryStreamRef Second = First.drop_front(Off); in split() 89 First = First.keep_front(Off); in split() 90 BinaryStreamWriter W1{First}; in split()
|
| /freebsd/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | ClangASTNodesEmitter.cpp | 95 ASTNode First, Last; in EmitNode() local 97 First = Last = Base; in EmitNode() 129 if (!First) First = Result.first; in EmitNode() 137 if (!First) in EmitNode() 148 OS << Base.getName() << ", " << First.getName() << ", " in EmitNode() 152 return std::make_pair(First, Last); in EmitNode()
|