Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | rename TGLoc -> SMLoc. | Chris Lattner | 2009-06-21 | 1 | -2/+2 | |
| | | | | llvm-svn: 73843 | |||||
* | rename -gen-clang-diags-options -> -gen-clang-diag-groups | Chris Lattner | 2009-04-15 | 1 | -5/+5 | |
| | | | | llvm-svn: 69208 | |||||
* | Add another Clang TableGen-backend (-gen-clang-diags-options) for emitting | Ted Kremenek | 2009-03-18 | 1 | -0/+6 | |
| | | | | | | | | | | | | declarations for controlling groups of warnings. Currently this transforms: def UnusedMacrosDiags : Option<"unused-macros", [pp_macro_not_used]>; into: static const diag::kind UnusedMacrosDiags[] = { diag::pp_macro_not_used }; llvm-svn: 67239 | |||||
* | Add (hidden) TableGen command option '-clang-component' which specifies the | Ted Kremenek | 2009-03-13 | 1 | -1/+6 | |
| | | | | | | | | | component's warnings to process for '-gen-clang-diags-defs'. Also, when the component is specified, generate a '#if' prologue at the top of the generated .def file (to match the current files). llvm-svn: 66975 | |||||
* | Add initial implementation of a TableGen backend for converting Clang-warnings | Ted Kremenek | 2009-03-13 | 1 | -2/+7 | |
| | | | | | | | tablegen files to the original .def preprocessor include files. This is my first TableGen backend; I don't claim that it is awesome. llvm-svn: 66971 | |||||
* | add a new TGError class and use it to propagate location info with | Chris Lattner | 2009-03-13 | 1 | -19/+14 | |
| | | | | | | | | | | | | | | | | | | | | | errors when thrown. This gets us nice errors like this from tblgen: CMOVL32rr: (set GR32:i32:$dst, (X86cmov GR32:$src1, GR32:$src2)) /Users/sabre/llvm/Debug/bin/tblgen: error: Included from X86.td:116: Parsing X86InstrInfo.td:922: In CMOVL32rr: X86cmov node requires exactly 4 operands! def CMOVL32rr : I<0x4C, MRMSrcReg, // if <s, GR32 = GR32 ^ instead of just: CMOVL32rr: (set GR32:i32:$dst, (X86cmov GR32:$src1, GR32:$src2)) /Users/sabre/llvm/Debug/bin/tblgen: In CMOVL32rr: X86cmov node requires exactly 4 operands! This is all I plan to do with this, but it should be easy enough to improve if anyone cares (e.g. keeping more loc info in "dag" expr records in tblgen. llvm-svn: 66898 | |||||
* | give each Record a location. | Chris Lattner | 2009-03-13 | 1 | -1/+10 | |
| | | | | llvm-svn: 66897 | |||||
* | make "locations" a class instead of a typedef. | Chris Lattner | 2009-03-13 | 1 | -2/+1 | |
| | | | | llvm-svn: 66895 | |||||
* | split buffer management and diagnostic printing out of the tblgen | Chris Lattner | 2009-03-13 | 1 | -4/+11 | |
| | | | | | | lexer into its own TGSourceMgr class. llvm-svn: 66873 | |||||
* | Change various llvm utilities to use PrettyStackTraceProgram in | Chris Lattner | 2009-03-06 | 1 | -0/+3 | |
| | | | | | | | their main routines. This makes the tools print their argc/argv commands if they crash. llvm-svn: 66248 | |||||
* | Reapply 63765. Patches for clang and llvm-gcc to follow. | Dale Johannesen | 2009-02-05 | 1 | -0/+6 | |
| | | | | llvm-svn: 63812 | |||||
* | Reverting 63765. This broke the build of both clang | Dale Johannesen | 2009-02-04 | 1 | -6/+0 | |
| | | | | | | and llvm-gcc. llvm-svn: 63786 | |||||
* | New feature: add support for target intrinsics being defined in the | Nate Begeman | 2009-02-04 | 1 | -0/+6 | |
| | | | | | | | | | target directories themselves. This also means that VMCore no longer needs to know about every target's list of intrinsics. Future work will include converting the PowerPC target to this interface as an example implementation. llvm-svn: 63765 | |||||
* | Make tablegen print out a nice error message for a const char* | Dan Gohman | 2008-11-07 | 1 | -0/+7 | |
| | | | | | | exception, like it does for a std::string exception. llvm-svn: 58865 | |||||
* | Initial checkin of the new "fast" instruction selection support. See | Dan Gohman | 2008-08-13 | 1 | -0/+7 | |
| | | | | | | | the comments in FastISelEmitter.cpp for details on what this is. This is currently experimental and unusable. llvm-svn: 54751 | |||||
* | Naming fix: LLVMCCConfigurationEmitter -> LLVMCConfigurationEmitter. | Mikhail Glushenkov | 2008-05-06 | 1 | -5/+5 | |
| | | | | llvm-svn: 50754 | |||||
* | Rename LLVMCCConfigurationEmitter to LLVMCConfigurationEmitter | Mikhail Glushenkov | 2008-05-06 | 1 | -5/+5 | |
| | | | | llvm-svn: 50748 | |||||
* | Change the MemoryBuffer::getFile* methods to take just a pointer to the | Chris Lattner | 2008-04-01 | 1 | -2/+1 | |
| | | | | | | | | 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. llvm-svn: 49041 | |||||
* | Add first proof-of-concept universal compiler driver framework based | Anton Korobeynikov | 2008-03-23 | 1 | -1/+8 | |
| | | | | | | | | | on ideas mentioned in PR686. Written by Mikhail Glushenkov and contributed by Codedgers, Inc. Old llvmc will be removed soon after new one will have all its properties. llvm-svn: 48699 | |||||
* | split enum emission out from InstrInfoEmitter into it's own tblgen backend. | Chris Lattner | 2008-01-06 | 1 | -1/+2 | |
| | | | | llvm-svn: 45640 | |||||
* | remove attributions from utils. | Chris Lattner | 2007-12-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 45419 | |||||
* | Rewrite the tblgen parser in a recursive descent style, eliminating the ↵ | Chris Lattner | 2007-11-22 | 1 | -6/+27 | |
| | | | | | | | | | | | | bison parser. This makes the parser much easier to understand, eliminates a ton of global variables, and gives tblgen nice caret diagnostics. It is also faster, but tblgen probably doesn't care about performance. There are a couple of FIXMEs which I will take care of next. llvm-svn: 44274 | |||||
* | reapply | Chris Lattner | 2007-02-27 | 1 | -1/+7 | |
| | | | | llvm-svn: 34697 | |||||
* | Backing out | Evan Cheng | 2007-02-27 | 1 | -7/+1 | |
| | | | | | | | | | | CodeGenTarget.cpp updated: 1.82 -> 1.83 Record.cpp updated: 1.55 -> 1.56 Record.h updated: 1.59 -> 1.60 TableGen.cpp updated: 1.47 -> 1.48 It's missing CallingConvEmitter.h llvm-svn: 34693 | |||||
* | initial support for calling convention generation, still unfinished. | Chris Lattner | 2007-02-27 | 1 | -1/+7 | |
| | | | | llvm-svn: 34682 | |||||
* | What should be the last unnecessary <iostream>s in the library. | Bill Wendling | 2006-12-07 | 1 | -7/+8 | |
| | | | | llvm-svn: 32333 | |||||
* | remove a bunch of long-dead testing code | Chris Lattner | 2006-03-03 | 1 | -331/+1 | |
| | | | | llvm-svn: 26497 | |||||
* | initial implementation of intrinsic parsing | Chris Lattner | 2006-03-03 | 1 | -0/+7 | |
| | | | | llvm-svn: 26495 | |||||
* | Add support for "-Ifoo" in addition to "-I foo" | Chris Lattner | 2006-03-03 | 1 | -1/+1 | |
| | | | | llvm-svn: 26487 | |||||
* | add support for multiple include directories | Chris Lattner | 2006-03-03 | 1 | -5/+5 | |
| | | | | llvm-svn: 26485 | |||||
* | more standards-compliance stuff | Duraid Madina | 2005-12-26 | 1 | -0/+1 | |
| | | | | llvm-svn: 25014 | |||||
* | Remove the obsolete instr selector emitter | Chris Lattner | 2005-10-23 | 1 | -7/+1 | |
| | | | | llvm-svn: 23894 | |||||
* | Plugin new subtarget backend into the build. | Jim Laskey | 2005-10-21 | 1 | -0/+7 | |
| | | | | llvm-svn: 23870 | |||||
* | Add an option and stuff implementation of a dag isel emitter | Chris Lattner | 2005-09-03 | 1 | -0/+7 | |
| | | | | llvm-svn: 23236 | |||||
* | Eliminate tabs and trailing spaces | Jeff Cohen | 2005-04-22 | 1 | -47/+47 | |
| | | | | llvm-svn: 21441 | |||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-22 | 1 | -12/+12 | |
| | | | | llvm-svn: 21428 | |||||
* | Fix usage of changed function prototype | Reid Spencer | 2004-11-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 17798 | |||||
* | Make tblgen's exception handling a little more robust by printing the | Reid Spencer | 2004-09-03 | 1 | -1/+8 | |
| | | | | | | program name and also catching ... llvm-svn: 16160 | |||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -2/+2 | |
| | | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137 | |||||
* | RemoveFileOnErrorSignal is now in the llvm::sys namespace. Adjust | Reid Spencer | 2004-08-29 | 1 | -1/+1 | |
| | | | | | | accordingly. llvm-svn: 16093 | |||||
* | Initial cut at an asm writer emitter. So far, this only handles emission of | Chris Lattner | 2004-08-01 | 1 | -1/+9 | |
| | | | | | | instructions, and only instructions that take no operands at that! llvm-svn: 15386 | |||||
* | Finegrainify namespacification | Chris Lattner | 2004-08-01 | 1 | -9/+6 | |
| | | | | llvm-svn: 15381 | |||||
* | Remove some abandoned code that was never finished. If needed in the future | Chris Lattner | 2004-07-22 | 1 | -7/+1 | |
| | | | | | | it can be ressurected from CVS. llvm-svn: 15113 | |||||
* | Passing integer 0 in for a pointer value doesn't work on IA64. Fix this | Chris Lattner | 2004-07-16 | 1 | -1/+1 | |
| | | | | | | by using a new macro. llvm-svn: 14863 | |||||
* | Make tblgen not try to be smart. This is better handled in makefiles if | Chris Lattner | 2004-07-13 | 1 | -14/+3 | |
| | | | | | | at all. Patch contributed by Vladimir Prus! llvm-svn: 14784 | |||||
* | Header file moved | Chris Lattner | 2004-05-27 | 1 | -1/+1 | |
| | | | | llvm-svn: 13813 | |||||
* | add tablgen backend for really simple instruction selector | Jakub Staszak | 2004-04-06 | 1 | -1/+7 | |
| | | | | llvm-svn: 12712 | |||||
* | exit(1) instead of abort()'ing on error | Chris Lattner | 2004-02-13 | 1 | -2/+2 | |
| | | | | llvm-svn: 11380 | |||||
* | Print the record NAME not the record ADDRESS | Chris Lattner | 2004-02-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 11144 | |||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -0/+10 | |
| | | | | llvm-svn: 9903 |