aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* There are still uses for spaces in Makefiles -- to make text line up together,Misha Brukman2005-04-244-8/+9
| | | | | | | regardless of the tab size/stop settings on the developer side git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21499 91177308-0d34-0410-b5e6-96231b3b80d8
* extract has been renamed to llvm-extract to avoid conflicting with another toolMisha Brukman2005-04-243-114/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21498 91177308-0d34-0410-b5e6-96231b3b80d8
* elisp code to help with LLVM code standards complianceMisha Brukman2005-04-241-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21497 91177308-0d34-0410-b5e6-96231b3b80d8
* .vimrc file to aid in LLVM coding standards conformanceMisha Brukman2005-04-241-0/+34
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21496 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement xor.ll:test21: select (not C), A, B -> select C, B, AChris Lattner2005-04-241-2/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21495 91177308-0d34-0410-b5e6-96231b3b80d8
* Test that xor/select are folded into a select with inverted operands.Chris Lattner2005-04-241-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21494 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow these methods to take a generic Value* to simplify clients. UseChris Lattner2005-04-241-11/+12
| | | | | | | const_cast instead of c casts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21493 91177308-0d34-0410-b5e6-96231b3b80d8
* allow these to take a generic Value*Chris Lattner2005-04-241-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21492 91177308-0d34-0410-b5e6-96231b3b80d8
* Use getPrimitiveSizeInBits() instead of getPrimitiveSize()*8Chris Lattner2005-04-241-170/+160
| | | | | | | | | | | | Completely rework the 'setcc (cast x to larger), y' code. This code has the advantage of implementing setcc.ll:test19 (being more general than the previous code) and being correct in all cases. This allows us to unxfail 2004-11-27-SetCCForCastLargerAndConstant.ll, and close PR454. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21491 91177308-0d34-0410-b5e6-96231b3b80d8
* unxfail this.Chris Lattner2005-04-241-6/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21490 91177308-0d34-0410-b5e6-96231b3b80d8
* add a new testcase which occurs in 181.mcfChris Lattner2005-04-241-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21489 91177308-0d34-0410-b5e6-96231b3b80d8
* * The aesthetic police is on patrol!!...Misha Brukman2005-04-231-15/+20
| | | | | | | * ... but it wasn't so busy as to not smell the roses and doxygenify comments git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21487 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a helper methodChris Lattner2005-04-231-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21486 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug in my previous checkinChris Lattner2005-04-231-22/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21485 91177308-0d34-0410-b5e6-96231b3b80d8
* This file is never referencedChris Lattner2005-04-231-65/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21484 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a method, remove last use of Type.defChris Lattner2005-04-231-2/+28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21483 91177308-0d34-0410-b5e6-96231b3b80d8
* add a method, remove a dead #includeChris Lattner2005-04-231-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21482 91177308-0d34-0410-b5e6-96231b3b80d8
* Types.def is going awayChris Lattner2005-04-231-8/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21481 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate tabs and trailing spacesJeff Cohen2005-04-2317-241/+241
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21480 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate tabs and trailing spacesJeff Cohen2005-04-2325-1156/+1155
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21479 91177308-0d34-0410-b5e6-96231b3b80d8
* Propagate eq sets through the bu graphs to the cbu and eq graphs, fixingChris Lattner2005-04-231-0/+1
| | | | | | | a crash of the sfv on 188.ammp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21478 91177308-0d34-0410-b5e6-96231b3b80d8
* add a bunch of documentation about the LLVM type resolution machineryChris Lattner2005-04-232-1/+167
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21475 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the CBackend actually get included in llc by using USEDLIBS instead ofReid Spencer2005-04-231-2/+4
| | | | | | | | | | | USEDLIB as the variable to which "CBackend" is appended. The surrounding if clause is safe because currently the configure script ensures that the CBackend target is always added to TARGETS_TO_BUILD. By using a non-hard coded construct in the makefile, we gain uniformity and the ability to change the default set of targets by only changing the configure script. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21474 91177308-0d34-0410-b5e6-96231b3b80d8
* make an advanced topics section, move symtab to itChris Lattner2005-04-231-221/+241
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21473 91177308-0d34-0410-b5e6-96231b3b80d8
* This is not neededChris Lattner2005-04-231-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21472 91177308-0d34-0410-b5e6-96231b3b80d8
* add a search box for the documentationChris Lattner2005-04-231-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21471 91177308-0d34-0410-b5e6-96231b3b80d8
* Generalize the setcc -> PHI and Select folding optimizations to work withChris Lattner2005-04-231-30/+37
| | | | | | | | any constant RHS, not just a constant integer RHS. This implements select.ll:test17 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21470 91177308-0d34-0410-b5e6-96231b3b80d8
* add a new testcaseChris Lattner2005-04-231-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21469 91177308-0d34-0410-b5e6-96231b3b80d8
* Always enable the C backend. This fixes a *vast* number of failures on theChris Lattner2005-04-231-3/+1
| | | | | | | testers last night, as llc was not getting the cbe linked in. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21468 91177308-0d34-0410-b5e6-96231b3b80d8
* Add method to return the type this type will be promoted to if it isAlkis Evlogimenos2005-04-231-0/+14
| | | | | | | passed through a variable argument function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21462 91177308-0d34-0410-b5e6-96231b3b80d8
* Mention the --enable-targets= option to configure.Reid Spencer2005-04-221-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21459 91177308-0d34-0410-b5e6-96231b3b80d8
* * Order #includes as per style guideMisha Brukman2005-04-221-6/+5
| | | | | | | * Combine multiple ``std::cerr <<'' statements into one for simplicity git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21458 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert tabs to spacesMisha Brukman2005-04-226-66/+90
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21457 91177308-0d34-0410-b5e6-96231b3b80d8
* Hyphenate the adjective `n-bit' when used to describe values and processorsMisha Brukman2005-04-221-14/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21456 91177308-0d34-0410-b5e6-96231b3b80d8
* Build the `Skeleton' target when building "all" targetsMisha Brukman2005-04-222-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21455 91177308-0d34-0410-b5e6-96231b3b80d8
* Document the --enable-targets= feature of the configure script.Reid Spencer2005-04-221-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21454 91177308-0d34-0410-b5e6-96231b3b80d8
* Silence gcc-4.0.0 warnings.Alkis Evlogimenos2005-04-221-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21453 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert tabs to spacesMisha Brukman2005-04-2216-578/+578
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21452 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't always build CBackend and Skeleton. Make use of the TARGETS_TO_BUILDReid Spencer2005-04-221-2/+12
| | | | | | | parameter instead which will correctly list the set of targets to be built. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21451 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the --enable-targets= feature of the configure script. The makeReid Spencer2005-04-222-13/+45
| | | | | | | | | | variable TARGETS_TO_BUILD is used to determine which targets in lib/Target are built and which libraries are linked into llc. This effectively implements the feature. One item remains: disabling targets in the dejagnu test suite. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21450 91177308-0d34-0410-b5e6-96231b3b80d8
* Two changes:Reid Spencer2005-04-224-9/+5
| | | | | | | | | | | | | 1. Get rid of TOOLLINKOPTS as it is a hold over from llvm-test and only used to communicate additional libraries to the linker. The *standard* way to do that is with the LIBS variable which this change supports. 2. Allow the TARGETS_TO_BUILD variable to be set from the configuration substitution. This is the result of the --enable-target= parameter to the configure script. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21449 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure the CBackend is always a target that is built.Reid Spencer2005-04-222-29/+31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21448 91177308-0d34-0410-b5e6-96231b3b80d8
* Consolidate the target selection options into a single option,Reid Spencer2005-04-222-154/+94
| | | | | | | | --enable-target which can take values "all", "host-only" or a comma separated list of target names (alpha,ia64,powerpc,skeleton,sparc,x86) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21447 91177308-0d34-0410-b5e6-96231b3b80d8
* keep track of max depth statsAndrew Lenharth2005-04-221-2/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21446 91177308-0d34-0410-b5e6-96231b3b80d8
* First step in avoiding compilation/usage of non-relevant targets. NewReid Spencer2005-04-222-30/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | options have been added to the configure script that control which targets will be used. The options are: --enable-target-this (default=disabled) This will specify that the target corresponding to the build host is the target that will be compiled/used. You can't use this with any of the other options (they'll be ignored). This is what most people want. --disable-target-x86 (default=enabled) This will prevent the X86 target(s) from being compiled/used. --disable-target-sparc (default=enabled) This will prevent both SparcV8 and SparcV9 from being compiled/used. --disable-target-powerpc (default=enabled) This will prevent the PowerPC target from being compiled/used. --disable-target-alpha (default=enabled) This will prevent the Alpha target from being compiled/used. --disable-target-ia64 (default=enabled) This will prevent the IA64 target from being compiled/used. Note that without any of these options, the default behavior is to build all targets, as is the current practice. All these options do is set up the substititution variable TARGETS_TO_BUILD which contains the targets that should be compiled/used. The variable is intended to be used in the makefiles. Those changes will come later. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21445 91177308-0d34-0410-b5e6-96231b3b80d8
* Updated dependence analyzer. Fixed numerous bugs. Same stage scheduling, etc.Tanya Lattner2005-04-226-297/+641
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21444 91177308-0d34-0410-b5e6-96231b3b80d8
* Malloc/Free have mod/ref effects. Do not allow CSE of function calls thatChris Lattner2005-04-221-0/+2
| | | | | | | call malloc/free. This fixes PR555. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21443 91177308-0d34-0410-b5e6-96231b3b80d8
* remove 'another common example', which doesn't work with VC++, and indentChris Lattner2005-04-221-12/+4
| | | | | | | another example properly git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21442 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate tabs and trailing spacesJeff Cohen2005-04-2229-3707/+3707
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21441 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert tabs to spacesMisha Brukman2005-04-229-17/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21440 91177308-0d34-0410-b5e6-96231b3b80d8