summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* rename PIC16Section.h -> MCSectionPIC16.h for consistency withChris Lattner2009-08-153-2/+2
| | | | | | the class it defines. llvm-svn: 79081
* cmake likes its explicit list of files to build.Chris Lattner2009-08-151-0/+1
| | | | llvm-svn: 79080
* use XCore-specific section with xcore specific cp/dp flags to restore Chris Lattner2009-08-151-14/+26
| | | | | | | | support for globals going into the appropriate sections with the flags. This hopefully finishes unbreaking the previous behavior that I broke before. llvm-svn: 79079
* If ELF subtargets don't want to support 4/8/16-byte mergable sections, allow Chris Lattner2009-08-151-3/+3
| | | | | | them to null out the default section pointers. llvm-svn: 79078
* add support for target-specific ELF section flags, add a new MCSectionXCoreChris Lattner2009-08-153-4/+95
| | | | | | | class which represents the XCore cp/dp section flags. No functionality change yet. llvm-svn: 79077
* Simplify a few more things, eliminating a few more dependencies onDan Gohman2009-08-152-3/+1
| | | | | | "the current basic block". llvm-svn: 79069
* Simplify this code to not depend as much on CurMBB.Dan Gohman2009-08-151-16/+15
| | | | llvm-svn: 79068
* Do not use frame register to reference fixed stack objects if the function ↵Evan Cheng2009-08-152-13/+14
| | | | | | is frameless. llvm-svn: 79067
* Always check to see if raw_fd_ostream's file descriptor is attached toDan Gohman2009-08-151-13/+16
| | | | | | a terminal, not just when it's STDOUT_FILENO. llvm-svn: 79066
* Add support for column computation on unbuffered streams.Dan Gohman2009-08-151-15/+38
| | | | llvm-svn: 79065
* Move FormattedStream's write_impl out of line.Dan Gohman2009-08-151-0/+6
| | | | llvm-svn: 79064
* Remove an unnecessary #include.Dan Gohman2009-08-151-1/+0
| | | | llvm-svn: 79063
* switch DominanceFrontier::splitBlock to use a smallvector forChris Lattner2009-08-151-2/+2
| | | | | | the pred list instead of a vector, saving a boat load of malloc/free's. llvm-svn: 79062
* On x86-64, for a varargs function, don't store the xmm registers toDan Gohman2009-08-153-18/+126
| | | | | | | the register save area if %al is 0. This avoids touching xmm regsiters when they aren't actually used. llvm-svn: 79061
* Do not completely skip subrange info for a zero sized array.Devang Patel2009-08-141-6/+5
| | | | llvm-svn: 79044
* Leaf functions which do not save CSRs can be frameless even with ↵Evan Cheng2009-08-142-1/+10
| | | | | | -disable-fp-elim. llvm-svn: 79039
* Allow targets to specify their choice of calling conventions perAnton Korobeynikov2009-08-146-6/+27
| | | | | | | | | | libcall. Take advantage of this in the ARM backend to rectify broken choice of CC when hard float is in effect. PIC16 may want to see if it could be of use in MakePIC16Libcall, which works unchanged. Patch by Sandeep! llvm-svn: 79033
* Add Thumb2 lsr hooks.Evan Cheng2009-08-142-36/+106
| | | | llvm-svn: 79032
* llvm-mc: Fix bugs where bytes were unintentionally being printed as signed.Daniel Dunbar2009-08-141-1/+1
| | | | | | | - We now print all of 403.gcc cleanly (llvm-mc -> 'as' as diffed to 'as'), minus two 'rep;movsl' instructions (which I missed before). llvm-svn: 79031
* CMake: Corrected variable check.Oscar Fuentes2009-08-141-1/+1
| | | | llvm-svn: 79030
* *try* to use a better name to describe how common symbols are marked on the ↵Bruno Cardoso Lopes2009-08-142-3/+5
| | | | | | elf object file. llvm-svn: 79029
* 80 col violation.Evan Cheng2009-08-141-1/+2
| | | | llvm-svn: 79026
* llvm-mc: When handling a .set, make sure to print subsequent references to theDaniel Dunbar2009-08-141-2/+9
| | | | | | | | symbol as the symbol name itself, not the expression it was defined to. These have different semantics due to the quirky .set behavior (which absolutizes an expression that would otherwise be treated as a relocation). llvm-svn: 79025
* Cleanup the mess in msp430 target registration and hopefully unbreak the buildAnton Korobeynikov2009-08-142-5/+10
| | | | llvm-svn: 79024
* Indentation.Evan Cheng2009-08-141-1/+1
| | | | llvm-svn: 79022
* llvm-mc: zerofill shouldn't print quotes around the section,segment.Daniel Dunbar2009-08-141-2/+1
| | | | llvm-svn: 79017
* fix "pc" to be lower case in a target triple, patch by Yonggang LuoChris Lattner2009-08-141-1/+1
| | | | llvm-svn: 79016
* Hopefully unbreak cmake buildsAnton Korobeynikov2009-08-141-3/+2
| | | | llvm-svn: 79015
* Also shrink immediate branches; also more assembler workarounds.Evan Cheng2009-08-142-11/+59
| | | | llvm-svn: 79014
* Give MSP430 a separate asmprinter libAnton Korobeynikov2009-08-144-2/+23
| | | | llvm-svn: 79012
* Properly handle indirect win64 args when they're passed in memoryAnton Korobeynikov2009-08-141-2/+10
| | | | llvm-svn: 79009
* Get the CPP backend into some semblance of working by updating for numerous ↵Owen Anderson2009-08-141-10/+14
| | | | | | | | LLVMContext changes, as well as the StringRef change. llvm-svn: 79006
* Now that all the legal Neon shuffles (or at least the ones that have beenBob Wilson2009-08-141-1/+1
| | | | | | | implemented so far) are recognized during legalization, it is easy to fall back to the default expansion for other shuffles. llvm-svn: 78995
* Create a new ARM-specific DAG node, VDUP, to represent a splat from aBob Wilson2009-08-143-26/+19
| | | | | | | scalar_to_vector. Generate these VDUP nodes during legalization instead of trying to recognize the pattern during selection. llvm-svn: 78994
* During legalization, change Neon vdup_lane operations from shuffles toBob Wilson2009-08-144-61/+33
| | | | | | | | target-specific VDUPLANE nodes. This allows the subreg handling for the quad-register version to be done easily with Pats in the .td file, instead of with custom code in ARMISelDAGToDAG.cpp. llvm-svn: 78993
* CMake: updated list of source files for library MC.Oscar Fuentes2009-08-141-0/+2
| | | | llvm-svn: 78988
* Update llvm-mc / MCAsmStreamer to print the instruction using the actual targetDaniel Dunbar2009-08-142-47/+23
| | | | | | | | | | | specific printer (this only works on x86, for now). - This makes it possible to do some correctness checking of the parsing and matching, since we can compare the results of 'as' on the original input, to those of 'as' on the output from llvm-mc. - In theory, we could now have an easy ATT -> Intel syntax converter. :) llvm-svn: 78986
* Add virtual printMCInst method to AsmPrinter, as a quick way to expose the APIDaniel Dunbar2009-08-142-0/+6
| | | | | | to print one instruction. llvm-svn: 78985
* Add X86 instruction printer support for printing MCValue operands.Daniel Dunbar2009-08-141-0/+8
| | | | llvm-svn: 78984
* Add MCSymbol::{print, dump}Daniel Dunbar2009-08-142-3/+56
| | | | llvm-svn: 78983
* Add MCValue::{print, dump}Daniel Dunbar2009-08-141-0/+30
| | | | llvm-svn: 78982
* llvm-mc: Move MCAsmToken::getLoc() into MC library where it belongs.Daniel Dunbar2009-08-141-0/+5
| | | | llvm-svn: 78980
* Indentation change.Evan Cheng2009-08-141-2/+1
| | | | llvm-svn: 78978
* Shrink ADR and LDR from constantpool late during constantpool island pass.Evan Cheng2009-08-144-16/+79
| | | | llvm-svn: 78970
* New entry.Evan Cheng2009-08-141-0/+3
| | | | llvm-svn: 78968
* Make TargetData optional in GlobalOpt and ArgumentPromotion.Dan Gohman2009-08-142-15/+16
| | | | llvm-svn: 78967
* Make these matching rules more strict so that they don'tDan Gohman2009-08-141-3/+3
| | | | | | accidentally match unrelated things. llvm-svn: 78966
* Expose LLVMContext to llvm-c.Erick Tryzelaar2009-08-141-38/+115
| | | | llvm-svn: 78964
* Fix MCSectionELF::ShouldOmitSectionDirective's matching of .data andDan Gohman2009-08-131-3/+3
| | | | | | | friends so that it doesn't match sections like .data.rel.local, which should not be emitted as section directives. llvm-svn: 78963
* TargetRegistry: Change AsmPrinter constructor to be typed as returning anDaniel Dunbar2009-08-133-8/+9
| | | | | | AsmPrinter instance (instead of just a FunctionPass) llvm-svn: 78962
OpenPOWER on IntegriCloud