summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
Commit message (Collapse)AuthorAgeFilesLines
* Drop bunch of half-working stuff in the ext_weak linkage support.Anton Korobeynikov2009-02-211-6/+19
| | | | | | | | | | | Now we're using one gross, but quite robust hack :) (previous ones did not work, for example, when ext_weak symbol was used deep inside constant expression in the initializer). The proper fix of this problem will require some quite huge asmprinter changes and that's why was postponed. This fixes PR3629 by the way :) llvm-svn: 65230
* Make sure this doesn't access .end() too.Bill Wendling2009-02-211-3/+4
| | | | llvm-svn: 65213
* Make sure we don't dereference the .end() of the container.Bill Wendling2009-02-211-1/+2
| | | | llvm-svn: 65211
* Propagate more debug loc infos. This also includes some code cleaning.Bill Wendling2009-02-211-6/+18
| | | | llvm-svn: 65207
* We need to propagate the debug location information even when dealing with theBill Wendling2009-02-211-4/+4
| | | | | | prologue/epilogue. llvm-svn: 65206
* Support return of MMX values in 64-bit mode.Evan Cheng2009-02-201-3/+15
| | | | llvm-svn: 65152
* add note about sinTorok Edwin2009-02-201-0/+15
| | | | llvm-svn: 65137
* Put code that generates debug labels into TableGen so that it can be used byBill Wendling2009-02-187-20/+10
| | | | | | everyone. llvm-svn: 64978
* Add explicit keywords.Dan Gohman2009-02-181-1/+1
| | | | llvm-svn: 64915
* Add support to the JIT for true non-lazy operation. When a call to a functionNate Begeman2009-02-182-0/+21
| | | | | | | | | | | | | | | | | | | | that has not been JIT'd yet, the callee is put on a list of pending functions to JIT. The call is directed through a stub, which is updated with the address of the function after it has been JIT'd. A new interface for allocating and updating empty stubs is provided. Add support for removing the ModuleProvider the JIT was created with, which would otherwise invalidate the JIT's PassManager, which is initialized with the ModuleProvider's Module. Add support under a new ExecutionEngine flag for emitting the infomration necessary to update Function and GlobalVariable stubs after JITing them, by recording the address of the stub and the name of the GlobalValue. This allows code to be copied from one address space to another, where libraries may live at different virtual addresses, and have the stubs updated with their new correct target addresses. llvm-svn: 64906
* Factor out the code to add a MachineOperand to a MachineInstrBuilder.Dan Gohman2009-02-188-159/+38
| | | | llvm-svn: 64891
* GV with null value initializer shouldn't go to BSS if it's meant for a ↵Evan Cheng2009-02-183-3/+8
| | | | | | mergeable strings section. Currently it only checks for Darwin. Someone else please check if it should apply to other targets as well. llvm-svn: 64877
* Remove trailing whitespace to reduce later commit patch noise.Scott Michel2009-02-172-595/+595
| | | | | | | | (Note: Eventually, commits like this will be handled via a pre-commit hook that does this automagically, as well as expand tabs to spaces and look for 80-col violations.) llvm-svn: 64827
* add a horrible noteChris Lattner2009-02-171-0/+41
| | | | llvm-svn: 64719
* --- Merging (from foreign repository) r64714 into '.':Bill Wendling2009-02-171-7/+12
| | | | | | | | | | | | U include/llvm/CodeGen/DebugLoc.h U lib/CodeGen/SelectionDAG/LegalizeDAG.cpp U lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp U lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp Enable debug location generation at -Os. This goes with the reapplication of the r63639 patch. llvm-svn: 64715
* Delete trailing whitespace.Dan Gohman2009-02-161-5/+5
| | | | llvm-svn: 64694
* MachineLICM now handles these cases.Dan Gohman2009-02-151-85/+0
| | | | llvm-svn: 64620
* The x86-64 red zone is now being used.Dan Gohman2009-02-141-4/+0
| | | | llvm-svn: 64535
* Teach x86 target -soft-float.Evan Cheng2009-02-131-30/+39
| | | | llvm-svn: 64496
* Remove non-DebugLoc versions of BuildMI from IA64, Mips.Dale Johannesen2009-02-138-47/+59
| | | | llvm-svn: 64438
* Remove non-DebugLoc versions of BuildMI from X86.Dale Johannesen2009-02-136-55/+73
| | | | | | There were some that might even matter in X86FastISel. llvm-svn: 64437
* missed fileDale Johannesen2009-02-131-2/+3
| | | | llvm-svn: 64436
* Remove non-DebugLoc versions of buildMI from Sparc.Dale Johannesen2009-02-135-13/+21
| | | | llvm-svn: 64435
* Remove non-DebugLoc versions of BuildMI from Alpha and Cell.Dale Johannesen2009-02-136-65/+76
| | | | llvm-svn: 64433
* Remove refs to non-DebugLoc version of BuildMI from XCore, PIC16.Dale Johannesen2009-02-134-39/+45
| | | | llvm-svn: 64432
* Remove refs to non-DebugLoc version of BuildMI from PowerPC.Dale Johannesen2009-02-135-149/+173
| | | | llvm-svn: 64431
* and one more fileDale Johannesen2009-02-131-64/+92
| | | | llvm-svn: 64430
* Remove refs to non-DebugLoc versions of BuildMI from ARM.Dale Johannesen2009-02-135-23/+40
| | | | llvm-svn: 64429
* Revert this. It was breaking stuff.Bill Wendling2009-02-131-1/+9
| | | | llvm-svn: 64428
* Turn off the old way of handling debug information in the code generator. UseBill Wendling2009-02-131-9/+1
| | | | | | | the new way, where all of the information is passed on SDNodes and machine instructions. llvm-svn: 64427
* Check in missing file.Dale Johannesen2009-02-121-2/+4
| | | | llvm-svn: 64410
* Eliminate a couple of non-DebugLoc BuildMI variants.Dale Johannesen2009-02-1210-60/+86
| | | | | | Modify callers. llvm-svn: 64409
* Arrange to print constants that match "n" and "i" constraintsDale Johannesen2009-02-121-1/+32
| | | | | | | | in inline asm as signed (what gcc does). Add partial support for x86-specific "e" and "Z" constraints, with appropriate signedness for printing. llvm-svn: 64400
* fix PR3538 for ARM.Chris Lattner2009-02-121-12/+19
| | | | llvm-svn: 64384
* fix PR3538 for PPCChris Lattner2009-02-121-4/+14
| | | | llvm-svn: 64383
* fix the X86 backend to just drop llvm.declare nodes for VLAs instead of Chris Lattner2009-02-121-7/+18
| | | | | | | leaving them in the DAG and then getting selection errors. This is a fix for PR3538. llvm-svn: 64382
* Move debug loc info along when the spiller creates new instructions.Bill Wendling2009-02-1210-212/+349
| | | | llvm-svn: 64342
* Propagate DebugLoc info for spiller call-backs.Bill Wendling2009-02-111-42/+69
| | | | llvm-svn: 64329
* Don't try to set an EFLAGS operand to dead if no instruction was created.Dan Gohman2009-02-111-4/+6
| | | | | | This fixes a bug introduced by r61215. llvm-svn: 64316
* Handle llvm.x86.sse2.maskmov.dqu in 64-bit.Evan Cheng2009-02-101-0/+5
| | | | llvm-svn: 64240
* 80 col violations.Evan Cheng2009-02-101-4/+7
| | | | llvm-svn: 64237
* 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
* Use doxygen comment syntax.Dan Gohman2009-02-091-4/+4
| | | | llvm-svn: 64150
* Turns out AnalyzeBranch can modify the mbb being analyzed. This is a nastyEvan Cheng2009-02-0914-23/+49
| | | | | | | | 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 note.Chris Lattner2009-02-081-0/+31
| | | | llvm-svn: 64093
* Use getDebugLoc forwarder instead of getNode()->getDebugLoc.Dale Johannesen2009-02-076-64/+64
| | | | | | No functional change. llvm-svn: 64026
* Constify TargetInstrInfo::EmitInstrWithCustomInserter, allowingDan Gohman2009-02-0716-27/+26
| | | | | | ScheduleDAG's TLI member to use const. llvm-svn: 64018
* 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-0710-58/+84
| | | | | | | | | | | | 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
OpenPOWER on IntegriCloud