- Oct 22, 2013
-
-
Bob Wilson authored
collectLineCounts() should only organize the output data. This is done in anticipation of subsequent changes which will pass in GCNO and GCDA filenames into the print function where it is printed similar to the gcov output. Patch by Yuchen Wu! llvm-svn: 193134
-
Andrew Kaylor authored
llvm-svn: 193131
-
Eric Christopher authored
llvm-svn: 193130
-
David Blaikie authored
DWARF Type Hashing: Include reference and rvalue reference type in the declarable summary hashing path More support for 7.25 Part 5. llvm-svn: 193129
-
David Blaikie authored
There are several other tag types that need similar handling but to ensure test coverage they'll be coming incrementally. llvm-svn: 193126
-
- Oct 21, 2013
-
-
Chad Rosier authored
llvm-svn: 193117
-
Tom Stellard authored
v2: - Use CI->cannotDuplicate() llvm-svn: 193115
-
Matt Arsenault authored
llvm-svn: 193113
-
Matt Arsenault authored
llvm-svn: 193111
-
Matt Arsenault authored
llvm-svn: 193109
-
Matt Arsenault authored
llvm-svn: 193107
-
Reid Kleckner authored
llvm-svn: 193106
-
David Blaikie authored
This uses a map, keeping the type DIE numbering separate from the DIEs themselves - alternatively we could do things the way GCC does if we want to add an integer to the DIE type to record the numbering there. llvm-svn: 193105
-
Matt Arsenault authored
llvm-svn: 193104
-
Matt Arsenault authored
The test before wasn't successfully testing this since it was missing the datalayout piece to change the size of the second address space. llvm-svn: 193102
-
Matt Arsenault authored
llvm-svn: 193097
-
Lang Hames authored
the instruction defenitions and ISEL reflect this. Prior to this patch these instructions took an i32i8imm, and the high bits were dropped during encoding. This led to incorrect behavior for shifts by immediates higher than 255. This patch fixes that issue by detecting large immediate shifts and returning constant zero (for logical shifts) or capping the shift amount at an encodable value (for arithmetic shifts). Fixes <rdar://problem/14968098> llvm-svn: 193096
-
Eric Christopher authored
llvm-svn: 193095
-
Andrew Kaylor authored
llvm-svn: 193094
-
David Blaikie authored
This allows various variables to be more self-documenting and easier to debug by being of specific types without overlapping enum values. Precommit review by Eric Christopher. llvm-svn: 193091
-
Rafael Espindola authored
When a linkonce_odr value that is on the dso list is not unnamed_addr we can still look to see if anything is actually using its address. If not, it is safe to hide it. This patch implements that by moving GlobalStatus to Transforms/Utils and using it in Internalize. llvm-svn: 193090
-
David Blaikie authored
Found while adding type safety to the various DWARF enumerations (form, attribute, tag, etc) that caused Clang to warn on an incompletely covered switch. Converting the comment to a default/unreachable uncovered this case of an unsupported form encoding. Seems we were skipping fission strings entirely. llvm-svn: 193089
-
Elena Demikhovsky authored
llvm-svn: 193083
-
Matheus Almeida authored
llvm-svn: 193082
-
Matheus Almeida authored
llvm-svn: 193081
-
Matheus Almeida authored
llvm-svn: 193080
-
Matheus Almeida authored
These instructions are logically related as they allow read/write of MSA control registers. Currently MSA control registers are emitted by number but hopefully that will change as soon as GAS starts accepting them by name as that would make the assembly easier to read. llvm-svn: 193078
-
Matheus Almeida authored
llvm-svn: 193077
-
Matheus Almeida authored
The second parameter of the SLD intrinsic is the number of columns (GPR) to slide left the source array. llvm-svn: 193076
-
Michael Gottesman authored
Additionally some small comment/stylistic fixes are included as well. llvm-svn: 193068
-
Bill Wendling authored
A landing pad can be jumped to only by the unwind edge of an invoke instruction. If we eliminate a partially redundant load in a landing pad, it will create a basic block that violates this constraint. It then leads to other problems down the line if it tries to merge that basic block with the landing pad. Avoid this by not eliminating the load in a landing pad. PR17621 llvm-svn: 193064
-
- Oct 20, 2013
-
-
Michael Gottesman authored
One optimization simplify-cfg performs is the converting of switches to lookup tables if the switch has > 4 cases. This is done by: 1. Finding the max/min case value and calculating the switch case range. 2. Create a lookup table basic block. 3. Perform a check in the switch's BB to see if the input value is in the switch's case range. If the input value satisfies said predicate branch to the lookup table BB, otherwise branch to the switch's default destination BB using the default value as the result. The conditional check consists of subtracting the min case value of the table from any input iN value and then ensuring that said value is unsigned less than the size of the lookup table represented as an iN value. If the lookup table is a covered lookup table, the size of the table will be N which is 0 as an iN value. Thus the comparison will be an `icmp ult` of an iN value against 0 which is always false yielding the incorrect result. This patch fixes this problem by recognizing if we have a covered lookup table and if we do, unconditionally jumps to the lookup table BB since the covering property of the lookup table implies no input values could not be handled by said BB. rdar://15268442 llvm-svn: 193045
-
Peter Collingbourne authored
This ensures that the prefix data is treated as part of the function for the purpose of debug info. This provides a better debugging experience, among other things by allowing a debug info client to correctly look up a function in debug info given a function pointer. llvm-svn: 193042
-
Peter Collingbourne authored
r182712 attempted to do this, but it failed to handle data emitted via EmitBytes. llvm-svn: 193041
-
- Oct 19, 2013
-
-
Benjamin Kramer authored
llvm-svn: 193038
-
Bill Wendling authored
If the predecessor's being spliced into a landing pad, then we need the PHIs to come first and the rest of the predecessor's code to come *after* the landing pad instruction. llvm-svn: 193035
-
Yaron Keren authored
llvm-svn: 193034
-
Yaron Keren authored
llvm-svn: 193033
-
Eric Christopher authored
llvm-svn: 193024
-
Eric Christopher authored
llvm-svn: 193023
-