- Aug 23, 2013
-
-
Andrew Trick authored
llvm-svn: 189124
-
Andrew Trick authored
llvm-svn: 189123
-
Andrew Trick authored
llvm-svn: 189122
-
Andrew Trick authored
llvm-svn: 189121
-
Andrew Trick authored
Estimate the cyclic critical path within a single block loop. If the acyclic critical path is longer, then the loop will exhaust OOO resources after some number of iterations. If lag between the acyclic critical path and cyclic critical path is longer the the time it takes to issue those loop iterations, then aggressively schedule for latency. llvm-svn: 189120
-
Dmitri Gribenko authored
llvm-svn: 189119
-
Andrew Trick authored
This will be used to compute the cyclic critical path and to update precomputed per-node pressure differences. In the longer term, it could also be used to speed up LiveInterval update by avoiding visiting all global vreg users. llvm-svn: 189118
-
Andrew Trick authored
llvm-svn: 189117
-
Andrew Trick authored
This fixes a pathological compile time problem with very large blocks and lots of scheduling boundaries. llvm-svn: 189116
-
Dmitri Gribenko authored
llvm-svn: 189115
-
Howard Hinnant authored
Debug mode for string. This commit also marks the first time libc++ debug-mode has found a bug (found one in regex). Had to play with extern templates a bit to get this to work since string is heavily used within libc++.dylib. llvm-svn: 189114
-
Jordan Rose authored
llvm-svn: 189113
-
Robert Wilhelm authored
No functionality change intended. llvm-svn: 189112
-
Jim Cownie authored
llvm-svn: 189111
-
Jordan Rose authored
If the user has requested this warning, we should emit it, even if it's not an extension in the current language mode. However, being an extension is more important, so prefer the pedantic warning or the pedantic-compatibility warning if those are enabled. <rdar://problem/12922063> llvm-svn: 189110
-
Joey Gouly authored
llvm-svn: 189109
-
Daniel Jasper authored
This should be done, only if we are still in the unary expression's scope. Before: bool aaaa = !aaaaaaaa( // break aaaaaaaaaaa); *aaaaaa = aaaaaaa( // break aaaaaaaaaaaaaaaa); After: bool aaaa = !aaaaaaaa( // break aaaaaaaaaaa); // <- (unchanged) *aaaaaa = aaaaaaa( // break aaaaaaaaaaaaaaaa); // <- (no longer indented relative to "*") llvm-svn: 189108
-
Virgile Bello authored
llvm-svn: 189107
-
Daniel Sanders authored
llvm-svn: 189106
-
Evgeniy Stepanov authored
This test now covers LLVM r189104. llvm-svn: 189105
-
Evgeniy Stepanov authored
The code was erroneously reading overflow area shadow from the TLS slot, bypassing the local copy. Reading shadow directly from TLS is wrong, because it can be overwritten by a nested vararg call, if that happens before va_start. llvm-svn: 189104
-
Joey Gouly authored
llvm-svn: 189103
-
Daniel Jasper authored
.. in conjunction with Style.AlwaysBreakBeforeMultilineStrings. Also, simplify the implementation by handling newly split strings and already split strings by the same code. llvm-svn: 189102
-
Andrea Di Biagio authored
This function attribute indicates that the function is not optimized by any optimization or code generator passes with the exception of interprocedural optimization passes. llvm-svn: 189101
-
Richard Sandiford authored
Just the instructions and intrinsics for now. llvm-svn: 189100
-
Richard Sandiford authored
This allows us to make more use of the many compare reg,mem instructions. llvm-svn: 189099
-
Richard Sandiford authored
If we had a store of an integer to memory, and the integer and store size were suitable for a form of MV..., we used MV... no matter what. We could then have sequences like: lay %r2, 0(%r3,%r4) mvi 0(%r2), 4 In these cases it seems better to force the constant into a register and use a normal store: lhi %r2, 4 stc %r2, 0(%r3, %r4) since %r2 is more likely to be hoisted and is easier to rematerialize. llvm-svn: 189098
-
Richard Sandiford authored
...so that it can be used for z too. Most of the code is the same. The only real change is to use TargetTransformInfo to test when a sqrt instruction is available. The pass is opt-in because at the moment it only handles sqrt. llvm-svn: 189097
-
Tim Northover authored
I'd forgotten that "Requires" blocks override rather than add to the constraints, so my pseudo-instruction was being selected in Thumb mode leading to nonsense instructions. rdar://problem/14817358 llvm-svn: 189096
-
Daniel Sanders authored
llvm-svn: 189095
-
Daniel Jasper authored
Before, this was causing errors. Also exit early in breakProtrudingToken() (before the expensive call to SourceManager::getSpellingColumnNumber()). This makes formatting huge (100k+-item) braced lists possible. llvm-svn: 189094
-
Robert Lytton authored
llvm-svn: 189093
-
Alexey Samsonov authored
llvm-svn: 189092
-
Alexey Samsonov authored
llvm-svn: 189091
-
Pavel Labath authored
Summary: Instead of digging through the ExplodedGraph, to figure out which edge brought us here, I compute the value of conditional expression by looking at the sub-expression values. To do this, I needed to change the liveness algorithm a bit -- now, the full conditional expression also depends on all atomic sub-expressions, not only the outermost ones. Reviewers: jordan_rose CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1340 llvm-svn: 189090
-
Alexey Samsonov authored
Summary: This is a part of D1164. DWARFCompileUnit is not that lightweight to copy it around, and we want it to own corresponding .dwo compile unit eventually. Reviewers: echristo Reviewed By: echristo CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1298 llvm-svn: 189089
-
David Majnemer authored
llvm-svn: 189088
-
David Majnemer authored
Summary: There were two things known to be wrong with our implementation of MSVC mode template arguments: - We didn't properly handle __uuidof/CXXUuidofExpr and skipped all type checking completely. - We didn't allow for MSVC's extension of allowing certain constant "foldable" expressions from showing up in template arguments. They allow various casts dereference and address-of operations. We can make it more general as we find further peculiarities but this is the known extent. Reviewers: rsmith, doug.gregor, rjmccall Reviewed By: doug.gregor CC: cfe-commits, rnk Differential Revision: http://llvm-reviews.chandlerc.com/D1444 llvm-svn: 189087
-
NAKAMURA Takumi authored
lto/CMakeLists.txt: Cut the dep to intrinsics_gen. LTO doesn't depend on it and LTO_static doesn't depend on anything. llvm-svn: 189086
-
Jakob Stoklund Olesen authored
llvm-svn: 189085
-