Home
last modified time | relevance | path

Searched refs:SMDiagnostic (Results 1 – 25 of 173) sorted by relevance

1234567

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/AsmParser/
DParser.h26 class SMDiagnostic; variable
45 parseAssemblyFile(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
65 SMDiagnostic &Err,
95 parseAssemblyFileWithIndex(StringRef Filename, SMDiagnostic &Err,
109 parseSummaryIndexAssemblyFile(StringRef Filename, SMDiagnostic &Err);
121 std::unique_ptr<Module> parseAssembly(MemoryBufferRef F, SMDiagnostic &Err,
140 SMDiagnostic &Err,
153 parseSummaryIndexAssembly(MemoryBufferRef F, SMDiagnostic &Err);
172 SMDiagnostic &Err, SlotMapping *Slots = nullptr,
184 Constant *parseConstantValue(StringRef Asm, SMDiagnostic &Err, const Module &M,
[all …]
/external/llvm/include/llvm/AsmParser/
DParser.h25 class SMDiagnostic; variable
40 SMDiagnostic &Error,
56 SMDiagnostic &Error,
66 std::unique_ptr<Module> parseAssembly(MemoryBufferRef F, SMDiagnostic &Err,
81 bool parseAssemblyInto(MemoryBufferRef F, Module &M, SMDiagnostic &Err,
92 Constant *parseConstantValue(StringRef Asm, SMDiagnostic &Err, const Module &M,
100 Type *parseType(StringRef Asm, SMDiagnostic &Err, const Module &M,
110 Type *parseTypeAtBeginning(StringRef Asm, unsigned &Read, SMDiagnostic &Err,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/MIRParser/
DMIParser.h28 class SMDiagnostic; variable
87 StringRef Src, SMDiagnostic &Error);
100 SMDiagnostic &Error);
104 SMDiagnostic &Error);
108 SMDiagnostic &Error);
111 StringRef Src, SMDiagnostic &Error);
115 SMDiagnostic &Error);
118 StringRef Src, SMDiagnostic &Error);
121 SMDiagnostic &Error);
DMIRParser.cpp72 void reportDiagnostic(const SMDiagnostic &Diag);
88 bool error(const SMDiagnostic &Error, SMRange SourceRange);
146 SMDiagnostic diagFromMIStringDiag(const SMDiagnostic &Error,
151 SMDiagnostic diagFromBlockStringDiag(const SMDiagnostic &Error,
173 static void handleYAMLDiag(const SMDiagnostic &Diag, void *Context) { in handleYAMLDiag()
190 DS_Error, SMDiagnostic(Filename, SourceMgr::DK_Error, Message.str()))); in error()
200 bool MIRParserImpl::error(const SMDiagnostic &Error, SMRange SourceRange) { in error()
206 void MIRParserImpl::reportDiagnostic(const SMDiagnostic &Diag) { in reportDiagnostic()
239 SMDiagnostic Error; in parseIRModule()
381 SMDiagnostic Error; in initializeMachineFunction()
[all …]
/external/llvm/lib/CodeGen/MIRParser/
DMIParser.h30 class SMDiagnostic; variable
64 StringRef Src, SMDiagnostic &Error);
77 StringRef Src, SMDiagnostic &Error);
81 SMDiagnostic &Error);
85 SMDiagnostic &Error);
89 SMDiagnostic &Error);
92 int &FI, StringRef Src, SMDiagnostic &Error);
95 StringRef Src, SMDiagnostic &Error);
DMIRParser.cpp66 void reportDiagnostic(const SMDiagnostic &Diag);
82 bool error(const SMDiagnostic &Error, SMRange SourceRange);
139 SMDiagnostic diagFromMIStringDiag(const SMDiagnostic &Error,
144 SMDiagnostic diagFromBlockStringDiag(const SMDiagnostic &Error,
175 DS_Error, SMDiagnostic(Filename, SourceMgr::DK_Error, Message.str()))); in error()
185 bool MIRParserImpl::error(const SMDiagnostic &Error, SMRange SourceRange) { in error()
191 void MIRParserImpl::reportDiagnostic(const SMDiagnostic &Diag) { in reportDiagnostic()
207 static void handleYAMLDiag(const SMDiagnostic &Diag, void *Context) { in handleYAMLDiag()
229 SMDiagnostic Error; in parse()
306 SMDiagnostic Error; in initializeMachineFunction()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DParser.cpp27 ModuleSummaryIndex *Index, SMDiagnostic &Err, in parseAssemblyInto()
42 llvm::parseAssembly(MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context, in parseAssembly()
56 llvm::parseAssemblyFile(StringRef Filename, SMDiagnostic &Err, in parseAssemblyFile()
62 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseAssemblyFile()
72 MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context, in parseAssemblyWithIndex()
87 StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, in parseAssemblyFileWithIndex()
92 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseAssemblyFileWithIndex()
103 llvm::parseAssemblyString(StringRef AsmString, SMDiagnostic &Err, in parseAssemblyString()
113 SMDiagnostic &Err) { in parseSummaryIndexAssemblyInto()
125 llvm::parseSummaryIndexAssembly(MemoryBufferRef F, SMDiagnostic &Err) { in parseSummaryIndexAssembly()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DIRReader.h36 SMDiagnostic &Err, in getLazyIRModule()
43 Err = SMDiagnostic(Buffer->getBufferIdentifier(), ErrMsg); in getLazyIRModule()
59 SMDiagnostic &Err, in getLazyIRFileModule()
63 Err = SMDiagnostic(Filename, in getLazyIRFileModule()
76 SMDiagnostic &Err, in ParseIR()
83 Err = SMDiagnostic(Buffer->getBufferIdentifier(), ErrMsg); in ParseIR()
96 SMDiagnostic &Err, in ParseIRFile()
100 Err = SMDiagnostic(Filename, in ParseIRFile()
DSourceMgr.h28 class SMDiagnostic; variable
39 typedef void (*DiagHandlerTy)(const SMDiagnostic&, void *Context);
140 SMDiagnostic GetMessage(SMLoc Loc,
156 class SMDiagnostic {
166 SMDiagnostic() : SM(0), LineNo(0), ColumnNo(0), ShowLine(0) {} in SMDiagnostic() function
168 SMDiagnostic(const std::string &filename, const std::string &Msg) in SMDiagnostic() function
173 SMDiagnostic(const SourceMgr &sm, SMLoc L, const std::string &FN,
/external/llvm/lib/IRReader/
DIRReader.cpp33 getLazyIRModule(std::unique_ptr<MemoryBuffer> Buffer, SMDiagnostic &Err, in getLazyIRModule()
40 Err = SMDiagnostic(Buffer->getBufferIdentifier(), SourceMgr::DK_Error, in getLazyIRModule()
51 SMDiagnostic &Err, in getLazyIRFileModule()
57 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in getLazyIRFileModule()
66 std::unique_ptr<Module> llvm::parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err, in parseIR()
75 Err = SMDiagnostic(Buffer.getBufferIdentifier(), SourceMgr::DK_Error, in parseIR()
85 std::unique_ptr<Module> llvm::parseIRFile(StringRef Filename, SMDiagnostic &Err, in parseIRFile()
90 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseIRFile()
105 SMDiagnostic Diag; in LLVMParseIRInContext()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IRReader/
DIRReader.cpp34 getLazyIRModule(std::unique_ptr<MemoryBuffer> Buffer, SMDiagnostic &Err, in getLazyIRModule()
42 Err = SMDiagnostic(Buffer->getBufferIdentifier(), SourceMgr::DK_Error, in getLazyIRModule()
54 SMDiagnostic &Err, in getLazyIRFileModule()
60 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in getLazyIRFileModule()
69 std::unique_ptr<Module> llvm::parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err, in parseIR()
82 Err = SMDiagnostic(Buffer.getBufferIdentifier(), SourceMgr::DK_Error, in parseIR()
96 std::unique_ptr<Module> llvm::parseIRFile(StringRef Filename, SMDiagnostic &Err, in parseIRFile()
103 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseIRFile()
119 SMDiagnostic Diag; in LLVMParseIRInContext()
/external/llvm/lib/AsmParser/
DParser.cpp25 bool llvm::parseAssemblyInto(MemoryBufferRef F, Module &M, SMDiagnostic &Err, in parseAssemblyInto()
35 SMDiagnostic &Err, in parseAssembly()
48 SMDiagnostic &Err, in parseAssemblyFile()
54 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseAssemblyFile()
63 SMDiagnostic &Err, in parseAssemblyString()
70 Constant *llvm::parseConstantValue(StringRef Asm, SMDiagnostic &Err, in parseConstantValue()
82 Type *llvm::parseType(StringRef Asm, SMDiagnostic &Err, const Module &M, in parseType()
99 SMDiagnostic &Err, const Module &M, in parseTypeAtBeginning()
/external/swiftshader/third_party/LLVM/include/llvm/Assembly/
DParser.h23 class SMDiagnostic; variable
35 SMDiagnostic &Error, ///< Error result info.
48 SMDiagnostic &Error, ///< Error result info.
59 SMDiagnostic &Err, ///< Error result info.
/external/llvm/include/llvm/IRReader/
DIRReader.h25 class SMDiagnostic; variable
34 getLazyIRFileModule(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
40 std::unique_ptr<Module> parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err,
46 std::unique_ptr<Module> parseIRFile(StringRef Filename, SMDiagnostic &Err,
/external/swiftshader/third_party/llvm-subzero/include/llvm/IRReader/
DIRReader.h25 class SMDiagnostic; variable
34 getLazyIRFileModule(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
40 std::unique_ptr<Module> parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err,
46 std::unique_ptr<Module> parseIRFile(StringRef Filename, SMDiagnostic &Err,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IRReader/
DIRReader.h26 class SMDiagnostic; variable
35 getLazyIRFileModule(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
45 std::unique_ptr<Module> parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err,
57 std::unique_ptr<Module> parseIRFile(StringRef Filename, SMDiagnostic &Err,
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DSourceMgr.h28 class SMDiagnostic; variable
46 typedef void (*DiagHandlerTy)(const SMDiagnostic &, void *Context);
172 void PrintMessage(raw_ostream &OS, const SMDiagnostic &Diagnostic,
180 SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
228 class SMDiagnostic {
240 SMDiagnostic() in SMDiagnostic() function
243 SMDiagnostic(StringRef filename, SourceMgr::DiagKind Knd, StringRef Msg) in SMDiagnostic() function
248 SMDiagnostic(const SourceMgr &sm, SMLoc L, StringRef FN,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DSourceMgr.h37 class SMDiagnostic; variable
54 using DiagHandlerTy = void (*)(const SMDiagnostic &, void *Context);
206 void PrintMessage(raw_ostream &OS, const SMDiagnostic &Diagnostic,
214 SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
260 class SMDiagnostic {
273 SMDiagnostic() = default;
275 SMDiagnostic(StringRef filename, SourceMgr::DiagKind Knd, StringRef Msg) in SMDiagnostic() function
279 SMDiagnostic(const SourceMgr &sm, SMLoc L, StringRef FN,
/external/llvm/include/llvm/Support/
DSourceMgr.h28 class SMDiagnostic; variable
46 typedef void (*DiagHandlerTy)(const SMDiagnostic &, void *Context);
177 void PrintMessage(raw_ostream &OS, const SMDiagnostic &Diagnostic,
185 SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
233 class SMDiagnostic {
245 SMDiagnostic() in SMDiagnostic() function
248 SMDiagnostic(StringRef filename, SourceMgr::DiagKind Knd, StringRef Msg) in SMDiagnostic() function
253 SMDiagnostic(const SourceMgr &sm, SMLoc L, StringRef FN,
/external/llvm/test/CodeGen/PowerPC/
Dtoc-load-sched-bug.ll99 %"class.llvm::SMDiagnostic" = type { %"class.llvm::SourceMgr"*, %"class.llvm::SMLoc", %"class.std::…
100 …"class.std::vector", %"class.std::vector.74", i8*, void (%"class.llvm::SMDiagnostic"*, i8*)*, i8* }
162 …ring"* nocapture readonly dereferenceable(8) %Filename, %"class.llvm::SMDiagnostic"* dereferenceab…
177 %ref.tmp = alloca %"class.llvm::SMDiagnostic", align 8
222 …%Filename.i = getelementptr inbounds %"class.llvm::SMDiagnostic", %"class.llvm::SMDiagnostic"* %re…
224 %11 = bitcast %"class.llvm::SMDiagnostic"* %ref.tmp to i8*
241 …%LineNo.i = getelementptr inbounds %"class.llvm::SMDiagnostic", %"class.llvm::SMDiagnostic"* %ref.…
243 …%ColumnNo.i = getelementptr inbounds %"class.llvm::SMDiagnostic", %"class.llvm::SMDiagnostic"* %re…
245 …%Kind.i = getelementptr inbounds %"class.llvm::SMDiagnostic", %"class.llvm::SMDiagnostic"* %ref.tm…
247 …%Message.i = getelementptr inbounds %"class.llvm::SMDiagnostic", %"class.llvm::SMDiagnostic"* %ref…
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
Dtoc-load-sched-bug.ll99 %"class.llvm::SMDiagnostic" = type { %"class.llvm::SourceMgr"*, %"class.llvm::SMLoc", %"class.std::…
100 …"class.std::vector", %"class.std::vector.74", i8*, void (%"class.llvm::SMDiagnostic"*, i8*)*, i8* }
162 …ring"* nocapture readonly dereferenceable(8) %Filename, %"class.llvm::SMDiagnostic"* dereferenceab…
177 %ref.tmp = alloca %"class.llvm::SMDiagnostic", align 8
222 …%Filename.i = getelementptr inbounds %"class.llvm::SMDiagnostic", %"class.llvm::SMDiagnostic"* %re…
224 %11 = bitcast %"class.llvm::SMDiagnostic"* %ref.tmp to i8*
241 …%LineNo.i = getelementptr inbounds %"class.llvm::SMDiagnostic", %"class.llvm::SMDiagnostic"* %ref.…
243 …%ColumnNo.i = getelementptr inbounds %"class.llvm::SMDiagnostic", %"class.llvm::SMDiagnostic"* %re…
245 …%Kind.i = getelementptr inbounds %"class.llvm::SMDiagnostic", %"class.llvm::SMDiagnostic"* %ref.tm…
247 …%Message.i = getelementptr inbounds %"class.llvm::SMDiagnostic", %"class.llvm::SMDiagnostic"* %ref…
[all …]
/external/swiftshader/third_party/LLVM/lib/AsmParser/
DParser.cpp27 SMDiagnostic &Err, in ParseAssembly()
43 Module *llvm::ParseAssemblyFile(const std::string &Filename, SMDiagnostic &Err, in ParseAssemblyFile()
47 Err = SMDiagnostic(Filename, in ParseAssemblyFile()
56 SMDiagnostic &Err, LLVMContext &Context) { in ParseAssemblyString()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DValueTrackingTest.cpp28 SMDiagnostic Error; in parseAssembly()
215 SMDiagnostic Error; in TEST()
251 SMDiagnostic Error; in TEST()
276 SMDiagnostic Error; in TEST()
302 SMDiagnostic Error; in TEST()
/external/llvm/unittests/Support/
DYAMLParserTest.cpp19 static void SuppressDiagnosticsOutput(const SMDiagnostic &, void *) { in SuppressDiagnosticsOutput() argument
25 static void CollectDiagnosticsOutput(const SMDiagnostic &Diag, void *Ctx) { in CollectDiagnosticsOutput()
26 SMDiagnostic* DiagOut = static_cast<SMDiagnostic*>(Ctx); in CollectDiagnosticsOutput()
237 SMDiagnostic GeneratedDiag; in TEST()
250 SMDiagnostic GeneratedDiag; in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DYAMLParserTest.cpp19 static void SuppressDiagnosticsOutput(const SMDiagnostic &, void *) { in SuppressDiagnosticsOutput() argument
25 static void CollectDiagnosticsOutput(const SMDiagnostic &Diag, void *Ctx) { in CollectDiagnosticsOutput()
26 SMDiagnostic* DiagOut = static_cast<SMDiagnostic*>(Ctx); in CollectDiagnosticsOutput()
238 SMDiagnostic GeneratedDiag; in TEST()
251 SMDiagnostic GeneratedDiag; in TEST()

1234567