summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Normalize Subtarget constructors to take a target triple string instead ofDaniel Dunbar2009-08-0237-98/+59
| | | | | | | | | | Module*. Also, dropped uses of TargetMachine where unnecessary. The only target which still takes a TargetMachine& is Mips, I would appreciate it if someone would normalize this to match other targets. llvm-svn: 77918
* Remove unneeded intrinsics from Blackfin backend.Jakob Stoklund Olesen2009-08-023-37/+1
| | | | | | | | | | __builtin_bfin_ones does the same as ctpop, so it can be implemented in the front-end. __builtin_bfin_loadbytes loads from an unaligned pointer with the disalignexcpt instruction. It does the same as loading from a pointer with the low bits masked. It is better if the front-end creates a masked load. We can always instruction select the masked to disalignexcpt+load. We keep csync/ssync/idle. These intrinsics represent instructions that need workarounds for some silicon revisions. We may even want to convert inline assembler to intrinsics to enable the workarounds. llvm-svn: 77917
* Whoops, meant to delete this.Anders Carlsson2009-08-021-1/+0
| | | | llvm-svn: 77916
* use CodeGenModule::EmitNullConstant in a couple of places.Anders Carlsson2009-08-023-4/+4
| | | | llvm-svn: 77915
* Fix the build for people with oprofile installed.Nick Lewycky2009-08-021-3/+4
| | | | llvm-svn: 77914
* Empty arguments need to be quoted on Win32.Daniel Dunbar2009-08-021-3/+9
| | | | llvm-svn: 77913
* Fix issue in regscavenger when scavenging a callee-saved register that has ↵Jakob Stoklund Olesen2009-08-022-4/+11
| | | | | | not been spilled. llvm-svn: 77912
* One two many newlines at end of file LLVMContextImpl.cppEdward O'Callaghan2009-08-021-1/+0
| | | | llvm-svn: 77911
* Tweak svn:ignore moreDaniel Dunbar2009-08-020-0/+0
| | | | llvm-svn: 77910
* Tweak svn:ignoreDaniel Dunbar2009-08-020-0/+0
| | | | llvm-svn: 77909
* Adjust comment to distinguish between target name and triple target name theyDaniel Dunbar2009-08-021-15/+15
| | | | | | match. llvm-svn: 77908
* Fix no newline at end of LLVMContextImpl.cppEdward O'Callaghan2009-08-021-1/+2
| | | | llvm-svn: 77907
* Never add a kill flag to a constrained physical register in a two-addr ↵Jakob Stoklund Olesen2009-08-023-6/+3
| | | | | | instruction. llvm-svn: 77906
* Use the correct cast kind for dynamic_cast.Anders Carlsson2009-08-022-9/+15
| | | | llvm-svn: 77905
* Scavenger asserts.Jakob Stoklund Olesen2009-08-023-5/+14
| | | | | | | Allow imp-def and imp-use of anything in the scavenger asserts, just like the machine code verifier. Allow redefinition of a sub-register of a live register. llvm-svn: 77904
* Add some basic blackfin intrinsics.Jakob Stoklund Olesen2009-08-025-1/+123
| | | | llvm-svn: 77903
* Add support for CPU features (i.e., bugs) and workarounds.Jakob Stoklund Olesen2009-08-024-8/+250
| | | | | | This is just the framework to identify the needed workarounds. They are not actually implemented. llvm-svn: 77902
* Update C++ open projects listDouglas Gregor2009-08-021-4/+2
| | | | llvm-svn: 77901
* We have fairly good support for namespaces, now. Namespace aliases are ↵Douglas Gregor2009-08-021-4/+4
| | | | | | parsed correctly llvm-svn: 77900
* Inline assembly support for Blackfin.Jakob Stoklund Olesen2009-08-024-12/+175
| | | | | | We use the same constraints as GCC, including those that are slightly insane for inline assembler. llvm-svn: 77899
* Build Blackfin target with autoconf and cmake.Jakob Stoklund Olesen2009-08-023-40/+45
| | | | | | Note that configure was edited by hand. Will somebody with the correct version of autoconf please regenerate? llvm-svn: 77898
* Analog Devices Blackfin back-end.Jakob Stoklund Olesen2009-08-0277-0/+5029
| | | | | | | | | | | | | | Generate code for the Blackfin family of DSPs from Analog Devices: http://www.analog.com/en/embedded-processing-dsp/blackfin/processors/index.html We aim to be compatible with the exsisting GNU toolchain found at: http://blackfin.uclinux.org/gf/project/toolchain The back-end is experimental. llvm-svn: 77897
* Avoid forming a SELECT_CC in a type that the target doesn'tDan Gohman2009-08-021-1/+2
| | | | | | | | | | | | | | | | | | | support. This isn't immediately interesting, because Legalize ends up lowering SELECT_CC if the target doesn't support it, but this simplifies the process. Also, if the SELECT_CC would be expanded in Legalize, it can potentially end up with two copies of the condition expression. By leaving it as SELECT+SETCC, the SELECT can be expanded into two SELECTs that use a single SETCC. The two comparisons are usually CSE'd, but depending on when various expressions get legalized, the comparison expression could involve calls to library functions, such that the comparison expression may not be able to be CSE'd. This will be needed by a future patch. llvm-svn: 77896
* Fix indentation.Dan Gohman2009-08-021-301/+301
| | | | llvm-svn: 77895
* Add a comment.Dan Gohman2009-08-021-0/+1
| | | | llvm-svn: 77894
* Resync lea32addr and lea64addr.Dan Gohman2009-08-022-2/+3
| | | | llvm-svn: 77893
* Remove duplicated colons and spaces.Benjamin Kramer2009-08-023-23/+23
| | | | llvm-svn: 77892
* Remove duplicated colon.Benjamin Kramer2009-08-021-1/+1
| | | | llvm-svn: 77891
* Handle <undef> flag in machine code verifier.Jakob Stoklund Olesen2009-08-021-1/+2
| | | | | | Use of an <undef> register is treated like an <imp-use>. It is not an error to use a dead <undef> register. llvm-svn: 77890
* move dwarf debug info section selection stuff from TAI toChris Lattner2009-08-0212-208/+174
| | | | | | TLOF, unifying all the dwarf targets at the same time. llvm-svn: 77889
* convert EHFrameSection to be managed by TLOF instead of TAI.Chris Lattner2009-08-026-10/+15
| | | | llvm-svn: 77888
* I need Triple information, 10.6 shouldn't set this, it bloats Chris Lattner2009-08-021-1/+2
| | | | | | object files. llvm-svn: 77887
* Fix regression caused by recent refactoring where HTML and plist files would ↵Ted Kremenek2009-08-021-0/+5
| | | | | | not get flushed out when using '-disable-free'. llvm-svn: 77882
* Include '-o' arguments in verbose output.Ted Kremenek2009-08-021-11/+11
| | | | llvm-svn: 77881
* linkify IRCChris Lattner2009-08-021-1/+1
| | | | llvm-svn: 77880
* rearrange side bar, add link to IRC info.Chris Lattner2009-08-021-4/+14
| | | | llvm-svn: 77879
* ARM TAI no longer needs a TM, but createTargetAsmInfo() still does.Chris Lattner2009-08-023-22/+11
| | | | llvm-svn: 77878
* Move the getInlineAsmLength virtual method from TAI to TII, whereChris Lattner2009-08-0214-218/+236
| | | | | | | | | | the only real caller (GetFunctionSizeInBytes) uses it. The custom ARM implementation of this is basically reimplementing an assembler poorly for negligible gain. It should be removed IMNSHO, but I'll leave that to ARMish folks to decide. llvm-svn: 77877
* Remove RegionViews and RegionCasts. These are no longer used.Ted Kremenek2009-08-022-152/+5
| | | | llvm-svn: 77876
* RegionStoreManager::RemoveDeadBindings() now removes dead 'default' bindings ↵Ted Kremenek2009-08-022-2/+34
| | | | | | as well. llvm-svn: 77875
* move a virtual method body to its .cpp file to avoid a #include Chris Lattner2009-08-022-7/+11
| | | | | | in a header. llvm-svn: 77874
* turn some templated inline functions into static functions.Chris Lattner2009-08-022-14/+11
| | | | llvm-svn: 77873
* alpha TAI doesn't need TM.Chris Lattner2009-08-023-8/+3
| | | | llvm-svn: 77872
* MSP430 TAI doesn't need TM.Chris Lattner2009-08-023-4/+3
| | | | llvm-svn: 77871
* Generalize the interface of 'StoreManager::RemoveDeadBindings()' to ↵Ted Kremenek2009-08-025-23/+24
| | | | | | manipulate the entire GRState, not just the Store. llvm-svn: 77870
* simplify SPULinuxTargetAsmInfo, remove use of TM.Chris Lattner2009-08-023-44/+16
| | | | llvm-svn: 77869
* xcore TAI doesn't need TM.Chris Lattner2009-08-023-4/+3
| | | | llvm-svn: 77868
* PIC16 TAI doesn't need TMChris Lattner2009-08-023-12/+7
| | | | llvm-svn: 77867
* remove the dead ELFTargetAsmInfo.h/cpp file. TargetAsmInfoChris Lattner2009-08-027-48/+1
| | | | | | defaults to being ELF. llvm-svn: 77866
* eliminate the TM argument to the TAI class, remove comment about supportingChris Lattner2009-08-023-8/+4
| | | | | | solaris :) llvm-svn: 77865
OpenPOWER on IntegriCloud