summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenTBAA.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Pull the Attr iteration parts out of Attr.h, so including DeclBase.h doesn't ↵Benjamin Kramer2012-12-011-2/+3
| | | | | | | | | pull in all the generated Attr code. Required to pull some functions out of line, but this shouldn't have a perf impact. No functionality change. llvm-svn: 169092
* Add basic support for adding !tbaa.struct metadata on llvm.memcpy calls forDan Gohman2012-09-281-0/+57
| | | | | | struct assignment. llvm-svn: 164853
* Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. ↵Sylvestre Ledru2012-09-271-1/+1
| | | | | | See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164766 llvm-svn: 164769
* Fix a typo 'iff' => 'if'Sylvestre Ledru2012-09-271-1/+1
| | | | llvm-svn: 164766
* Remove unused private member variables found by clang's new ↵Benjamin Kramer2012-06-061-2/+1
| | | | | | -Wunused-private-field. llvm-svn: 158086
* enable TBAA when -fthread-sanitizer is given, even with -O0 or ↵Kostya Serebryany2012-04-241-1/+8
| | | | | | -relaxed-aliasing llvm-svn: 155430
* Adjust for LLVM name tweaks requested by Chandler.Duncan Sands2012-04-161-6/+6
| | | | llvm-svn: 154824
* Use MDBuilder to help with metadata creation.Duncan Sands2012-04-151-29/+7
| | | | llvm-svn: 154767
* add tbaa metadata to vtable pointer loads/storesKostya Serebryany2012-03-261-0/+4
| | | | llvm-svn: 153447
* Revert my patches which removed Diagnostic.h includes by moving some ↵Benjamin Kramer2012-02-071-1/+0
| | | | | | | | | | | | | | | | | | operator overloads out of line. This seems to negatively affect compile time onsome ObjC tests (which use a lot of partial diagnostics I assume). I have to come up with a way to keep them inline without including Diagnostic.h everywhere. Now adding a new diagnostic requires a full rebuild of e.g. the static analyzer which doesn't even use those diagnostics. This reverts commit 6496bd10dc3a6d5e3266348f08b6e35f8184bc99. This reverts commit 7af19b817ba964ac560b50c1ed6183235f699789. This reverts commit fdd15602a42bbe26185978ef1e17019f6d969aa7. This reverts commit 00bd44d5677783527d7517c1ffe45e4d75a0f56f. This reverts commit ef9b60ffed980864a8db26ad30344be429e58ff5. llvm-svn: 150006
* Basic: import SmallString<> into clang namespaceDylan Noblesmith2012-02-051-1/+1
| | | | | | | (I was going to fix the TODO about DenseMap too, but that would break self-host right now. See PR11922.) llvm-svn: 149799
* Move various diagnostic operator<< overloads out of line and remove includes ↵Benjamin Kramer2012-02-041-0/+1
| | | | | | | | | of Diagnostic.h. Fix all the files that depended on transitive includes of Diagnostic.h. With this patch in place changing a diagnostic no longer requires a full rebuild of the StaticAnalyzer. llvm-svn: 149781
* remove unneeded llvm:: namespace qualifiers on some core types now that ↵Chris Lattner2011-07-231-1/+1
| | | | | | | | LLVM.h imports them into the clang namespace. llvm-svn: 135852
* Migrate LLVM and Clang to use the new makeArrayRef(...) functions where ↵Frits van Bommel2011-07-181-1/+1
| | | | | | | | previously explicit non-default constructors were used. Mostly mechanical with some manual reformatting. llvm-svn: 135390
* PR9214: Convert Metadata API to use ArrayRef.Jay Foad2011-04-211-1/+2
| | | | llvm-svn: 129929
* Support for C++11 (non-template) alias declarations.Richard Smith2011-04-151-1/+1
| | | | llvm-svn: 129567
* For consistency, use llvm::raw_ostream in the rest of the mangle api.Rafael Espindola2011-02-111-1/+3
| | | | llvm-svn: 125360
* Change QualType::getTypePtr() to return a const pointer, then change aJohn McCall2011-01-191-1/+1
| | | | | | thousand other things which were (generally inadvertantly) relying on that. llvm-svn: 123814
* Move name mangling support from CodeGen to AST. In thePeter Collingbourne2011-01-131-1/+1
| | | | | | | | | | | | | | process, perform a number of refactorings: - Move MiscNameMangler member functions to MangleContext - Remove GlobalDecl dependency from MangleContext - Make MangleContext abstract and move Itanium/Microsoft functionality to their own classes/files - Implement ASTContext::createMangleContext and have CodeGen use it No (intended) functionality change. llvm-svn: 123386
* Implement CodeGen support for the may_alias attribute.Dan Gohman2010-12-131-0/+21
| | | | llvm-svn: 121734
* Add infrastructure for emitting TBAA metadata with the "constant" flag.Dan Gohman2010-10-251-3/+14
| | | | llvm-svn: 117328
* Factor out the code for creating the Root and Char nodes, so thatDan Gohman2010-10-251-22/+30
| | | | | | they can be used outside of the main getTBAAInfo function. llvm-svn: 117320
* Rename clang's TBAA tree root from "experimental" to "simple".Dan Gohman2010-10-211-1/+1
| | | | llvm-svn: 117046
* Add some more comments.Dan Gohman2010-10-211-3/+16
| | | | llvm-svn: 117043
* Mention the paragraphs in the standards which sanction TBAA.Dan Gohman2010-10-151-1/+5
| | | | llvm-svn: 116617
* Use a different name for pointer types in tbaa, to be a littleDan Gohman2010-10-151-2/+3
| | | | | | more consistent with other names, and to look less like a magic name. llvm-svn: 116616
* Add a comment.Dan Gohman2010-10-151-1/+3
| | | | llvm-svn: 116615
* Fix a typo in a comment Frits van Bommel spotted.Dan Gohman2010-10-151-1/+1
| | | | llvm-svn: 116614
* Experimental TBAA support for enum types.Dan Gohman2010-10-151-3/+31
| | | | llvm-svn: 116613
* Add a comment about odd "signed char" incompatibility between C++ and C.Dan Gohman2010-10-151-1/+5
| | | | llvm-svn: 116593
* Add a TBAA type for pointer types.Dan Gohman2010-10-151-0/+4
| | | | llvm-svn: 116544
* Unsigned types are TBAA-compatible with their signed counterparts.Dan Gohman2010-10-141-4/+18
| | | | | | Also, handle unknown types conservatively. llvm-svn: 116541
* Experimental TBAA support.Dan Gohman2010-10-141-0/+68
This enables metadata generation by default, however the TBAA pass in the optimizer is still disabled for now. llvm-svn: 116536
OpenPOWER on IntegriCloud