History log of /external/llvm/lib/TableGen/Main.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a170f520a990a50c35f72d81b4415dc4c3ec50de 07-Feb-2013 Sean Silva <silvas@purdue.edu> tblgen: Diagnose duplicate includes.

A double inclusion will pretty much always be an error in TableGen, so
there's no point going on just to die with "def already defined" or
whatnot.

I'm not too thrilled about the "public: ... private: ..." to expose the
DependenciesMapTy, but I really didn't see a better way to keep that
type centralized. It's a smell that indicates that some refactoring is
needed to make this code more loosely coupled.

This should avoid all bugs of the same nature as PR15189.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174582 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/TableGen/Main.cpp
61131ab15fd593a2e295d79fe2714e7bc21f2ec8 25-Oct-2012 Joerg Sonnenberger <joerg@bec.de> Remove exception handling usage from tblgen.

Most places can use PrintFatalError as the unwinding mechanism was not
used for anything other than printing the error. The single exception
was CodeGenDAGPatterns.cpp, where intermediate errors during type
resolution were ignored to simplify incremental platform development.
This use is replaced by an error flag in TreePattern and bailout earlier
in various places if it is set.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166712 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/TableGen/Main.cpp
1ed3b427fa0de2569351149fc5cb4638a41e9e98 09-Oct-2012 Sean Silva <silvas@purdue.edu> tblgen: Rename handleDependencies -> createDependencyFile

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165544 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/TableGen/Main.cpp
88dbc5e6c3f29276fb9d4d1110094c08b1550e42 09-Oct-2012 Sean Silva <silvas@purdue.edu> tblgen: Move dependency file output to a separate function.

This keeps it out of the main flow of TableGenMain.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165542 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/TableGen/Main.cpp
3c0962878cbc3bd5e3c482d458a242636fbbe140 03-Oct-2012 Sean Silva <silvas@purdue.edu> tblgen: Remove last traces of old TableGenMain API.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165168 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/TableGen/Main.cpp
f42a6741de5eda904a7c7b02731f0b019bbe0c5c 03-Oct-2012 Sean Silva <silvas@purdue.edu> tblgen: Put new TableGenMain API in place.

In order to avoid rev-lock with Clang when moving to the new API, also
preserve the current API temporarily and insert a shim to implement the
new API in terms of the old.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165165 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/TableGen/Main.cpp
cdd6b2dca119e95fc2e918ad8f0b2c034aea00a8 01-Jun-2012 Michael J. Spencer <bigcheesegs@gmail.com> Fix 80 columns.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157788 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/TableGen/Main.cpp
3ae9cf5ba4934bae9576e9aaabf4f401901466f8 08-Oct-2011 Che-Liang Chiou <clchiou@gmail.com> Revert r141079: tblgen: add preprocessor as a separate mode

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141492 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/TableGen/Main.cpp
f98742565765a10558824ea45f0d9a70843ed0d9 04-Oct-2011 Che-Liang Chiou <clchiou@gmail.com> tblgen: add preprocessor as a separate mode

This patch adds a preprocessor that can expand nested for-loops for
saving some copy-n-paste in *.td files.

The preprocessor is not yet integrated with TGParser, and so it has
no direct effect on *.td inputs. However, you may preprocess an td
input (and only preprocess it).

To test the proprecessor, type:
tblgen -E -o $@ $<



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141079 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/TableGen/Main.cpp
7c788888872233748da10a8177a9a1eb176c1bc8 01-Oct-2011 Peter Collingbourne <peter@pcc.me.uk> Move TableGen's parser and entry point into a library

This is the first step towards splitting LLVM and Clang's tblgen executables.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140951 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/TableGen/Main.cpp