summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Elaborated assembly syntax of instructions in the comments.Misha Brukman2003-07-071-65/+64
| | | | llvm-svn: 7120
* Removed unnecessary assignment (it was taken care by a superclass) and clarifiedMisha Brukman2003-07-071-6/+5
| | | | | | some comments. llvm-svn: 7119
* Insert workaround for GAS bug in assembling FLD/FSTP XWORD PTR [...]Brian Gaeke2003-07-071-2/+31
| | | | | | instructions, by outputting them as bytes. llvm-svn: 7115
* Moved RegClassIDs enum to be next to the RegTypes enum.Misha Brukman2003-07-071-14/+14
| | | | llvm-svn: 7114
* Correction to last fix: Pointer types do not return true in Type::IsIntegral().Vikram S. Adve2003-07-061-6/+9
| | | | llvm-svn: 7113
* Choose register instead of immediate for ConstantExpr in ChooseRegOrImmed.Vikram S. Adve2003-07-061-3/+4
| | | | llvm-svn: 7112
* Major bug fix though it happened rarely (only on a compare after anVikram S. Adve2003-07-065-37/+82
| | | | | | | | integer overflow): We need to use %icc and not %xcc for comparisons on 32-bit or smaller integer values. llvm-svn: 7111
* Make the RegClassID values public -- there is no other way to get them.Vikram S. Adve2003-07-061-4/+6
| | | | llvm-svn: 7109
* Apparently, the "regType" and "regClass" used in the Sparc backend are not bothMisha Brukman2003-07-032-42/+95
| | | | | | | | | | | correct: empirically, "regType" is wrong for a number of registers. Thus, one can only rely on the "regClass" to figure out what kind of register one is dealing with. This change switches to using only "regClass" and adds a few extra DEBUG() print statements and a few clean-ups in comments and code, mostly minor. llvm-svn: 7103
* Reuse the values if they are constants: this is important so that we index ↵Chris Lattner2003-07-031-2/+7
| | | | | | | | into the right structure field This fixes bug: BasicAA/2003-07-03-BasicAACrash.ll llvm-svn: 7093
* Remove globals more aggressively from graphs.Chris Lattner2003-07-031-11/+32
| | | | | | Fix a bug where we removed nodes that were marked U. llvm-svn: 7090
* INCLUDE_PARENT_GRAPH is required!Chris Lattner2003-07-021-21/+4
| | | | llvm-svn: 7088
* Disable incorrect mustalias codeChris Lattner2003-07-021-1/+4
| | | | llvm-svn: 7087
* Remove space at end of lineChris Lattner2003-07-021-1/+1
| | | | llvm-svn: 7084
* Fix how we are handling unreachable functions. This DRAMATICALLY improves ↵Chris Lattner2003-07-022-36/+38
| | | | | | efficiency llvm-svn: 7082
* Keep track of how many inlinings are performedChris Lattner2003-07-021-0/+2
| | | | llvm-svn: 7076
* Try using trivially dead deletionChris Lattner2003-07-021-0/+1
| | | | llvm-svn: 7075
* * Force all "don't care" bits to 0 so that there are absolutely no unset bits inMisha Brukman2003-07-022-14/+18
| | | | | | | | the TableGen descriptions; all unset bits are thus errors. * As a result, found and fixed instructions where some operands were not actually assigned into the right portion of the instruction. llvm-svn: 7074
* The classes F4_3 and F4_4 have an `rd' operand that needs to be set.Misha Brukman2003-07-021-0/+3
| | | | llvm-svn: 7073
* Properly fix instruction syntax in comments, using `imm' for instructions thatMisha Brukman2003-07-021-34/+34
| | | | | | use an immediate value instead of a register. llvm-svn: 7072
* Fixed instruction syntax in the comments (specifies how instr is used).Misha Brukman2003-07-021-83/+83
| | | | llvm-svn: 7071
* * If compiling on X86 or Sparc, automagically enable the JIT for that archMisha Brukman2003-07-023-21/+73
| | | | | | | | | | | * Setting ENABLE_X86_JIT or ENABLE_SPARC_JIT on the `make' command-line will force the inclusion of that JIT on a different architecture * If neither JIT is enabled (e.g., compiling on a different architecture), the -march option will not be available to LLI. * As a side effect of the $ARCH variable, the Sparc LLI can now link just a bit faster by not including the x86 library. llvm-svn: 7070
* Force fixed-size but large alloca objects to the dynamically allocatedVikram S. Adve2003-07-021-8/+14
| | | | | | | | area to avoid using up precious stack space within the 4095 offset limit from %fp. Such objects that would themselves live at a large offset were being put there already so this is a simple change. llvm-svn: 7066
* Remove dead Nodes listChris Lattner2003-07-021-6/+4
| | | | llvm-svn: 7065
* Complete rewrite of td passChris Lattner2003-07-021-103/+101
| | | | llvm-svn: 7064
* Print collapsed to match the paperChris Lattner2003-07-021-1/+1
| | | | llvm-svn: 7063
* Reduce amount of work we do calculating mustaliases if the arg is a globalChris Lattner2003-07-021-11/+16
| | | | llvm-svn: 7062
* Add support for ParentGraph only when building in debug modeChris Lattner2003-07-021-8/+48
| | | | | | Minor cleanups, reenable folding of call nodes to external functions llvm-svn: 7061
* Add some functions to the blacklistChris Lattner2003-07-021-1/+2
| | | | llvm-svn: 7060
* Make the BU closure keep track of which actual calls happenChris Lattner2003-07-021-2/+6
| | | | | | Minor cleanups llvm-svn: 7059
* Make local pass print out its progressChris Lattner2003-07-021-0/+3
| | | | llvm-svn: 7058
* Minor beautification: fold a couple of lines of code.Vikram S. Adve2003-07-021-3/+2
| | | | llvm-svn: 7054
* (1) Major bug fix: DecomposeArrayRef() replaces its argument instr. andVikram S. Adve2003-07-021-45/+22
| | | | | | | | | | | | deletes it, but we were merrily trying to fix the operands of that instruction anyway! Instead, fix the replacement instruction. (2) An Improvement: Check for and extract global values in all operands, not just in known pointer operands. For example, they can occur in call arguments, and probably other unforeseeable places as well. This also eliminates the special-case handling of Load and Store. llvm-svn: 7053
* A def. operand of a machine instruction may be an ordinary Value*,Vikram S. Adve2003-07-021-13/+12
| | | | | | | | not just an Instruction*, at least in one unfortunate case: the first operand to the va_arg instruction. Modify ValueToDefVecMap to map from Value*, not Instruction*. llvm-svn: 7052
* Bug/case fixes:Vikram S. Adve2003-07-022-12/+25
| | | | | | | | | | | | (1) select: Ok to convert a pointer to a float or double. (2) regalloc: Some MachineInstr* for caller-saving code before a call were being inserted before and after the call! (3) Don't insert the caller-saving instructions in the MachineCodeForInstruction for the Call instruction. *All* instructions generated by register allocation need to be recorded in those maps, but it needs to be done uniformly. llvm-svn: 7051
* Fix bug: Regression/Other/2002-03-11-ExprAssertion.llChris Lattner2003-07-011-1/+3
| | | | llvm-svn: 7046
* Rework TD pass to work with the precise call graph constructed by the BU phaseChris Lattner2003-07-012-113/+150
| | | | llvm-svn: 7031
* Do not treat global variables as functions! (and assert failing)Chris Lattner2003-07-011-3/+5
| | | | llvm-svn: 7030
* Dont' print scalar nodes for ConstantPointerRefsChris Lattner2003-07-011-1/+2
| | | | llvm-svn: 7029
* Minor cleanupsChris Lattner2003-07-011-4/+5
| | | | llvm-svn: 7027
* Merged in autoconf branch. This provides configuration via the autoconfJohn Criswell2003-06-3024-53/+75
| | | | | | system. llvm-svn: 7014
* Setjmp should always return zero if we don't implement longjmp. This avoidsChris Lattner2003-06-301-0/+2
| | | | | | leaving trash in the register, fixing anagram llvm-svn: 7013
* Get rid of the duplicate '0x' in debug mode.Brian Gaeke2003-06-301-1/+1
| | | | llvm-svn: 7012
* Use the getFunctionNames methodChris Lattner2003-06-301-8/+3
| | | | llvm-svn: 7008
* Add new methodChris Lattner2003-06-301-0/+17
| | | | llvm-svn: 7007
* Split CallSiteIterator out into DSCallSiteIterator.h, and generalize it a bitChris Lattner2003-06-302-101/+125
| | | | llvm-svn: 7006
* Be more const-correctChris Lattner2003-06-301-2/+2
| | | | llvm-svn: 7005
* Fix bug in last checkinChris Lattner2003-06-301-1/+1
| | | | llvm-svn: 7003
* Reimplement the BU closure to collapse all SCC graphs into a single graph.Chris Lattner2003-06-301-242/+52
| | | | | | Look at all of the code that gets deleted! llvm-svn: 7001
* Handle the case where OldNodeMap == &ScalarMap correctlyChris Lattner2003-06-301-12/+7
| | | | llvm-svn: 7000
OpenPOWER on IntegriCloud