summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Validate file id.Devang Patel2009-02-101-0/+3
| | | | llvm-svn: 64204
* Function temporaries can not overlap with retval or args.See the comment in ↵Sanjiv Gupta2009-02-101-8/+20
| | | | | | source code to know the reason. Anything having .auto. in its name is local to a function in nature irrespective of the linkage specified. print static local variables in module level IDATA section. llvm-svn: 64199
* Implement FpSET_ST1_*.Evan Cheng2009-02-093-6/+27
| | | | llvm-svn: 64186
* If the target cannot issue a copy for the given source and dest registers, ↵Evan Cheng2009-02-091-5/+10
| | | | | | abort instead of silently continue. llvm-svn: 64184
* Fix PR 3471, and some cleanups.Dale Johannesen2009-02-091-17/+32
| | | | llvm-svn: 64177
* Simplify code.Evan Cheng2009-02-091-5/+6
| | | | llvm-svn: 64164
* Make sure constant subscript is truncated to ptr size if it may not fit.Evan Cheng2009-02-091-1/+8
| | | | llvm-svn: 64163
* Use doxygen comment syntax.Dan Gohman2009-02-091-4/+4
| | | | llvm-svn: 64150
* Use slightly more correct grammar in error messages.Dan Gohman2009-02-091-2/+2
| | | | llvm-svn: 64148
* make sure that BranchInst::getSuccessor() does not assert in cast<>Gabor Greif2009-02-091-4/+5
| | | | | | | | | even if the underlying operand is NULL. This may happen in debugging context within opt with partial loop unrolling (see test/Transforms/LoopUnroll/partial.ll). After this fix I can resubmit the (backed out) r63459: * lib/VMCore/AsmWriter.cpp: use precise accessors. llvm-svn: 64142
* Re-enable machine sinking pass now that the coalescer bugs and the ↵Evan Cheng2009-02-091-8/+2
| | | | | | AnalyzeBrnach bug are fixed. llvm-svn: 64126
* Fix another case ShortenDeadCopySrcLiveRange is shortening too much. No test ↵Evan Cheng2009-02-091-6/+13
| | | | | | case possible since I don't know what to grep for. :-( llvm-svn: 64125
* Turns out AnalyzeBranch can modify the mbb being analyzed. This is a nastyEvan Cheng2009-02-0915-29/+55
| | | | | | | | suprise to some callers, e.g. register coalescer. For now, add an parameter that tells AnalyzeBranch whether it's safe to modify the mbb. A better solution is out there, but I don't have time to deal with it right now. llvm-svn: 64124
* Add a Sleep() function.Mikhail Glushenkov2009-02-082-0/+8
| | | | llvm-svn: 64101
* Add Emacs hints to Alarm.inc.Mikhail Glushenkov2009-02-083-8/+8
| | | | | | Also removes some trailing whitespace and fixes one 80-column violation. llvm-svn: 64094
* add a note.Chris Lattner2009-02-081-0/+31
| | | | llvm-svn: 64093
* fix typoChris Lattner2009-02-081-1/+1
| | | | llvm-svn: 64091
* reject void pointers with a nice error:Chris Lattner2009-02-081-1/+5
| | | | | | | | | | llvm-as: t.ll:2:15: pointers to void are invalid, use i8* instead %X = type void* ^ instead of asserting and dying. llvm-svn: 64089
* Fix PR3486. Fix a bug in code that manually patch physical register live ↵Evan Cheng2009-02-082-16/+34
| | | | | | interval after its sub-register is coalesced with a virtual register. llvm-svn: 64082
* Strengthen the previous check.Evan Cheng2009-02-081-4/+5
| | | | llvm-svn: 64076
* r64073 commit message is lost. Here it is:Evan Cheng2009-02-081-3/+4
| | | | | | | | | Right now if the coalesced copy def is dead and its src is a kill, and that there are now other uses within the live range, the coalescer would mark the def of the source register as dead. But it should also check if there are other kills which means the value has other uses not in the live range. llvm-svn: 64075
* (no commit message)Evan Cheng2009-02-081-3/+10
| | | | llvm-svn: 64073
* Mistakenly turned this on.Bill Wendling2009-02-081-1/+1
| | | | llvm-svn: 64065
* Revert r63999. It was breaking self-hosting builds.Bill Wendling2009-02-082-3/+9
| | | | llvm-svn: 64062
* Add missing break statements, fixing PR3503.Chris Lattner2009-02-071-8/+11
| | | | llvm-svn: 64040
* Instrcombine should not change load(cast p) to cast(load p) if the castMon P Wang2009-02-071-1/+7
| | | | | | changes the address space of the pointer. llvm-svn: 64035
* Use getDebugLoc forwarder instead of getNode()->getDebugLoc.Dale Johannesen2009-02-0712-79/+79
| | | | | | No functional change. llvm-svn: 64026
* Constify TargetInstrInfo::EmitInstrWithCustomInserter, allowingDan Gohman2009-02-0717-28/+27
| | | | | | ScheduleDAG's TLI member to use const. llvm-svn: 64018
* Add an API for strings with possible NULLs in the middle. Refactor the otherNick Lewycky2009-02-071-37/+8
| | | | | | two AddString methods to use it. llvm-svn: 64005
* Insert space to avoid warning and make code more readable.Mike Stump2009-02-071-2/+2
| | | | llvm-svn: 64003
* Make SDNode constructors take a DebugLoc always.Dale Johannesen2009-02-071-36/+4
| | | | | | | | | Adjust derived classes to pass UnknownLoc where a DebugLoc does not make sense. Pick one of DebugLoc and non-DebugLoc variants to survive for all such classes. llvm-svn: 64000
* Enable machine sinking pass in non-fast mode.Evan Cheng2009-02-071-8/+2
| | | | llvm-svn: 63999
* Remove now-unused constructors.Dale Johannesen2009-02-071-21/+0
| | | | llvm-svn: 63995
* Don't sink the instruction if TargetRegisterInfo::isSafeToMoveRegClassDefs ↵Evan Cheng2009-02-071-0/+4
| | | | | | doesn't think it's safe. This works around PR1911. llvm-svn: 63994
* Needs this file too.Dale Johannesen2009-02-071-1/+1
| | | | llvm-svn: 63993
* Get rid of the last non-DebugLoc versions of getNode!Dale Johannesen2009-02-0715-81/+97
| | | | | | | | | | | | Many targets build placeholder nodes for special operands, e.g. GlobalBaseReg on X86 and PPC for the PIC base. There's no sensible way to associate debug info with these. I've left them built with getNode calls with explicit DebugLoc::getUnknownLoc operands. I'm not too happy about this but don't see a good improvement; I considered adding a getPseudoOperand or something, but it seems to me that'll just make it harder to read. llvm-svn: 63992
* 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-0613-180/+141
| | | | | | | | getCALLSEQ_{END,START} to permit passing no DebugLoc there. UNDEF doesn't logically have DebugLoc; add getUNDEF to encapsulate this. llvm-svn: 63978
* And one more file.Dale Johannesen2009-02-061-3/+4
| | | | llvm-svn: 63971
* Remove more non-DebugLoc versions of getNode.Dale Johannesen2009-02-0614-203/+251
| | | | 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
* Clear out the CurDebugLoc info when doing a 'clear' on the SDL object.Bill Wendling2009-02-061-0/+1
| | | | llvm-svn: 63967
* Split the locking out of JIT::runJITOnFunction so that callersDan Gohman2009-02-062-5/+9
| | | | | | | that already hold the lock can call an entry point that doesn't re-acquire the lock. llvm-svn: 63965
* 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-065-64/+31
| | | | llvm-svn: 63951
* Rename SelectionDAGISel::Schedule toDan Gohman2009-02-061-11/+8
| | | | | | | | | SelectionDAGISel::CreateScheduler, and make it just create the scheduler. Leave running the scheduler to the higher-level code. This makes the higher-level code a little more explicit and easier to follow, and will help enable some future refactoring. llvm-svn: 63944
* Print globl directive for variables with external linkage (global variables).Sanjiv Gupta2009-02-061-0/+2
| | | | llvm-svn: 63943
* Delete an unused member function.Dan Gohman2009-02-061-2/+0
| | | | llvm-svn: 63941
* Move getPointerRegClass from TargetInstrInfo to TargetRegisterInfo.Evan Cheng2009-02-0618-60/+58
| | | | llvm-svn: 63938
OpenPOWER on IntegriCloud