Lines Matching refs:Buf
51 llvm::remarks::createRemarkParser(Format ParserFormat, StringRef Buf) { in createRemarkParser() argument
54 return std::make_unique<YAMLRemarkParser>(Buf); in createRemarkParser()
60 return std::make_unique<BitstreamRemarkParser>(Buf); in createRemarkParser()
69 llvm::remarks::createRemarkParser(Format ParserFormat, StringRef Buf, in createRemarkParser() argument
77 return std::make_unique<YAMLStrTabRemarkParser>(Buf, std::move(StrTab)); in createRemarkParser()
79 return std::make_unique<BitstreamRemarkParser>(Buf, std::move(StrTab)); in createRemarkParser()
89 Format ParserFormat, StringRef Buf, Optional<ParsedStringTable> StrTab, in createRemarkParserFromMeta() argument
96 return createYAMLParserFromMeta(Buf, std::move(StrTab), in createRemarkParserFromMeta()
99 return createBitstreamParserFromMeta(Buf, std::move(StrTab), in createRemarkParserFromMeta()
114 CParser(Format ParserFormat, StringRef Buf, in CParser()
117 StrTab ? createRemarkParser(ParserFormat, Buf, std::move(*StrTab)) in CParser()
118 : createRemarkParser(ParserFormat, Buf))) {} in CParser()
129 extern "C" LLVMRemarkParserRef LLVMRemarkParserCreateYAML(const void *Buf, in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
132 StringRef(static_cast<const char *>(Buf), Size))); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
135 extern "C" LLVMRemarkParserRef LLVMRemarkParserCreateBitstream(const void *Buf, in LLVMRemarkParserCreateBitstream() argument
138 StringRef(static_cast<const char *>(Buf), Size))); in LLVMRemarkParserCreateBitstream()