|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| | llvm-svn: 297442 | 
| | 
| 
| 
| 
| 
| | Commits r291882 and related r291887.
llvm-svn: 292062 | 
| | 
| 
| 
| 
| 
| 
| | This was forgotten in r291882. Without this fix, the Polly build bots are
broken.
llvm-svn: 291887 | 
| | 
| 
| 
| 
| 
| | No functional change is intended.
llvm-svn: 276000 | 
| | 
| 
| 
| 
| 
| | No functionality change.
llvm-svn: 234963 | 
| | 
| 
| 
| | llvm-svn: 232998 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | -debug-pass is not specified, as the string is only used when dumping pass
information.  There is a big cost of determining the name in
ReginBase<Tr>:getNameStr() if the region's entry or exit block doesn't have a
name.  This is the case for the Release build, as names are not preserved by the
front-end.
RegionPass is mainly used by Polly, resulting in long compile time for one file
of a customer application with the Release build (1m24s) vs Release+Asserts
build (10s) when Polly is used.  With this change, the compile time with the
Release build went down to 8s.
Patch by Sanjin Sijaric <ssijaric@codeaurora.org>!
Phabricator: http://reviews.llvm.org/D8076
llvm-svn: 231485 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | utils/sort_includes.py.
I clearly haven't done this in a while, so more changed than usual. This
even uncovered a missing include from the InstrProf library that I've
added. No functionality changed here, just mechanical cleanup of the
include order.
llvm-svn: 225974 | 
| | 
| 
| 
| | llvm-svn: 213456 | 
| | 
| 
| 
| 
| 
| | Instead of asserting, output a message stating that a null pointer was found.
llvm-svn: 211430 | 
| | 
| 
| 
| 
| 
| 
| | never be true in a well-defined context.  The checking for null pointers
has been moved into the caller logic so it does not rely on undefined behavior.
llvm-svn: 210497 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | definition below all the header #include lines, lib/Analysis/...
edition.
This one has a bit extra as there were *other* #define's before #include
lines in addition to DEBUG_TYPE. I've sunk all of them as a block.
llvm-svn: 206843 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | lib/Analysis/IPA/InlineCost.cpp         |   18 ------------------
 lib/Analysis/RegionPass.cpp             |    1 -
 lib/Analysis/TypeBasedAliasAnalysis.cpp |    1 -
 lib/Transforms/Scalar/LoopUnswitch.cpp  |   21 ---------------------
 lib/Transforms/Utils/LCSSA.cpp          |    2 --
 lib/Transforms/Utils/LoopSimplify.cpp   |    6 ------
 utils/TableGen/AsmWriterEmitter.cpp     |   13 -------------
 utils/TableGen/DFAPacketizerEmitter.cpp |    7 -------
 utils/TableGen/IntrinsicEmitter.cpp     |    2 --
 9 files changed, 71 deletions(-)
llvm-svn: 206506 | 
| | 
| 
| 
| | llvm-svn: 206310 | 
| | 
| 
| 
| 
| 
| | instead of comparing to nullptr.
llvm-svn: 206243 | 
| | 
| 
| 
| 
| 
| | class.
llvm-svn: 202945 | 
| | 
| 
| 
| 
| 
| | This also switches the users in LLVM to ensure this functionality is tested.
llvm-svn: 202705 | 
| | 
| 
| 
| | llvm-svn: 162672 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | add a new Region::block_iterator which actually iterates over the basic
blocks of the region.
The old iterator, now call 'block_node_iterator' iterates over
RegionNodes which contain a single basic block. This works well with the
GraphTraits-based iterator design, however most users actually want an
iterator over the BasicBlocks inside these RegionNodes. Now the
'block_iterator' is a wrapper which exposes exactly this interface.
Internally it uses the block_node_iterator to walk all nodes which are
single basic blocks, but transparently unwraps the basic block to make
user code simpler.
While this patch is a bit of a wash, most of the updates are to internal
users, not external users of the RegionInfo. I have an accompanying
patch to Polly that is a strict simplification of every user of this
interface, and I'm working on a pass that also wants the same simplified
interface.
This patch alone should have no functional impact.
llvm-svn: 156202 | 
| | 
| 
| 
| 
| 
| | Patch by Xiaoyi Guo!
llvm-svn: 138737 | 
| | 
| 
| 
| | llvm-svn: 138701 | 
| | 
| 
| 
| 
| 
| | Patch by Xiaoyi Guo!
llvm-svn: 138695 | 
| | 
| 
| 
| | llvm-svn: 130920 | 
| | 
| 
| 
| 
| 
| 
| | Thanks Peter for pointing me to something that should have never been
committed to the llvm code base.
llvm-svn: 121648 | 
|  | A RegionPass is executed like a LoopPass but on the regions detected by the
RegionInfo pass instead of the loops detected by the LoopInfo pass.
llvm-svn: 116905 |