11 years agoA simple config to test both x86_64 and i386 architectures.
Johnny Chen [Mon, 25 Oct 2010 20:39:20 +0000 (20:39 +0000)]
A simple config to test both x86_64 and i386 architectures.

llvm-svn: 117304

11 years agoTests for NEON encoding of vabdl.
Owen Anderson [Mon, 25 Oct 2010 20:36:28 +0000 (20:36 +0000)]
Tests for NEON encoding of vabdl.

llvm-svn: 117303

11 years agoAdd tests for NEON encoding of vabd.
Owen Anderson [Mon, 25 Oct 2010 20:29:27 +0000 (20:29 +0000)]
Add tests for NEON encoding of vabd.

llvm-svn: 117302

11 years agoOnly read one bit for testing for a readonly type, leaving the other
Dan Gohman [Mon, 25 Oct 2010 20:22:29 +0000 (20:22 +0000)]
Only read one bit for testing for a readonly type, leaving the other
bits open for future uses.

llvm-svn: 117301

11 years agoAdd check for UnknownVals for mutexes in ObjCAtSyncChecker. Fixes crash reported...
Ted Kremenek [Mon, 25 Oct 2010 20:20:56 +0000 (20:20 +0000)]
Add check for UnknownVals for mutexes in ObjCAtSyncChecker.  Fixes crash reported in PR 8458.

llvm-svn: 117300

11 years agoMC/AsmParser: Fix relative precedence of {+,-} and comparison ops.
Daniel Dunbar [Mon, 25 Oct 2010 20:18:56 +0000 (20:18 +0000)]
MC/AsmParser: Fix relative precedence of {+,-} and comparison ops.

llvm-svn: 117299

11 years agoMC/AsmLexer: Fix bug in source location for Slash token.
Daniel Dunbar [Mon, 25 Oct 2010 20:18:53 +0000 (20:18 +0000)]
MC/AsmLexer: Fix bug in source location for Slash token.

llvm-svn: 117298

11 years agotweak test.
Daniel Dunbar [Mon, 25 Oct 2010 20:18:49 +0000 (20:18 +0000)]
tweak test.

llvm-svn: 117297

11 years agollvm-mc: Teach -as-lex to print the raw token string as well.
Daniel Dunbar [Mon, 25 Oct 2010 20:18:46 +0000 (20:18 +0000)]
llvm-mc: Teach -as-lex to print the raw token string as well.

llvm-svn: 117296

11 years agoMC/AsmParser: Rewrite test to actually check some parts of expression parsing,
Daniel Dunbar [Mon, 25 Oct 2010 20:18:41 +0000 (20:18 +0000)]
MC/AsmParser: Rewrite test to actually check some parts of expression parsing,
now that we have macros and friends. Uncovered a bug in macro expansion...

llvm-svn: 117295

11 years agoAttempt to provide correct encodings for NEON vbit and vbif, even though we can't...
Owen Anderson [Mon, 25 Oct 2010 20:17:22 +0000 (20:17 +0000)]
Attempt to provide correct encodings for NEON vbit and vbif, even though we can't test them at the moment.

llvm-svn: 117294

11 years agoProvide correct NEON encodings for vbsl.
Owen Anderson [Mon, 25 Oct 2010 20:13:13 +0000 (20:13 +0000)]
Provide correct NEON encodings for vbsl.

llvm-svn: 117293

11 years agoDon't set the default architecture to x86_64. Leave it NULL so that it isn't set...
Greg Clayton [Mon, 25 Oct 2010 20:08:15 +0000 (20:08 +0000)]
Don't set the default architecture to x86_64. Leave it NULL so that it isn't set to anything and so that any single architecture binary will adopt that architecture instead of posting an error stating the binary doesn't contain "x86_64".

llvm-svn: 117292

11 years agoimm12 operands aren't Thumb2 only, so rename the printer helper function.
Jim Grosbach [Mon, 25 Oct 2010 20:00:01 +0000 (20:00 +0000)]
imm12 operands aren't Thumb2 only, so rename the printer helper function.

llvm-svn: 117291

11 years agoAdd a comment.
Dan Gohman [Mon, 25 Oct 2010 19:47:25 +0000 (19:47 +0000)]
Add a comment.

llvm-svn: 117288

11 years agoOnly prints out the stop reason if it is not invalid.
Johnny Chen [Mon, 25 Oct 2010 19:13:52 +0000 (19:13 +0000)]
Only prints out the stop reason if it is not invalid.

llvm-svn: 117287

11 years agoMake the description of the hotpatch attribute even more generic. Spotted by
Charles Davis [Mon, 25 Oct 2010 19:07:39 +0000 (19:07 +0000)]
Make the description of the hotpatch attribute even more generic. Spotted by
Michael Spencer.

llvm-svn: 117286

11 years agoAdd correct instruction encodings for vbic, vorn, and vmvn.
Owen Anderson [Mon, 25 Oct 2010 18:43:52 +0000 (18:43 +0000)]
Add correct instruction encodings for vbic, vorn, and vmvn.

llvm-svn: 117282

11 years agoAlso prints out the stop reason string for lldbutil.PrintStackTrace(thread).
Johnny Chen [Mon, 25 Oct 2010 18:43:29 +0000 (18:43 +0000)]
Also prints out the stop reason string for lldbutil.PrintStackTrace(thread).

llvm-svn: 117281

11 years agoAdd a virtual destructor.
Rafael Espindola [Mon, 25 Oct 2010 18:38:32 +0000 (18:38 +0000)]
Add a virtual destructor.

llvm-svn: 117280

11 years agoProvide correct NEON encodings for vand, veor, and vorr.
Owen Anderson [Mon, 25 Oct 2010 18:28:30 +0000 (18:28 +0000)]
Provide correct NEON encodings for vand, veor, and vorr.

llvm-svn: 117279

11 years agoSkip this test module for the time being until we get a newer clang on lldb tot.
Johnny Chen [Mon, 25 Oct 2010 18:26:20 +0000 (18:26 +0000)]
Skip this test module for the time being until we get a newer clang on lldb tot.

llvm-svn: 117278

11 years agoAdd tests for NEON encoding of vtst.
Owen Anderson [Mon, 25 Oct 2010 18:10:34 +0000 (18:10 +0000)]
Add tests for NEON encoding of vtst.

llvm-svn: 117277

11 years agoAdd NEON encoding tests for vcgt and vacgt.
Owen Anderson [Mon, 25 Oct 2010 18:03:59 +0000 (18:03 +0000)]
Add NEON encoding tests for vcgt and vacgt.

llvm-svn: 117276

11 years agoAdd support for emitting ARM file attributes.
Rafael Espindola [Mon, 25 Oct 2010 17:50:35 +0000 (17:50 +0000)]
Add support for emitting ARM file attributes.

llvm-svn: 117275

11 years agoAdd tests for NEON encodings of vcge and vacge.
Owen Anderson [Mon, 25 Oct 2010 17:49:32 +0000 (17:49 +0000)]
Add tests for NEON encodings of vcge and vacge.

llvm-svn: 117274

11 years agoAdd a warning about our inability to test the encoding of vceq with immediate zero.
Owen Anderson [Mon, 25 Oct 2010 17:33:02 +0000 (17:33 +0000)]
Add a warning about our inability to test the encoding of vceq with immediate zero.

llvm-svn: 117273

11 years agoIn which I learn how to forward declare template classes.
Jakob Stoklund Olesen [Mon, 25 Oct 2010 17:27:30 +0000 (17:27 +0000)]
In which I learn how to forward declare template classes.

llvm-svn: 117272

11 years agoOnly warn for mismatched types in Objective-C methods when they are incompatible...
David Chisnall [Mon, 25 Oct 2010 17:23:52 +0000 (17:23 +0000)]
Only warn for mismatched types in Objective-C methods when they are incompatible, not when they are simply different.  Now we test whether the difference in types breaks the principle of substitutability, rather than whether they are different.

A common idiom in Objective-C is to provide a definition of a method in a subclass that returns a more-specified version of an object than the superclass.  This does not violate the principle of substitutability, because you can always use the object returned by the subclass anywhere that you could use the type returned by the superclass.  It was, however, generating warnings with clang, leading people to believe that semantically correct code was incorrect and requiring less accurate type specification and explicit down-casts (neither of which is a good thing to encourage).

This change ensures that any method definition has parameter and return types that make it accept anything that something conforming to the declaration may pass and return something that the caller will expect, but allows stricter definitions.

llvm-svn: 117271

11 years agoAdd tests for NEON encoding of vceq.
Owen Anderson [Mon, 25 Oct 2010 17:20:26 +0000 (17:20 +0000)]
Add tests for NEON encoding of vceq.

llvm-svn: 117270

11 years agoAdd tests for NEON encoding of vsubhn and vrsubhn.
Owen Anderson [Mon, 25 Oct 2010 17:12:46 +0000 (17:12 +0000)]
Add tests for NEON encoding of vsubhn and vrsubhn.

llvm-svn: 117269

11 years agoUpdate comments; BasicAA is no longer necessarily the end of the chain.
Dan Gohman [Mon, 25 Oct 2010 16:29:52 +0000 (16:29 +0000)]
Update comments; BasicAA is no longer necessarily the end of the chain.

llvm-svn: 117268

11 years agoMake hotpatch attribute description a little less Wintel-specific.
Charles Davis [Mon, 25 Oct 2010 16:29:03 +0000 (16:29 +0000)]
Make hotpatch attribute description a little less Wintel-specific.

llvm-svn: 117267

11 years agoReintroduce these asserts, now that BasicAA is a normal AliasAnalysis pass.
Dan Gohman [Mon, 25 Oct 2010 16:28:57 +0000 (16:28 +0000)]
Reintroduce these asserts, now that BasicAA is a normal AliasAnalysis pass.

llvm-svn: 117266

11 years agoFix a case where instcombine was stripping metadata (and alignment)
Dan Gohman [Mon, 25 Oct 2010 16:16:27 +0000 (16:16 +0000)]
Fix a case where instcombine was stripping metadata (and alignment)
from stores when folding in bitcasts.

llvm-svn: 117265

11 years agoAdd a new 'hotpatch' attribute. This attribute will insert a two-byte no-op
Charles Davis [Mon, 25 Oct 2010 15:37:09 +0000 (15:37 +0000)]
Add a new 'hotpatch' attribute. This attribute will insert a two-byte no-op
instruction at the beginning of each function that has the attribute, allowing
the function to be easily hooked and/or patched.

llvm-svn: 117264

11 years agoReference RegionPass to stop it being eliminated.
Tobias Grosser [Mon, 25 Oct 2010 15:36:50 +0000 (15:36 +0000)]
Reference RegionPass to stop it being eliminated.

Contributed by: ether

llvm-svn: 117263

11 years agoATTRIBUTE_UNUSED has been renamed to LLVM_ATTRIBUTE_UNUSED.
Duncan Sands [Mon, 25 Oct 2010 13:10:03 +0000 (13:10 +0000)]
Rather than rename this instance, use the cast-to-void idiom
instead.  This will hopefully fix the windows buildbots.

llvm-svn: 117262

11 years agoRemove deprecated macro names. Hopefully this will unbreak the
Duncan Sands [Mon, 25 Oct 2010 12:47:22 +0000 (12:47 +0000)]
Remove deprecated macro names.  Hopefully this will unbreak the
smooshlab build.  The breakage seems to be due to a collision
between LLVM's ATTRIBUTE_UNUSED and gcc's which was previously
hidden due to header files being included in a lucky order.

llvm-svn: 117260

11 years agoCheck in the native lldb unwinder.
Jason Molenda [Mon, 25 Oct 2010 11:12:07 +0000 (11:12 +0000)]
Check in the native lldb unwinder.

Not yet enabled as the default unwinder but there are no known
backtrace problems with the code at this point.

Added 'log enable lldb unwind' to help diagnose backtrace problems;
this output needs a little refining but it's a good first step.

eh_frame information is currently read unconditionally - the code
is structured to allow this to be delayed until it's actually needed.
There is a performance hit when you have to parse the eh_frame
information for any largeish executable/library so it's necessary
to avoid if possible.

It's confusing having both the UnwindPlan::RegisterLocation struct
and the RegisterConextLLDB::RegisterLocation struct, I need to rename
one of them.

The writing of registers isn't done in the RegisterConextLLDB subclass
yet; neither is the running of complex DWARF expressions from eh_frame
(e.g. used for _sigtramp on Mac OS X).

llvm-svn: 117256

11 years agoUpdate target feature matrix for CellSPU
Kalle Raiskila [Mon, 25 Oct 2010 08:57:30 +0000 (08:57 +0000)]
Update target feature matrix for CellSPU

llvm-svn: 117255

11 years agoImprove the tracking of source locations for parentheses in constructor calls.
Chandler Carruth [Mon, 25 Oct 2010 08:47:36 +0000 (08:47 +0000)]
Improve the tracking of source locations for parentheses in constructor calls.
This adds them where missing, and traces them through PCH. We fix at least one
bug in the extents found by the Index library, and make a lot of refactoring
tools which care about the exact formulation of a constructor call easier to
write. Also some minor cleanups to more consistently follow the friend pattern
instead of the setter pattern when rebuilding a serialized AST.

Patch originally by Samuel Benzaquen.

llvm-svn: 117254

11 years agoAdded generation of destructors for member constant size arrays.
Marcin Swiderski [Mon, 25 Oct 2010 07:05:54 +0000 (07:05 +0000)]
Added generation of destructors for member constant size arrays.
There's only one destructor call generated for each not empty array (at least for now this should be enough).

llvm-svn: 117252

11 years agoAdded generation of destructors for constant size arrays.
Marcin Swiderski [Mon, 25 Oct 2010 07:00:40 +0000 (07:00 +0000)]
Added generation of destructors for constant size arrays.
There's only one destructor call generated for each not empty array (at least for now this should be enough).

llvm-svn: 117251

11 years agoFixes to Objective-C built-in type handling.
Sean Callanan [Mon, 25 Oct 2010 00:29:48 +0000 (00:29 +0000)]
Fixes to Objective-C built-in type handling.

Specifically, we fixed handling of the objc_class
built-in type, which allowed us to pass
named Objective-C objects to functions,
call variable list -t on objects safely, etc.

llvm-svn: 117249

11 years agoAdded a hack so that "unichar" is resolved to
Sean Callanan [Sun, 24 Oct 2010 20:45:49 +0000 (20:45 +0000)]
Added a hack so that "unichar" is resolved to
"unsigned short."  As discussed in the comments,
this is pending a better solution to the problem
of types not in the debug information but readily
available through headers.

llvm-svn: 117247

11 years agoUpdate target feature matrix for Blackfin.
Jakob Stoklund Olesen [Sun, 24 Oct 2010 20:04:05 +0000 (20:04 +0000)]
Update target feature matrix for Blackfin.

llvm-svn: 117245

11 years agoUpdating target feature matrix to indicate current MBlaze status.
Wesley Peck [Sun, 24 Oct 2010 18:50:12 +0000 (18:50 +0000)]
Updating target feature matrix to indicate current MBlaze status.

llvm-svn: 117244

11 years agoImplement GNU C extension: two types are compatible if they appear
Peter Collingbourne [Sun, 24 Oct 2010 18:30:18 +0000 (18:30 +0000)]
Implement GNU C extension: two types are compatible if they appear
as a function argument, one of the types is a transparent union type
and the other type is compatible with a union member

llvm-svn: 117243

11 years agoAdd X86::reloc_global_offset_table and use it to have a single place where
Rafael Espindola [Sun, 24 Oct 2010 17:35:42 +0000 (17:35 +0000)]
Add X86::reloc_global_offset_table and use it to have a single place where
we check for _GLOBAL_OFFSET_TABLE_.

llvm-svn: 117241

11 years agoKeep track in chained PCH of implicit members that were added after the definition...
Argyrios Kyrtzidis [Sun, 24 Oct 2010 17:26:54 +0000 (17:26 +0000)]
Keep track in chained PCH of implicit members that were added after the definition was completed.

llvm-svn: 117240

11 years agoStart fleshing out ASTMutationListener; notify when a tag definition is completed.
Argyrios Kyrtzidis [Sun, 24 Oct 2010 17:26:50 +0000 (17:26 +0000)]
Start fleshing out ASTMutationListener; notify when a tag definition is completed.

In that case a chained PCH will record the updates to the DefinitionData pointer of forward references.
If a forward reference mutated into a definition re-write it into the chained PCH, this is too big of a change.

llvm-svn: 117239

11 years agoIntroduce a DeclsToRewrite field in ASTWrite, used for collecting the decls that...
Argyrios Kyrtzidis [Sun, 24 Oct 2010 17:26:46 +0000 (17:26 +0000)]
Introduce a DeclsToRewrite field in ASTWrite, used for collecting the decls that will be replaced in the chained PCH.

llvm-svn: 117238

11 years agoSome method renaming, no functionality change.
Argyrios Kyrtzidis [Sun, 24 Oct 2010 17:26:43 +0000 (17:26 +0000)]
Some method renaming, no functionality change.

llvm-svn: 117237

11 years agoRefactoring.
Argyrios Kyrtzidis [Sun, 24 Oct 2010 17:26:40 +0000 (17:26 +0000)]
- Pass around RecordDataImpl instead of the concrete RecordData so that any SmallVector can be used.
- Move ASTDeclWriter::WriteCXXDefinitionData to ASTWriter::AddCXXDefinitionData.

llvm-svn: 117236

11 years agoPut the mechanism in place to track modifications in an AST entity that were committe...
Argyrios Kyrtzidis [Sun, 24 Oct 2010 17:26:36 +0000 (17:26 +0000)]
Put the mechanism in place to track modifications in an AST entity that were committed after
its initial creation/deserialization and store the changes in a chained PCH.

The idea is that the AST entities call methods on the ASTMutationListener to give notifications
of changes; the PCHWriter implements the ASTMutationListener interface and stores the incremental changes
of the updated entity. WIP

llvm-svn: 117235

11 years agoSimplify and "robust-ify" the way that CXXRecord references point to the definition...
Argyrios Kyrtzidis [Sun, 24 Oct 2010 17:26:31 +0000 (17:26 +0000)]
Simplify and "robust-ify" the way that CXXRecord references point to the definition data when loaded from PCH.

Temporary disable 'test/PCH/chain-cxx.cpp' until a better way to fix it is in place.

llvm-svn: 117234

11 years agoMinor refactoring; Pull reading/writing DefinitionData out into a function.
Argyrios Kyrtzidis [Sun, 24 Oct 2010 17:26:27 +0000 (17:26 +0000)]
Minor refactoring; Pull reading/writing DefinitionData out into a function.

llvm-svn: 117233

11 years agobroken link
Chris Lattner [Sun, 24 Oct 2010 16:24:22 +0000 (16:24 +0000)]
broken link

llvm-svn: 117232

11 years agoadd a big table with target features.
Chris Lattner [Sun, 24 Oct 2010 16:18:00 +0000 (16:18 +0000)]
add a big table with target features.

llvm-svn: 117230

11 years agoAdd svn:ignore
Che-Liang Chiou [Sun, 24 Oct 2010 15:40:18 +0000 (15:40 +0000)]
Add svn:ignore

llvm-svn: 117228

11 years agoFix tyop.
Anders Carlsson [Sun, 24 Oct 2010 12:51:00 +0000 (12:51 +0000)]
Fix tyop.

llvm-svn: 117225

11 years agoFix PR8445: a block with no predecessors may be the entry block, in which case
Duncan Sands [Sun, 24 Oct 2010 12:23:30 +0000 (12:23 +0000)]
Fix PR8445: a block with no predecessors may be the entry block, in which case
it isn't unreachable and should not be zapped.  The check for the entry block
was missing in one case: a block containing a unwind instruction.  While there,
do some small cleanups: "M" is not a great name for a Function* (it would be
more appropriate for a Module*), change it to "Fn"; use Fn in more places.

llvm-svn: 117224

11 years ago- Fixed subexpressions evaluation order for binary operators to match order in code...
Marcin Swiderski [Sun, 24 Oct 2010 08:21:40 +0000 (08:21 +0000)]
- Fixed subexpressions evaluation order for binary operators to match order in code generated with the compiler,
- Fixed test cases for unreachable code warnings produced by Sema.

llvm-svn: 117220

11 years agoMove the "used but marked unused" warning behind a special warning flag for now.
Anders Carlsson [Sun, 24 Oct 2010 04:28:00 +0000 (04:28 +0000)]
Move the "used but marked unused" warning behind a special warning flag for now.

llvm-svn: 117219

11 years agoAdd tests for NEON encoding of vqsub.
Owen Anderson [Sat, 23 Oct 2010 18:02:16 +0000 (18:02 +0000)]
Add tests for NEON encoding of vqsub.

llvm-svn: 117214

11 years agoSmallVectorize.
Benjamin Kramer [Sat, 23 Oct 2010 17:10:24 +0000 (17:10 +0000)]

llvm-svn: 117213

11 years agoC++ [basic.scope.hiding] allows an ordinary name to hide a non-tag
Douglas Gregor [Sat, 23 Oct 2010 16:06:17 +0000 (16:06 +0000)]
C++ [basic.scope.hiding] allows an ordinary name to hide a non-tag
name *in the same scope*, but not across scopes. Implement the
highlighted condition.

llvm-svn: 117212

11 years agoMove rejection of NEON parameters earlier in fast isel call processing,
Eric Christopher [Sat, 23 Oct 2010 09:37:17 +0000 (09:37 +0000)]
Move rejection of NEON parameters earlier in fast isel call processing,
note that we can actually handle some f64 arguments.

llvm-svn: 117209

11 years agoConstify another 2 disassembler tables.
Benjamin Kramer [Sat, 23 Oct 2010 09:28:42 +0000 (09:28 +0000)]
Constify another 2 disassembler tables.

llvm-svn: 117208

11 years agoMake the disassembler tables const so they end up in read-only memory.
Benjamin Kramer [Sat, 23 Oct 2010 09:10:44 +0000 (09:10 +0000)]
Make the disassembler tables const so they end up in read-only memory.

llvm-svn: 117206

11 years agoX86: Emit _fltused instead of __fltused on Windows x64.
Michael J. Spencer [Sat, 23 Oct 2010 09:06:59 +0000 (09:06 +0000)]
X86: Emit _fltused instead of __fltused on Windows x64.

llvm-svn: 117205

11 years agoUpdate remaining attribute macros to new style.
Chandler Carruth [Sat, 23 Oct 2010 08:44:57 +0000 (08:44 +0000)]
Update remaining attribute macros to new style.

llvm-svn: 117204

11 years agoMove the remaining attribute macros to systematic names based on the attribute
Chandler Carruth [Sat, 23 Oct 2010 08:40:19 +0000 (08:40 +0000)]
Move the remaining attribute macros to systematic names based on the attribute
name and prefixed with 'LLVM_'.

llvm-svn: 117203

11 years agoRemove a define which is never referenced.
Chandler Carruth [Sat, 23 Oct 2010 08:25:16 +0000 (08:25 +0000)]
Remove a define which is never referenced.

llvm-svn: 117202

11 years agoUpdate to use 'LLVM_*' macro names for attributes.
Chandler Carruth [Sat, 23 Oct 2010 08:21:37 +0000 (08:21 +0000)]
Update to use 'LLVM_*' macro names for attributes.

llvm-svn: 117201

11 years agoSwitch attribute macros to use 'LLVM_' as a prefix. We retain the old names
Chandler Carruth [Sat, 23 Oct 2010 08:10:43 +0000 (08:10 +0000)]
Switch attribute macros to use 'LLVM_' as a prefix. We retain the old names
until other LLVM projects using these are cleaned up.

llvm-svn: 117200

11 years agoFix a likely bug in an assertion by adding parentheses around '||'. This bug
Chandler Carruth [Sat, 23 Oct 2010 07:46:14 +0000 (07:46 +0000)]
Fix a likely bug in an assertion by adding parentheses around '||'. This bug
was found by a GCC warning. ;]

llvm-svn: 117199

11 years agoResurrect mcc16, it is useful as an example.
Mikhail Glushenkov [Sat, 23 Oct 2010 07:33:02 +0000 (07:33 +0000)]
Resurrect mcc16, it is useful as an example.

llvm-svn: 117198

11 years agoRemove -llvmc-temp-hack from tblgen.
Mikhail Glushenkov [Sat, 23 Oct 2010 07:32:53 +0000 (07:32 +0000)]
Remove -llvmc-temp-hack from tblgen.

llvm-svn: 117197

11 years agoSyntax tweak in llvmc: (something [a,b,c]) -> (something a, b, c).
Mikhail Glushenkov [Sat, 23 Oct 2010 07:32:46 +0000 (07:32 +0000)]
Syntax tweak in llvmc: (something [a,b,c]) -> (something a, b, c).

llvm-svn: 117196

11 years agoTrailing whitespace.
Mikhail Glushenkov [Sat, 23 Oct 2010 07:32:37 +0000 (07:32 +0000)]
Trailing whitespace.

llvm-svn: 117195

11 years agoEnable ARM fastcc.
Evan Cheng [Sat, 23 Oct 2010 02:19:37 +0000 (02:19 +0000)]
Enable ARM fastcc.

llvm-svn: 117194

11 years agoProperly model the latency of register defs which are 1) function returns or
Evan Cheng [Sat, 23 Oct 2010 02:10:46 +0000 (02:10 +0000)]
Properly model the latency of register defs which are 1) function returns or
2) live-outs.

Previously the post-RA schedulers completely ignore these dependencies since
returns, branches, etc. are all scheduling barriers. This patch model the
latencies between instructions being scheduled and the barriers. It also
handle calls by marking their register uses.

llvm-svn: 117193

11 years agoLatency between CPSR def and branch is zero.
Evan Cheng [Sat, 23 Oct 2010 02:04:38 +0000 (02:04 +0000)]
Latency between CPSR def and branch is zero.

llvm-svn: 117192

11 years agoVerify LiveIntervals against the CFG, ensuring that live-in values are live-out
Jakob Stoklund Olesen [Sat, 23 Oct 2010 00:49:09 +0000 (00:49 +0000)]
Verify LiveIntervals against the CFG, ensuring that live-in values are live-out
of all predecessors.

llvm-svn: 117191

11 years agoFixed value objects so that they return an
Sean Callanan [Sat, 23 Oct 2010 00:18:49 +0000 (00:18 +0000)]
Fixed value objects so that they return an
informative message when they have no description.

llvm-svn: 117190

11 years agoAdd tests for NEON encoding of vhsub.
Owen Anderson [Fri, 22 Oct 2010 23:58:22 +0000 (23:58 +0000)]
Add tests for NEON encoding of vhsub.

llvm-svn: 117189

11 years agoTrailing whitespace.
Jim Grosbach [Fri, 22 Oct 2010 23:48:29 +0000 (23:48 +0000)]
Trailing whitespace.

llvm-svn: 117188

11 years agoAdd a CMP test.
Jim Grosbach [Fri, 22 Oct 2010 23:48:01 +0000 (23:48 +0000)]
Add a CMP test.

llvm-svn: 117187

11 years agoAdd tests for NEON encoding of vsubw.
Owen Anderson [Fri, 22 Oct 2010 23:46:07 +0000 (23:46 +0000)]
Add tests for NEON encoding of vsubw.

llvm-svn: 117186

11 years agotidy up
Jim Grosbach [Fri, 22 Oct 2010 23:46:04 +0000 (23:46 +0000)]
tidy up

llvm-svn: 117185

11 years agoWarn if a variable marked with the "unused" attribute is used. Patch by Darin Adler!
Anders Carlsson [Fri, 22 Oct 2010 23:37:08 +0000 (23:37 +0000)]
Warn if a variable marked with the "unused" attribute is used. Patch by Darin Adler!

llvm-svn: 117184

11 years agoAdd tests for NEON encoding of vsubl.
Owen Anderson [Fri, 22 Oct 2010 23:36:36 +0000 (23:36 +0000)]
Add tests for NEON encoding of vsubl.

llvm-svn: 117183

11 years agoParse attributes on enumerators and instantiate attributes on enum decls.
John McCall [Fri, 22 Oct 2010 23:36:17 +0000 (23:36 +0000)]
Parse attributes on enumerators and instantiate attributes on enum decls.

llvm-svn: 117182

11 years agoMinor tweak so that fixit-errors.c is never compiled; it crashes and pops up a crash...
Anders Carlsson [Fri, 22 Oct 2010 23:35:40 +0000 (23:35 +0000)]
Minor tweak so that fixit-errors.c is never compiled; it crashes and pops up a crash dialog on my system.

llvm-svn: 117181

11 years agoNonvirtual dtor that was accessible enough to be bad.
Andrew Trick [Fri, 22 Oct 2010 23:33:19 +0000 (23:33 +0000)]
Nonvirtual dtor that was accessible enough to be bad.

llvm-svn: 117180

11 years agoIf we hit a thread specific breakpoint for another thread, don't report the Exception...
Jim Ingham [Fri, 22 Oct 2010 23:28:32 +0000 (23:28 +0000)]
If we hit a thread specific breakpoint for another thread, don't report the Exception as the stop reason, you have to report no stop reason.

llvm-svn: 117179

11 years agoAdded a temporary hack to allow casting of Objective-C
Sean Callanan [Fri, 22 Oct 2010 23:25:16 +0000 (23:25 +0000)]
Added a temporary hack to allow casting of Objective-C
method results to int.  This will only last until we
get accurate type information for Objective-C methods
or some way of making their types inferred by the

llvm-svn: 117178

11 years agoAdd tests for NEON encoding of vsub.
Owen Anderson [Fri, 22 Oct 2010 23:21:04 +0000 (23:21 +0000)]
Add tests for NEON encoding of vsub.

llvm-svn: 117177