summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO
Commit message (Collapse)AuthorAgeFilesLines
* fix Transforms/Inline/2007-06-25-WeakInline.ll by not inlining functionsChris Lattner2007-06-251-4/+8
| | | | | | with weak linkage. llvm-svn: 37723
* Moved Inliner.h to include/llvm/Transforms/IPO/InlinerPass.hTanya Lattner2007-06-191-65/+0
| | | | llvm-svn: 37666
* Inliner pass header file was moved.Tanya Lattner2007-06-192-2/+3
| | | | llvm-svn: 37665
* Do not use ETForest as well as DomiantorTree. DominatorTree is sufficient.Devang Patel2007-06-071-5/+3
| | | | llvm-svn: 37501
* Formating fixes.Tanya Lattner2007-06-071-4/+4
| | | | llvm-svn: 37491
* Instruct the inliner to obey the noinline attribute. Add test case.Tanya Lattner2007-06-061-1/+43
| | | | llvm-svn: 37481
* simplify this code and fix PR1493, now that llvm-gcc3 is dead.Chris Lattner2007-06-061-17/+2
| | | | llvm-svn: 37478
* When rebuilding constant structs, make sure to honor the isPacked bit.Chris Lattner2007-06-041-1/+1
| | | | | | This fixes PR1491 and GlobalOpt/2007-06-04-PackedStruct.ll llvm-svn: 37423
* selects can also reach hereChris Lattner2007-05-151-2/+3
| | | | llvm-svn: 37081
* Fix Transforms/GlobalOpt/2007-05-13-Crash.llChris Lattner2007-05-131-1/+4
| | | | llvm-svn: 37020
* Fix PR1395, by passing the ID correctlyChris Lattner2007-05-063-5/+4
| | | | llvm-svn: 36894
* Fix typo in comment.Nick Lewycky2007-05-0618-20/+20
| | | | llvm-svn: 36873
* Drop 'const'Devang Patel2007-05-0320-44/+44
| | | | llvm-svn: 36662
* Use 'static const char' instead of 'static const int'.Devang Patel2007-05-0220-44/+44
| | | | | | | Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. llvm-svn: 36652
* Do not use typeinfo to identify pass in pass manager.Devang Patel2007-05-0120-10/+85
| | | | llvm-svn: 36632
* Implement review feedbackAnton Korobeynikov2007-04-291-1/+1
| | | | llvm-svn: 36564
* Implement review feedback. Aliasees can be either GlobalValue's orAnton Korobeynikov2007-04-281-6/+2
| | | | | | bitcasts of them. llvm-svn: 36537
* Implement aliases. This fixes PR1017 and it's dependent bugs. CFE partAnton Korobeynikov2007-04-251-1/+12
| | | | | | will follow. llvm-svn: 36435
* Removed tabs everywhere except autogenerated & external files. Add makeAnton Korobeynikov2007-04-162-5/+5
| | | | | | target for tabs checking. llvm-svn: 36146
* fix SimplifyLibCalls/IsDigit.llChris Lattner2007-04-151-1/+1
| | | | llvm-svn: 36047
* avoid iterator invalidation.Chris Lattner2007-04-141-2/+4
| | | | llvm-svn: 36002
* An even better fix.Jeff Cohen2007-04-141-3/+2
| | | | llvm-svn: 35998
* Fix recent regression that broke several llvm-tests.Jeff Cohen2007-04-141-0/+2
| | | | llvm-svn: 35996
* Implement a few missing xforms: printf("foo\n") -> puts. printf("x") -> putcharChris Lattner2007-04-141-9/+48
| | | | | | | | printf("") -> noop. Still need to do the xforms for fprintf. This implements Transforms/SimplifyLibCalls/Printf.ll llvm-svn: 35984
* in addition to merging, constantmerge should also delete trivially dead globals,Chris Lattner2007-04-141-1/+8
| | | | | | in order to clean up after simplifylibcalls. llvm-svn: 35982
* Implement the "thread_local" keyword.Lauro Ramos Venancio2007-04-121-7/+19
| | | | llvm-svn: 35950
* Fix a typo that broke SimplifyLibCalls/SPrintF.ll (pr1315)Chris Lattner2007-04-081-1/+1
| | | | llvm-svn: 35768
* implement a fixme: move optimizations for fwrite out of fputs into a newChris Lattner2007-04-081-26/+56
| | | | | | fwrite optimizer. llvm-svn: 35758
* Significantly simplify the clients of GetConstantStringInfo, by having itChris Lattner2007-04-071-235/+154
| | | | | | just return the string itself. llvm-svn: 35755
* Fix problems in the sprintf optimizerChris Lattner2007-04-071-81/+60
| | | | llvm-svn: 35754
* Change CastToCStr to take a pointer instead of a reference.Chris Lattner2007-04-071-82/+76
| | | | | | Fix some miscompilations in fprintf optimizer. llvm-svn: 35753
* Fix an off-by-one error that broke Prolangs/deriv2 with llc on x86Chris Lattner2007-04-071-1/+1
| | | | | | and Prolangs-C/cdecl llvm-svn: 35749
* Expunge DomSet from CodeExtractor. This is part of the continuing workOwen Anderson2007-04-071-5/+7
| | | | | | on PR1171. llvm-svn: 35726
* fix a miscompilation in printf optimizer.Chris Lattner2007-04-071-38/+36
| | | | llvm-svn: 35713
* trunc to bool no longer compares against zeroChris Lattner2007-04-071-10/+5
| | | | llvm-svn: 35712
* cleanups for strlen optimizerChris Lattner2007-04-071-34/+21
| | | | llvm-svn: 35711
* Introduce a new ReplaceCallWith method, which simplifies a lot of code.Chris Lattner2007-04-071-186/+86
| | | | llvm-svn: 35710
* fixes for strcpy optimizerChris Lattner2007-04-071-53/+42
| | | | llvm-svn: 35709
* Fix bugs in strncmp.Chris Lattner2007-04-071-62/+52
| | | | llvm-svn: 35708
* fix 3 miscompilations and several compielr crashes in strcmp optimizer.Chris Lattner2007-04-071-44/+35
| | | | llvm-svn: 35707
* Fix several nasty bugs in the strchr optimizer, this fixesChris Lattner2007-04-061-48/+54
| | | | | | SimplifyLibCalls/2007-04-06-strchr-miscompile.ll and PR1307 llvm-svn: 35706
* clean up strcat optimizer, no functionality change.Chris Lattner2007-04-061-28/+21
| | | | llvm-svn: 35704
* rename getConstantStringLength -> GetConstantStringInfo. Make it returnChris Lattner2007-04-061-74/+83
| | | | | | the start index of the array as well as the length. No functionality change. llvm-svn: 35703
* Fix Transforms/GlobalOpt/2007-04-05-Crash.llChris Lattner2007-04-051-1/+1
| | | | llvm-svn: 35689
* Unbreak VC++ build.Jeff Cohen2007-03-051-0/+1
| | | | llvm-svn: 34917
* Prefer non-virtual calls to ConstantInt::isZero over virtual calls toReid Spencer2007-03-022-4/+4
| | | | | | Constant::isNullValue() in situations where it is possible. llvm-svn: 34821
* Use APInt conversion to string so the result is correct regardless of theReid Spencer2007-03-011-1/+1
| | | | | | bit width of the ConstantInt being converted. llvm-svn: 34810
* fix commentChris Lattner2007-02-181-1/+1
| | | | llvm-svn: 34395
* simplify pass, delete dead gvar protos as well.Chris Lattner2007-02-181-16/+21
| | | | llvm-svn: 34394
* For PR1195:Reid Spencer2007-02-151-3/+3
| | | | | | | Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and PackedTyID -> VectorTyID. No functional changes. llvm-svn: 34293
OpenPOWER on IntegriCloud