summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a VEXT test.Johnny Chen2011-04-071-0/+3
| | | | llvm-svn: 129111
* Replace the old algorithm that emitted the "print the alias for an instruction"Bill Wendling2011-04-076-152/+88
| | | | | | | | | | | | | with the newer, cleaner model. It uses the IAPrinter class to hold the information that is needed to match an instruction with its alias. This also takes into account the available features of the platform. There is one bit of ugliness. The way the logic determines if a pattern is unique is O(N**2), which is gross. But in reality, the number of items it's checking against isn't large. So while it's N**2, it shouldn't be a massive time sink. llvm-svn: 129110
* If present, use gold's support for getting a file view. This prevents havingRafael Espindola2011-04-071-1/+12
| | | | | | to map the file both in the linker and in the plugin. llvm-svn: 129109
* Driver: Don't attempt to forward some Clang-only options to cc1.Daniel Dunbar2011-04-072-4/+11
| | | | llvm-svn: 129108
* Add option to emit @llvm.trap as a function call instead of a trap ↵Evan Cheng2011-04-072-4/+31
| | | | | | instruction. rdar://9249183. llvm-svn: 129107
* Add support for .skip.Rafael Espindola2011-04-072-1/+6
| | | | | | | Patch by Roman Divacky. Fixes PR9361. llvm-svn: 129106
* Fix indentation.Akira Hatanaka2011-04-071-2/+2
| | | | llvm-svn: 129105
* Update ATUsed every time after expandRegLargeImmPair is called.Akira Hatanaka2011-04-071-4/+8
| | | | llvm-svn: 129104
* Frontend/CC_LOG_DIAGNOSTICS: Fix thinko and open diag log in append mode.Daniel Dunbar2011-04-071-1/+1
| | | | llvm-svn: 129103
* Teach -Wuninitialized to not warn about variables declared in C++ catch ↵Ted Kremenek2011-04-072-0/+15
| | | | | | statements. llvm-svn: 129102
* Fixed encoding for VEXTqfMon P Wang2011-04-071-2/+2
| | | | llvm-svn: 129101
* Added a check in the preRA scheduler for potential interference on aAndrew Trick2011-04-075-10/+145
| | | | | | | | | induction variable. The preRA scheduler is unaware of induction vars, so we look for potential "virtual register cycles" instead. Fixes <rdar://problem/8946719> Bad scheduling prevents coalescing llvm-svn: 129100
* Fix handling of functions with internal linkage.Akira Hatanaka2011-04-072-8/+79
| | | | llvm-svn: 129099
* Add sanity checking for invalid register encodings for signed/unsigned ↵Johnny Chen2011-04-073-0/+22
| | | | | | | | extend instructions. Add some test cases. llvm-svn: 129098
* Fronted/CC_LOG_DIAGNOSTICS: Add test case.Daniel Dunbar2011-04-071-0/+29
| | | | llvm-svn: 129097
* Add sanity checking for invalid register encodings for saturating instructions.Johnny Chen2011-04-072-0/+16
| | | | llvm-svn: 129096
* Fronted/CC_LOG_DIAGNOSTICS: Wire up dwarf-debug-flags support.Daniel Dunbar2011-04-072-6/+15
| | | | llvm-svn: 129095
* Fronted/CC_LOG_DIAGNOSTICS: Output main file name, and add support forDaniel Dunbar2011-04-072-2/+27
| | | | | | outputting dwarf-debug-flags. llvm-svn: 129094
* Fronted/CC_LOG_DIAGNOSTICS: Tweak output form to be plist chunks, and don'tDaniel Dunbar2011-04-071-11/+25
| | | | | | output missing data. llvm-svn: 129093
* Recompute hasPHIKill flags when shrinking live intervals.Jakob Stoklund Olesen2011-04-071-1/+3
| | | | | | PHI values may be deleted, causing the flags to be wrong. This fixes PR9616. llvm-svn: 129092
* Frontend: Continue flushing out LogDiagnosticPrinter.Daniel Dunbar2011-04-072-8/+105
| | | | llvm-svn: 129091
* Add some more comments about checkings of invalid register numbers.Johnny Chen2011-04-073-0/+19
| | | | | | And two test cases. llvm-svn: 129090
* Frontend: Sketch a LogDiagnosticPrinter object, and wire CC_LOG_DIAGNOSTICS toDaniel Dunbar2011-04-074-0/+120
| | | | | | it. llvm-svn: 129089
* ChainedDiagnosticClient: Fix a bug where chained diagnostic clients wouldn'tDaniel Dunbar2011-04-071-0/+3
| | | | | | accurately track warning/error counts. llvm-svn: 129088
* Expose more passes to the C API.Rafael Espindola2011-04-072-0/+28
| | | | llvm-svn: 129087
* Frontend: Sketch support for -diagnostic-log-file, which still doesn't do ↵Daniel Dunbar2011-04-074-1/+11
| | | | | | anything. llvm-svn: 129086
* Enhance the Rewriter.Argyrios Kyrtzidis2011-04-072-11/+127
| | | | | | | -Allow removing a line completely if it ends up empty -Provide more control on what should be removed. llvm-svn: 129085
* Add FullSourceLoc::BeforeThanCompare. a comparison function class, useful ↵Argyrios Kyrtzidis2011-04-071-0/+9
| | | | | | for sorting FullSourceLocs. llvm-svn: 129084
* Driver: Sketch driver support for a CC_LOG_DIAGNOSTICS options, similar to theDaniel Dunbar2011-04-075-4/+27
| | | | | | | existing CC_PRINT_OPTIONS and CC_PRINT_HEADERS, which can be used to transparently capture the compiler diagnostics from a build. llvm-svn: 129082
* Avoid moving iterators when the previous block was just visited.Jakob Stoklund Olesen2011-04-071-8/+13
| | | | llvm-svn: 129081
* Prefer multiplications to divisions.Jakob Stoklund Olesen2011-04-071-7/+13
| | | | llvm-svn: 129080
* Extract SpillPlacement::addLinks for handling the special transparent blocks.Jakob Stoklund Olesen2011-04-073-37/+49
| | | | llvm-svn: 129079
* While hoisting common code from if/else, hoist debug info intrinsics if they ↵Devang Patel2011-04-072-8/+71
| | | | | | match. llvm-svn: 129078
* Prevent ARM DAG Combiner from doing an AND or OR combine on an illegal ↵Tanya Lattner2011-04-072-0/+24
| | | | | | vector type (vectors of size 3). Also included test cases. llvm-svn: 129074
* Fix a bit of nonsense.Jay Foad2011-04-071-2/+2
| | | | llvm-svn: 129073
* [Reapply r128776, modified so that it does not break debug info.]Ken Dyck2011-04-075-12/+18
| | | | | | | Change the return type of CodeGenVTables::getVirtualBaseOffsetOffset() to CharUnits. No change in functionality intended. llvm-svn: 129072
* Removed use of NSEC_PER_SEC.Stephen Wilson2011-04-072-6/+8
| | | | | | | | | NSEC_PER_SEC is not defined in sys/time.h on Linux. Replaced that macro with a static constant inside TimeValue. Patch by Marco Minutoli. llvm-svn: 129071
* Add a missing headerStephen Wilson2011-04-071-0/+2
| | | | | | | | | strtoul() is defined in stdlib.h and the header was missing in StringExtractor.cpp. Patch by Marco Minutoli! llvm-svn: 129070
* linux: remove ProcessLinux::FindProcessesStephen Wilson2011-04-072-11/+0
| | | | | | | | | | This method only needs to be overridden in the remote debugging case, the base class handles the host case. Since we do not do remote debugging on Linux yet and there is a typo that causes a build issue, just remove this method for now. llvm-svn: 129069
* In C++ the argument of logical not should always be bool. Added missing ↵Abramo Bagnara2011-04-074-15/+30
| | | | | | implicit cast for scalars. llvm-svn: 129066
* Basic, untested implementation for an "unknown any" type requested by LLDB.John McCall2011-04-0732-56/+308
| | | | | | | | | | | | The idea is that you can create a VarDecl with an unknown type, or a FunctionDecl with an unknown return type, and it will still be valid to access that object as long as you explicitly cast it at every use. I'm still going back and forth about how I want to test this effectively, but I wanted to go ahead and provide a skeletal implementation for the LLDB folks' benefit and because it also improves some diagnostic goodness for placeholder expressions. llvm-svn: 129065
* add faust tooChris Lattner2011-04-071-0/+14
| | | | llvm-svn: 129053
* add a few late stragglers.Chris Lattner2011-04-071-0/+30
| | | | llvm-svn: 129052
* Fixed a bug where missing EDInstInfo would causeSean Callanan2011-04-071-0/+3
| | | | | | tokenization to crash and burn. llvm-svn: 129051
* Sanity check MSRi for invalid mask values and reject it as invalid.Johnny Chen2011-04-072-0/+17
| | | | | | rdar://problem/9246844 llvm-svn: 129050
* PR9634: Don't unconditionally tell the AliasSetTracker that the PreheaderLoadEli Friedman2011-04-074-23/+45
| | | | | | | | | | | is equivalent to any other relevant value; it isn't true in general. If it is equivalent, the LoopPromoter will tell the AST the equivalence. Also, delete the PreheaderLoad if it is unused. Chris, since you were the last one to make major changes here, can you check that this is sane? llvm-svn: 129049
* [Reapply r128773. This is not the source of the issues Devang was seeingKen Dyck2011-04-072-6/+6
| | | | | | | | | with debug info.] Use CharUnits for the offsets in the VirtualBaseClassOffsetOffsetsMapTy. No change in functionality intended. llvm-svn: 129048
* The ARM disassembler was not recognizing USADA8 instruction. Need to add ↵Johnny Chen2011-04-072-3/+8
| | | | | | | | | | checking for register values for USAD8 and USADA8. rdar://problem/9247060 llvm-svn: 129047
* [Reapply r128771. It wasn't the source of the issues Devang saw with debugKen Dyck2011-04-071-4/+4
| | | | | | | | | info.] Use CharUnits for the offset type in the ClassNamesAndOffsets map in dumpLayout(). No change in functionality intended. llvm-svn: 129046
* Change -arm-divmod-libcall to a target neutral option.Evan Cheng2011-04-074-7/+12
| | | | llvm-svn: 129045
OpenPOWER on IntegriCloud