summaryrefslogtreecommitdiffstats
path: root/llvm/utils
Commit message (Collapse)AuthorAgeFilesLines
* Remove 'XXXRegisterClass' from tablegen output. Targets should use ↵Craig Topper2012-04-211-3/+0
| | | | | | '&XXXRegClass' instead. llvm-svn: 155270
* TableGen'd RegPressure: Added getPressureSetName.Andrew Trick2012-04-201-1/+13
| | | | llvm-svn: 155234
* Modify the sh-bang to run out-of-the-box for FreeBSDes.Bill Wendling2012-04-202-2/+2
| | | | llvm-svn: 155230
* TableGen support for auto-generating assembly two-operand aliases.Jim Grosbach2012-04-191-2/+97
| | | | | | | | | | | | | | Assembly matchers for instructions with a two-operand form. ARM is full of these, for example: add {Rd}, Rn, Rm // Rd is optional and is the same as Rn if omitted. The property TwoOperandAliasConstraint on the instruction definition controls when, and if, an alias will be formed. No explicit InstAlias definitions are required. rdar://11255754 llvm-svn: 155172
* Remove llvm-ld and llvm-stub (which is only used by llvm-ld).Michael J. Spencer2012-04-191-2/+1
| | | | | | | | | | | | | | | | llvm-ld is no longer useful and causes confusion and so it is being removed. * Does not work very well on Windows because it must call a gcc like driver to assemble and link. * Has lots of hard coded paths which are wrong on many systems. * Does not understand most of ld's options. * Can be partially replaced by llvm-link | opt | {llc | as, llc -filetype=obj} | ld, or fully replaced by Clang. I know of no production use of llvm-ld, and hacking use should be replaced by Clang's driver. llvm-svn: 155147
* Use a SmallVector instead of std::vector for ResOperands.Jim Grosbach2012-04-191-2/+2
| | | | | | | There's almost always a small number of instruction operands, so use a SmallVector and save on heap allocations. llvm-svn: 155143
* Update some internal naming conventions to modern style.Jim Grosbach2012-04-191-85/+85
| | | | llvm-svn: 155142
* llvm-lit: Inject the lit module path at the beginning of sys.path, just in caseDaniel Dunbar2012-04-191-2/+3
| | | | | | the user has another lit somewhere. llvm-svn: 155131
* Make fast isel use &XXXRegClass instead of XXXRegisterClass. Not a ↵Craig Topper2012-04-191-2/+2
| | | | | | functional change since XXXRegisterClass is just a constant alias of &XXXRegClass, but should probably go away. llvm-svn: 155104
* Fix typo.Jim Grosbach2012-04-181-1/+1
| | | | llvm-svn: 155075
* Add a flag to rebranch if we need to.Bill Wendling2012-04-181-4/+14
| | | | llvm-svn: 155049
* Revert "Replace some uses of std:map<std::string,...> with StringMap."Jim Grosbach2012-04-181-6/+6
| | | | | | | StringMap iterators are not deterministic, and that's more important here than speed or memory. llvm-svn: 155039
* tblgen: remove duplicated newlines.Benjamin Kramer2012-04-183-6/+6
| | | | llvm-svn: 155038
* Replace some uses of std:map<std::string,...> with StringMap.Jim Grosbach2012-04-181-6/+6
| | | | llvm-svn: 155037
* Use SmallVector for the requirements on an InstAlias.Jim Grosbach2012-04-181-1/+1
| | | | llvm-svn: 155034
* Tidy up. Formatting.Jim Grosbach2012-04-181-2/+3
| | | | llvm-svn: 155032
* Move a few more warnings to use PrintWarning().Jim Grosbach2012-04-182-7/+9
| | | | llvm-svn: 155027
* Tidy up. No need for a Twine here, as it's just constants.Jim Grosbach2012-04-181-4/+4
| | | | llvm-svn: 155026
* Formatting.Jim Grosbach2012-04-181-3/+2
| | | | llvm-svn: 155025
* Tidy up. Add a '.' at the end of the sentence.Jim Grosbach2012-04-181-1/+1
| | | | llvm-svn: 155024
* Clean up warning text. Remove extraneous prefix.Jim Grosbach2012-04-181-4/+4
| | | | llvm-svn: 155015
* TableGen use PrintWarning rather than fprintf(stderr,...) for warnings.Jim Grosbach2012-04-181-12/+13
| | | | | | That way we get source line number information from the diagnostics. llvm-svn: 155014
* Fixed decoding for the ARM cdp2 instruction. The restriction on the ↵Silviu Baranga2012-04-181-0/+1
| | | | | | coprocessor number was removed for this instruction. llvm-svn: 155000
* Sanity check error handling for TokenAlias.Jim Grosbach2012-04-171-0/+3
| | | | llvm-svn: 154951
* Goodbye, JSONParser...Manuel Klimek2012-04-174-112/+1
| | | | llvm-svn: 154930
* Download and build the compiler-rt project.Bill Wendling2012-04-171-1/+4
| | | | llvm-svn: 154905
* Don't tag libcxx and libcxxabi since we don't release them just yet.Bill Wendling2012-04-171-2/+2
| | | | llvm-svn: 154889
* Tidy up. 80 columns.Jim Grosbach2012-04-171-7/+9
| | | | llvm-svn: 154881
* Remove old code to strip out unwanted PPC slices for Apple llvmCore.Bob Wilson2012-04-131-13/+0
| | | | llvm-svn: 154706
* Fix target specific intrinsic handling to adjust intrinsic number before ↵Craig Topper2012-04-131-9/+15
| | | | | | doing attribute table lookup. Also fix attribute table lookup to handle 'invalid' intrinsic correctly. Fixes PR12542 llvm-svn: 154658
* Remove incorrect comment.Jim Grosbach2012-04-111-1/+1
| | | | llvm-svn: 154533
* Tidy up. Remove hard tab characters.Jim Grosbach2012-04-111-28/+28
| | | | llvm-svn: 154532
* Tidy up. Whitespace.Jim Grosbach2012-04-112-5/+5
| | | | llvm-svn: 154531
* TableGen's regpressure: emit per-registerclass weight limits.Andrew Trick2012-04-113-27/+38
| | | | llvm-svn: 154518
* TableGen'd regpressure: register unit set pruning.Andrew Trick2012-04-111-18/+14
| | | | | | | The pruning is more complete if it is not done incrementally. The code is also a tad less convluted. llvm-svn: 154510
* Tablegen'd regpressure: emit the weighted pressure limit.Andrew Trick2012-04-111-1/+7
| | | | llvm-svn: 154477
* Table-generated register pressure fixes.Andrew Trick2012-04-111-24/+47
| | | | | | | Handle mixing allocatable and unallocatable register gracefully. Simplify the pruning of register unit sets. llvm-svn: 154474
* TableGen/reginfo potential bug: typo from previous checkin.Andrew Trick2012-04-101-1/+1
| | | | llvm-svn: 154452
* Fix for register pressure tables.Andrew Trick2012-04-101-13/+15
| | | | | | Recent refactoring introduced a bug. Fix: added buildRegUnitSets. llvm-svn: 154382
* Use std::includes instead of my own implementation.Andrew Trick2012-04-101-9/+2
| | | | | | Jakob's review. llvm-svn: 154377
* Added register unit sets to the target description.Andrew Trick2012-04-104-0/+292
| | | | | | | | | | This is a new algorithm that finds sets of register units that can be used to model registers pressure. This handles arbitrary, overlapping register classes. Each register class is associated with a (small) list of pressure sets. These are the dimensions of pressure affected by the register class's liveness. llvm-svn: 154374
* Added register unit weights to the target description.Andrew Trick2012-04-102-19/+352
| | | | | | | | | | | | This is a new algorithm that associates registers with weighted register units to accuretely model their effect on register pressure. This handles registers with multiple overlapping subregisters. It is possible, but almost inconceivable that the algorithm fails to find an exact solution for a target description. If an exact solution cannot be found, an inexact, but reasonable solution will be chosen. llvm-svn: 154373
* Fix header commentAndrew Trick2012-04-101-2/+2
| | | | llvm-svn: 154372
* Do not include multiple -arch options in CPPFLAGS.Bob Wilson2012-04-051-3/+2
| | | | llvm-svn: 154070
* Convert assert(false) followed by a return to llvm_unreachableCraig Topper2012-04-041-2/+1
| | | | llvm-svn: 153997
* Fix the install location for the Embedded makefile target.Bob Wilson2012-04-031-1/+1
| | | | | | | svn r145378 inadvertently changed the destination for the Embedded target in the makefile. Add a "/Developer" suffix to DSTROOT to compensate. llvm-svn: 153980
* Remove dead code for installing libLTO when building llvmCore.Bob Wilson2012-04-032-37/+7
| | | | llvm-svn: 153978
* Add YAML parser to Support.Michael J. Spencer2012-04-033-0/+228
| | | | llvm-svn: 153977
* When building llvmCore, pass the SDKROOT and -arch setting to configure.Bob Wilson2012-04-031-0/+10
| | | | | | | | So far all of configure tests have been run against the default SDK and architecture, regardless of what is actually being built. We've gotten lucky until now. <rdar://problem/11112479> llvm-svn: 153972
* Remove a reference to the C backend.Bob Wilson2012-04-031-1/+1
| | | | llvm-svn: 153971
OpenPOWER on IntegriCloud