summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add capability to remove aliasing aliassets from an ASTChris Lattner2004-07-211-0/+56
| | | | llvm-svn: 15066
* Add a bunch of new functionality, primarily to do with removing aliasingChris Lattner2004-07-211-1/+22
| | | | | | pointers from an AST. llvm-svn: 15065
* Make the AST interface a bit richer by returning whether an insertion causedChris Lattner2004-07-212-29/+49
| | | | | | an insertion or not (because the pointer set already existed). llvm-svn: 15064
* Remove special casing of pointers and treat them generically as integers ofChris Lattner2004-07-211-8/+5
| | | | | | the appopriate size. This gives us the ability to eliminate int -> ptr -> int llvm-svn: 15063
* Do not ignore casts unless they are pointer-pointer casts. This caused usChris Lattner2004-07-211-4/+8
| | | | | | to miscompile the SingleSource/Regression/C++/pointer_member.cpp program. llvm-svn: 15062
* Regenerated using autoconf-2.57.Brian Gaeke2004-07-211-0/+8
| | | | llvm-svn: 15061
* Add AC_MSG_CHECKING and AC_MSG_RESULT statements which were missingBrian Gaeke2004-07-211-0/+4
| | | | | | from two of our custom checks. llvm-svn: 15060
* Regenerated with autoconf/autoheader 2.57Brian Gaeke2004-07-212-0/+62
| | | | llvm-svn: 15059
* Solaris hack for isinf()Brian Gaeke2004-07-211-0/+5
| | | | llvm-svn: 15058
* Add check for finite(). Solaris doesn't have isinf, but it has finite...goBrian Gaeke2004-07-211-0/+4
| | | | | | figure! llvm-svn: 15057
* Emit NaNs and INFs bit-identically to the bytecode file, if the system hasBrian Gaeke2004-07-211-2/+64
| | | | | | | printf("%a") support. Patch contributed by Bill Wendling. llvm-svn: 15056
* Add prototypes for platform-independent wrappers for isinf().Brian Gaeke2004-07-211-0/+4
| | | | | | Patch contributed by Bill Wendling. llvm-svn: 15055
* Regenerated with autoheader-2.57.Brian Gaeke2004-07-211-3/+10
| | | | | | Patch contributed by Bill Wendling. llvm-svn: 15054
* Add call to check for isinf().Brian Gaeke2004-07-211-0/+1
| | | | | | Patch contributed by Bill Wendling. llvm-svn: 15053
* Add support for checking for isinf().Brian Gaeke2004-07-211-0/+14
| | | | | | Patch contributed by Bill Wendling. llvm-svn: 15052
* Regenerated with autoconf-2.57.Brian Gaeke2004-07-211-0/+176
| | | | | | Patch contributed by Bill Wendling. llvm-svn: 15051
* Add platform-independent wrapper function for isinf().Brian Gaeke2004-07-211-0/+31
| | | | | | Patch contributed by Bill Wendling. llvm-svn: 15050
* Move LLVM tool definitions to Makefile.rulesBrian Gaeke2004-07-212-17/+15
| | | | llvm-svn: 15049
* Shorts are aligned to 2 bytes, bools to 1 byte (in structs).Misha Brukman2004-07-201-1/+1
| | | | llvm-svn: 15048
* Treat external variables similarly to those with weak linkage: load indirect.Misha Brukman2004-07-202-8/+8
| | | | llvm-svn: 15047
* Refer would-be llvm-gcc source users/hackers to the compilation guide.Misha Brukman2004-07-201-2/+1
| | | | llvm-svn: 15046
* Use C++-style <cstdio> instead of C-style <stdio.h>Misha Brukman2004-07-201-1/+1
| | | | llvm-svn: 15042
* Differentiate between global and weak symbol loadsMisha Brukman2004-07-201-1/+2
| | | | llvm-svn: 15037
* * Differentiate between global and weak symbol loadsMisha Brukman2004-07-202-128/+90
| | | | | | | | | | | | * Fix functions that take more than 32 bytes of args * Alignment of doubles in structs is 4 bytes, not 8 * Fix passing long args: rN = hi, rN+1 = lo * Rewrite signed divide * Rewrite Intrinsic::returnaddress Patch courtesy of Nate Begeman. llvm-svn: 15036
* Differentiate between global and weak symbol loadsMisha Brukman2004-07-202-12/+6
| | | | llvm-svn: 15035
* Double alignment in structs is 4 bytes, not 8. Patch by Nate Begeman.Misha Brukman2004-07-201-1/+1
| | | | llvm-svn: 15034
* Add function to clear all virtual->physical mappings but not assignedAlkis Evlogimenos2004-07-201-0/+5
| | | | | | stack slots. This is in preparation for the iterative linear scan. llvm-svn: 15032
* Remove unneeded functor. LiveInterval has a < operator.Alkis Evlogimenos2004-07-201-11/+1
| | | | llvm-svn: 15031
* Fix a serious code pessimization problem. If an inlined function has a singleChris Lattner2004-07-201-5/+6
| | | | | | | return, clone the 'ret' BB code into the block AFTER the inlined call, not the other way around. llvm-svn: 15030
* Implement Transforms/InstCombine/IntPtrCast.llChris Lattner2004-07-201-11/+16
| | | | llvm-svn: 15029
* new testcaseChris Lattner2004-07-201-0/+8
| | | | llvm-svn: 15028
* Ignore instructions that are in trivially dead functions. This allows usChris Lattner2004-07-201-4/+17
| | | | | | to constify 14 globals instead of 4 in a trivial C++ testcase. llvm-svn: 15027
* Fix stack frame layout in prologue/epilogue. Patch courtesy of Nate Begeman.Misha Brukman2004-07-201-18/+11
| | | | llvm-svn: 15026
* Dump the old-fashioned C-style <ctype.h> in favor of new `C++'-style <cctype>Misha Brukman2004-07-201-1/+1
| | | | llvm-svn: 15025
* Implement InstCombine/GEPIdxCanon.llChris Lattner2004-07-201-1/+10
| | | | llvm-svn: 15024
* New testcase that instcombine should help out with.Chris Lattner2004-07-201-0/+8
| | | | llvm-svn: 15023
* Implement SimplifyCFG/BrUnwind.llChris Lattner2004-07-201-2/+9
| | | | llvm-svn: 15022
* test that unconditional branches to unwinds are always eliminatedChris Lattner2004-07-201-0/+12
| | | | llvm-svn: 15021
* Move handing of GlobalValues from getReg() to copyConstantToRegister(), thisMisha Brukman2004-07-202-38/+22
| | | | | | will avoid extra register-to-register copies. Thanks to Chris for the idea. llvm-svn: 15019
* Rewrite cast->cast elimination code completely based on the information weChris Lattner2004-07-201-43/+53
| | | | | | | | actually care about. Someday when the cast instruction is gone, we can do better here, but this will do for now. This implements instcombine/cast.ll:test17/18 as well. llvm-svn: 15018
* Testcases missed by the instruction combinerChris Lattner2004-07-201-0/+14
| | | | llvm-svn: 15017
* isupper() and tolower() are declared in <ctype.h>Misha Brukman2004-07-201-3/+3
| | | | llvm-svn: 15016
* * Fn args passed in registers are now recorded as used by the call instructionMisha Brukman2004-07-202-12/+36
| | | | | | | | `-> asm printer updated to not print out those registers with the call instr All of Shootout tests now work. Great thanks to Nate Begeman for the patch! llvm-svn: 15015
* * cFP class split into cFP32 and cFP64Misha Brukman2004-07-202-436/+458
| | | | | | | | | | | | | | | * Fn args passed in registers are now recorded as used by the call instruction `-> asm printer updated to not print out those registers with the call instr * Stack frame layout in prolog/epilog fixed, spills and vararg fns now work * float/double to signed int codegen now correct * various single precision float codegen bugs fixed * const integer multiply codegen fixed * select and setcc blocks inserted into the correct place in machine CFG * load of integer constant code optimized All of Shootout tests now work. Great thanks to Nate Begeman for the patch! llvm-svn: 15014
* While I'm at it, don't break codegen of mul by 3,5,9.Chris Lattner2004-07-191-1/+1
| | | | llvm-svn: 15013
* Generate better code for multiplies by negative constants like -4, -1, -9, etc.Chris Lattner2004-07-191-4/+42
| | | | llvm-svn: 15012
* Remove dead code.Alkis Evlogimenos2004-07-191-17/+0
| | | | llvm-svn: 15011
* Tabs to spaces.Misha Brukman2004-07-191-4/+3
| | | | llvm-svn: 15010
* Convert tabs to spaces; fix name of function in assert() description.Misha Brukman2004-07-191-1/+1
| | | | llvm-svn: 15009
* Fix broken linkChris Lattner2004-07-191-2/+2
| | | | llvm-svn: 15008
OpenPOWER on IntegriCloud