cd81d94322a39503e4a3e87b6ee03d4fcb3465fb |
|
21-Jul-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM for rebase to r212749. Includes a cherry-pick of: r212948 - fixes a small issue with atomic calls Change-Id: Ib97bd980b59f18142a69506400911a6009d9df18
/external/llvm/lib/AsmParser/Parser.cpp
|
dce4a407a24b04eebc6a376f8e62b41aaa7b071f |
|
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM for 3.5 rebase (r209712). Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/lib/AsmParser/Parser.cpp
|
36b56886974eae4f9c5ebc96befd3e7bfe5de338 |
|
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Update to LLVM 3.5a. Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/lib/AsmParser/Parser.cpp
|
dd5af27a74a01f0d03356cea15d3a403f4964f8b |
|
25-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
keep only the StringRef version of getFileOrSTDIN. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184826 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
0b8c9a80f20772c3793201ab5b251d3520b9cea3 |
|
02-Jan-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Move all of the header files which are involved in modelling the LLVM IR into their new header subdirectory: include/llvm/IR. This matches the directory structure of lib, and begins to correct a long standing point of file layout clutter in LLVM. There are still more header files to move here, but I wanted to handle them in separate commits to make tracking what files make sense at each layer easier. The only really questionable files here are the target intrinsic tablegen files. But that's a battle I'd rather not fight today. I've updated both CMake and Makefile build systems (I think, and my tests think, but I may have missed something). I've also re-sorted the includes throughout the project. I'll be committing updates to Clang, DragonEgg, and Polly momentarily. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171366 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
d04a8d4b33ff316ca4cf961e06c9e312eff8e64f |
|
03-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Use the new script to sort the includes of every file under lib. Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module include to be the nearest plausible thing I could find. If you own or care about any of these source files, I encourage you to take some time and check that these edits were sensible. I can't have broken anything (I strictly added headers, and reordered them, never removed), but they may not be the headers you'd really like to identify as containing the API being implemented. Many forward declarations and missing includes were added to a header files to allow them to parse cleanly when included first. The main module rule does in fact have its merits. =] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169131 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
3f2d5f60b31fd057c10f77b2e607b23a8c94f6d3 |
|
16-Oct-2011 |
Chris Lattner <sabre@nondot.org> |
Make SMDiagnostic a little more sane. Instead of passing around note/warning/error as a string, pass it around as an enum. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142107 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
3ff9563c3e391954b2e224afcf8b2b0fcc3888aa |
|
16-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> via an out parm. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121958 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
333fb04506233255f10d8095c9e2de5e5f0fdc6f |
|
09-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with error_code &ec. And fix clients. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121379 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
582554555376cd60507c77cadb45edb88acfe7ed |
|
04-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Don't print the filename twice in file-not-found errors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110179 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
b019491b8d7b171cd0835ba34f3b28b24dfcc3e0 |
|
06-Apr-2010 |
Chris Lattner <sabre@nondot.org> |
enhance SMDiagnostic to also maintain a pointer to the SourceMgr. Add a simplified constructor for clients that don't have locations like "file not found" errors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100538 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
8f0f480a10cd5b62914fd53611e696c5069fc62d |
|
06-Apr-2010 |
Chris Lattner <sabre@nondot.org> |
Give llvm::SourceMgr the ability to have a client-specified diagnostic handler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100503 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
4c842dda3939c6b9f83ba7e8e19e43445cd9a832 |
|
06-Apr-2010 |
Chris Lattner <sabre@nondot.org> |
stringref-ize the MemoryBuffer::get apis. This requires a co-committed clang patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100485 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
82b5a30724e478ff7fbfe1483f6058657202939b |
|
21-Jan-2010 |
Dan Gohman <gohman@apple.com> |
Make the parser include the lower level error message in its own error message, to be more informative. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94072 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
f31657990191d5b2bb1eb3bd95020fc3375f0e3d |
|
09-Sep-2009 |
Dan Gohman <gohman@apple.com> |
Use MemoryBuffer::getBufferIdentifier() in the AsmPrinter instead of requiring a name be passed in. This makes it use "<stdin>" instead of "-" and makes it more consistent with the Bitcode reader. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81256 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
2ec5fe524c6ab957524fa02422b026cfe168d948 |
|
02-Sep-2009 |
Dan Gohman <gohman@apple.com> |
Refactor common code from ParseAssemblyString and ParseAssemblyFile, to expose a low-level interface for parsing from an existing MemoryBuffer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80803 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
eeb4a84ac8d91fb1d5a7c484a1c7047409faee30 |
|
03-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
switch the .ll parser to use SourceMgr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74735 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
92bcb426c3e4503c99324afd4ed0a73521711a56 |
|
03-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
switch the .ll parser into SMDiagnostic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74734 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
4434ed44c45c87a72b7a0bf2f91211f895022b91 |
|
02-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Make the use of const with respect to LLVMContext sane. Hopefully this is the last time, for the moment, that I will need to make far-reaching changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74655 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
31895e73591d3c9ceae731a1274c8f56194b9616 |
|
01-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Hold the LLVMContext by reference rather than by pointer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74640 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
8b477ed579794ba6d76915d56b3f448a7dd20120 |
|
01-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Add a pointer to the owning LLVMContext to Module. This requires threading LLVMContext through a lot of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools. Patches for Clang and LLVM-GCC to follow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74614 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
5d13665c09c0173b30d3dcc64498169f6fec2246 |
|
08-Jan-2009 |
Dan Gohman <gohman@apple.com> |
Fix the path to llvm/Assembly/Parser.h in a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61948 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
ad7d1e2085a489dbedc65b99bab811771ead1aab |
|
04-Jan-2009 |
Chris Lattner <sabre@nondot.org> |
Refactor some parser interfaces to fix PR3278 and a FIXME: ParseAssemblyString with a specified module would not parse into the module, it would create and return a new one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61635 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
9ea4034e007a83c778cd306ea66481be1317a51b |
|
02-Jan-2009 |
Misha Brukman <brukman+llvm@gmail.com> |
Down with trailing whitespace! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61594 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
df98617b23315e427cc4fad8ccfdd50d68bec2f9 |
|
02-Jan-2009 |
Chris Lattner <sabre@nondot.org> |
Reimplement the old and horrible bison parser for .ll files with a nice and clean recursive descent parser. This change has a couple of ramifications: 1. The parser code is about 400 lines shorter (in what we maintain, not including what is autogenerated). 2. The code should be significantly faster than the old code because we don't have to work around bison's poor handling of datatypes with ctors/dtors. This also makes the code much more resistant to memory leaks. 3. We now get caret diagnostics from the .ll parser, woo. 4. The actual diagnostics emited from the parser are completely different so a bunch of testcases had to be updated. 5. I now disallow "%ty = type opaque %ty = type i32". There was no good reason to support this, it was just an accident of the old implementation. I have no reason to think that anyone is actually using this. 6. The syntax for sticking a global variable has changed to make it unambiguous. I don't think anyone is depending on this since only clang supports this and it is not solid yet, so I'm not worried about anything breaking. 7. This gets rid of the last use of bison, and along with it the .cvs files. I'll prune this from the makefiles as a subsequent commit. There are a few minor cleanups that can be done after this commit (suggestions welcome!) but this passes dejagnu testing and is ready for its time in the limelight. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61558 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
038112a4e0a9afd656f415ab397a230ae5921627 |
|
01-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
Change the MemoryBuffer::getFile* methods to take just a pointer to the start of a filename, not a filename+length. All clients can produce a null terminated name, and the system api's require null terminated strings anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49041 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
ae9f3a3b7c915f725aef5a7250e88eaeddda03c6 |
|
20-Feb-2008 |
Anton Korobeynikov <asl@math.spbu.ru> |
Unbreak build with gcc 4.3: provide missed includes and silence most annoying warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47367 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
4ee451de366474b9c228b4e5fa573795a715216d |
|
29-Dec-2007 |
Chris Lattner <sabre@nondot.org> |
Remove attribution from file headers, per discussion on llvmdev. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45418 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
8e3a8e0452695643d04c21e15c94b802aef81bae |
|
18-Nov-2007 |
Chris Lattner <sabre@nondot.org> |
Replace the original flex lexer with a hand writen one. This drops a dependency on flex and lets us make future progress more easily. Yay for 2 fewer .cvs files to make silly conflicts with. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44213 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
61c83e023fe618ca7b4fdc846039933e61a00ec9 |
|
18-Aug-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR797: Rid the Assembly Parser of exceptions. This is a really gross hack but it will do until the Assembly Parser is re-written as a recursive descent. The basic premise is that wherever the old "ThrowException" function was called (new name: GenerateError) we set a flag (TriggerError). Every production checks that flag and calls YYERROR if it is set. Additionally, each call to ThrowException in the grammar is replaced with GEN_ERROR which calls GenerateError and then YYERROR immediately. This prevents the remaining production from continuing after an error condition. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29763 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
6184febcda9b97cd053b2e7557a681a2d78625c8 |
|
20-May-2005 |
Chris Lattner <sabre@nondot.org> |
Give the asmparser the ability to parse strings. Patch contributed by Alexander Friedman git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22146 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
019b63931b946a7dbf55282f4dce7d94d617c5fb |
|
21-Apr-2005 |
Misha Brukman <brukman+llvm@gmail.com> |
* Remove trailing whitespace * Convert tabs to spaces git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21415 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
65cd4b0fa7cc5a9b0bd7b5f11dda73de672d3f0b |
|
13-Jul-2004 |
Chris Lattner <sabre@nondot.org> |
Fine-grainify namespacification, prune #include git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14792 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
d0fde30ce850b78371fd1386338350591f9ff494 |
|
11-Nov-2003 |
Brian Gaeke <gaeke@uiuc.edu> |
Put all LLVM code into the llvm namespace, as per bug 109. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
1913848e337c982f7997fc5fe2a722e514315308 |
|
23-Oct-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
* Eliminate `using' directive * Order #includes as per style guide git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9429 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
b576c94c15af9a440f69d9d03c2afead7971118c |
|
20-Oct-2003 |
John Criswell <criswell@uiuc.edu> |
Added LLVM project notice to the top of every C++ source file. Header files will be on the way. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
32299911657651ea6738d5ce085803dc7b991d34 |
|
23-Sep-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Uppercase the acronym ASCII. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8676 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
77e14adf0bb15762b7892529ad5c7705600b4d3a |
|
31-Aug-2002 |
Chris Lattner <sabre@nondot.org> |
AsmParser now depends on clients to verify that input is well formed git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3548 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
7e70829632f82de15db187845666aaca6e04b792 |
|
25-Jun-2002 |
Chris Lattner <sabre@nondot.org> |
MEGAPATCH checkin. For details, See: docs/2002-06-25-MegaPatchInfo.txt git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2779 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
c6f3ae5c66c8e0dab6a2bd9601d0e253ef9ba794 |
|
29-Apr-2002 |
Chris Lattner <sabre@nondot.org> |
Eliminate duplicate or unneccesary #include's git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2397 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
fbdb1da666f908302918f4d9d37d11667a3105e1 |
|
20-Feb-2002 |
Chris Lattner <sabre@nondot.org> |
Close input file if exception is thrown git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1784 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
0b91acf5db507f0800c1c51e85e1e3f324322ef1 |
|
20-Feb-2002 |
Chris Lattner <sabre@nondot.org> |
Change to verifier interface git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1782 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
697954c15da58bd8b186dbafdedd8b06db770201 |
|
20-Jan-2002 |
Chris Lattner <sabre@nondot.org> |
Changes to build successfully with GCC 3.02 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1503 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
b4d22f9952e05c273a27dd4f0eb2631ad3687742 |
|
13-Oct-2001 |
Chris Lattner <sabre@nondot.org> |
Remove exception specification git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@756 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
a28504313d4c3fe87173a71b511dd4c8e25c3312 |
|
22-Jul-2001 |
Chris Lattner <sabre@nondot.org> |
Remove dependence on command line library. Silly anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|
009505452b713ed2e3a8e99c5545a6e721c65495 |
|
06-Jun-2001 |
Chris Lattner <sabre@nondot.org> |
Initial revision git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/AsmParser/Parser.cpp
|