| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 86085
|
| |
|
|
|
|
|
|
| |
an "assign expression", representing the expressions where the value
binding occurs and the assignment takes place respectively. These are
largely syntactic clues for better error reporting.
llvm-svn: 86084
|
| |
|
|
|
|
|
|
| |
Conditional operands are next.
Fixes part of rdar://problem/7289584.
llvm-svn: 86083
|
| |
|
|
|
|
| |
and compile with -mtriple to specify *-apple-darwin targets.
llvm-svn: 86081
|
| |
|
|
|
|
| |
instructions.
llvm-svn: 86080
|
| |
|
|
| |
llvm-svn: 86079
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MallocInst-autoupgrade users use non-TargetData-computed allocation sizes.
Optimization uses use TargetData to compute the allocation size.
Now that malloc calls can have constant sizes, update isArrayMallocHelper() to use TargetData to determine the size of the malloced type and the size of malloced arrays.
Extend getMallocType() to support malloc calls that have non-bitcast uses.
Update OptimizeGlobalAddressOfMalloc() to optimize malloc calls that have non-bitcast uses. The bitcast use of a malloc call has to be treated specially here because the uses of the bitcast need to be replaced and the bitcast needs to be erased (just like the malloc call) for OptimizeGlobalAddressOfMalloc() to work correctly.
Update PerformHeapAllocSRoA() to optimize malloc calls that have non-bitcast uses. The bitcast use of the malloc is not handled specially here because ReplaceUsesOfMallocWithGlobal replaces through the bitcast use.
Update OptimizeOnceStoredGlobal() to not care about the malloc calls' bitcast use.
Update all globalopt malloc tests to not rely on autoupgraded-MallocInsts, but instead use explicit malloc calls with correct allocation sizes.
llvm-svn: 86077
|
| |
|
|
| |
llvm-svn: 86076
|
| |
|
|
| |
llvm-svn: 86075
|
| |
|
|
|
|
|
|
| |
variants encoded as DIDerivedType appropriately.
This improves bitfield support.
llvm-svn: 86073
|
| |
|
|
| |
llvm-svn: 86071
|
| |
|
|
| |
llvm-svn: 86070
|
| |
|
|
| |
llvm-svn: 86068
|
| |
|
|
|
|
| |
Hans Wennborg!
llvm-svn: 86067
|
| |
|
|
|
|
| |
explicitly-specified template arguments, too!
llvm-svn: 86066
|
| |
|
|
| |
llvm-svn: 86065
|
| |
|
|
|
|
|
| |
aggressive testing of dynamic stack alignment.
Note that this is off by default, and enabled for LLCBETA nightly results.
llvm-svn: 86064
|
| |
|
|
|
|
| |
introduces no new function changes. Patch by Ken Dyck!
llvm-svn: 86062
|
| |
|
|
| |
llvm-svn: 86061
|
| |
|
|
|
|
|
|
|
| |
type of the object even when it is dependent. Specifically, this makes
sure that we get the right type for "this->", which is important when
performing name lookup into this scope to determine whether an
identifier or operator-function-id is a template name.
llvm-svn: 86060
|
| |
|
|
| |
llvm-svn: 86059
|
| |
|
|
| |
llvm-svn: 86057
|
| |
|
|
|
|
| |
saved instructions even if no stack adjustment for those saves is needed.
llvm-svn: 86056
|
| |
|
|
| |
llvm-svn: 86055
|
| |
|
|
|
|
| |
annonymous field that covers respective field.
llvm-svn: 86054
|
| |
|
|
| |
llvm-svn: 86053
|
| |
|
|
|
|
| |
Fixes PR5349.
llvm-svn: 86052
|
| |
|
|
| |
llvm-svn: 86050
|
| |
|
|
|
|
| |
sanity when constructing index list entries.
llvm-svn: 86049
|
| |
|
|
| |
llvm-svn: 86048
|
| |
|
|
| |
llvm-svn: 86047
|
| |
|
|
|
|
| |
not reason based on errno if NumRead has a different value.
llvm-svn: 86046
|
| |
|
|
| |
llvm-svn: 86045
|
| |
|
|
| |
llvm-svn: 86044
|
| |
|
|
| |
llvm-svn: 86043
|
| |
|
|
| |
llvm-svn: 86042
|
| |
|
|
|
|
|
|
| |
The KILL pseudo-instruction may survive to the asm printer pass, just like the IMPLICIT_DEF. Print the KILL as a comment instead of just leaving a blank line in the output.
With -asm-verbose=0, a blank line is printed, like IMPLICIT?DEF.
llvm-svn: 86041
|
| |
|
|
|
|
| |
ctor's initializer. Fixes pr5178.
llvm-svn: 86040
|
| |
|
|
|
|
| |
resizes in IPSCCP. This fixes PR5394.
llvm-svn: 86036
|
| |
|
|
|
|
| |
single typename annotation token when backtracing. Fixes PR5350.
llvm-svn: 86034
|
| |
|
|
|
|
| |
of array objects on block exit. Patch is by Anders Calrsson.
llvm-svn: 86032
|
| |
|
|
|
|
|
|
| |
types. Fixes PR5352.
Fariborz, please review.
llvm-svn: 86031
|
| |
|
|
|
|
| |
from Peter Collingbourne!
llvm-svn: 86030
|
| |
|
|
|
|
|
| |
should only look at -O0 IR output not -O3 assembly output. XFAIL it for
now.
llvm-svn: 86029
|
| |
|
|
|
|
|
| |
conversion-function-ids; all clients have moved on to
ParseUnqualifiedId.
llvm-svn: 86028
|
| |
|
|
| |
llvm-svn: 86027
|
| |
|
|
| |
llvm-svn: 86023
|
| |
|
|
|
|
|
|
| |
and extract_subreg as a "copy" that defines a valno.
Also fixes a typo. These two issues prevent a simple subreg coalescing from
happening before.
llvm-svn: 86022
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
to EmitGEPOffset.
Implement some new transforms for optimizing
subtracts of two pointer to ints into the same vector. This happens
for C++ iterator idioms for example, stringmap takes a const char*
that points to the start and end of a string. Once inlined, we want
the pointer difference to turn back into a length.
This is rdar://7362831.
llvm-svn: 86021
|
| |
|
|
| |
llvm-svn: 86020
|