Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Convert to using the Attributes::Builder interface. | Bill Wendling | 2012-10-09 | 1 | -0/+16 | |
| | | | | llvm-svn: 165465 | |||||
* | Use the Attributes::Builder to build the attributes in the parser. | Bill Wendling | 2012-10-08 | 1 | -0/+22 | |
| | | | | llvm-svn: 165458 | |||||
* | Convert the LLVM parser over to using the new Attributes::Builder to build its | Bill Wendling | 2012-10-08 | 1 | -0/+6 | |
| | | | | | | attributes objects. llvm-svn: 165436 | |||||
* | Begin the transition to using the AttributesImpl object for the Attributes ivar. | Bill Wendling | 2012-10-08 | 3 | -104/+171 | |
| | | | | | | | | | | | Start using the AttributesImpl object to hold the value of the attributes. All queries go through the interfaces now. This has one unfortunate consequence. I needed to move the AttributesImpl.h file into include/llvm. But this is only temporary! Otherwise, the changes needed to support this would be too large. llvm-svn: 165433 | |||||
* | Move TargetData to DataLayout. | Micah Villmow | 2012-10-08 | 2 | -2/+2 | |
| | | | | llvm-svn: 165402 | |||||
* | Move more methods out-of-line. This is in preparation for changing the internal | Bill Wendling | 2012-10-07 | 1 | -0/+28 | |
| | | | | | | contents of the Attributes class over to an AttributesImpl. llvm-svn: 165373 | |||||
* | Implement TargetData with the DataLayout class, this will allow LLVM ↵ | Micah Villmow | 2012-10-05 | 1 | -2/+2 | |
| | | | | | | projects to transition to DataLayout without loosing functionality. llvm-svn: 165318 | |||||
* | Move methods out-of-line. | Bill Wendling | 2012-10-05 | 1 | -13/+210 | |
| | | | | | | | | | The internal representation of the Attributes class will be opaque. All of the query methods will need to query the opaque class. Therefore, these methods need to be out-of-line. No functionality change intended. llvm-svn: 165305 | |||||
* | Use method to query for attributes. | Bill Wendling | 2012-10-05 | 1 | -1/+1 | |
| | | | | llvm-svn: 165304 | |||||
* | Make sure to generate the right kind of MDNode for enum forward declarations. | Eli Friedman | 2012-10-05 | 1 | -6/+7 | |
| | | | | | | PR14029, LLVM part. llvm-svn: 165288 | |||||
* | Rename the Target specific passes in the DataLayout class to be Target agnostic. | Micah Villmow | 2012-10-04 | 1 | -48/+48 | |
| | | | | llvm-svn: 165270 | |||||
* | Resubmit the copying of TargetData to DataLayout without any changes to the ↵ | Micah Villmow | 2012-10-04 | 2 | -0/+666 | |
| | | | | | | files, this should fix the problems and the changes to rename to DataLayout will come next. llvm-svn: 165262 | |||||
* | Backing out my changes, something screwed up from my patches, starting over. | Micah Villmow | 2012-10-04 | 2 | -666/+0 | |
| | | | | llvm-svn: 165253 | |||||
* | Rename TargetData to DataLayout in DataLayout.cpp. This should fix a build ↵ | Micah Villmow | 2012-10-04 | 1 | -33/+33 | |
| | | | | | | failure from r165249 where the wrong version of the file was submitted. llvm-svn: 165251 | |||||
* | Create the DataLayout class, as a direct copy of TargetData. | Micah Villmow | 2012-10-04 | 2 | -0/+666 | |
| | | | | llvm-svn: 165249 | |||||
* | Accidently checked in the files, only wanted to copy them. | Micah Villmow | 2012-10-04 | 1 | -665/+0 | |
| | | | | llvm-svn: 165244 | |||||
* | (no commit message) | Micah Villmow | 2012-10-04 | 1 | -0/+665 | |
| | | | | llvm-svn: 165243 | |||||
* | Add method to query for NoCapture attribute. | Bill Wendling | 2012-10-04 | 1 | -0/+16 | |
| | | | | llvm-svn: 165212 | |||||
* | Use method to query for attributes. | Bill Wendling | 2012-10-04 | 1 | -9/+9 | |
| | | | | llvm-svn: 165209 | |||||
* | Add method to query for 'NoAlias' attribute on call/invoke instructions. | Bill Wendling | 2012-10-04 | 1 | -0/+16 | |
| | | | | llvm-svn: 165208 | |||||
* | Add methods which query for the specific attribute instead of using the | Bill Wendling | 2012-10-03 | 1 | -0/+96 | |
| | | | | | | enums. This allows for better encapsulation of the Attributes class. llvm-svn: 165132 | |||||
* | Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. ↵ | Sylvestre Ledru | 2012-09-27 | 4 | -4/+4 | |
| | | | | | | See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767 llvm-svn: 164768 | |||||
* | Fix a typo 'iff' => 'if' | Sylvestre Ledru | 2012-09-27 | 4 | -4/+4 | |
| | | | | llvm-svn: 164767 | |||||
* | Add IRBuilder code for adding !tbaa.struct metadata tags to llvm.memcpy calls. | Dan Gohman | 2012-09-26 | 1 | -1/+5 | |
| | | | | llvm-svn: 164728 | |||||
* | Query the parameter attributes directly instead of using the Attribute symbols. | Bill Wendling | 2012-09-26 | 1 | -5/+5 | |
| | | | | llvm-svn: 164727 | |||||
* | Initial commit for the AttributesImpl class. | Bill Wendling | 2012-09-26 | 4 | -1/+84 | |
| | | | | | | | | This opaque class will contain all of the attributes. All attribute queries will go through this object. This object will also be uniqued in the LLVMContext. Currently not used, so no implementation change. llvm-svn: 164722 | |||||
* | Replace calls to getSizeInBits with getExtendedSizeInBits since its already ↵ | Craig Topper | 2012-09-26 | 1 | -7/+7 | |
| | | | | | | known its an extended type. llvm-svn: 164667 | |||||
* | Move Attribute::typeIncompatible inside of the Attributes class. | Bill Wendling | 2012-09-25 | 2 | -5/+6 | |
| | | | | llvm-svn: 164629 | |||||
* | Don't do actual work inside an assert statement. Fixes PR11760! | Nick Lewycky | 2012-09-23 | 1 | -4/+6 | |
| | | | | llvm-svn: 164474 | |||||
* | Add LLVM_OVERRIDE to methods that override their base classes. | Craig Topper | 2012-09-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 164471 | |||||
* | Encapsulate the "construct*AlignmentFromInt" functions. | Bill Wendling | 2012-09-21 | 1 | -2/+2 | |
| | | | | llvm-svn: 164373 | |||||
* | Make the 'get*AlignmentFromAttr' functions into member functions within the ↵ | Bill Wendling | 2012-09-21 | 1 | -7/+8 | |
| | | | | | | Attributes class. Now with fix. llvm-svn: 164370 | |||||
* | Revert r164308 to fix buildbots. | Bill Wendling | 2012-09-20 | 1 | -8/+7 | |
| | | | | llvm-svn: 164309 | |||||
* | Make the 'get*AlignmentFromAttr' functions into member functions within the ↵ | Bill Wendling | 2012-09-20 | 1 | -7/+8 | |
| | | | | | | Attributes class. llvm-svn: 164308 | |||||
* | Remove more bare uses of the different Attribute enums. | Bill Wendling | 2012-09-20 | 1 | -6/+6 | |
| | | | | llvm-svn: 164307 | |||||
* | Make the 'getAsString' function a method of the Attributes class. | Bill Wendling | 2012-09-20 | 3 | -48/+48 | |
| | | | | llvm-svn: 164305 | |||||
* | Convert some attribute existence queries over to use the predicate methods. | Bill Wendling | 2012-09-19 | 2 | -27/+27 | |
| | | | | llvm-svn: 164268 | |||||
* | Add in new data types that are used by AMDIL/ANL among others. | Micah Villmow | 2012-09-19 | 1 | -0/+20 | |
| | | | | llvm-svn: 164261 | |||||
* | Add support for accessing an MDNode's operands via the C binding. Patch by | Duncan Sands | 2012-09-19 | 1 | -0/+13 | |
| | | | | | | Anthony Bryant. llvm-svn: 164247 | |||||
* | whitespace. | Nadav Rotem | 2012-09-19 | 1 | -9/+0 | |
| | | | | llvm-svn: 164203 | |||||
* | Mark unimplemented copy constructors and copy assignment operators as ↵ | Craig Topper | 2012-09-18 | 1 | -2/+2 | |
| | | | | | | LLVM_DELETED_FUNCTION. llvm-svn: 164090 | |||||
* | Use LLVM_DELETED_FUNCTION in place of 'DO NOT IMPLEMENT' comments. | Craig Topper | 2012-09-15 | 2 | -13/+13 | |
| | | | | llvm-svn: 163974 | |||||
* | Define an official slot for the new !tbaa.struct metadata tag. | Dan Gohman | 2012-09-13 | 1 | -0/+5 | |
| | | | | llvm-svn: 163815 | |||||
* | Unify the emission of the calling conventions into a single function to ↵ | Micah Villmow | 2012-09-13 | 1 | -42/+27 | |
| | | | | | | reduce code duplication. llvm-svn: 163805 | |||||
* | Recommit, with fixes: | Eric Christopher | 2012-09-12 | 1 | -0/+24 | |
| | | | | | | | | | | | Add some support for dealing with an object pointer on arguments. Part of rdar://9797999 which now supports adding the object pointer attribute to the subprogram as it should. llvm-svn: 163754 | |||||
* | Revert "Add some support for dealing with an object pointer on arguments." | Eric Christopher | 2012-09-12 | 1 | -24/+0 | |
| | | | | | | This should be done on the subprogram, not the variable itself. llvm-svn: 163734 | |||||
* | When calling print directly on a global (eg from the debugger) it | Duncan Sands | 2012-09-12 | 1 | -3/+3 | |
| | | | | | | | | | was printing a newline that doesn't occur when printing other kinds of LLVM values. Move the printing of that newline elsewhere, making globals print the same as other values while leaving the output when printing an entire module unchanged. Patch by Saša Tomić. llvm-svn: 163693 | |||||
* | Add some support for dealing with an object pointer on arguments. | Eric Christopher | 2012-09-12 | 1 | -0/+24 | |
| | | | | | | Part of rdar://9797999 llvm-svn: 163667 | |||||
* | c bindings: revert LLVMConstInlineAsm to always use the default asm dialect. | Benjamin Kramer | 2012-09-10 | 1 | -4/+2 | |
| | | | | | | | | - The C API should be stable - InlineAsm::AsmDialect is not exposed to C - The function didn't match the prototype so this was unreachable code llvm-svn: 163502 | |||||
* | Stop casting away const qualifier needlessly. | Roman Divacky | 2012-09-05 | 1 | -1/+1 | |
| | | | | llvm-svn: 163258 |