Home
last modified time | relevance | path

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

1234

/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/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/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/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()
DLLLexer.h26 class SMDiagnostic; variable
32 SMDiagnostic &ErrorInfo;
46 explicit LLLexer(StringRef StartBuf, SourceMgr &SM, SMDiagnostic &,
/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/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()
DLLLexer.h26 class SMDiagnostic; variable
32 SMDiagnostic &ErrorInfo;
47 explicit LLLexer(MemoryBuffer *StartBuf, SourceMgr &SM, SMDiagnostic &,
/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/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/llvm/include/llvm/IR/
DDiagnosticPrinter.h25 class SMDiagnostic; variable
57 virtual DiagnosticPrinter &operator<<(const SMDiagnostic &Diag) = 0;
90 DiagnosticPrinter &operator<<(const SMDiagnostic &Diag) override;
DLLVMContext.h30 class SMDiagnostic; variable
127 typedef void (*InlineAsmDiagHandlerTy)(const SMDiagnostic&, void *Context,
/external/llvm/unittests/AsmParser/
DAsmParserTest.cpp26 SMDiagnostic Error; in TEST()
39 SMDiagnostic Error; in TEST()
52 SMDiagnostic Error; in TEST()
70 SMDiagnostic Error; in TEST()
121 SMDiagnostic Error; in TEST()
157 SMDiagnostic Error; in TEST()
281 SMDiagnostic Error; in TEST()
/external/llvm/include/llvm/CodeGen/MIRParser/
DMIRParser.h30 class SMDiagnostic; variable
65 SMDiagnostic &Error,
/external/llvm/unittests/IR/
DValueTest.cpp37 SMDiagnostic Err; in TEST()
121 SMDiagnostic Err; in TEST()
189 SMDiagnostic Err; in TEST()
224 SMDiagnostic Err; in TEST()
DUseTest.cpp39 SMDiagnostic Err; in TEST()
84 SMDiagnostic Err; in TEST()
/external/swiftshader/third_party/LLVM/include/llvm/
DLLVMContext.h24 class SMDiagnostic; variable
55 typedef void (*InlineAsmDiagHandlerTy)(const SMDiagnostic&, void *Context,
/external/llvm/lib/Support/
DSourceMgr.cpp135 SMDiagnostic SourceMgr::GetMessage(SMLoc Loc, SourceMgr::DiagKind Kind, in GetMessage()
193 return SMDiagnostic(*this, Loc, BufferID, LineAndCol.first, in GetMessage()
198 void SourceMgr::PrintMessage(raw_ostream &OS, const SMDiagnostic &Diagnostic, in PrintMessage()
232 SMDiagnostic::SMDiagnostic(const SourceMgr &sm, SMLoc L, StringRef FN, in SMDiagnostic() function in SMDiagnostic
335 void SMDiagnostic::print(const char *ProgName, raw_ostream &S, bool ShowColors, in print()
/external/swiftshader/third_party/LLVM/lib/Support/
DSourceMgr.cpp143 SMDiagnostic SourceMgr::GetMessage(SMLoc Loc, const Twine &Msg, in GetMessage()
175 return SMDiagnostic(*this, Loc, in GetMessage()
202 void SMDiagnostic::Print(const char *ProgName, raw_ostream &S) const { in Print()
/external/llvm/lib/LTO/
DLTO.cpp25 SMDiagnostic Err; in loadModuleFromBuffer()
35 Err = SMDiagnostic(Buffer.getBufferIdentifier(), SourceMgr::DK_Error, in loadModuleFromBuffer()

1234