summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAge
* <rdar://problem/8228022> Wvector-conversions warnings in arm_neon.hNate Begeman2010-09-22
| | | | | | | | Explicitly cast arguments to the type the builtin expects, which is <vN x i8> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114596 91177308-0d34-0410-b5e6-96231b3b80d8
* Rework passing parent pointers into complexpatterns, I forgotChris Lattner2010-09-21
| | | | | | | | | | that complex patterns are matched after the entire pattern has a structural match, therefore the NodeStack isn't in a useful state when the actual call to the matcher happens. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114489 91177308-0d34-0410-b5e6-96231b3b80d8
* just like they can opt into getting the root of the pattern beingChris Lattner2010-09-21
| | | | | | | | matched, allow ComplexPatterns to opt into getting the parent node of the operand being matched. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114472 91177308-0d34-0410-b5e6-96231b3b80d8
* fix a long standing wart: all the ComplexPattern's were beingChris Lattner2010-09-21
| | | | | | | | | | | | passed the root of the match, even though only a few patterns actually needed this (one in X86, several in ARM [which should be refactored anyway], and some in CellSPU that I don't feel like detangling). Instead of requiring all ComplexPatterns to take the dead root, have targets opt into getting the root by putting SDNPWantRoot on the ComplexPattern. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114471 91177308-0d34-0410-b5e6-96231b3b80d8
* Trailing whitespace, 80-col violations.Mikhail Glushenkov2010-09-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114435 91177308-0d34-0410-b5e6-96231b3b80d8
* llvmc: Allow multiple output languages.Mikhail Glushenkov2010-09-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114433 91177308-0d34-0410-b5e6-96231b3b80d8
* Using regexp-opt for keyword regex declarations makes the word lists moreMisha Brukman2010-09-19
| | | | | | | readable and easier to edit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114308 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle the odd case where we only have one instruction.Eric Christopher2010-09-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114293 91177308-0d34-0410-b5e6-96231b3b80d8
* lit: Bump version to 0.2.0dev, for no apparent reason.Daniel Dunbar2010-09-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114262 91177308-0d34-0410-b5e6-96231b3b80d8
* lit: Tweak setup.py.Daniel Dunbar2010-09-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114261 91177308-0d34-0410-b5e6-96231b3b80d8
* lit: These TODOs are done(ish).Daniel Dunbar2010-09-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114260 91177308-0d34-0410-b5e6-96231b3b80d8
* Some of the tests build an executable with llvm-gcc. For this to work, llvm-gccDuncan Sands2010-09-17
| | | | | | | | needs to find some libraries, which may require searching the directories given by LIBRARY_PATH on curiously configured systems. So pass on LIBRARY_PATH. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114186 91177308-0d34-0410-b5e6-96231b3b80d8
* Release-Asserts no longer exists.Duncan Sands2010-09-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113965 91177308-0d34-0410-b5e6-96231b3b80d8
* lit: Expose FileBasedTest object and Test module via 'lit' object that getsDaniel Dunbar2010-09-15
| | | | | | exposed to config files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113923 91177308-0d34-0410-b5e6-96231b3b80d8
* lit: Rename main lit module to main.py, lit/lit/lit.py was a bit too, err,Daniel Dunbar2010-09-15
| | | | | | alliterate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113922 91177308-0d34-0410-b5e6-96231b3b80d8
* Use float64 instead of int64 vector elements for NEON vget_low and vget_highBob Wilson2010-09-15
| | | | | | | | functions, since int64 is not a legal type and using it leads to inefficient code. PR8036. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113919 91177308-0d34-0410-b5e6-96231b3b80d8
* Tidy whitespace in generated arm_neon.h.Bob Wilson2010-09-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113865 91177308-0d34-0410-b5e6-96231b3b80d8
* CBackend: Fix MSVC build.Michael J. Spencer2010-09-14
| | | | | | This may produce warnings on MSVS, but it's better than failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113834 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typo in temp. script file name.Devang Patel2010-09-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113787 91177308-0d34-0410-b5e6-96231b3b80d8
* Add little test script to check debug info.Devang Patel2010-09-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113779 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Add llvm-lit to CMake build.Michael J. Spencer2010-09-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113762 91177308-0d34-0410-b5e6-96231b3b80d8
* Nowadays a release build has assertions off.Duncan Sands2010-09-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113747 91177308-0d34-0410-b5e6-96231b3b80d8
* Add x86mmx to TableGen.Dale Johannesen2010-09-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113671 91177308-0d34-0410-b5e6-96231b3b80d8
* For each instruction itinerary class, specify the number of micro-ops eachEvan Cheng2010-09-09
| | | | | | | | | | | instruction in the class would be decoded to. Or zero if the number of uOPs must be determined dynamically. This will be used to determine the cost-effectiveness of predicating a micro-coded instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113513 91177308-0d34-0410-b5e6-96231b3b80d8
* This script is executable.Duncan Sands2010-09-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113479 91177308-0d34-0410-b5e6-96231b3b80d8
* fix bugs in push/pop segment support, rdar://8407242Chris Lattner2010-09-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113422 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove --with-gxx-include-dir option because it's causing problems on ↵Bill Wendling2010-09-08
| | | | | | non-Darwin platforms. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113401 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an option to not test ObjC for those platforms which don't support it.Bill Wendling2010-09-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113398 91177308-0d34-0410-b5e6-96231b3b80d8
* Correct variable name.Duncan Sands2010-09-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113395 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the number of cpus logic to somewhere more logical.Duncan Sands2010-09-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113393 91177308-0d34-0410-b5e6-96231b3b80d8
* A script that tests a certain release candidate in several modes. It does aBill Wendling2010-09-08
| | | | | | | | | | | | | | 2-phase build of llvm and llvm-gcc, similar to what the buildbots do, and runs the regression testsuite. Things to do: - Work out some bugs with llvm-gcc flags. - Not all platforms support ObjC. - Run the test-suite. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113382 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an MVT::x86mmx type. It will take the place of all current MMX vector types.Bill Wendling2010-09-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113261 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix whitespace, because I'm OCD.Bill Wendling2010-09-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113250 91177308-0d34-0410-b5e6-96231b3b80d8
* Add patterns for MMX that use the new intrinsics.Dale Johannesen2010-09-07
| | | | | | | | | Enable palignr intrinsic. These may need adjustment for a new VT in due course. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113233 91177308-0d34-0410-b5e6-96231b3b80d8
* attempt to appease msvcChris Lattner2010-09-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113198 91177308-0d34-0410-b5e6-96231b3b80d8
* fix comment typosGabor Greif2010-09-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113197 91177308-0d34-0410-b5e6-96231b3b80d8
* generalize my previous operand loc info hack. If the same operandChris Lattner2010-09-06
| | | | | | | | | | | | | | is busted for all variants, report it as the location. This allows us to get the operand right for bugs like: t.s:3:12: error: invalid operand for instruction outb %al, %gs ^ Even though there are reg/imm and reg/reg forms of this instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113183 91177308-0d34-0410-b5e6-96231b3b80d8
* in the case where an instruction only has one implementationChris Lattner2010-09-06
| | | | | | | | | | | | | | | | | | | | | | of a mneumonic, report operand errors with better location info. For example, we now report: t.s:6:14: error: invalid operand for instruction cwtl $1 ^ but we fail for common cases like: t.s:11:4: error: invalid operand for instruction addl $1, $1 ^ because we don't know if this is supposed to be the reg/imm or imm/reg form. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113178 91177308-0d34-0410-b5e6-96231b3b80d8
* Now that we know if we had a total fail on the instruction mnemonic, Chris Lattner2010-09-06
| | | | | | | | | | | | | | | | | | | | | | | | | give a more detailed error. Before: t.s:11:4: error: unrecognized instruction addl $1, $1 ^ t.s:12:4: error: unrecognized instruction f2efqefa $1 ^ After: t.s:11:4: error: invalid operand for instruction addl $1, $1 ^ t.s:12:4: error: invalid instruction mnemonic 'f2efqefa' f2efqefa $1 ^ This fixes rdar://8017912 - llvm-mc says "unrecognized instruction" when it means "invalid operands" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113176 91177308-0d34-0410-b5e6-96231b3b80d8
* simplify DEBUG_WITH_TYPE usageChris Lattner2010-09-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113174 91177308-0d34-0410-b5e6-96231b3b80d8
* this if can now be an assert.Chris Lattner2010-09-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113173 91177308-0d34-0410-b5e6-96231b3b80d8
* ;Chris Lattner2010-09-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113172 91177308-0d34-0410-b5e6-96231b3b80d8
* now that the opcode is trivially exposed, start matching instructionsChris Lattner2010-09-06
| | | | | | | | by doing a binary search over the mnemonic instead of doing a linear search through all possible instructions. This implements rdar://7785064 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113171 91177308-0d34-0410-b5e6-96231b3b80d8
* emit the match table at global scope instead of within the Chris Lattner2010-09-06
| | | | | | | | MatchInstructionImpl. This makes it easier to read/understand MatchInstructionImpl. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113170 91177308-0d34-0410-b5e6-96231b3b80d8
* special case the mnemonic operand of the instruction in the Chris Lattner2010-09-06
| | | | | | | | | | | | generated matcher, emiting it as a column in the MatchEntry table instead of forcing it to go through classification and everything else. Making it be classified caused tblgen to produce a ton of one-off classes for each mneumonic. This should reduce the size of the generated matcher significantly while paving the way for future improvements. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113169 91177308-0d34-0410-b5e6-96231b3b80d8
* The "ambiguous instructions" check only produces anything with -debug,Chris Lattner2010-09-06
| | | | | | | so only do the N^2 loop with debug mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113168 91177308-0d34-0410-b5e6-96231b3b80d8
* have tblgen detect when an instruction would have matched, butChris Lattner2010-09-06
| | | | | | | | | | | | | | failed because a subtarget feature was not enabled. Use this to remove a bunch of hacks from the X86AsmParser for rejecting things like popfl in 64-bit mode. Previously these hacks weren't needed, but were important to get a message better than "invalid instruction" when used in the wrong mode. This also fixes bugs where pushal would not be rejected correctly in 32-bit mode (just pusha). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113166 91177308-0d34-0410-b5e6-96231b3b80d8
* change MatchInstructionImpl to return an enum instead of bool.Chris Lattner2010-09-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113165 91177308-0d34-0410-b5e6-96231b3b80d8
* have AsmMatcherEmitter.cpp produce the hunk of code that gets includedChris Lattner2010-09-06
| | | | | | | | into the middle of the class, and rework how the different sections of the generated file are conditionally included for simplicity. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113163 91177308-0d34-0410-b5e6-96231b3b80d8
* emit the LLVM intrinsic name -> intrinsic number mapping table withChris Lattner2010-09-06
| | | | | | | StringMatcher instead of a linear sequence of memcmps. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113145 91177308-0d34-0410-b5e6-96231b3b80d8