Jakob Stoklund Olesen
185eb035e9
Fix issue in regscavenger when scavenging a callee-saved register that has not been spilled.
...
llvm-svn: 77912
2009-08-02 20:29:41 +00:00
Edward O'Callaghan
4bf58b8add
One two many newlines at end of file LLVMContextImpl.cpp
...
llvm-svn: 77911
2009-08-02 20:06:26 +00:00
Daniel Dunbar
82922b27e7
Tweak svn:ignore more
...
llvm-svn: 77910
2009-08-02 19:53:40 +00:00
Daniel Dunbar
5f55dfcbf0
Tweak svn:ignore
...
llvm-svn: 77909
2009-08-02 19:53:19 +00:00
Daniel Dunbar
b3f40651d3
Adjust comment to distinguish between target name and triple target name they
...
match.
llvm-svn: 77908
2009-08-02 19:41:20 +00:00
Edward O'Callaghan
2dd529c9ef
Fix no newline at end of LLVMContextImpl.cpp
...
llvm-svn: 77907
2009-08-02 19:38:12 +00:00
Jakob Stoklund Olesen
c59cd9bcd0
Never add a kill flag to a constrained physical register in a two-addr instruction.
...
llvm-svn: 77906
2009-08-02 19:13:03 +00:00
Anders Carlsson
4ab4f7f416
Use the correct cast kind for dynamic_cast.
...
llvm-svn: 77905
2009-08-02 19:07:59 +00:00
Jakob Stoklund Olesen
5d52bfbbc9
Scavenger asserts.
...
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
2009-08-02 18:28:41 +00:00
Jakob Stoklund Olesen
2a21149b20
Add some basic blackfin intrinsics.
...
llvm-svn: 77903
2009-08-02 18:28:11 +00:00
Jakob Stoklund Olesen
ddddf2d549
Add support for CPU features (i.e., bugs) and workarounds.
...
This is just the framework to identify the needed workarounds. They are not actually implemented.
llvm-svn: 77902
2009-08-02 18:27:36 +00:00
Douglas Gregor
8a02193931
Update C++ open projects list
...
llvm-svn: 77901
2009-08-02 18:26:21 +00:00
Douglas Gregor
cc17ac0cf2
We have fairly good support for namespaces, now. Namespace aliases are parsed correctly
...
llvm-svn: 77900
2009-08-02 18:22:38 +00:00
Jakob Stoklund Olesen
b052972a58
Inline assembly support for Blackfin.
...
We use the same constraints as GCC, including those that are slightly insane for inline assembler.
llvm-svn: 77899
2009-08-02 17:39:17 +00:00
Jakob Stoklund Olesen
526e803f6a
Build Blackfin target with autoconf and cmake.
...
Note that configure was edited by hand. Will somebody with the correct version of autoconf please regenerate?
llvm-svn: 77898
2009-08-02 17:32:37 +00:00
Jakob Stoklund Olesen
552d8d6618
Analog Devices Blackfin back-end.
...
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
2009-08-02 17:32:10 +00:00
Dan Gohman
3f323847bc
Avoid forming a SELECT_CC in a type that the target doesn't
...
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
2009-08-02 16:19:38 +00:00
Dan Gohman
757eee8a27
Fix indentation.
...
llvm-svn: 77895
2009-08-02 16:10:52 +00:00
Dan Gohman
73efcaf6e1
Add a comment.
...
llvm-svn: 77894
2009-08-02 16:10:01 +00:00
Dan Gohman
1ccfa8bdc1
Resync lea32addr and lea64addr.
...
llvm-svn: 77893
2009-08-02 16:09:17 +00:00
Benjamin Kramer
666cf9d2f2
Remove duplicated colons and spaces.
...
llvm-svn: 77892
2009-08-02 12:13:02 +00:00
Benjamin Kramer
8b79886e0d
Remove duplicated colon.
...
llvm-svn: 77891
2009-08-02 12:12:11 +00:00
Jakob Stoklund Olesen
f70d50419e
Handle <undef> flag in machine code verifier.
...
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
2009-08-02 07:38:21 +00:00
Chris Lattner
1472cf5b3f
move dwarf debug info section selection stuff from TAI to
...
TLOF, unifying all the dwarf targets at the same time.
llvm-svn: 77889
2009-08-02 07:24:22 +00:00
Chris Lattner
c784feba8e
convert EHFrameSection to be managed by TLOF instead of TAI.
...
llvm-svn: 77888
2009-08-02 06:52:36 +00:00
Chris Lattner
bdde99bd42
I need Triple information, 10.6 shouldn't set this, it bloats
...
object files.
llvm-svn: 77887
2009-08-02 06:51:58 +00:00
Ted Kremenek
6ddbb4c963
Fix regression caused by recent refactoring where HTML and plist files would not get flushed out when using '-disable-free'.
...
llvm-svn: 77882
2009-08-02 05:43:14 +00:00
Ted Kremenek
7ac29bb2d8
Include '-o' arguments in verbose output.
...
llvm-svn: 77881
2009-08-02 05:42:46 +00:00
Chris Lattner
c8ed0c16fe
linkify IRC
...
llvm-svn: 77880
2009-08-02 05:38:25 +00:00
Chris Lattner
4758281d64
rearrange side bar, add link to IRC info.
...
llvm-svn: 77879
2009-08-02 05:36:37 +00:00
Chris Lattner
8a0db7516e
ARM TAI no longer needs a TM, but createTargetAsmInfo() still does.
...
llvm-svn: 77878
2009-08-02 05:23:52 +00:00
Chris Lattner
e98a3c3ca3
Move the getInlineAsmLength virtual method from TAI to TII, where
...
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
2009-08-02 05:20:37 +00:00
Ted Kremenek
ca7935d347
Remove RegionViews and RegionCasts. These are no longer used.
...
llvm-svn: 77876
2009-08-02 05:15:23 +00:00
Ted Kremenek
f106ab91ff
RegionStoreManager::RemoveDeadBindings() now removes dead 'default' bindings as well.
...
llvm-svn: 77875
2009-08-02 05:00:15 +00:00
Chris Lattner
0161419259
move a virtual method body to its .cpp file to avoid a #include
...
in a header.
llvm-svn: 77874
2009-08-02 04:58:19 +00:00
Chris Lattner
1fe76c385b
turn some templated inline functions into static functions.
...
llvm-svn: 77873
2009-08-02 04:52:00 +00:00
Chris Lattner
df672c2bb2
alpha TAI doesn't need TM.
...
llvm-svn: 77872
2009-08-02 04:46:05 +00:00
Chris Lattner
d4c8fd44ee
MSP430 TAI doesn't need TM.
...
llvm-svn: 77871
2009-08-02 04:45:22 +00:00
Ted Kremenek
cee28a4c4d
Generalize the interface of 'StoreManager::RemoveDeadBindings()' to manipulate the entire GRState, not just the Store.
...
llvm-svn: 77870
2009-08-02 04:45:08 +00:00
Chris Lattner
d45a7860ec
simplify SPULinuxTargetAsmInfo, remove use of TM.
...
llvm-svn: 77869
2009-08-02 04:44:33 +00:00
Chris Lattner
2be66ce420
xcore TAI doesn't need TM.
...
llvm-svn: 77868
2009-08-02 04:42:09 +00:00
Chris Lattner
3ea23cff65
PIC16 TAI doesn't need TM
...
llvm-svn: 77867
2009-08-02 04:41:14 +00:00
Chris Lattner
fb53861ee0
remove the dead ELFTargetAsmInfo.h/cpp file. TargetAsmInfo
...
defaults to being ELF.
llvm-svn: 77866
2009-08-02 04:33:09 +00:00
Chris Lattner
7ee0246f51
eliminate the TM argument to the TAI class, remove comment about supporting
...
solaris :)
llvm-svn: 77865
2009-08-02 04:32:07 +00:00
Chris Lattner
d39874e6ec
eliminate TargetMAchine argument to sparc TAI
...
llvm-svn: 77864
2009-08-02 04:30:59 +00:00
Chris Lattner
b25afe081c
remove TargetAsmInfo::TM, which is now dead. The basic TAI class now
...
no longer depends on TM!
llvm-svn: 77863
2009-08-02 04:27:24 +00:00
Anders Carlsson
44616ce317
Remove old code that was causing the new test to fail.
...
llvm-svn: 77862
2009-08-02 04:17:43 +00:00
Chris Lattner
cecdb9e772
remove the x86/ppc impls of getEHGlobalPrefix, which is already dead.
...
llvm-svn: 77861
2009-08-02 04:13:22 +00:00
Ted Kremenek
9419876e59
Fix regression in StoreManager::CastRegion() to always treat casts to
...
'void*' (or 'const void*') as an identity transformation.
llvm-svn: 77860
2009-08-02 04:12:53 +00:00
Daniel Dunbar
2eaf396c41
Add missing flush().
...
llvm-svn: 77859
2009-08-02 04:12:28 +00:00