summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix another case where constexprs could cause a crashChris Lattner2003-04-301-5/+2
| | | | llvm-svn: 5972
* Fix constant folding of constexprsChris Lattner2003-04-301-6/+3
| | | | llvm-svn: 5971
* Create constant expression casts instead of constant instructions if possibleChris Lattner2003-04-281-2/+12
| | | | llvm-svn: 5968
* Fix several bugs:Chris Lattner2003-04-281-9/+20
| | | | | | | | | | * Warnings were emitted all of the time and were really annoying * Functions could not be resolved unless they had external linkage. Linkonce linkage was not allowed * ConstantPointerRef's were not handled when linking functions we now actually handle cast (CPR) to X -> cast (NewCPR) to X llvm-svn: 5967
* Avoid naming things exactly the sameChris Lattner2003-04-271-1/+1
| | | | llvm-svn: 5966
* Remove two fields from TargetData which are target specific.Chris Lattner2003-04-264-9/+2
| | | | llvm-svn: 5963
* The promotion rules are the same for all targets, they are set by the C ↵Chris Lattner2003-04-261-9/+3
| | | | | | standard. llvm-svn: 5962
* IntegerRegSize is always 8 for sparcChris Lattner2003-04-262-6/+3
| | | | llvm-svn: 5961
* Fix bug: LoopPreheaders/2003-04-25-AssertFail.llChris Lattner2003-04-261-3/+24
| | | | llvm-svn: 5959
* Fix a bug that occurred when removing the last predecessor INTO anChris Lattner2003-04-251-1/+5
| | | | | | infinite loop llvm-svn: 5953
* Fix bug: ADCE/2003-04-25-PHIPostDominateProblem.llChris Lattner2003-04-251-9/+10
| | | | llvm-svn: 5952
* Fix bogus assertChris Lattner2003-04-251-3/+3
| | | | llvm-svn: 5949
* Fix bug: Assembler/2003-04-25-UnresolvedGlobalReference.llChris Lattner2003-04-251-1/+19
| | | | llvm-svn: 5948
* Only do the %ld -> %lld promotion when running a 64 bit bytecode on a 32 bit ↵Chris Lattner2003-04-251-1/+2
| | | | | | host llvm-svn: 5942
* Add __strdupChris Lattner2003-04-251-0/+7
| | | | llvm-svn: 5941
* Fix BasicAA/2003-04-25-GEPCrash.llChris Lattner2003-04-251-3/+3
| | | | llvm-svn: 5940
* MAke sure that LLI properly configures align_of(double)Chris Lattner2003-04-251-0/+1
| | | | llvm-svn: 5938
* Whoops, 32 bit targets have _4_ byte pointers, not _32_ byte pointers!Chris Lattner2003-04-251-2/+4
| | | | llvm-svn: 5937
* Fix compatibility bug: X86 aligns doubles to 4 bytes, not 8!Chris Lattner2003-04-251-0/+1
| | | | llvm-svn: 5935
* Fix obvious type-oChris Lattner2003-04-252-3/+3
| | | | llvm-svn: 5932
* Fix problem where we would read 64 bits worth of pointer information, even ↵Chris Lattner2003-04-251-10/+10
| | | | | | on 32 bit targets! llvm-svn: 5930
* Fix major problem with PHI node traversal: rechecking PHIs should go intoChris Lattner2003-04-251-1/+1
| | | | | | the visit function. The worklist is for when their lattice value changes. llvm-svn: 5927
* ** CORRECTLY, conservatively handle constant expressionsChris Lattner2003-04-251-2/+7
| | | | llvm-svn: 5924
* Allow for easy detection of when a "default" TargetData is created by theChris Lattner2003-04-251-0/+7
| | | | | | passmanager, which is never the right thing to do. llvm-svn: 5922
* Minor non-functional changes:Chris Lattner2003-04-251-61/+47
| | | | | | | | | * Spell propagate right * Improve performance of phi node handling * Delete using directive * Other minor changes llvm-svn: 5920
* Fix bug: mem2reg/2003-04-24-MultipleIdenticalSuccessors.llChris Lattner2003-04-251-7/+8
| | | | llvm-svn: 5919
* Fix a nasty bug where the ConstantMerge pass was invalidating the TargetData ↵Chris Lattner2003-04-241-13/+25
| | | | | | | | pass even though it was immutable. Immutable passes should never end up in CurrentAnalyses! llvm-svn: 5906
* add a new targetdata ctor to create a target data appropriate to the moduleChris Lattner2003-04-241-0/+18
| | | | llvm-svn: 5903
* Trivial cleanupChris Lattner2003-04-241-5/+5
| | | | llvm-svn: 5899
* Make the levelraise pass be well behaved w.r.t the TargetData that the currentChris Lattner2003-04-244-125/+126
| | | | | | PassMAnager provides. llvm-svn: 5896
* Fix iterator invalidation problemChris Lattner2003-04-241-2/+7
| | | | llvm-svn: 5895
* Make sure that the cloned module retains the type symbol table entries!Chris Lattner2003-04-241-0/+9
| | | | llvm-svn: 5894
* Make sure to preserve endiannes and pointer size when cloning modules!Chris Lattner2003-04-241-0/+2
| | | | llvm-svn: 5892
* Fix bug where pointers were assumed to always be 64 bits in size!Chris Lattner2003-04-231-4/+8
| | | | llvm-svn: 5890
* Add memcpyChris Lattner2003-04-231-0/+7
| | | | llvm-svn: 5887
* Fix a problem with setcc instructions and pointersChris Lattner2003-04-231-6/+15
| | | | llvm-svn: 5886
* Implement a bunch of new external functionsChris Lattner2003-04-231-0/+54
| | | | llvm-svn: 5885
* Implement &|^ on bool valuesChris Lattner2003-04-231-0/+3
| | | | llvm-svn: 5884
* Add support for _IO_getc function used on linuxChris Lattner2003-04-231-0/+6
| | | | llvm-svn: 5883
* Fix problem where labels were being incorrectly elided, and fix problemChris Lattner2003-04-231-3/+4
| | | | | | where PHI copies where not emitted for the default label of switch insts llvm-svn: 5882
* Fix the super obnoxious "cast to pointer from integer of different size" ↵Chris Lattner2003-04-231-8/+9
| | | | | | warnings llvm-svn: 5881
* * Implement access to external variables in LLIChris Lattner2003-04-231-10/+31
| | | | | | * Implement GetElementPtr constant expressions when initializing global variables llvm-svn: 5880
* Fix Bug: Linker/2003-04-23-LinkOnceLost.llChris Lattner2003-04-231-30/+40
| | | | llvm-svn: 5879
* Fix iterator invalidation problem with cast instructionsChris Lattner2003-04-231-1/+1
| | | | llvm-svn: 5876
* Implement the constantexpr CAST instruction correctlyChris Lattner2003-04-231-45/+56
| | | | llvm-svn: 5875
* We now need to link libscalar to get the switch lowering passChris Lattner2003-04-231-2/+2
| | | | llvm-svn: 5874
* Remove unnecesary &*'sChris Lattner2003-04-2319-37/+37
| | | | llvm-svn: 5872
* Remove unneccesary &*Chris Lattner2003-04-234-4/+4
| | | | llvm-svn: 5871
* Add support for the Switch instruction by running the lowerSwitch pass firstChris Lattner2003-04-232-1/+8
| | | | llvm-svn: 5867
* New pass to lower switch instructions to branch instructionsChris Lattner2003-04-231-0/+102
| | | | llvm-svn: 5865
OpenPOWER on IntegriCloud