Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rewrite #includes for llvm/Foo.h to llvm/IR/Foo.h as appropriate to | Chandler Carruth | 2013-01-02 | 1 | -3/+3 |
| | | | | | | | | reflect the migration in r171366. Re-sort the #include lines to reflect the new paths. llvm-svn: 171369 | ||||
* | Rename llvm::Attributes to llvm::Attribute. | Bill Wendling | 2012-12-20 | 1 | -2/+2 |
| | | | | llvm-svn: 170722 | ||||
* | Revert r170500. It over-zealously converted *ALL* things named Attributes, ↵ | Bill Wendling | 2012-12-20 | 1 | -2/+2 |
| | | | | | | which is wrong here. llvm-svn: 170721 | ||||
* | Rename the 'Attributes' class to 'Attribute'. It's going to represent a ↵ | Bill Wendling | 2012-12-19 | 1 | -2/+2 |
| | | | | | | single attribute in the future. llvm-svn: 170500 | ||||
* | s/AttrListPtr/AttributeSet/g to better label what this class is going to be ↵ | Bill Wendling | 2012-12-07 | 1 | -1/+1 |
| | | | | | | in the near future. llvm-svn: 169652 | ||||
* | Sort all of Clang's files under 'lib', and fix up the broken headers | Chandler Carruth | 2012-12-04 | 1 | -2/+2 |
| | | | | | | | | | | | | | uncovered. This required manually correcting all of the incorrect main-module headers I could find, and running the new llvm/utils/sort_includes.py script over the files. I also manually added quite a few missing headers that were uncovered by shuffling the order or moving headers up to be main-module-headers. llvm-svn: 169237 | ||||
* | Handle '*' and '#' asm constraint modifiers. | Ulrich Weigand | 2012-10-29 | 1 | -0/+4 |
| | | | | llvm-svn: 166924 | ||||
* | Add missing safety check to an optimization for do-while loops. PR14191. | Eli Friedman | 2012-10-26 | 1 | -0/+4 |
| | | | | llvm-svn: 166832 | ||||
* | Use the Attributes::get method which takes an AttrVal value directly to ↵ | Bill Wendling | 2012-10-16 | 1 | -3/+2 |
| | | | | | | simplify the code a bit. No functionality change. llvm-svn: 166010 | ||||
* | Move the Attributes::Builder outside of the Attributes class and into its ↵ | Bill Wendling | 2012-10-15 | 1 | -1/+1 |
| | | | | | | own class named AttrBuilder. No functionality change. llvm-svn: 165961 | ||||
* | Use enum values instead of magic numbers for indexing into the attribute list. | Bill Wendling | 2012-10-15 | 1 | -1/+2 |
| | | | | llvm-svn: 165925 | ||||
* | Attributes Rewrite | Bill Wendling | 2012-10-15 | 1 | -1/+1 |
| | | | | | | | | Convert the uses of the Attributes class over to the new format. The Attributes::get method call now takes an LLVM context so that the attributes object can be uniquified and stored. llvm-svn: 165918 | ||||
* | Remove the final bits of Attributes being declared in the Attribute | Bill Wendling | 2012-10-10 | 1 | -1/+3 |
| | | | | | | | namespace. Use the attribute's enum value instead. No functionality change intended. llvm-svn: 165611 | ||||
* | Move TargetData to DataLayout. | Micah Villmow | 2012-10-08 | 1 | -4/+4 |
| | | | | llvm-svn: 165395 | ||||
* | During jump-scope checking, build an ExprWithCleanups immediately | John McCall | 2012-09-25 | 1 | -0/+12 |
| | | | | | | | | | | | | into the enclosing scope; this is a more accurate model but is (I believe) unnecessary in my test case due to other flaws. However, one of those flaws is now intentional: blocks which appear in return statements can be trivially observed to not extend in lifetime past the return, and so we can allow a jump past them. Do the necessary magic in IR-generation to make this work. llvm-svn: 164589 | ||||
* | Update for r163231. | Chad Rosier | 2012-09-05 | 1 | -2/+3 |
| | | | | llvm-svn: 163232 | ||||
* | [ms-inline asm] Set the inline assembly dialect in CodeGen. | Chad Rosier | 2012-09-04 | 1 | -1/+3 |
| | | | | llvm-svn: 163178 | ||||
* | [ms-inline asm] Remove the Inline Asm Non-Standard Dialect attribute. This | Chad Rosier | 2012-09-04 | 1 | -4/+0 |
| | | | | | | | implementation does not co-exist well with how the sideeffect and alignstack attributes are handled. llvm-svn: 163173 | ||||
* | Minor cleanup to improve code readability. No functional change intended. | Chad Rosier | 2012-09-04 | 1 | -2/+2 |
| | | | | llvm-svn: 163161 | ||||
* | Revert r163083 per chandlerc's request. | Joao Matos | 2012-09-04 | 1 | -1/+0 |
| | | | | llvm-svn: 163149 | ||||
* | Implemented parsing and AST support for the MS __leave exception statement. ↵ | Joao Matos | 2012-09-02 | 1 | -0/+1 |
| | | | | | | Also a minor fix to __except printing in StmtPrinter.cpp. Thanks to Aaron Ballman for review. llvm-svn: 163083 | ||||
* | [ms-inline asm] Have MSAsmStmts use the generic EmitAsmStmt codegen function. | Chad Rosier | 2012-08-28 | 1 | -40/+6 |
| | | | | llvm-svn: 162796 | ||||
* | [ms-inline asm] Rename EmitGCCAsmStmt to EmitAsmStmt and have it accept | Chad Rosier | 2012-08-28 | 1 | -5/+7 |
| | | | | | | | | AsmStmts. This function is only used by GCCAsmStmts, however. Constraints need to be properly computed before MSAsmStmts can use EmitAsmStmt. No functional change intended. llvm-svn: 162776 | ||||
* | [ms-inline asm] Add virtual function, getClobber, that returns a StringRef. | Chad Rosier | 2012-08-27 | 1 | -1/+1 |
| | | | | | | More work towards unifying asm stmt codegen. llvm-svn: 162712 | ||||
* | [ms-inline asm] Rename getClobber to getClobberStringLiteral. No functional | Chad Rosier | 2012-08-27 | 1 | -1/+1 |
| | | | | | | change intended. llvm-svn: 162710 | ||||
* | [ms-inline asm] Rename GenerateAsmString to generateAsmString to conform with | Chad Rosier | 2012-08-27 | 1 | -1/+1 |
| | | | | | | | coding standards. Also, add stub for MSAsmStmt class as part of unifying codegen logic for AsmStmts. llvm-svn: 162696 | ||||
* | [ms-inline asm] As part of a larger refactoring, rename AsmStmt to GCCAsmStmt. | Chad Rosier | 2012-08-25 | 1 | -3/+3 |
| | | | | | | No functional change intended. llvm-svn: 162632 | ||||
* | [ms-inline asm] Change the -fenable-experimental-ms-inline-asm option from a | Chad Rosier | 2012-08-24 | 1 | -4/+0 |
| | | | | | | | | | CodeGen option to a LangOpt option. In turn, hoist the guard into the parser so that we avoid the new (and fairly unstable) Sema/AST/CodeGen logic. This should restore the behavior of clang to that prior to r158325. <rdar://problem/12163681> llvm-svn: 162602 | ||||
* | Fix 80-column violation. | Chad Rosier | 2012-08-24 | 1 | -1/+2 |
| | | | | llvm-svn: 162575 | ||||
* | [ms-inline asm] Refactor code. No functional change intended. | Chad Rosier | 2012-08-24 | 1 | -17/+2 |
| | | | | llvm-svn: 162568 | ||||
* | [ms-inline asm] Remove an unused argument. This logic can now be reused by the | Chad Rosier | 2012-08-23 | 1 | -6/+5 |
| | | | | | | ms-style inline asms. llvm-svn: 162463 | ||||
* | [ms-inline asm] Start sending non-simple inline asms to the AsmParser. | Chad Rosier | 2012-08-22 | 1 | -2/+0 |
| | | | | | | | The parser still can't handle all cases, so fall back to emitting a simple MSAsmStmt if we get into trouble. llvm-svn: 162382 | ||||
* | [ms-inline asm] Add support for clobbers in CodeGen. | Chad Rosier | 2012-08-15 | 1 | -1/+23 |
| | | | | | | | This is a reapplication of r161914 now that the scoping issue has been resolved in r161966. llvm-svn: 161967 | ||||
* | Revert this to try to bring the i386 bots back. | Eric Christopher | 2012-08-15 | 1 | -23/+1 |
| | | | | llvm-svn: 161931 | ||||
* | [ms-inline asm] Add support for clobbers in CodeGen. | Chad Rosier | 2012-08-15 | 1 | -1/+23 |
| | | | | llvm-svn: 161914 | ||||
* | [ms-inline asm] Use the new Inline Asm Non-Standard Dialect attribute. | Chad Rosier | 2012-08-10 | 1 | -0/+1 |
| | | | | llvm-svn: 161642 | ||||
* | [ms-inline asm] Add basic codegen support for simple asm stmts. Currently, | Chad Rosier | 2012-08-08 | 1 | -0/+15 |
| | | | | | | only machine specific clobbers are modeled. llvm-svn: 161524 | ||||
* | Change APInt to APSInt in one instance. Also change a call to operator==() to | Richard Trieu | 2012-07-23 | 1 | -2/+2 |
| | | | | | | APSInt::isSameValue() when comparing different sized APSInt's. llvm-svn: 160641 | ||||
* | Add the mechanics for -fms-inline-asm. No easy way to test at this time. | Chad Rosier | 2012-07-20 | 1 | -0/+2 |
| | | | | llvm-svn: 160580 | ||||
* | [ms-style asm] Change the fatal error to an extension warning. Apparently, this | Chad Rosier | 2012-06-20 | 1 | -2/+1 |
| | | | | | | | error was asserting on anything that included Windows.h. MS-style inline asm is still dropped, but at least now we're not completely silent about it. llvm-svn: 158833 | ||||
* | Whitespace. | Chad Rosier | 2012-06-20 | 1 | -33/+32 |
| | | | | llvm-svn: 158830 | ||||
* | Make CodeGenFunction::EmitMSAsmStmt throw a fatal error as MS-style inline | Chad Rosier | 2012-06-11 | 1 | -37/+2 |
| | | | | | | assembly is completely untested and unsupported. llvm-svn: 158329 | ||||
* | Etch out the code path for MS-style inline assembly. | Chad Rosier | 2012-06-11 | 1 | -0/+41 |
| | | | | llvm-svn: 158325 | ||||
* | Spacing. | Chad Rosier | 2012-05-01 | 1 | -1/+1 |
| | | | | llvm-svn: 155931 | ||||
* | Add an AttributedStmt type to represent a statement with C++11 attributes | Richard Smith | 2012-04-14 | 1 | -0/+7 |
| | | | | | | | | | attached. Since we do not support any attributes which appertain to a statement (yet), testing of this is necessarily quite minimal. Patch by Alexander Kornienko! llvm-svn: 154723 | ||||
* | For debug and coverage analysis if we're not optimizing go ahead | Eric Christopher | 2012-04-10 | 1 | -1/+1 |
| | | | | | | | | | and emit a relatively empty block for a plain break statement. This enables us to track where we went through a switch. PR9796 & rdar://11215207 llvm-svn: 154420 | ||||
* | EmitStopPoint already checks if we have debug info. | Eric Christopher | 2012-04-10 | 1 | -1/+1 |
| | | | | llvm-svn: 154384 | ||||
* | Tidy. | Eric Christopher | 2012-04-10 | 1 | -2/+2 |
| | | | | llvm-svn: 154383 | ||||
* | Revert r153613 as it's causing large compile-time regressions on the nightly ↵ | Chad Rosier | 2012-03-29 | 1 | -4/+2 |
| | | | | | | testers. llvm-svn: 153660 | ||||
* | When we can't prove that the target of an aggregate copy is | John McCall | 2012-03-28 | 1 | -2/+4 |
| | | | | | | | a complete object, the memcpy needs to use the data size of the structure instead of its sizeof() value. Fixes PR12204. llvm-svn: 153613 |