summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Reorganize predefined macros for all Windows targets.Michael J. Spencer2010-10-2110-55/+110
| | | | | | | | | | This adds an option to set the _MSC_VER macro without recompiling. This is very useful when testing compatibility with the Windows SDK and c++stdlib headers. -fmsc-version=<version> (defaults to VS2003 (1300)) llvm-svn: 116999
* Removing stale AsmPrinter directory from MicroBlaze backend.Wesley Peck2010-10-212-312/+0
| | | | llvm-svn: 116998
* Deleted lib/Target/MBlaze/AsmPrinter/CMakeLists.txt. This way theOscar Fuentes2010-10-211-9/+0
| | | | | | | CMake build does not try to build that library, which collides with MBlaze/InstPrinter. llvm-svn: 116997
* Previously, the printf warnings would say your arguments type was 'int' when ↵Ted Kremenek2010-10-213-4/+29
| | | | | | | | | | it was really a 'char' or a 'short'. This fixes that and allows the hints to suggest 'h' modifiers for small ints. Patch by Justin Bogner! llvm-svn: 116996
* Remove unused variable.Ted Kremenek2010-10-211-1/+0
| | | | llvm-svn: 116995
* putback r116782, it's a safe fix and should not break windowsAndrew Trick2010-10-211-1/+4
| | | | llvm-svn: 116994
* Recommit 116986 with capitalization typo fixed.Wesley Peck2010-10-2136-707/+2208
| | | | llvm-svn: 116993
* putback r116983 and fix simple-fp-encoding.ll testsAndrew Trick2010-10-216-18/+53
| | | | llvm-svn: 116992
* Reverting the commit 116986. It was breaking the build on llvm-x86_64-linux ↵Wesley Peck2010-10-2137-1922/+742
| | | | | | | | | though it compiles on OS X. I'll ensure that it builds on a linux machine before committing again. llvm-svn: 116991
* Fix Whitespace.Michael J. Spencer2010-10-218-147/+147
| | | | llvm-svn: 116990
* Revert "Cleanup and fix predefined macros for windows."Michael J. Spencer2010-10-211-72/+53
| | | | | | Didn't realize this was on my branch ;/. llvm-svn: 116989
* Cleanup and fix predefined macros for windows.Michael J. Spencer2010-10-211-53/+72
| | | | llvm-svn: 116988
* Revert r116983, which is breaking all the buildbots.Owen Anderson2010-10-215-41/+6
| | | | llvm-svn: 116987
* Major update of the MicroBlaze backend. The new features are:Wesley Peck2010-10-2137-742/+1922
| | | | | | | | | | | | | | | | | | | | 1. A delay slot filler that searches for valid instructions to fill the delay slot with. Previously NOPs would always be inserted into delay slots. 2. Support for MC based instruction printer added. 3. Support for MC based machine code generation and ELF file generation. ELF file generation does not yet completely work as much of the ELF support infrastructure is still x86/x86-64 specific. 4. General clean up of the MBlaze backend code. Much of the tablegen code has been cleanup and simplified. Bug Fixes: 1. Removed duplicate periods from subtarget feature descriptions. 2. Many of the instructions had bad machine code information in the tablegen files. Much of this has been fixed. llvm-svn: 116986
* Adding the EM_MBLAZE value to the machine architectures enumeration toWesley Peck2010-10-211-15/+16
| | | | | | support future ELF file generation by the MBlaze backend. llvm-svn: 116985
* X86: Add alloca probing to dynamic alloca on Windows. Fixes PR8424.Michael J. Spencer2010-10-214-23/+26
| | | | llvm-svn: 116984
* Add missing scheduling itineraries for transfers between core registers and ↵Evan Cheng2010-10-215-6/+41
| | | | | | VFP registers. llvm-svn: 116983
* Get rid of the microsecond field in the timestamp directory name used to ↵Johnny Chen2010-10-211-0/+3
| | | | | | | | | | dump the session information files to. This makes the directory name less intimidating. Currently, the directory only gets created if there are failures/errors while running the test suite. llvm-svn: 116982
* Implement correct encodings for NEON vadd, both integer and floating point.Owen Anderson2010-10-212-6/+88
| | | | llvm-svn: 116981
* Add an example of option combination for running a single test method to the ↵Johnny Chen2010-10-211-0/+16
| | | | | | help text. llvm-svn: 116980
* Pass TInfo to CXXDestructorDecl::Create(), just like we do for otherCraig Silverstein2010-10-216-13/+13
| | | | | | | | function decls. Reviewed by rjmccall and nlewycky. llvm-svn: 116979
* CodeGen-Windows: Only emit _fltused if a VarArg function is called with ↵Michael J. Spencer2010-10-214-15/+14
| | | | | | | | floating point args. This should be the minimum set of functions that could possibly need it. llvm-svn: 116978
* Custom lower f64 args passed in integer registers.Eric Christopher2010-10-211-0/+15
| | | | llvm-svn: 116977
* revert r116782 & r116793 to fix msvc9 buildbotsAndrew Trick2010-10-201-5/+2
| | | | llvm-svn: 116976
* When implicit members are added to a C++ record, notify the serializer so ↵Argyrios Kyrtzidis2010-10-201-0/+7
| | | | | | | | that a chained PCH writes the definition again. Thanks to Doug for the hint! llvm-svn: 116975
* Modify the assumptions of an assert; the updated latest redeclaration can ↵Argyrios Kyrtzidis2010-10-201-6/+6
| | | | | | | | have the same location if it's a template specialization pointing at the template. llvm-svn: 116974
* Remove obsolete GRAuditor and GRSimpleAPICheck, which have been completely ↵Ted Kremenek2010-10-206-167/+2
| | | | | | subsumed by the Checker interface. llvm-svn: 116973
* Fix Whitespace.Michael J. Spencer2010-10-203-138/+138
| | | | llvm-svn: 116972
* Convert GRSimpleAPIChecks in BasicObjCFoundationChecks to be Checkers.Ted Kremenek2010-10-203-263/+185
| | | | llvm-svn: 116971
* Add encoding for moving a value between two ARM core registers and a doubleworkBill Wendling2010-10-202-6/+36
| | | | | | extension register. llvm-svn: 116970
* Initial check in of best-practice documentation for building test cases.Johnny Chen2010-10-201-0/+39
| | | | llvm-svn: 116964
* Fixed a crasher that could happen if a FileSpec had a filename only, or viceGreg Clayton2010-10-202-17/+16
| | | | | | versa. llvm-svn: 116963
* Remember to keep track of rematted values.Jakob Stoklund Olesen2010-10-201-0/+1
| | | | llvm-svn: 116962
* Add encodings for movement between ARM core registers and single-precisionBill Wendling2010-10-203-46/+127
| | | | | | registers. llvm-svn: 116961
* Memdep says that an instruction clobbers itselfDan Gohman2010-10-201-1/+4
| | | | | | when it means there is no specific clobber instruction. llvm-svn: 116960
* Attempt to fix valgrind complaining about (benign) leaks in pass ↵Owen Anderson2010-10-203-11/+26
| | | | | | | | registration by having PassRegistry delete PassInfo objects that were created using new-style initialization. llvm-svn: 116959
* Factor out the main aliasing check into a separate function.Dan Gohman2010-10-201-24/+39
| | | | llvm-svn: 116958
* Add some comments.Dan Gohman2010-10-201-0/+4
| | | | llvm-svn: 116957
* More accurate estimate / tracking of register pressure.Evan Cheng2010-10-203-66/+136
| | | | | | | | | | - Initial register pressure in the loop should be all the live defs into the loop. Not just those from loop preheader which is often empty. - When an instruction is hoisted, update register pressure from loop preheader to the original BB. - Treat only use of a virtual register as kill since the code is still SSA. llvm-svn: 116956
* Fix crash introduced in 116852. 8573915.Dale Johannesen2010-10-202-2/+20
| | | | llvm-svn: 116955
* Fix comments; the type graph is currently a tree, not a DAG.Dan Gohman2010-10-201-3/+3
| | | | llvm-svn: 116954
* Cut unneeded global variable.Jason W Kim2010-10-201-2/+0
| | | | llvm-svn: 116953
* Extend the preprocessing record and libclang with support forDouglas Gregor2010-10-2019-46/+342
| | | | | | | | | inclusion directives, keeping track of every #include, #import, etc. in the translation unit. We keep track of the source location and kind of the inclusion, how the file name was spelled, and the underlying file to which the inclusion resolved. llvm-svn: 116952
* Move some of the InlineSpiller rematerialization code into LiveRangeEdit.Jakob Stoklund Olesen2010-10-203-41/+148
| | | | llvm-svn: 116951
* Add more bug info.Johnny Chen2010-10-201-0/+3
| | | | llvm-svn: 116950
* Fixed a typo in the comment.Johnny Chen2010-10-201-1/+1
| | | | llvm-svn: 116949
* Fixed a crasher. The cmd_file needs to be resolved before reading lines ↵Johnny Chen2010-10-201-1/+1
| | | | | | from it. llvm-svn: 116948
* Remove Synthesizable from the Type system; as MMX vectorDale Johannesen2010-10-204-27/+13
| | | | | | | types are no longer Legal on X86, we don't need it. No functional change. 8499854. llvm-svn: 116947
* Call clang_disposeTokens() when we are done with the set of tokens.Ted Kremenek2010-10-201-0/+1
| | | | llvm-svn: 116946
* Get FunctionDecl to recurse on FunctionTypeLoc rather thanCraig Silverstein2010-10-201-76/+17
| | | | | | | | | | | | | | | | | | | | FunctionType! I didn't realize it was available, until rjmccall pointed out that DeclaratorDecl made the typeloc available. This makes FunctionDecl recursion *much* easier, because the typeloc can take care of default parameters, so we no longer have to do that separately, which means we can just do a normal type traversal instead of this special-case WalkUp stuff we did before. The only downside -- and it's minor -- is that because the TypeLoc handles both the return type and the argument types, we can't recurse on the explicit template args in the right place (which would be between them). I do it beforehand instead. So for int MyFunc<float>(char x); we get callbacks in the order: float, int, char. Reviewed by chandlerc llvm-svn: 116945
OpenPOWER on IntegriCloud