/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/ |
H A D | Markup.cpp | 38 void MarkupParser::parseLine(StringRef Line) { in parseLine() argument 42 this->Line = Line; in parseLine() 56 if (Line.empty()) in nextNode() 60 if (std::optional<StringRef> MultilineEnd = parseMultiLineEnd(Line)) { in nextNode() 66 advanceTo(Line, MultilineEnd->end()); in nextNode() 71 llvm::append_range(InProgressMultiline, Line); in nextNode() 72 Line = Line.drop_front(Line.size()); in nextNode() 77 if (std::optional<MarkupNode> Element = parseElement(Line)) { in nextNode() 78 parseTextOutsideMarkup(takeTo(Line, Element->Text.begin())); in nextNode() 80 advanceTo(Line, Element->Text.end()); in nextNode() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/ |
H A D | BreakpadRecords.cpp | 132 std::optional<Record::Kind> Record::classify(llvm::StringRef Line) { in classify() 133 Token Tok = consume<Token>(Line); in classify() 146 Tok = consume<Token>(Line); in classify() 163 return Record::Line; in classify() 175 std::optional<ModuleRecord> ModuleRecord::parse(llvm::StringRef Line) { in parse() 177 if (consume<Token>(Line) != Token::Module) in parse() 180 llvm::Triple::OSType OS = consume<llvm::Triple::OSType>(Line); in parse() 184 llvm::Triple::ArchType Arch = consume<llvm::Triple::ArchType>(Line); in parse() 189 std::tie(Str, Line) = getToken(Line); in parse() 131 classify(llvm::StringRef Line) classify() argument 174 parse(llvm::StringRef Line) parse() argument 203 parse(llvm::StringRef Line) parse() argument 229 parseNumberName(llvm::StringRef Line,Token TokenType) parseNumberName() argument 247 parse(llvm::StringRef Line) parse() argument 258 parse(llvm::StringRef Line) parse() argument 268 parsePublicOrFunc(llvm::StringRef Line,bool & Multiple,lldb::addr_t & Address,lldb::addr_t * Size,lldb::addr_t & ParamSize,llvm::StringRef & Name) parsePublicOrFunc() argument 306 parse(llvm::StringRef Line) parse() argument 328 parse(llvm::StringRef Line) parse() argument 380 parse(llvm::StringRef Line) parse() argument 415 parse(llvm::StringRef Line) parse() argument 437 parse(llvm::StringRef Line) parse() argument 486 parse(llvm::StringRef Line) parse() argument [all...] |
/freebsd/contrib/llvm-project/clang/lib/Format/ |
H A D | AffectedRangeManager.cpp | 29 AnnotatedLine *Line = *I; in computeAffectedLines() local 30 assert(Line->First); in computeAffectedLines() 31 Line->LeadingEmptyLinesAffected = affectsLeadingEmptyLines(*Line->First); in computeAffectedLines() 35 if (Line->InPPDirective) { in computeAffectedLines() 36 FormatToken *Last = Line->Last; in computeAffectedLines() 43 if (affectsTokenRange(*Line->First, *Last, in computeAffectedLines() 52 if (nonPPLineAffected(Line, PreviousLine, Lines)) in computeAffectedLines() 55 PreviousLine = Line; in computeAffectedLines() 102 AnnotatedLine *Line, const AnnotatedLine *PreviousLine, in nonPPLineAffected() argument 105 Line->ChildrenAffected = computeAffectedLines(Line->Children); in nonPPLineAffected() [all …]
|
H A D | TokenAnnotator.h | 49 AnnotatedLine(const UnwrappedLine &Line) in AnnotatedLine() argument 50 : First(Line.Tokens.front().Tok), Type(LT_Other), Level(Line.Level), in AnnotatedLine() 51 PPLevel(Line.PPLevel), in AnnotatedLine() 52 MatchingOpeningBlockLineIndex(Line.MatchingOpeningBlockLineIndex), in AnnotatedLine() 53 MatchingClosingBlockLineIndex(Line.MatchingClosingBlockLineIndex), in AnnotatedLine() 54 InPPDirective(Line.InPPDirective), in AnnotatedLine() 55 InPragmaDirective(Line.InPragmaDirective), in AnnotatedLine() 56 InMacroBody(Line.InMacroBody), in AnnotatedLine() 57 MustBeDeclaration(Line.MustBeDeclaration), MightBeFunctionDecl(false), in AnnotatedLine() 60 ReturnTypeWrapped(false), IsContinuation(Line.IsContinuation), in AnnotatedLine() [all …]
|
H A D | UnwrappedLineFormatter.cpp | 23 bool startsExternCBlock(const AnnotatedLine &Line) { in startsExternCBlock() argument 24 const FormatToken *Next = Line.First->getNextNonComment(); in startsExternCBlock() 26 return Line.startsWith(tok::kw_extern) && Next && Next->isStringLiteral() && in startsExternCBlock() 59 void nextLine(const AnnotatedLine &Line) { in nextLine() argument 60 Offset = getIndentOffset(Line); in nextLine() 63 if (Line.Level >= IndentForLevel.size()) in nextLine() 64 IndentForLevel.resize(Line.Level + 1, -1); in nextLine() 66 (Line.InPPDirective || in nextLine() 68 Line.Type == LT_CommentAbovePPDirective))) { in nextLine() 71 Indent = Line.InMacroBody in nextLine() [all …]
|
H A D | UnwrappedLineParser.cpp | 38 void printLine(llvm::raw_ostream &OS, const UnwrappedLine &Line, in printLine() argument 40 OS << Prefix << "Line(" << Line.Level << ", FSC=" << Line.FirstStartColumn in printLine() 41 << ")" << (Line.InPPDirective ? " MACRO" : "") << ": "; in printLine() 43 for (std::list<UnwrappedLineNode>::const_iterator I = Line.Tokens.begin(), in printLine() 44 E = Line.Tokens.end(); in printLine() 67 LLVM_ATTRIBUTE_UNUSED static void printDebugInfo(const UnwrappedLine &Line) { in printDebugInfo() argument 68 printLine(llvm::dbgs(), Line); in printDebugInfo() 73 ScopedDeclarationState(UnwrappedLine &Line, llv argument 88 UnwrappedLine &Line; global() member in clang::format::__anon89962d1d0111::ScopedDeclarationState 94 operator <<(std::ostream & Stream,const UnwrappedLine & Line) operator <<() argument 220 for (auto &Line : Lines) parse() local 234 for (const auto &Line : Lines) { parse() local 252 for (const UnwrappedLine &Line : Lines) { parse() local 710 AnnotatedLine Line(ParsedLine); mightFitOnOneLine() local 923 isGoogScope(const UnwrappedLine & Line) isGoogScope() argument 941 isIIFE(const UnwrappedLine & Line,const AdditionalKeywords & Keywords) isIIFE() argument 1041 size_t Line = CurrentLines->size(); conditionalCompilationCondition() local 1105 for (auto &Line : Lines) { parsePPIf() local 1161 for (auto &Line : Lines) { parsePPDefine() local 2715 getLastNonComment(const UnwrappedLine & Line) getLastNonComment() argument 4621 continuesLineCommentSection(const FormatToken & FormatTok,const UnwrappedLine & Line,const llvm::Regex & CommentPragmasRegex) continuesLineCommentSection() argument [all...] |
H A D | UsingDeclarationsSorter.cpp | 95 const AnnotatedLine *Line; member 98 UsingDeclaration(const AnnotatedLine *Line, const std::string &Label) in UsingDeclaration() 99 : Line(Line), Label(Label) {} in UsingDeclaration() 143 if (Declaration.Line->Affected) { in endUsingDeclarationBlock() 170 (*UsingDeclarations)[I].Line->First->WhitespaceRange.getBegin(); in endUsingDeclarationBlock() 171 auto End = (*UsingDeclarations)[I].Line->Last->Tok.getEndLoc(); in endUsingDeclarationBlock() 180 if ((*UsingDeclarations)[I].Line == SortedUsingDeclarations[I].Line) in endUsingDeclarationBlock() 182 auto Begin = (*UsingDeclarations)[I].Line->First->Tok.getLocation(); in endUsingDeclarationBlock() 183 auto End = (*UsingDeclarations)[I].Line->Last->Tok.getEndLoc(); in endUsingDeclarationBlock() 185 SortedUsingDeclarations[I].Line->First->Tok.getLocation(); in endUsingDeclarationBlock() [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/ |
H A D | SourceCoverageView.h | 57 unsigned Line; member 60 InstantiationView(StringRef FunctionName, unsigned Line, in InstantiationView() 62 : FunctionName(FunctionName), Line(Line), View(std::move(View)) {} in InstantiationView() 66 return LHS.Line < RHS.Line; 73 unsigned Line; member 75 BranchView(unsigned Line, SmallVector<CountedRegion, 0> Regions) in BranchView() 76 : Regions(std::move(Regions)), Line(Line) {} in BranchView() 78 unsigned getLine() const { return Line; } in getLine() 81 return LHS.Line < RHS.Line; 88 unsigned Line; member [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/LineEditor/ |
H A D | LineEditor.cpp | 254 const char *Line = ::el_gets(Data->EL, &LineLen); in readLine() local 257 if (!Line || LineLen == 0) in readLine() 262 (Line[LineLen - 1] == '\n' || Line[LineLen - 1] == '\r')) in readLine() 267 ::history(Data->Hist, &HE, H_ENTER, Line); in readLine() 269 return std::string(Line, LineLen); in readLine() 298 std::string Line; in readLine() local 303 if (Line.empty()) in readLine() 306 return Line; in readLine() 308 Line in readLine() [all...] |
/freebsd/sys/contrib/dev/acpica/components/utilities/ |
H A D | uttrack.c | 185 UINT32 Line); 192 UINT32 Line); 252 UINT32 Line) in AcpiUtAllocateAndTrack() argument 262 ACPI_WARNING ((Module, Line, in AcpiUtAllocateAndTrack() 272 ACPI_WARNING ((Module, Line, in AcpiUtAllocateAndTrack() 279 Allocation, Size, ACPI_MEM_MALLOC, Component, Module, Line); in AcpiUtAllocateAndTrack() 321 UINT32 Line) in AcpiUtAllocateZeroedAndTrack() argument 331 ACPI_WARNING ((Module, Line, in AcpiUtAllocateZeroedAndTrack() 342 ACPI_ERROR ((Module, Line, in AcpiUtAllocateZeroedAndTrack() 348 ACPI_MEM_CALLOC, Component, Module, Line); in AcpiUtAllocateZeroedAndTrack() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
H A D | LVBinaryReader.cpp | 498 LVLineAssembler *Line = createLineAssembler(); in createInstructions() local 499 Line->setAddress(Address); in createInstructions() 500 Line->setName(StringRef(Stream.str()).trim()); in createInstructions() 501 Instructions.push_back(Line); in createInstructions() 516 for (const LVLine *Line : Instructions) in createInstructions() 518 << hexValue(Line->getOffset()) << ", (" << Line->getName() in createInstructions() 603 for (const LVLine *Line : *DebugLines) { in processLines() 604 dbgs() << format_decimal(Index, 5) << ": " << hexValue(Line->getOffset()) in processLines() 605 << ", (" << Line->getLineNumber() << ")" in processLines() 641 for (const LVLine *Line : InstructionLines) in processLines() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/ |
H A D | am3517-evm-ui.dtsi | 15 "Line", "Line In", 16 "Line", "Line Out"; 19 "Line Out", "LOUT", 20 "Line Out", "ROUT", 21 "LLINEIN", "Line In", 22 "RLINEIN", "Line In", 45 "Line", "Line In", 46 "Line", "Line Out"; 49 "Line Out", "LOUT", 50 "Line Out", "ROUT", [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/ |
H A D | xray_powerpc64.cpp | 37 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize) in clearCache() local 38 asm volatile("dcbf 0, %0" : : "r"(Line)); in clearCache() 41 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize) in clearCache() local 42 asm volatile("icbi 0, %0" : : "r"(Line)); in clearCache()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | LLVMContextImpl.h | 317 unsigned Line; 323 MDNodeKeyImpl(unsigned Line, unsigned Column, Metadata *Scope, 325 : Line(Line), Column(Column), Scope(Scope), InlinedAt(InlinedAt), 328 : Line(L->getLine()), Column(L->getColumn()), Scope(L->getRawScope()), 332 return Line == RHS->getLine() && Column == RHS->getColumn() && 338 return hash_combine(Line, Column, Scope, InlinedAt, ImplicitCode); 537 unsigned Line; 549 MDNodeKeyImpl(unsigned Tag, MDString *Name, Metadata *File, unsigned Line, 555 : Tag(Tag), Name(Name), File(File), Line(Line), Scope(Scope), 562 Line(N->getLine()), Scope(N->getRawScope()), [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineDebugify.cpp | 76 unsigned Line = DVI->getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction() local 77 assert(Line != 0 && "debugify should not insert line 0 locations"); in applyDebugifyMetadataToMachineFunction() 78 Line2Var[Line] = DVI->getVariable(); in applyDebugifyMetadataToMachineFunction() 79 if (!EarliestDVI || Line < EarliestDVI->getDebugLoc().getLine()) in applyDebugifyMetadataToMachineFunction() 89 unsigned Line = DVR.getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction() local 90 assert(Line != 0 && "debugify should not insert line 0 locations"); in applyDebugifyMetadataToMachineFunction() 91 Line2Var[Line] = DVR.getVariable(); in applyDebugifyMetadataToMachineFunction() 92 if (!EarliestDVR || Line < EarliestDVR->getDebugLoc().getLine()) in applyDebugifyMetadataToMachineFunction() 125 unsigned Line = MI.getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction() local 126 if (!Line2Var.count(Line)) in applyDebugifyMetadataToMachineFunction() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | SymbolRemappingReader.cpp | 37 StringRef Line = *LineIt; in read() local 38 Line = Line.ltrim(' '); in read() 40 if (Line.starts_with("#") || Line.empty()) in read() 44 Line.split(Parts, ' ', /*MaxSplits*/-1, /*KeepEmpty*/false); in read() 48 "found '" + Line + "'"); in read()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerDataFlowTrace.cpp | 132 static bool ParseError(const char *Err, const std::string &Line) { in ParseError() argument 133 Printf("DataFlowTrace: parse error: %s: Line: %s\n", Err, Line.c_str()); in ParseError() 139 static bool ParseDFTLine(const std::string &Line, size_t *FunctionNum, in ParseDFTLine() argument 141 if (!Line.empty() && Line[0] != 'F') in ParseDFTLine() 143 size_t SpacePos = Line.find(' '); in ParseDFTLine() 145 return ParseError("no space in the trace line", Line); in ParseDFTLine() 146 if (Line.empty() || Line[0] != 'F') in ParseDFTLine() 147 return ParseError("the trace line doesn't start with 'F'", Line); in ParseDFTLine() 148 *FunctionNum = std::atol(Line.c_str() + 1); in ParseDFTLine() 149 const char *Beg = Line.c_str() + SpacePos + 1; in ParseDFTLine() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | mt2701-cs42448.txt | 21 "Line Out Jack", "AOUT1L", 22 "Line Out Jack", "AOUT1R", 23 "Line Out Jack", "AOUT2L", 24 "Line Out Jack", "AOUT2R", 25 "Line Out Jack", "AOUT3L", 26 "Line Out Jack", "AOUT3R", 27 "Line Out Jack", "AOUT4L", 28 "Line Out Jack", "AOUT4R",
|
H A D | fsl-asoc-card.txt | 70 * Line Out Jack 71 * Line In Jack 105 "Line Out Jack", "AOUT1L", 106 "Line Out Jack", "AOUT1R", 107 "Line Out Jack", "AOUT2L", 108 "Line Out Jack", "AOUT2R", 109 "Line Out Jack", "AOUT3L", 110 "Line Out Jack", "AOUT3R", 111 "Line Out Jack", "AOUT4L", 112 "Line Out Jack", "AOUT4R", [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
H A D | LVLine.cpp | 113 for (LVLine *Line : *Targets) in findIn() 114 if (equals(Line)) in findIn() 115 return Line; in findIn() 120 bool LVLine::equals(const LVLine *Line) const { in equals() 121 return LVElement::equals(Line); in equals() 193 bool LVLineDebug::equals(const LVLine *Line) const { in equals() 194 if (!LVLine::equals(Line)) in equals() 196 return getFilenameIndex() == Line->getFilenameIndex(); in equals() 214 bool LVLineAssembler::equals(const LVLine *Line) const { in equals() 215 return LVLine::equals(Line); in equals()
|
/freebsd/sys/contrib/device-tree/src/arm64/tesla/ |
H A D | fsd-evb.dts | 40 simple-audio-card,widgets = "Line", "Line Out", 41 "Line", "Line In"; 42 simple-audio-card,routing = "Line Out", "LLOUT", 43 "Line Out", "RLOUT", 44 "MIC2L", "Line In", 45 "MIC2R", "Line In";
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | InclusionRewriter.cpp | 85 void WriteLineInfo(StringRef Filename, int Line, 118 void InclusionRewriter::WriteLineInfo(StringRef Filename, int Line, in WriteLineInfo() argument 124 OS << "#line" << ' ' << Line << ' ' << '"'; in WriteLineInfo() 130 OS << '#' << ' ' << Line << ' ' << '"'; in WriteLineInfo() 268 StringRef LocalEOL, int &Line, in OutputContentUpTo() argument 289 Line += TextToWrite.count(LocalEOL); in OutputContentUpTo() 338 unsigned &NextToWrite, int &Line, in CommentOutDirective() argument 341 SM.getFileOffset(StartToken.getLocation()), LocalEOL, Line, in CommentOutDirective() 363 LocalEOL, Line, true); in CommentOutDirective() 409 int Line = 1; // The current input file line number. in Process() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
H A D | LineTable.cpp | 103 Row.Line += Data.getSLEB128(&Offset); in parse() 110 Row.Line += LineDelta; in parse() 143 int64_t LineDelta = (int64_t)line_entry.Line - PrevLine; in encode() 155 PrevLine = (int64_t)line_entry.Line; in encode() 193 LineEntry Prev(BaseAddr, 1, Lines.front().Line); in encode() 199 Out.writeULEB(Prev.Line); in encode() 212 if (Curr.Line > Prev.Line) in encode() 213 LineDelta = Curr.Line - Prev.Line; in encode() [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | SymbolRemappingReader.h | 72 SymbolRemappingParseError(StringRef File, int64_t Line, const Twine &Message) in SymbolRemappingParseError() argument 73 : File(File), Line(Line), Message(Message.str()) {} in SymbolRemappingParseError() 76 OS << File << ':' << Line << ": " << Message; in log() 83 int64_t getLineNum() const { return Line; } in getLineNum() 90 int64_t Line; variable
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | NativeLineNumber.cpp | 16 const codeview::LineInfo Line, in NativeLineNumber() argument 20 : Session(Session), Line(Line), ColumnNumber(ColumnNumber), in NativeLineNumber() 24 uint32_t NativeLineNumber::getLineNumber() const { return Line.getStartLine(); } in getLineNumber() 27 return Line.getEndLine(); in getLineNumberEnd() 52 bool NativeLineNumber::isStatement() const { return Line.isStatement(); } in isStatement()
|