| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add an !eq() operator to TableGen. It operates on strings only. | David Greene | 2010-01-05 | 5 | -2/+20 |
| | | | | | | | Use !cast<string>() to compare other types of objects. llvm-svn: 92754 | ||||
| * | Have TableGen emit code that uses dbgs() rather than errs(). | David Greene | 2010-01-05 | 1 | -2/+2 |
| | | | | | llvm-svn: 92738 | ||||
| * | Change SelectCode's argument from SDValue to SDNode *, to make it more | Dan Gohman | 2010-01-05 | 1 | -75/+102 |
| | | | | | | | | | | clear what information these functions are actually using. This is also a micro-optimization, as passing a SDNode * around is simpler than passing a { SDNode *, int } by value or reference. llvm-svn: 92564 | ||||
| * | tblgen/OptParser: Use EmitSourceFileHeader. | Daniel Dunbar | 2010-01-04 | 1 | -20/+4 |
| | | | | | llvm-svn: 92521 | ||||
| * | Replace some special-case code which probably was buggy with an assertion | Dan Gohman | 2010-01-04 | 1 | -6/+1 |
| | | | | | | | verifying that the special case does not occur. llvm-svn: 92504 | ||||
| * | Remove the CPAttrParentAsRoot code, which is unused, and inconvenient | Dan Gohman | 2010-01-04 | 3 | -26/+3 |
| | | | | | | | for a refactoring I'm working on. llvm-svn: 92503 | ||||
| * | Typo. | Mikhail Glushenkov | 2010-01-01 | 1 | -1/+1 |
| | | | | | llvm-svn: 92392 | ||||
| * | Make CheckForSuperfluousOptions handle list form of 'switch_on' correctly. | Mikhail Glushenkov | 2010-01-01 | 1 | -5/+18 |
| | | | | | llvm-svn: 92391 | ||||
| * | Minor simplifications. | Mikhail Glushenkov | 2010-01-01 | 1 | -1/+1 |
| | | | | | llvm-svn: 92390 | ||||
| * | Better error message. | Mikhail Glushenkov | 2010-01-01 | 1 | -1/+1 |
| | | | | | llvm-svn: 92389 | ||||
| * | Use the 'MadeChange' variable instead of returning 'false' all of the time. | Bill Wendling | 2009-12-25 | 1 | -3/+2 |
| | | | | | llvm-svn: 92155 | ||||
| * | Don't emit trailing semicolon. | Daniel Dunbar | 2009-12-24 | 1 | -1/+1 |
| | | | | | llvm-svn: 92133 | ||||
| * | Cosmetic issue: more consistent naming. | Mikhail Glushenkov | 2009-12-23 | 1 | -55/+55 |
| | | | | | llvm-svn: 91998 | ||||
| * | Allow (set_option SwitchOption, true). | Mikhail Glushenkov | 2009-12-23 | 1 | -12/+29 |
| | | | | | llvm-svn: 91997 | ||||
| * | Suppress compiler warning. | Daniel Dunbar | 2009-12-23 | 1 | -0/+2 |
| | | | | | llvm-svn: 91959 | ||||
| * | Fixes to the X86 disassembler: | Sean Callanan | 2009-12-22 | 1 | -3/+3 |
| | | | | | | | | | Made LEA memory operands emit only 4 MCInst operands. Made the scale operand equal 1 for instructions that have no SIB byte. llvm-svn: 91919 | ||||
| * | Fix a bug in !subst where TableGen would go and resubstitute text it had | David Greene | 2009-12-21 | 1 | -1/+3 |
| | | | | | | | | just substituted. This could cause infinite looping in certain pathological cases. llvm-svn: 91843 | ||||
| * | fix build and while at it remove a redudant include | Nuno Lopes | 2009-12-19 | 2 | -2/+1 |
| | | | | | llvm-svn: 91774 | ||||
| * | More bzero -> memset that I missed. | Daniel Dunbar | 2009-12-19 | 2 | -13/+13 |
| | | | | | llvm-svn: 91757 | ||||
| * | Add missing newlines at EOF (for clang++). | Daniel Dunbar | 2009-12-19 | 2 | -2/+2 |
| | | | | | llvm-svn: 91756 | ||||
| * | Table-driven disassembler for the X86 architecture (16-, 32-, and 64-bit | Sean Callanan | 2009-12-19 | 8 | -0/+2425 |
| | | | | | | | | | | | | | | | | | | | | | incarnations), integrated into the MC framework. The disassembler is table-driven, using a custom TableGen backend to generate hierarchical tables optimized for fast decode. The disassembler consumes MemoryObjects and produces arrays of MCInsts, adhering to the abstract base class MCDisassembler (llvm/MC/MCDisassembler.h). The disassembler is documented in detail in - lib/Target/X86/Disassembler/X86Disassembler.cpp (disassembler runtime) - utils/TableGen/DisassemblerEmitter.cpp (table emitter) You can test the disassembler by running llvm-mc -disassemble for i386 or x86_64 targets. Please let me know if you encounter any problems with it. llvm-svn: 91749 | ||||
| * | Fix a comment. | Dan Gohman | 2009-12-19 | 1 | -2/+2 |
| | | | | | llvm-svn: 91741 | ||||
| * | Make 'set_option' work with list options. | Mikhail Glushenkov | 2009-12-18 | 1 | -10/+23 |
| | | | | | | | This works now: (set_option "list_opt", ["val_1", "val_2", "val_3"]) llvm-svn: 91679 | ||||
| * | Add a 'set_option' action for use in OptionPreprocessor. | Mikhail Glushenkov | 2009-12-17 | 1 | -16/+64 |
| | | | | | llvm-svn: 91594 | ||||
| * | Refactoring, no functionality change. | Mikhail Glushenkov | 2009-12-17 | 1 | -120/+149 |
| | | | | | llvm-svn: 91593 | ||||
| * | s/TokenizeCmdline/TokenizeCmdLine/ | Mikhail Glushenkov | 2009-12-17 | 1 | -14/+13 |
| | | | | | llvm-svn: 91592 | ||||
| * | Add @earlyclobber TableGen constraint | Jim Grosbach | 2009-12-16 | 1 | -4/+24 |
| | | | | | llvm-svn: 91554 | ||||
| * | Revert 90628, which was incorrect. | Dan Gohman | 2009-12-15 | 2 | -8/+10 |
| | | | | | llvm-svn: 91448 | ||||
| * | whitespace | Jim Grosbach | 2009-12-15 | 1 | -26/+26 |
| | | | | | llvm-svn: 91442 | ||||
| * | Convert llvmc tests to FileCheck. | Mikhail Glushenkov | 2009-12-15 | 1 | -1/+1 |
| | | | | | llvm-svn: 91420 | ||||
| * | Support hook invocation from 'append_cmd'. | Mikhail Glushenkov | 2009-12-15 | 1 | -37/+62 |
| | | | | | llvm-svn: 91419 | ||||
| * | Validate the generated C++ code in llvmc tests. | Mikhail Glushenkov | 2009-12-15 | 1 | -19/+20 |
| | | | | | | | | | | | Checks that the code generated by 'tblgen --emit-llvmc' can be actually compiled. Also fixes two bugs found in this way: - forward_transformed_value didn't work with non-list arguments - cl::ZeroOrOne is now called cl::Optional llvm-svn: 91404 | ||||
| * | Allow $CALL(Hook, '$INFILE') for non-join tools. | Mikhail Glushenkov | 2009-12-15 | 1 | -37/+74 |
| | | | | | llvm-svn: 91402 | ||||
| * | Remove unneeded ';' and a class/struct mismatch (noticed by clang). | Daniel Dunbar | 2009-12-09 | 3 | -3/+3 |
| | | | | | llvm-svn: 90934 | ||||
| * | Simplify a bit. | Mikhail Glushenkov | 2009-12-07 | 1 | -13/+5 |
| | | | | | llvm-svn: 90785 | ||||
| * | Throw 'const char*' instead of 'std::string'. | Mikhail Glushenkov | 2009-12-07 | 1 | -11/+10 |
| | | | | | llvm-svn: 90784 | ||||
| * | Deprecate 'unpack_values'. | Mikhail Glushenkov | 2009-12-07 | 1 | -45/+41 |
| | | | | | | | Use 'forward_values' + 'comma_separated' instead. llvm-svn: 90774 | ||||
| * | Implement 'forward_value' and 'forward_transformed_value'. | Mikhail Glushenkov | 2009-12-07 | 1 | -28/+143 |
| | | | | | llvm-svn: 90770 | ||||
| * | Refactoring, no functionality change. | Mikhail Glushenkov | 2009-12-07 | 1 | -98/+163 |
| | | | | | llvm-svn: 90764 | ||||
| * | Minor code simplification. | Dan Gohman | 2009-12-05 | 2 | -10/+8 |
| | | | | | llvm-svn: 90628 | ||||
| * | OptParser: Emit HelpText field for option groups. | Daniel Dunbar | 2009-12-04 | 1 | -1/+12 |
| | | | | | llvm-svn: 90599 | ||||
| * | Forward -save-temps to llvm-gcc. | Mikhail Glushenkov | 2009-12-01 | 1 | -0/+3 |
| | | | | | llvm-svn: 90214 | ||||
| * | Sketch TableGen disassembler emitter, based on patch by Sean Callanan. | Daniel Dunbar | 2009-11-25 | 4 | -0/+66 |
| | | | | | llvm-svn: 89833 | ||||
| * | Delete some dead and non-obvious code. | Dan Gohman | 2009-11-24 | 2 | -55/+0 |
| | | | | | llvm-svn: 89729 | ||||
| * | Remove ISD::DEBUG_LOC and ISD::DBG_LABEL, which are no longer used. | Dan Gohman | 2009-11-23 | 1 | -1/+0 |
| | | | | | | | | | Note that "hasDotLocAndDotFile"-style debug info was already broken; people wanting this functionality should implement it in the AsmPrinter/DwarfWriter code. llvm-svn: 89711 | ||||
| * | Fix whitespace. | Bob Wilson | 2009-11-22 | 3 | -288/+267 |
| | | | | | llvm-svn: 89582 | ||||
| * | Fix pr5470. Tablegen handles template arguments by temporarily setting their | Bob Wilson | 2009-11-22 | 1 | -8/+20 |
| | | | | | | | | | | | | values, resolving references to them, and then removing the definitions. If a template argument is set to an undefined value, we need to resolve references to that argument to an explicit undefined value. The current code leaves the reference to the template argument as it is, which causes an assertion failure later when the definition of the template argument is removed. llvm-svn: 89581 | ||||
| * | Fix some spelling in comments. | Bob Wilson | 2009-11-21 | 2 | -4/+4 |
| | | | | | llvm-svn: 89566 | ||||
| * | Avoid a redundant assertion. | Bob Wilson | 2009-11-21 | 1 | -2/+1 |
| | | | | | llvm-svn: 89565 | ||||
| * | TableGen/OptParser: When ordering options, make "sentinel" options appear before | Daniel Dunbar | 2009-11-19 | 1 | -3/+10 |
| | | | | | | | everything else. llvm-svn: 89368 | ||||

