platform/upstream/llvm.git
15 years agoBounds checking for address spaces.
John McCall [Tue, 28 Jul 2009 06:52:18 +0000 (06:52 +0000)]
Bounds checking for address spaces.

llvm-svn: 77303

15 years agoCallExpr's SubExprs sometimes were allocated in the wrong place.
Daniel Dunbar [Tue, 28 Jul 2009 06:29:46 +0000 (06:29 +0000)]
CallExpr's SubExprs sometimes were allocated in the wrong place.

llvm-svn: 77302

15 years agoCode clean up. No functionality changes.
Evan Cheng [Tue, 28 Jul 2009 06:24:12 +0000 (06:24 +0000)]
Code clean up. No functionality changes.

llvm-svn: 77301

15 years ago- More refactoring. This gets rid of all of the getOpcode calls.
Evan Cheng [Tue, 28 Jul 2009 05:48:47 +0000 (05:48 +0000)]
- More refactoring. This gets rid of all of the getOpcode calls.
- This change also makes it possible to switch between ARM / Thumb on a
  per-function basis.
- Fixed thumb2 routine which expand reg + arbitrary immediate. It was using
  using ARM so_imm logic.
- Use movw and movt to do reg + imm when profitable.
- Other code clean ups and minor optimizations.

llvm-svn: 77300

15 years agoReimplement QualifierSet using a single word, as requested by dgregor.
John McCall [Tue, 28 Jul 2009 05:41:20 +0000 (05:41 +0000)]
Reimplement QualifierSet using a single word, as requested by dgregor.

llvm-svn: 77299

15 years agoImplement ObjCMethodDecl::getCanonicalDecl().
Argyrios Kyrtzidis [Tue, 28 Jul 2009 05:11:17 +0000 (05:11 +0000)]
Implement ObjCMethodDecl::getCanonicalDecl().

llvm-svn: 77298

15 years ago-Add ObjCCategoryImplDecl::getCategoryClass() which returns the category interface...
Argyrios Kyrtzidis [Tue, 28 Jul 2009 05:11:05 +0000 (05:11 +0000)]
-Add ObjCCategoryImplDecl::getCategoryClass() which returns the category interface decl.
-Correct ObjCMethodDecl::getNextRedeclaration(); A method in a ObjCCategoryImplDecl should point to
a method in the associated ObjCCategoryDecl, not the ObjCInterfaceDecl.

llvm-svn: 77297

15 years agoUse ObjCImplDecl in place of ObjCCategoryImplDecl/ObjCImplementationDecl.
Argyrios Kyrtzidis [Tue, 28 Jul 2009 05:10:52 +0000 (05:10 +0000)]
Use ObjCImplDecl in place of ObjCCategoryImplDecl/ObjCImplementationDecl.

llvm-svn: 77296

15 years agofix a casting problem on the llvm-x86_64-linux tester
Chris Lattner [Tue, 28 Jul 2009 03:20:34 +0000 (03:20 +0000)]
fix a casting problem on the llvm-x86_64-linux tester

llvm-svn: 77295

15 years agoRip all of the global variable lowering logic out of TargetAsmInfo. Since
Chris Lattner [Tue, 28 Jul 2009 03:13:23 +0000 (03:13 +0000)]
Rip all of the global variable lowering logic out of TargetAsmInfo.  Since
it is highly specific to the object file that will be generated in the end,
this introduces a new TargetLoweringObjectFile interface that is implemented
for each of ELF/MachO/COFF/Alpha/PIC16 and XCore.

Though still is still a brutal and ugly refactoring, this is a major step
towards goodness.

This patch also:
1. fixes a bunch of dangling pointer problems in the PIC16 backend.
2. disables the TargetLowering copy ctor which PIC16 was accidentally using.
3. gets us closer to xcore having its own crazy target section flags and
   pic16 not having to shadow sections with its own objects.
4. fixes wierdness where ELF targets would set CStringSection but not
   CStringSection_.  Factor the code better.
5. fixes some bugs in string lowering on ELF targets.

llvm-svn: 77294

15 years agodon't copy TargetLowering.
Chris Lattner [Tue, 28 Jul 2009 03:05:40 +0000 (03:05 +0000)]
don't copy TargetLowering.

llvm-svn: 77293

15 years agollvm-mc: Factor AsmToken class out of AsmLexer.
Daniel Dunbar [Tue, 28 Jul 2009 03:00:54 +0000 (03:00 +0000)]
llvm-mc: Factor AsmToken class out of AsmLexer.

llvm-svn: 77292

15 years agoMake longjmp a real builtin.
Mike Stump [Tue, 28 Jul 2009 02:25:19 +0000 (02:25 +0000)]
Make longjmp a real builtin.

llvm-svn: 77291

15 years agoTeach instcombine to respect and preserve inbounds. Add inbounds
Dan Gohman [Tue, 28 Jul 2009 01:40:03 +0000 (01:40 +0000)]
Teach instcombine to respect and preserve inbounds. Add inbounds
to a few tests where it is required for the expected transformation.

llvm-svn: 77290

15 years agoFix a small little typo.
Mike Stump [Tue, 28 Jul 2009 01:35:34 +0000 (01:35 +0000)]
Fix a small little typo.

llvm-svn: 77289

15 years agoAllow functions to be marked "implicit return zero" and so mark main().
John McCall [Tue, 28 Jul 2009 01:00:58 +0000 (01:00 +0000)]
Allow functions to be marked "implicit return zero" and so mark main().
Codegen by initializing the return value with its LLVM type's null value.

llvm-svn: 77288

15 years agollvm-mc: Stop uniqueing string tokens, nothing actually uses this.
Daniel Dunbar [Tue, 28 Jul 2009 00:58:50 +0000 (00:58 +0000)]
llvm-mc: Stop uniqueing string tokens, nothing actually uses this.

llvm-svn: 77287

15 years agoReplace dyn_castGetElementPtr with dyn_cast<GEPOperator>.
Dan Gohman [Tue, 28 Jul 2009 00:37:50 +0000 (00:37 +0000)]
Replace dyn_castGetElementPtr with dyn_cast<GEPOperator>.

llvm-svn: 77286

15 years agoGrab the LLVMContext and parent Module of SI ahead of the
Dan Gohman [Tue, 28 Jul 2009 00:37:06 +0000 (00:37 +0000)]
Grab the LLVMContext and parent Module of SI ahead of the
point where SI can get deleted. This fixes a use of free'd memory.
This fixes Externals/Povray.

llvm-svn: 77285

15 years agoAdd a Profile function for statements so that we can (eventually) determine
Douglas Gregor [Tue, 28 Jul 2009 00:33:38 +0000 (00:33 +0000)]
Add a Profile function for statements so that we can (eventually) determine
when statements and expressions are equivalent.

llvm-svn: 77284

15 years agoOnly generate preprocessed files during crashes using Clang, not GCC.
Ted Kremenek [Tue, 28 Jul 2009 00:14:21 +0000 (00:14 +0000)]
Only generate preprocessed files during crashes using Clang, not GCC.

llvm-svn: 77281

15 years agoFix helper function GetNextStmt() to look for the first statement that has a
Ted Kremenek [Tue, 28 Jul 2009 00:07:15 +0000 (00:07 +0000)]
Fix helper function GetNextStmt() to look for the first statement that has a
valid SourceLocation.

llvm-svn: 77280

15 years agoMake sure to move the comment with the code.
Mike Stump [Tue, 28 Jul 2009 00:07:08 +0000 (00:07 +0000)]
Make sure to move the comment with the code.

llvm-svn: 77279

15 years agoORN does not require (and can not have) the ".w" suffix. "Orthogonality" is a dirty...
David Goodwin [Mon, 27 Jul 2009 23:34:12 +0000 (23:34 +0000)]
ORN does not require (and can not have) the ".w" suffix. "Orthogonality" is a dirty word at ARM.

llvm-svn: 77275

15 years agoFix a release-asserts warning. Debug functions should be marked used,
Mike Stump [Mon, 27 Jul 2009 23:33:34 +0000 (23:33 +0000)]
Fix a release-asserts warning.  Debug functions should be marked used,
if there are no other uses.  If people don't need this routine
anymore, if should be deleted.

llvm-svn: 77274

15 years agoPass true to the Internalize parameter of createStandardLTOPasses,
Dan Gohman [Mon, 27 Jul 2009 23:23:47 +0000 (23:23 +0000)]
Pass true to the Internalize parameter of createStandardLTOPasses,
to match llvm-ld's default behavior.

llvm-svn: 77273

15 years agollvm-mc: Implement .abort fully in the front end
Daniel Dunbar [Mon, 27 Jul 2009 23:20:52 +0000 (23:20 +0000)]
llvm-mc: Implement .abort fully in the front end

llvm-svn: 77272

15 years agoAvoid build warnings.
Mike Stump [Mon, 27 Jul 2009 23:14:11 +0000 (23:14 +0000)]
Avoid build warnings.

llvm-svn: 77271

15 years agoPatch for objc's zero-const exception to not assume
Fariborz Jahanian [Mon, 27 Jul 2009 23:12:41 +0000 (23:12 +0000)]
Patch for objc's zero-const exception to not assume
that @catch(...) cathces all exceptions (c++ objects
are not cought by that).

llvm-svn: 77270

15 years agoAdd a comment on Value explaining the current getName() behavior.
Daniel Dunbar [Mon, 27 Jul 2009 22:39:14 +0000 (22:39 +0000)]
Add a comment on Value explaining the current getName() behavior.

llvm-svn: 77269

15 years agoUpdate for LLVM API change.
Owen Anderson [Mon, 27 Jul 2009 22:29:56 +0000 (22:29 +0000)]
Update for LLVM API change.

llvm-svn: 77267

15 years agoMove ConstantStruct back to 2.5 API.
Owen Anderson [Mon, 27 Jul 2009 22:29:26 +0000 (22:29 +0000)]
Move ConstantStruct back to 2.5 API.

llvm-svn: 77266

15 years agoEnsure we can work through typedefs.
Mike Stump [Mon, 27 Jul 2009 22:25:19 +0000 (22:25 +0000)]
Ensure we can work through typedefs.

llvm-svn: 77265

15 years ago(1) Enable PlistDiagnostics to take an option "PathDiagnosticClientFactory"
Ted Kremenek [Mon, 27 Jul 2009 22:13:39 +0000 (22:13 +0000)]
(1) Enable PlistDiagnostics to take an option "PathDiagnosticClientFactory"
object that it can use to forward PathDiagnostics for further processing. Along
with this feature, the PlistDiagnostics object logs which files are created by
the forwarding of the PathDiagnostics.

(2) Create a new PathDiagnosticClientFactory object for HTMLDiagnostics,
allowing other PathDiagnosticClients to forward PathDiagnostics through an
opaque interface.

(3) Create a "plist-html" diagnostics option in AnalysisConsumer to allow the
    logging of HTML files created in a hybrid Plist+HTML diagnostic client.

llvm-svn: 77264

15 years agoAdd scan-build support for 'plist-html', a hybrid mode that supports the
Ted Kremenek [Mon, 27 Jul 2009 22:10:34 +0000 (22:10 +0000)]
Add scan-build support for 'plist-html', a hybrid mode that supports the
creation of both HTML and plist files. Plist files are currently not generated
using the same layout algorithm as just specifying '-plist', so this is mainly
intended to help support automated runs of the analyzer.

llvm-svn: 77263

15 years agoAdd a comment about the "getelementptr null" trick.
Dan Gohman [Mon, 27 Jul 2009 21:59:50 +0000 (21:59 +0000)]
Add a comment about the "getelementptr null" trick.

llvm-svn: 77262

15 years agoAdd inbounds to the polygen grammar.
Dan Gohman [Mon, 27 Jul 2009 21:55:32 +0000 (21:55 +0000)]
Add inbounds to the polygen grammar.

llvm-svn: 77261

15 years agovim syntax highlighting for inbounds keyword.
Dan Gohman [Mon, 27 Jul 2009 21:54:51 +0000 (21:54 +0000)]
vim syntax highlighting for inbounds keyword.

llvm-svn: 77260

15 years agoAdd a new keyword 'inbounds' for use with getelementptr. See the
Dan Gohman [Mon, 27 Jul 2009 21:53:46 +0000 (21:53 +0000)]
Add a new keyword 'inbounds' for use with getelementptr. See the
LangRef.html changes for details.

llvm-svn: 77259

15 years agollvm-mc: Move AsmLexer::getCurStrVal to StringRef based API.
Daniel Dunbar [Mon, 27 Jul 2009 21:49:56 +0000 (21:49 +0000)]
llvm-mc: Move AsmLexer::getCurStrVal to StringRef based API.
 - My DFS traversal of LLVM is, at least for now, nearly complete! :)

llvm-svn: 77258

15 years agoOrder unsigned before signed, for consistency.
Dan Gohman [Mon, 27 Jul 2009 21:49:34 +0000 (21:49 +0000)]
Order unsigned before signed, for consistency.

llvm-svn: 77257

15 years agoUnbreak build.
Daniel Dunbar [Mon, 27 Jul 2009 21:47:07 +0000 (21:47 +0000)]
Unbreak build.

llvm-svn: 77256

15 years agoMake raw_null_ostream flush its buffer in its destructor, so that
Dan Gohman [Mon, 27 Jul 2009 21:46:02 +0000 (21:46 +0000)]
Make raw_null_ostream flush its buffer in its destructor, so that
it conforms to the assertion added in r77245. This fixes a failure
in qa_override.c in clang's testsuite.

llvm-svn: 77255

15 years agoAdd knowledge about _longjmp being noreturn.
Mike Stump [Mon, 27 Jul 2009 21:45:16 +0000 (21:45 +0000)]
Add knowledge about _longjmp being noreturn.

llvm-svn: 77254

15 years agoAdd builtin knowledge about longjmp being noreturn. Add printing for
Mike Stump [Mon, 27 Jul 2009 21:33:40 +0000 (21:33 +0000)]
Add builtin knowledge about longjmp being noreturn.  Add printing for
the noreturn attribute.

llvm-svn: 77253

15 years agohoist MCContext/MCStreamer up to AsmPrinter since we're going to start creating
Chris Lattner [Mon, 27 Jul 2009 21:28:04 +0000 (21:28 +0000)]
hoist MCContext/MCStreamer up to AsmPrinter since we're going to start creating
MCSections soon instead of Section for all targets, and we need something to
own them.

llvm-svn: 77252

15 years agoMove MCContext and friends to StringRef based APIs.
Daniel Dunbar [Mon, 27 Jul 2009 21:22:30 +0000 (21:22 +0000)]
Move MCContext and friends to StringRef based APIs.

llvm-svn: 77251

15 years agosimplify #includes.
Chris Lattner [Mon, 27 Jul 2009 21:13:35 +0000 (21:13 +0000)]
simplify #includes.

llvm-svn: 77250

15 years agoUpdate for LLVM API change.
Owen Anderson [Mon, 27 Jul 2009 21:00:51 +0000 (21:00 +0000)]
Update for LLVM API change.

llvm-svn: 77249

15 years agoMove ConstantFP construction back to the 2.5-ish API.
Owen Anderson [Mon, 27 Jul 2009 20:59:43 +0000 (20:59 +0000)]
Move ConstantFP construction back to the 2.5-ish API.

llvm-svn: 77247

15 years agoSome minor changes toward support of data
Fariborz Jahanian [Mon, 27 Jul 2009 20:57:45 +0000 (20:57 +0000)]
Some minor changes toward support of data
member access in the presense of non-virtual bases.

llvm-svn: 77246

15 years agoAdd an assertion check to raw_ostream's destructor to verify
Dan Gohman [Mon, 27 Jul 2009 20:49:44 +0000 (20:49 +0000)]
Add an assertion check to raw_ostream's destructor to verify
that the subclass hasn't left any pending data in the buffer.

llvm-svn: 77245

15 years agoFix typo.
Andreas Bolka [Mon, 27 Jul 2009 20:37:10 +0000 (20:37 +0000)]
Fix typo.

llvm-svn: 77244

15 years ago80 columns!
Devang Patel [Mon, 27 Jul 2009 20:30:05 +0000 (20:30 +0000)]
80 columns!

llvm-svn: 77243

15 years agoRemove TPat. No patterns depend on just isThumb(). Must use either T1Pat (isThumb1Onl...
David Goodwin [Mon, 27 Jul 2009 19:59:26 +0000 (19:59 +0000)]
Remove TPat. No patterns depend on just isThumb(). Must use either T1Pat (isThumb1Only()) or T2Pat (is Thumb2).

llvm-svn: 77242

15 years agofix test (broken in r77224)
Benjamin Kramer [Mon, 27 Jul 2009 19:53:49 +0000 (19:53 +0000)]
fix test (broken in r77224)

llvm-svn: 77241

15 years agoThanks, Bill!
Sean Callanan [Mon, 27 Jul 2009 19:45:28 +0000 (19:45 +0000)]
Thanks, Bill!

llvm-svn: 77240

15 years agofix comment
Bruno Cardoso Lopes [Mon, 27 Jul 2009 19:38:38 +0000 (19:38 +0000)]
fix comment

llvm-svn: 77239

15 years agoadd module identifier to the elf object file
Bruno Cardoso Lopes [Mon, 27 Jul 2009 19:32:57 +0000 (19:32 +0000)]
add module identifier to the elf object file

llvm-svn: 77238

15 years agoAdd noreturn for exit.
Mike Stump [Mon, 27 Jul 2009 19:14:18 +0000 (19:14 +0000)]
Add noreturn for exit.

llvm-svn: 77237

15 years agoSink getSectionPrefixForUniqueGlobal down into the TAI
Chris Lattner [Mon, 27 Jul 2009 19:14:14 +0000 (19:14 +0000)]
Sink getSectionPrefixForUniqueGlobal down into the TAI
implementations that need it, rearrange ELFTAI.

llvm-svn: 77236

15 years agoMake ObjCImplDecl inherit from ObjCContainerDecl.
Argyrios Kyrtzidis [Mon, 27 Jul 2009 19:04:32 +0000 (19:04 +0000)]
Make ObjCImplDecl inherit from ObjCContainerDecl.

ObjCContainerDecl now is the root class for objc decls that contain methods.

llvm-svn: 77235

15 years agoTweak MultiTestRunner --path argument.
Daniel Dunbar [Mon, 27 Jul 2009 19:01:13 +0000 (19:01 +0000)]
Tweak MultiTestRunner --path argument.
 - Accept multiple values instead of embedding separator.
 - Make sure this gets used when searching for 'clang' binary.
 - Switch makefiles to using --path to stay in sync with cmake.

llvm-svn: 77234

15 years agoremove dead code.
Chris Lattner [Mon, 27 Jul 2009 19:00:33 +0000 (19:00 +0000)]
remove dead code.

llvm-svn: 77233

15 years agoHandle external symbols for ELF and add some static methods to ELFSym
Bruno Cardoso Lopes [Mon, 27 Jul 2009 18:54:47 +0000 (18:54 +0000)]
Handle external symbols for ELF and add some static methods to ELFSym

llvm-svn: 77232

15 years agoMore DCE.
Evan Cheng [Mon, 27 Jul 2009 18:48:45 +0000 (18:48 +0000)]
More DCE.

llvm-svn: 77231

15 years agoconvertToThreeAddress can't handle Thumb2 instructions (which don't have same address...
Evan Cheng [Mon, 27 Jul 2009 18:44:00 +0000 (18:44 +0000)]
convertToThreeAddress can't handle Thumb2 instructions (which don't have same address mode as ARM instructions).

llvm-svn: 77230

15 years agoInitialize mdnNext.
Devang Patel [Mon, 27 Jul 2009 18:42:56 +0000 (18:42 +0000)]
Initialize mdnNext.

llvm-svn: 77229

15 years agoUse DICompositeType->replaceAllUsesWith()
Devang Patel [Mon, 27 Jul 2009 18:42:03 +0000 (18:42 +0000)]
Use DICompositeType->replaceAllUsesWith()

llvm-svn: 77228

15 years agoGet rid of more dead code.
Evan Cheng [Mon, 27 Jul 2009 18:38:54 +0000 (18:38 +0000)]
Get rid of more dead code.

llvm-svn: 77227

15 years agoMany of Daniel's fixes.
Sean Callanan [Mon, 27 Jul 2009 18:33:24 +0000 (18:33 +0000)]
Many of Daniel's fixes.

I'm returning the number of bytes actually copied so that the client has some
warning when it reads past the end of the buffer.

I'm keeping the distinction between getByte() and getBytes() for now for
subclasses that use functions like ptrace() on Linux and only have a restricted
interface.  This makes their implementation easier, and subclasses can always
write a one-line implementation of readByte() that uses their custom
readBytes().

llvm-svn: 77225

15 years agoFix typo in error message
Douglas Gregor [Mon, 27 Jul 2009 18:33:18 +0000 (18:33 +0000)]
Fix typo in error message

llvm-svn: 77224

15 years agoPrepare CMake regression testing for Daniel's upcoming fix to the test runner
Douglas Gregor [Mon, 27 Jul 2009 18:31:49 +0000 (18:31 +0000)]
Prepare CMake regression testing for Daniel's upcoming fix to the test runner

llvm-svn: 77223

15 years agoCosmetic change.
Evan Cheng [Mon, 27 Jul 2009 18:31:40 +0000 (18:31 +0000)]
Cosmetic change.

llvm-svn: 77222

15 years agoClean up.
Evan Cheng [Mon, 27 Jul 2009 18:25:24 +0000 (18:25 +0000)]
Clean up.

llvm-svn: 77221

15 years agoCMake configuration: find mkdtemp, mkstemp, mktemp.
Douglas Gregor [Mon, 27 Jul 2009 18:23:41 +0000 (18:23 +0000)]
CMake configuration: find mkdtemp, mkstemp, mktemp.

llvm-svn: 77219

15 years agoGet rid of some more getOpcode calls.
Evan Cheng [Mon, 27 Jul 2009 18:20:05 +0000 (18:20 +0000)]
Get rid of some more getOpcode calls.

This also fixes potential problems in ARMBaseInstrInfo routines not recognizing thumb1 instructions when 32-bit and 16-bit instructions mix.

llvm-svn: 77218

15 years agoFix build.
Mike Stump [Mon, 27 Jul 2009 18:18:30 +0000 (18:18 +0000)]
Fix build.

llvm-svn: 77217

15 years agoFollowing discussion on llvm-dev ("proposed new rule for getelementptr"),
Dan Gohman [Mon, 27 Jul 2009 18:07:55 +0000 (18:07 +0000)]
Following discussion on llvm-dev ("proposed new rule for getelementptr"),
add a new "Pointer Aliasing Rules" section.

llvm-svn: 77216

15 years agoRemove duplicate entries while printing decls for external symbols.
Sanjiv Gupta [Mon, 27 Jul 2009 18:04:34 +0000 (18:04 +0000)]
Remove duplicate entries while printing decls for external symbols.
Some libcall names are same, so they were getting printed twice.

llvm-svn: 77215

15 years agoCMake: make sure that the *.inc files for libSystem show up in the resulting
Douglas Gregor [Mon, 27 Jul 2009 17:55:55 +0000 (17:55 +0000)]
CMake: make sure that the *.inc files for libSystem show up in the resulting
project.

llvm-svn: 77213

15 years agoWhen instantiating a variable without an initializer, call
Douglas Gregor [Mon, 27 Jul 2009 17:43:39 +0000 (17:43 +0000)]
When instantiating a variable without an initializer, call
ActOnUninitializedDecl.

llvm-svn: 77211

15 years agoadd an explanatory comment about why we drop these in readonly and
Chris Lattner [Mon, 27 Jul 2009 17:39:40 +0000 (17:39 +0000)]
add an explanatory comment about why we drop these in readonly and
not in mergable

llvm-svn: 77210

15 years agoDo not seed mstadata into the value map.
Devang Patel [Mon, 27 Jul 2009 17:17:04 +0000 (17:17 +0000)]
Do not seed mstadata into the value map.

llvm-svn: 77208

15 years agoUse the CGRecordLayoutBuilder even if there are no fields, because in C++ an empty...
Anders Carlsson [Mon, 27 Jul 2009 17:10:54 +0000 (17:10 +0000)]
Use the CGRecordLayoutBuilder even if there are no fields, because in C++ an empty class will have a padding byte.

llvm-svn: 77205

15 years agomake COFF work like ELF and macho, by splitting out into its own
Chris Lattner [Mon, 27 Jul 2009 16:45:59 +0000 (16:45 +0000)]
make COFF work like ELF and macho, by splitting out into its own
header even though there is only one COFF target.

llvm-svn: 77204

15 years agodon't create default text/data sections for all targets.
Chris Lattner [Mon, 27 Jul 2009 16:44:04 +0000 (16:44 +0000)]
don't create default text/data sections for all targets.

llvm-svn: 77203

15 years agoApparently alpha doesn't use ElfTargetAsmInfo (?)
Chris Lattner [Mon, 27 Jul 2009 16:42:14 +0000 (16:42 +0000)]
Apparently alpha doesn't use ElfTargetAsmInfo (?)

llvm-svn: 77202

15 years agoThumb-2 does not have RSC.
David Goodwin [Mon, 27 Jul 2009 16:39:05 +0000 (16:39 +0000)]
Thumb-2 does not have RSC.

llvm-svn: 77201

15 years agoAdd ".w" suffix for wide thumb-2 instructions.
David Goodwin [Mon, 27 Jul 2009 16:31:55 +0000 (16:31 +0000)]
Add ".w" suffix for wide thumb-2 instructions.

llvm-svn: 77199

15 years agoinline a method.
Chris Lattner [Mon, 27 Jul 2009 16:27:32 +0000 (16:27 +0000)]
inline a method.

llvm-svn: 77198

15 years agoapparently we have "windows" and "coff", which are different(?)
Chris Lattner [Mon, 27 Jul 2009 16:22:39 +0000 (16:22 +0000)]
apparently we have "windows" and "coff", which are different(?)

llvm-svn: 77197

15 years agosink text/data section creation down into the target-specific places that
Chris Lattner [Mon, 27 Jul 2009 16:20:58 +0000 (16:20 +0000)]
sink text/data section creation down into the target-specific places that
should know about them.  PECoff doesn't share these, and I want all sections
to be created by object-file-specific code.

llvm-svn: 77196

15 years agoTest case to check that separate section is created for a global variable specified...
Sanjiv Gupta [Mon, 27 Jul 2009 16:20:41 +0000 (16:20 +0000)]
Test case to check that separate section is created for a global variable specified with section attribute.

llvm-svn: 77195

15 years agoChange the assembly syntax for nsw, nuw, and exact, putting them
Dan Gohman [Mon, 27 Jul 2009 16:11:46 +0000 (16:11 +0000)]
Change the assembly syntax for nsw, nuw, and exact, putting them
after their associated opcodes rather than before. This makes them
a little easier to read.

llvm-svn: 77194

15 years agoFix wording in comments.
Dan Gohman [Mon, 27 Jul 2009 16:09:48 +0000 (16:09 +0000)]
Fix wording in comments.

llvm-svn: 77193

15 years agoupdate testcase.
Chris Lattner [Mon, 27 Jul 2009 15:52:58 +0000 (15:52 +0000)]
update testcase.

llvm-svn: 77192

15 years ago32-bit darwin targets support .literal16 too.
Chris Lattner [Mon, 27 Jul 2009 15:44:04 +0000 (15:44 +0000)]
32-bit darwin targets support .literal16 too.

llvm-svn: 77191

15 years agoEnable the new struct type builder now that the constant struct builder works. (The...
Anders Carlsson [Mon, 27 Jul 2009 15:31:55 +0000 (15:31 +0000)]
Enable the new struct type builder now that the constant struct builder works. (The old code will still be there until we know that everything works well.

llvm-svn: 77190

15 years agoFix a tail padding bug in the record layout builder code. The bug was found by an...
Anders Carlsson [Mon, 27 Jul 2009 14:55:54 +0000 (14:55 +0000)]
Fix a tail padding bug in the record layout builder code. The bug was found by an existing test.

llvm-svn: 77189