summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* If a user requests help, give them help on both features and processorsChris Lattner2005-10-231-24/+40
| | | | llvm-svn: 23905
* Autogen subtarget information from .td files.Chris Lattner2005-10-232-35/+12
| | | | llvm-svn: 23904
* Add subtarget feature/processor defns to the .td fileChris Lattner2005-10-231-0/+22
| | | | llvm-svn: 23903
* rearrange things a bit so that instructions can use subtarget features in theChris Lattner2005-10-231-11/+9
| | | | | | future. llvm-svn: 23902
* add a markerChris Lattner2005-10-231-0/+5
| | | | llvm-svn: 23901
* add a note that Nate mentioned last weekChris Lattner2005-10-231-0/+5
| | | | llvm-svn: 23898
* Put some of my random notes somewhere publicChris Lattner2005-10-231-0/+70
| | | | llvm-svn: 23897
* Work around GCC's dislike of attributes on function definitions.Jeff Cohen2005-10-231-1/+6
| | | | llvm-svn: 23896
* Remove deleted files from Visual Studio.Jeff Cohen2005-10-231-6/+0
| | | | llvm-svn: 23895
* Remove the obsolete instr selector emitterChris Lattner2005-10-233-1701/+1
| | | | llvm-svn: 23894
* Improve help output.Chris Lattner2005-10-231-12/+16
| | | | llvm-svn: 23893
* improve -help outputChris Lattner2005-10-231-5/+5
| | | | llvm-svn: 23892
* Move static functions from .h file, reduce #includes, pass strings by const&,Chris Lattner2005-10-231-45/+99
| | | | | | | use LowercaseString from StringExtras.h, remove extraneous space from help output. llvm-svn: 23891
* Move static functions to .cpp file, reduce #includes, pass strings byChris Lattner2005-10-231-68/+7
| | | | | | const&. llvm-svn: 23890
* Remove redundant flag.Jeff Cohen2005-10-231-1/+1
| | | | llvm-svn: 23889
* When a function takes a variable number of pointer arguments, with a zeroJeff Cohen2005-10-2327-262/+290
| | | | | | | | | | | | | pointer marking the end of the list, the zero *must* be cast to the pointer type. An un-cast zero is a 32-bit int, and at least on x86_64, gcc will not extend the zero to 64 bits, thus allowing the upper 32 bits to be random junk. The new END_WITH_NULL macro may be used to annotate a such a function so that GCC (version 4 or newer) will detect the use of un-casted zero at compile time. llvm-svn: 23888
* Add several things.Andrew Lenharth2005-10-232-23/+91
| | | | | | | | | | | | | loads branches setcc working calls Global address External addresses now I can manage malloc calls. llvm-svn: 23887
* add TargetExternalSymbolAndrew Lenharth2005-10-233-4/+21
| | | | llvm-svn: 23886
* Add new files to Visual Studio.Jeff Cohen2005-10-231-0/+6
| | | | llvm-svn: 23885
* Well, the Constant matching pattern works. Can't say much about calls or ↵Andrew Lenharth2005-10-224-71/+113
| | | | | | globals yet. llvm-svn: 23884
* document this as experimentalChris Lattner2005-10-221-1/+1
| | | | llvm-svn: 23883
* This file is entirely ifdef'd outChris Lattner2005-10-221-521/+0
| | | | llvm-svn: 23882
* BuildSDIV and BuildUDIV only work for i32/i64, but they don't check thatChris Lattner2005-10-221-10/+20
| | | | | | | | the input is that type, this caused a failure on gs on X86 last night. Move the hard checks into Build[US]Div since that is where decisions like this should be made. llvm-svn: 23881
* Add g3 back to the mix and reorder to irritate them anal folk. Actually, it'sJim Laskey2005-10-221-9/+10
| | | | | | | to group appropriately and provide cues to maintainers that the lists don't need to be ordered. llvm-svn: 23880
* Sort the features and processor lists for the sake of search (and maintainers.)Jim Laskey2005-10-221-2/+27
| | | | llvm-svn: 23879
* 64-bit reg support should not be enabled by default, as support isn't complete.Chris Lattner2005-10-211-2/+2
| | | | llvm-svn: 23878
* add a case missing from the dag combiner that exposed the failure onChris Lattner2005-10-211-0/+3
| | | | | | 2005-10-21-longlonggtu.ll. llvm-svn: 23875
* Instead of aborting if not a case we can handle specially, break out andChris Lattner2005-10-212-55/+52
| | | | | | | | let the generic code handle it. This fixes CodeGen/Generic/2005-10-21-longlonggtu.ll on ppc. also, reindent this code llvm-svn: 23874
* New testcase that crashes the ppc backendChris Lattner2005-10-211-0/+12
| | | | llvm-svn: 23871
* Plugin new subtarget backend into the build.Jim Laskey2005-10-217-80/+53
| | | | llvm-svn: 23870
* New TableGen backends for subtarget information. Only command line stuffJim Laskey2005-10-212-0/+148
| | | | | | active now. Scheduling itinerary next. llvm-svn: 23869
* silence a release mode warningChris Lattner2005-10-211-1/+1
| | | | llvm-svn: 23868
* add missing prototypeChris Lattner2005-10-211-0/+4
| | | | llvm-svn: 23867
* Make the coallescer a bit smarter, allowing it to join more live ranges.Chris Lattner2005-10-211-30/+85
| | | | | | | | | | | | For example, we can now join things like [0-30:0)[31-40:1)[52-59:2) with [40:60:0) if the 52-59 range is defined by a copy from the 40-60 range. The resultant range ends up being [0-30:0)[31-60:1). This fires a lot through-out the test suite (e.g. shrinking bc from 19492 -> 18509 machineinstrs) though most gains are smaller (e.g. about 50 copies eliminated from crafty). llvm-svn: 23866
* Fix LiveInterval::getOverlapingRanges to take things in the right orderChris Lattner2005-10-211-3/+3
| | | | | | | | | | (an unused method). Fix the merger so that it can merge ranges like this [10:12)[16:40) with [12:38) into [10:40) instead of bogus ranges. This sort of input will be possible for the merger coming shortly llvm-svn: 23865
* Match rotate. This does actually match the rotates in an rc5 cipher, but INate Begeman2005-10-211-0/+3
| | | | | | haven't seen it fire on our testsuite. llvm-svn: 23863
* My previous patch was too conservative. Reject FP and void types, but doChris Lattner2005-10-211-1/+2
| | | | | | allow pointer types. llvm-svn: 23859
* Don't generate operations that aren't yet supportedNate Begeman2005-10-211-1/+4
| | | | llvm-svn: 23858
* Kill some now-dead code.Nate Begeman2005-10-211-159/+0
| | | | llvm-svn: 23857
* Fix a typo in the dag combiner, so that this can work on i64 targetsNate Begeman2005-10-211-3/+2
| | | | llvm-svn: 23856
* byte zap not immediate goodnessAndrew Lenharth2005-10-211-12/+47
| | | | llvm-svn: 23855
* Make tblgen emit:Chris Lattner2005-10-212-11/+26
| | | | | | | tblgen: In ZAPNOTi: Cannot use 'IZAPX' in an input pattern! for a bad pattern, instead of an ugly assertion. llvm-svn: 23854
* Invert the TargetLowering flag that controls divide by consant expansion.Nate Begeman2005-10-216-76/+68
| | | | | | | | | | Add a new flag to TargetLowering indicating if the target has really cheap signed division by powers of two, make ppc use it. This will probably go away in the future. Implement some more ISD::SDIV folds in the dag combiner Remove now dead code in the x86 backend. llvm-svn: 23853
* Inst cleanup. As a bonus, operands are in the correct order for cmovs. ↵Andrew Lenharth2005-10-202-47/+33
| | | | | | Expect new stuff to pass in the JIT tonight llvm-svn: 23852
* Use a literal to define ineg instead of immzeroChris Lattner2005-10-201-2/+1
| | | | llvm-svn: 23851
* Fix a conditional so we don't access past the end of the range. Thanks toChris Lattner2005-10-201-6/+4
| | | | | | Andrew for bringing this to my attn. llvm-svn: 23850
* added a few 1 operand form stuff. Seems to break regalloc on alpha. sighAndrew Lenharth2005-10-203-13/+33
| | | | llvm-svn: 23849
* add cttz and ctpopAndrew Lenharth2005-10-201-0/+2
| | | | llvm-svn: 23848
* Fix a couple bugs in the const div stuff where we'd generate MULHS/MULHUNate Begeman2005-10-201-3/+4
| | | | | | | for types that aren't legal, and fail a divisor is less than zero comparison, which would cause us to drop a subtract. llvm-svn: 23846
* don't use llabs with apparently VC++ doesn't haveChris Lattner2005-10-201-1/+1
| | | | llvm-svn: 23845
OpenPOWER on IntegriCloud