summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
Commit message (Collapse)AuthorAgeFilesLines
...
* Refactor some repeated logic into a separate function.Dan Gohman2009-02-071-2/+7
| | | | llvm-svn: 63989
* Make a comment a doxygen comment.Dan Gohman2009-02-071-4/+4
| | | | llvm-svn: 63988
* Remove more non-DebugLoc getNode variants. UseDale Johannesen2009-02-065-59/+48
| | | | | | | | getCALLSEQ_{END,START} to permit passing no DebugLoc there. UNDEF doesn't logically have DebugLoc; add getUNDEF to encapsulate this. llvm-svn: 63978
* Remove more non-DebugLoc versions of getNode.Dale Johannesen2009-02-069-174/+242
| | | | llvm-svn: 63969
* Record debug location information in the Dwarf writer.Bill Wendling2009-02-062-2/+16
| | | | | | A simple test program shows that debugging works. :-) llvm-svn: 63968
* Use .size and .type on ELF systems; this helps tools that mapDan Gohman2009-02-061-3/+19
| | | | | | addresses to symbols. llvm-svn: 63962
* Eliminate remaining non-DebugLoc version of getTargetNode.Dale Johannesen2009-02-064-25/+31
| | | | llvm-svn: 63951
* Print globl directive for variables with external linkage (global variables).Sanjiv Gupta2009-02-061-0/+2
| | | | llvm-svn: 63943
* Move getPointerRegClass from TargetInstrInfo to TargetRegisterInfo.Evan Cheng2009-02-0616-47/+48
| | | | llvm-svn: 63938
* Add TargetInstrInfo::isSafeToMoveRegisterClassDefs. It returns true if it's ↵Evan Cheng2009-02-062-8/+7
| | | | | | safe to move an instruction which defines a value in the register class. Replace pre-splitting specific IgnoreRegisterClassBarriers with this new hook. llvm-svn: 63936
* get rid of some non-DebugLoc getTargetNode variants.Dale Johannesen2009-02-062-11/+14
| | | | llvm-svn: 63909
* Get rid of one more non-DebugLoc getNode andDale Johannesen2009-02-0611-276/+312
| | | | | | | its corresponding getTargetNode. Lots of caller changes. llvm-svn: 63904
* Remove a non-DebugLoc version of getNode.Dale Johannesen2009-02-053-41/+50
| | | | llvm-svn: 63889
* A few more isAsCheapAsAMove.Evan Cheng2009-02-054-4/+8
| | | | llvm-svn: 63852
* Reapply 63765. Patches for clang and llvm-gcc to follow.Dale Johannesen2009-02-051-0/+22
| | | | llvm-svn: 63812
* Get rid of 3 non-DebugLoc getNode variants.Dale Johannesen2009-02-053-53/+65
| | | | llvm-svn: 63808
* Remove non-DebugLoc versions of getMergeValues, ZeroExtendInReg.Dale Johannesen2009-02-052-22/+25
| | | | llvm-svn: 63800
* Remove non-DebugLoc forms of CopyToReg and CopyFromReg.Dale Johannesen2009-02-0412-192/+249
| | | | | | Adjust callers. llvm-svn: 63789
* Reverting 63765. This broke the build of both clangDale Johannesen2009-02-041-22/+0
| | | | | | and llvm-gcc. llvm-svn: 63786
* Remove non-DebugLoc versions of getLoad and getStore.Dale Johannesen2009-02-0412-281/+344
| | | | | | Adjust the many callers of those versions. llvm-svn: 63767
* New feature: add support for target intrinsics being defined in theNate Begeman2009-02-041-0/+22
| | | | | | | | | target directories themselves. This also means that VMCore no longer needs to know about every target's list of intrinsics. Future work will include converting the PowerPC target to this interface as an example implementation. llvm-svn: 63765
* Bill implemented this.Chris Lattner2009-02-041-36/+0
| | | | llvm-svn: 63752
* add a note, this is why we're faster at SciMark-MonteCarlo withChris Lattner2009-02-041-0/+40
| | | | | | SSE disabled. llvm-svn: 63751
* Minor code cleanups; no functionality change.Dan Gohman2009-02-041-10/+11
| | | | llvm-svn: 63740
* Remove non-DebugLoc forms of the exotic formsDale Johannesen2009-02-043-84/+89
| | | | | | of Lod and Sto; patch uses. llvm-svn: 63716
* Remove some more non-DebugLoc versions of constructionDale Johannesen2009-02-043-46/+51
| | | | | | functions, with callers adjusted to fit. llvm-svn: 63705
* Remove a few non-DebugLoc versions of node creationDale Johannesen2009-02-042-8/+9
| | | | | | functions. llvm-svn: 63703
* Fixes a case where we generate an incorrect mask for pshfhw in the presenceMon P Wang2009-02-041-5/+6
| | | | | | of undefs and incorrectly determining if we have punpckldq. llvm-svn: 63702
* Patch up omissions in DebugLoc propagation.Dale Johannesen2009-02-042-56/+63
| | | | llvm-svn: 63693
* Need this file too.Dale Johannesen2009-02-031-2/+2
| | | | llvm-svn: 63674
* Add some DL propagation to places that didn'tDale Johannesen2009-02-033-37/+42
| | | | | | have it yet. More coming. llvm-svn: 63673
* DebugLoc propgationDale Johannesen2009-02-031-25/+35
| | | | llvm-svn: 63664
* DebugLoc propagation. done with file.Dale Johannesen2009-02-031-179/+226
| | | | llvm-svn: 63656
* DebugLoc propagation. 2/3 through file.Dale Johannesen2009-02-032-346/+409
| | | | llvm-svn: 63650
* Tevert part of the x86 subtarget logic changes: when -march=x86-64Dan Gohman2009-02-031-4/+5
| | | | | | | | | | | | | | | is given, override the subtarget settings and enable 64-bit support. This restores the earlier behavior, and fixes regressions on Non-64-bit-capable x86-32 hosts. This isn't necessarily the best approach, but the most obvious alternative is to require -mcpu=x86-64 or -mattr=+64bit to be used with -march=x86-64 when the host doesn't have 64-bit support. This makes things little more consistent, but it's less convenient, and it has the practical drawback of requiring lots of test changes, so I opted for the above approach for now. llvm-svn: 63642
* Create DebugLoc information in FastISel. Several temporary methods wereBill Wendling2009-02-032-5/+8
| | | | | | | created. Specifically, those BuildMIs which use "DebugLoc::getUnknownLoc()". I'll remove them soon. llvm-svn: 63584
* Change Feature64Bit to not imply FeatureSSE2. All x86-64 hardware hasDan Gohman2009-02-032-17/+22
| | | | | | | | | | | | | | SSE2, however it's possible to disable SSE2, and the subtarget support code thinks that if 64-bit implies SSE2 and SSE2 is disabled then 64-bit should also be disabled. Instead, just mark all the 64-bit subtargets as explicitly supporting SSE2. Also, move the code that makes -march=x86-64 enable 64-bit support by default to only apply when there is no explicit subtarget. If you need to specify a subtarget and you want 64-bit code, you'll need to select a subtarget that supports 64-bit code. llvm-svn: 63575
* Only force SSE level if it is not correct.Torok Edwin2009-02-021-3/+10
| | | | | | Add an assert to check HasX86_64 status. llvm-svn: 63552
* remove #if 0 code on Bill's request.Torok Edwin2009-02-021-4/+0
| | | | llvm-svn: 63542
* Made the common case of default address space directive as non-virtual for ↵Sanjiv Gupta2009-02-022-26/+22
| | | | | | performance reasons. Provide a single virtual interface for directives of all sizes in non-default address spaces. llvm-svn: 63521
* ADD / SUB / SMUL / UMUL with overflow second result top bits must be zero.Evan Cheng2009-02-021-0/+8
| | | | llvm-svn: 63509
* Add comment.Evan Cheng2009-02-021-0/+2
| | | | llvm-svn: 63506
* Teach LowerBRCOND to recognize (xor (setcc x), 1). The xor inverts the ↵Evan Cheng2009-02-021-0/+21
| | | | | | condition. It's normally transformed by the dag combiner, unless the condition is set by a arithmetic op with overflow. llvm-svn: 63505
* Implement -mno-sse: if SSE is disabled on x86-64, don't store XMM on stack forTorok Edwin2009-02-013-5/+24
| | | | | | var-args, and don't allow FP return values llvm-svn: 63495
* Fix PR3453 and probably a bunch of other potentialDuncan Sands2009-02-011-1/+2
| | | | | | | | | crashes or wrong code with codegen of large integers: eliminate the legacy getIntegerVTBitMask and getIntegerVTSignBit methods, which returned their value as a uint64_t, so couldn't handle huge types. llvm-svn: 63494
* Make LowerCallTo and LowerArguments take a DebugLocDale Johannesen2009-01-3012-36/+56
| | | | | | argument. Adjust all callers and overloaded versions. llvm-svn: 63444
* Get rid of the non-DebugLoc-ified getNOT() method.Bill Wendling2009-01-301-1/+1
| | | | llvm-svn: 63442
* Fixed the comment. No functionality change.Sanjiv Gupta2009-01-301-1/+1
| | | | llvm-svn: 63387
* Use sublw for comparison with literals instead of subwf.Sanjiv Gupta2009-01-301-9/+11
| | | | llvm-svn: 63382
* When PerformBuildVectorCombine, avoid creating a X86ISD::VZEXT_LOAD ofMon P Wang2009-01-301-1/+5
| | | | | | an illegal type. llvm-svn: 63380
OpenPOWER on IntegriCloud