Home
last modified time | relevance | path

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

12345678910

/external/llvm-project/llvm/include/llvm/AsmParser/
DParser.h28 class SMDiagnostic; variable
45 std::unique_ptr<Module> parseAssemblyFile(StringRef Filename, SMDiagnostic &Err,
61 SMDiagnostic &Err,
86 StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
92 StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
104 parseSummaryIndexAssemblyFile(StringRef Filename, SMDiagnostic &Err);
114 MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context,
127 SMDiagnostic &Err,
138 parseSummaryIndexAssembly(MemoryBufferRef F, SMDiagnostic &Err);
154 MemoryBufferRef F, Module *M, ModuleSummaryIndex *Index, SMDiagnostic &Err,
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/AsmParser/
DParser.h25 class SMDiagnostic; variable
44 parseAssemblyFile(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
64 SMDiagnostic &Err,
94 parseAssemblyFileWithIndex(StringRef Filename, SMDiagnostic &Err,
108 parseSummaryIndexAssemblyFile(StringRef Filename, SMDiagnostic &Err);
120 std::unique_ptr<Module> parseAssembly(MemoryBufferRef F, SMDiagnostic &Err,
139 SMDiagnostic &Err,
152 parseSummaryIndexAssembly(MemoryBufferRef F, SMDiagnostic &Err);
171 SMDiagnostic &Err, SlotMapping *Slots = nullptr,
183 Constant *parseConstantValue(StringRef Asm, SMDiagnostic &Err, const Module &M,
[all …]
/external/llvm-project/llvm/lib/AsmParser/
DParser.cpp26 ModuleSummaryIndex *Index, SMDiagnostic &Err, in parseAssemblyInto()
40 ModuleSummaryIndex *Index, SMDiagnostic &Err, in parseAssemblyInto()
48 llvm::parseAssembly(MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context, in parseAssembly()
61 SMDiagnostic &Err, in parseAssemblyFile()
67 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseAssemblyFile()
76 parseAssemblyWithIndex(MemoryBufferRef F, SMDiagnostic &Err, in parseAssemblyWithIndex()
93 SMDiagnostic &Err, in parseAssemblyWithIndex()
102 parseAssemblyFileWithIndex(StringRef Filename, SMDiagnostic &Err, in parseAssemblyFileWithIndex()
109 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseAssemblyFileWithIndex()
120 llvm::parseAssemblyFileWithIndex(StringRef Filename, SMDiagnostic &Err, in parseAssemblyFileWithIndex()
[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/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-10.0/llvm/lib/AsmParser/
DParser.cpp26 ModuleSummaryIndex *Index, SMDiagnostic &Err, in parseAssemblyInto()
41 llvm::parseAssembly(MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context, in parseAssembly()
55 llvm::parseAssemblyFile(StringRef Filename, SMDiagnostic &Err, in parseAssemblyFile()
61 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseAssemblyFile()
71 MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context, in parseAssemblyWithIndex()
86 StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, in parseAssemblyFileWithIndex()
91 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseAssemblyFileWithIndex()
102 llvm::parseAssemblyString(StringRef AsmString, SMDiagnostic &Err, in parseAssemblyString()
112 SMDiagnostic &Err) { in parseSummaryIndexAssemblyInto()
124 llvm::parseSummaryIndexAssembly(MemoryBufferRef F, SMDiagnostic &Err) { in parseSummaryIndexAssembly()
[all …]
/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-project/llvm/lib/IRReader/
DIRReader.cpp33 llvm::getLazyIRModule(std::unique_ptr<MemoryBuffer> Buffer, SMDiagnostic &Err, in getLazyIRModule()
41 Err = SMDiagnostic(Buffer->getBufferIdentifier(), SourceMgr::DK_Error, in getLazyIRModule()
53 SMDiagnostic &Err, in getLazyIRFileModule()
59 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in getLazyIRFileModule()
68 std::unique_ptr<Module> llvm::parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err, in parseIR()
80 Err = SMDiagnostic(Buffer.getBufferIdentifier(), SourceMgr::DK_Error, in parseIR()
92 llvm::parseIRFile(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, in parseIRFile()
97 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseIRFile()
113 SMDiagnostic Diag; in LLVMParseIRInContext()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/MIRParser/
DMIParser.h28 class SMDiagnostic; variable
199 StringRef Src, SMDiagnostic &Error);
212 SMDiagnostic &Error);
216 SMDiagnostic &Error);
220 SMDiagnostic &Error);
223 StringRef Src, SMDiagnostic &Error);
227 SMDiagnostic &Error);
230 StringRef Src, SMDiagnostic &Error);
233 SMDiagnostic &Error);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IRReader/
DIRReader.cpp33 llvm::getLazyIRModule(std::unique_ptr<MemoryBuffer> Buffer, SMDiagnostic &Err, in getLazyIRModule()
41 Err = SMDiagnostic(Buffer->getBufferIdentifier(), SourceMgr::DK_Error, in getLazyIRModule()
53 SMDiagnostic &Err, in getLazyIRFileModule()
59 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in getLazyIRFileModule()
68 std::unique_ptr<Module> llvm::parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err, in parseIR()
81 Err = SMDiagnostic(Buffer.getBufferIdentifier(), SourceMgr::DK_Error, in parseIR()
95 std::unique_ptr<Module> llvm::parseIRFile(StringRef Filename, SMDiagnostic &Err, in parseIRFile()
102 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseIRFile()
118 SMDiagnostic Diag; in LLVMParseIRInContext()
/external/llvm-project/llvm/include/llvm/CodeGen/MIRParser/
DMIParser.h29 class SMDiagnostic; variable
200 StringRef Src, SMDiagnostic &Error);
213 SMDiagnostic &Error);
217 SMDiagnostic &Error);
221 SMDiagnostic &Error);
224 StringRef Src, SMDiagnostic &Error);
228 SMDiagnostic &Error);
231 StringRef Src, SMDiagnostic &Error);
234 SMDiagnostic &Error);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IRReader/
DIRReader.h26 class SMDiagnostic; variable
36 SMDiagnostic &Err, LLVMContext &Context,
45 getLazyIRFileModule(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
55 std::unique_ptr<Module> parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err,
67 std::unique_ptr<Module> parseIRFile(StringRef Filename, SMDiagnostic &Err,
/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/llvm-project/llvm/include/llvm/IRReader/
DIRReader.h26 class SMDiagnostic; variable
39 SMDiagnostic &Err, LLVMContext &Context,
48 getLazyIRFileModule(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
56 MemoryBufferRef Buffer, SMDiagnostic &Err, LLVMContext &Context,
64 StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
/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/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/llvm-project/llvm/unittests/TableGen/
DCodeExpanderTest.cpp29 std::vector<SMDiagnostic> Expected;
30 std::vector<SMDiagnostic> Received;
54 void expect(SMDiagnostic D) { Expected.push_back(D); } in expect()
56 void diag(const SMDiagnostic &D) { in diag()
60 static void handler(const SMDiagnostic &D, void *Context) { in handler()
115 DiagChecker.expect(SMDiagnostic( in TEST()
164 SMDiagnostic(SrcMgr, SMLoc(), "<unknown>", 0, -1, SourceMgr::DK_Error, in TEST()
180 DiagChecker.expect(SMDiagnostic(SrcMgr, SMLoc::getFromPointer(In.data()), in TEST()
/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-10.0/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp74 void reportDiagnostic(const SMDiagnostic &Diag);
90 bool error(const SMDiagnostic &Error, SMRange SourceRange);
154 SMDiagnostic diagFromMIStringDiag(const SMDiagnostic &Error,
159 SMDiagnostic diagFromBlockStringDiag(const SMDiagnostic &Error,
167 static void handleYAMLDiag(const SMDiagnostic &Diag, void *Context) { in handleYAMLDiag()
184 DS_Error, SMDiagnostic(Filename, SourceMgr::DK_Error, Message.str()))); in error()
194 bool MIRParserImpl::error(const SMDiagnostic &Error, SMRange SourceRange) { in error()
200 void MIRParserImpl::reportDiagnostic(const SMDiagnostic &Diag) { in reportDiagnostic()
233 SMDiagnostic Error; in parseIRModule()
355 SMDiagnostic Error; in initializeCallSiteInfo()
[all …]
/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-project/llvm/include/llvm/Support/
DSourceMgr.h26 class SMDiagnostic; variable
43 using DiagHandlerTy = void (*)(const SMDiagnostic &, void *Context);
204 void PrintMessage(raw_ostream &OS, const SMDiagnostic &Diagnostic,
212 SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
251 class SMDiagnostic {
264 SMDiagnostic() = default;
266 SMDiagnostic(StringRef filename, SourceMgr::DiagKind Knd, StringRef Msg) in SMDiagnostic() function
270 SMDiagnostic(const SourceMgr &sm, SMLoc L, StringRef FN, int Line, int Col,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSourceMgr.h36 class SMDiagnostic; variable
53 using DiagHandlerTy = void (*)(const SMDiagnostic &, void *Context);
207 void PrintMessage(raw_ostream &OS, const SMDiagnostic &Diagnostic,
215 SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
261 class SMDiagnostic {
274 SMDiagnostic() = default;
276 SMDiagnostic(StringRef filename, SourceMgr::DiagKind Knd, StringRef Msg) in SMDiagnostic() function
280 SMDiagnostic(const SourceMgr &sm, SMLoc L, StringRef FN,
/external/llvm-project/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp74 void reportDiagnostic(const SMDiagnostic &Diag);
90 bool error(const SMDiagnostic &Error, SMRange SourceRange);
155 SMDiagnostic diagFromMIStringDiag(const SMDiagnostic &Error,
160 SMDiagnostic diagFromBlockStringDiag(const SMDiagnostic &Error,
171 static void handleYAMLDiag(const SMDiagnostic &Diag, void *Context) { in handleYAMLDiag()
188 DS_Error, SMDiagnostic(Filename, SourceMgr::DK_Error, Message.str()))); in error()
198 bool MIRParserImpl::error(const SMDiagnostic &Error, SMRange SourceRange) { in error()
204 void MIRParserImpl::reportDiagnostic(const SMDiagnostic &Diag) { in reportDiagnostic()
241 SMDiagnostic Error; in parseIRModule()
370 SMDiagnostic Error; in initializeCallSiteInfo()
[all …]
/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 …]

12345678910