Home
last modified time | relevance | path

Searched refs:Comment (Results 1 – 25 of 154) sorted by relevance

1234567

/freebsd/contrib/llvm-project/clang/include/clang-c/
H A DDocumentation.h218 CINDEX_LINKAGE enum CXCommentKind clang_Comment_getKind(CXComment Comment);
225 CINDEX_LINKAGE unsigned clang_Comment_getNumChildren(CXComment Comment);
235 CXComment clang_Comment_getChild(CXComment Comment, unsigned ChildIdx);
246 CINDEX_LINKAGE unsigned clang_Comment_isWhitespace(CXComment Comment);
254 unsigned clang_InlineContentComment_hasTrailingNewline(CXComment Comment);
261 CINDEX_LINKAGE CXString clang_TextComment_getText(CXComment Comment);
269 CXString clang_InlineCommandComment_getCommandName(CXComment Comment);
278 clang_InlineCommandComment_getRenderKind(CXComment Comment);
286 unsigned clang_InlineCommandComment_getNumArgs(CXComment Comment);
296 CXString clang_InlineCommandComment_getArgText(CXComment Comment,
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/
H A DCodeRegionGenerator.cpp87 StringRef Comment(CommentText); in HandleComment() local
88 if (Comment.empty()) in HandleComment()
92 unsigned Position = Comment.find_first_not_of(" \t"); in HandleComment()
93 if (Position >= Comment.size()) in HandleComment()
97 Comment = Comment.drop_front(Position); in HandleComment()
98 if (Comment.consume_front("LLVM-MCA-END")) { in HandleComment()
100 Position = Comment.find_first_not_of(" \t"); in HandleComment()
101 if (Position < Comment.size()) in HandleComment()
102 Comment = Comment.drop_front(Position); in HandleComment()
103 Regions.endRegion(Comment, Loc); in HandleComment()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DGlobalISelMatchTable.cpp208 MatchTableRecord MatchTable::Comment(StringRef Comment) { in Comment() function in llvm::gi::MatchTable
209 return MatchTableRecord(std::nullopt, Comment, 0, in Comment()
510 << MatchTable::Comment("On fail goto") in emit()
626 Table << MatchTable::Opcode("GIM_SwitchOpcode") << MatchTable::Comment("MI") in emitPredicateSpecificOpcodes()
631 Table << MatchTable::Opcode("GIM_SwitchType") << MatchTable::Comment("MI") in emitPredicateSpecificOpcodes()
633 << MatchTable::Comment("Op") in emitPredicateSpecificOpcodes()
659 Table << MatchTable::Comment("[") << MatchTable::IntValue(2, LowerBound) in emit()
660 << MatchTable::IntValue(2, UpperBound) << MatchTable::Comment(")") in emit()
661 << MatchTable::Comment("default:") << MatchTable::JumpTarget(Default); in emit()
965 << MatchTable::Comment("On fail goto") in emit()
[all …]
H A DGlobalISelMatchTableExecutorEmitter.h84 StringRef Comment) { in emitCxxPredicateFns() argument
85 if (!Comment.empty()) in emitCxxPredicateFns()
86 OS << "// " << Comment << "\n"; in emitCxxPredicateFns()
140 StringRef Comment = "") {
143 AdditionalDecls, Predicates, GetPredEnumName, GetPredCode, Comment);
165 StringRef Comment = "") {
168 Comment);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DByteStreamer.h32 virtual void emitInt8(uint8_t Byte, const Twine &Comment = "") = 0;
33 virtual void emitSLEB128(uint64_t DWord, const Twine &Comment = "") = 0;
34 virtual void emitULEB128(uint64_t DWord, const Twine &Comment = "",
45 void emitInt8(uint8_t Byte, const Twine &Comment) override { in emitInt8() argument
46 AP.OutStreamer->AddComment(Comment); in emitInt8()
49 void emitSLEB128(uint64_t DWord, const Twine &Comment) override { in emitSLEB128() argument
50 AP.OutStreamer->AddComment(Comment); in emitSLEB128()
53 void emitULEB128(uint64_t DWord, const Twine &Comment, in emitULEB128() argument
55 AP.OutStreamer->AddComment(Comment); in emitULEB128()
74 void emitInt8(uint8_t Byte, const Twine &Comment) override { in emitInt8() argument
[all …]
H A DDwarfExpression.h50 const char *Comment; member
53 static Register createRegister(int RegNo, const char *Comment) { in createRegister()
54 return {RegNo, 0, Comment}; in createRegister()
59 const char *Comment) { in createSubRegister()
60 return {RegNo, SizeInBits, Comment}; in createSubRegister()
126 virtual void emitOp(uint8_t Op, const char *Comment = nullptr) = 0;
164 void addReg(int DwarfReg, const char *Comment = nullptr);
323 void emitOp(uint8_t Op, const char *Comment = nullptr) override;
353 void emitOp(uint8_t Op, const char *Comment = nullptr) override;
H A DAsmPrinterDwarf.cpp176 const Twine &Comment) const { in emitDwarfUnitLength()
177 OutStreamer->emitDwarfUnitLength(Length, Comment); in emitDwarfUnitLength()
181 const Twine &Comment) const { in emitDwarfUnitLength()
182 return OutStreamer->emitDwarfUnitLength(Prefix, Comment); in emitDwarfUnitLength()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DCodeViewRecordIO.cpp104 const Twine &Comment) { in mapByteVectorTail() argument
106 emitComment(Comment); in mapByteVectorTail()
120 const Twine &Comment) { in mapByteVectorTail() argument
122 if (auto EC = mapByteVectorTail(BytesRef, Comment)) in mapByteVectorTail()
130 Error CodeViewRecordIO::mapInteger(TypeIndex &TypeInd, const Twine &Comment) { in mapInteger() argument
134 emitComment(Comment + ": " + TypeNameStr); in mapInteger()
136 emitComment(Comment); in mapInteger()
152 const Twine &Comment) { in mapEncodedInteger() argument
155 emitEncodedUnsignedInteger(static_cast<uint64_t>(Value), Comment); in mapEncodedInteger()
157 emitEncodedSignedInteger(Value, Comment); in mapEncodedInteger()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewRecordIO.h67 Error mapInteger(TypeIndex &TypeInd, const Twine &Comment = "");
100 template <typename T> Error mapInteger(T &Value, const Twine &Comment = "") {
102 emitComment(Comment);
114 template <typename T> Error mapEnum(T &Value, const Twine &Comment = "") {
124 if (auto EC = mapInteger(X, Comment))
133 Error mapEncodedInteger(int64_t &Value, const Twine &Comment = "");
134 Error mapEncodedInteger(uint64_t &Value, const Twine &Comment = "");
135 Error mapEncodedInteger(APSInt &Value, const Twine &Comment = "");
136 Error mapStringZ(StringRef &Value, const Twine &Comment = "");
137 Error mapGuid(GUID &Guid, const Twine &Comment = "");
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DExtractAPIVisitor.h291 DocComment Comment; in VisitVarDecl() local
294 Comment = RawComment->getFormattedLines(Context.getSourceManager(), in VisitVarDecl()
306 AvailabilityInfo::createFromDecl(Decl), Linkage, Comment, Declaration, in VisitVarDecl()
312 AvailabilityInfo::createFromDecl(Decl), Linkage, Comment, Declaration, in VisitVarDecl()
364 DocComment Comment; in VisitFunctionDecl() local
367 Comment = RawComment->getFormattedLines(Context.getSourceManager(), in VisitFunctionDecl()
378 AvailabilityInfo::createFromDecl(Decl), Linkage, Comment, in VisitFunctionDecl()
386 AvailabilityInfo::createFromDecl(Decl), Linkage, Comment, in VisitFunctionDecl()
401 DocComment Comment; in VisitEnumDecl() local
404 Comment = RawComment->getFormattedLines(Context.getSourceManager(), in VisitEnumDecl()
[all …]
H A DAPI.h251 DocComment Comment; member
292 const DocComment &Comment, DeclarationFragments Declaration,
297 Comment(Comment), Declaration(Declaration), SubHeading(SubHeading), in USR()
390 LinkageInfo Linkage, const DocComment &Comment, in NamespaceRecord()
394 Linkage, Comment, Declaration, SubHeading, in NamespaceRecord()
410 LinkageInfo Linkage, const DocComment &Comment, in GlobalFunctionRecord()
415 std::move(Availability), Linkage, Comment, Declaration, in GlobalFunctionRecord()
422 const DocComment &Comment, in GlobalFunctionRecord()
427 Linkage, Comment, Declaration, SubHeading, in GlobalFunctionRecord()
446 LinkageInfo Linkage, const DocComment &Comment, in GlobalFunctionTemplateRecord()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DCommentNodes.td8 def Comment : CommentNode<?, 1>;
9 def InlineContentComment : CommentNode<Comment, 1>;
16 def BlockContentComment : CommentNode<Comment, 1>;
24 def VerbatimBlockLineComment : CommentNode<Comment>;
26 def FullComment : CommentNode<Comment>;
/freebsd/contrib/bc/tests/bc/
H A Dstdin.txt7 1 /* Comment with partial "string */ + 2
8 2 /* Comment with full "string" */ + 3
9 3 /* Comment with a # hash comment */ + 4
/freebsd/sys/contrib/dev/acpica/compiler/
H A Dcvcompiler.c422 CommentLength = strlen (Current->Comment)+3; in CvCalculateCommentLengths()
424 CvDbgPrint (" Comment string: %s\n\n", Current->Comment); in CvCalculateCommentLengths()
435 CommentLength = strlen (Current->Comment)+3; in CvCalculateCommentLengths()
437 CvDbgPrint (" Comment string: %s\n\n", Current->Comment); in CvCalculateCommentLengths()
539 CgWriteOneAmlComment(Op, Current->Comment, CommentOption); in CgWriteAmlDefBlockComment()
540 CvDbgPrint ("Printing comment: %s\n", Current->Comment); in CgWriteAmlDefBlockComment()
670 CgWriteOneAmlComment(Op, Current->Comment, CommentOption); in CgWriteAmlComment()
680 CgWriteOneAmlComment(Op, Current->Comment, CommentOption); in CgWriteAmlComment()
909 AslGbl_CommentListTail->Comment = ToAdd; in CvAddToCommentList()
H A Ddtcompilerparser.l195 Comment \[[^\n\[\]]*\]
196 CommentField {LabelName}{WhiteSpace}*:{WhiteSpace}{Comment}?$
214 <INITIAL,DATA_STATE>{Comment} { DbgPrint(ASL_PARSE_OUTPUT,"Comment matched\n"); }
H A Dcvdisasm.c197 if (Current->Comment) in CvPrintOneCommentList()
200 AcpiOsPrintf("%s\n", Current->Comment); in CvPrintOneCommentList()
201 Current->Comment = NULL; in CvPrintOneCommentList()
H A Dcvparser.c765 CommentNode->Comment = ACPI_CAST_PTR (char, Aml); in CvCaptureCommentsOnly()
791 CommentNode->Comment = ACPI_CAST_PTR (char, Aml); in CvCaptureCommentsOnly()
816 CommentNode->Comment = ACPI_CAST_PTR (char, Aml); in CvCaptureCommentsOnly()
896 CommentNode->Comment = ACPI_CAST_PTR (char, Aml); in CvCaptureCommentsOnly()
912 CommentNode->Comment); in CvCaptureCommentsOnly()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCommentParser.h100 ArrayRef<Comment::Argument>
105 ArrayRef<Comment::Argument>
108 ArrayRef<Comment::Argument>
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCommentParser.cpp422 ArrayRef<Comment::Argument>
424 auto *Args = new (Allocator.Allocate<Comment::Argument>(NumArgs)) in parseCommandArgs()
425 Comment::Argument[NumArgs]; in parseCommandArgs()
429 Args[ParsedArgs] = Comment::Argument{ in parseCommandArgs()
437 ArrayRef<Comment::Argument>
440 auto *Args = new (Allocator.Allocate<Comment::Argument>(NumArgs)) in parseThrowCommandArgs()
441 Comment::Argument[NumArgs]; in parseThrowCommandArgs()
446 Args[ParsedArgs] = Comment::Argument{ in parseThrowCommandArgs()
454 ArrayRef<Comment::Argument>
458 auto *Args = new (Allocator.Allocate<Comment::Argument>(NumArgs)) in parseParCommandArgs()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DModuleSummaryIndex.cpp387 const Twine &Comment = Twine());
388 void addComment(const Twine &Comment);
404 const Twine &Comment) { in add() argument
410 addComment(Comment); in add()
413 void Attributes::addComment(const Twine &Comment) { in addComment() argument
414 if (!Comment.isTriviallyEmpty()) { in addComment()
419 Comments += Comment.str(); in addComment()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCDwarf.h528 std::string Comment; variable
531 StringRef V = "", StringRef Comment = "")
533 Comment(Comment) { in Label()
665 SMLoc Loc = {}, StringRef Comment = "") {
666 return MCCFIInstruction(OpEscape, L, 0, 0, Loc, Vals, Comment);
724 StringRef getComment() const { return Comment; } in getComment()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp438 if (const RawComment *Comment = in getAssociatedRange() local
446 if (SM.isBeforeInTranslationUnit(Comment->getBeginLoc(), in getAssociatedRange()
449 SM, skipWhitespaceAndNewline(SM, Comment->getEndLoc(), LangOpts), in getAssociatedRange()
452 const StringRef CommentText = Comment->getRawText(SM); in getAssociatedRange()
455 Range.setBegin(Comment->getBeginLoc()); in getAssociatedRange()
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyCompilandDumper.cpp66 WithColor(Printer, PDB_ColorItem::Comment).get() in start()
142 WithColor(Printer, PDB_ColorItem::Comment).get() in dump()
150 WithColor(Printer, PDB_ColorItem::Comment).get() in dump()
/freebsd/contrib/file/magic/Magdir/
H A Dssh39 # next line says "Comment: " plus the comment string
40 >>>&0 search/3 Comment:\040
/freebsd/contrib/bc/tests/bc/errors/
H A D05.txt1 /* Comment

1234567