Eugene Zelenko
7ea692373c
[CodeGen] Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes (NFC).
...
llvm-svn: 304495
2017-06-01 23:25:02 +00:00
Jan Sjodin
695e437470
Add MachineRegionInfoPassID to Passes.h.
...
Differential Revision: https://reviews.llvm.org/D31899
llvm-svn: 299932
2017-04-11 11:40:55 +00:00
Matthias Braun
431305927f
MachineRegionInfo: Fix pass initialization
...
- Adapt MachineBasicBlock::getName() to have the same behavior as the IR
BasicBlock (Value::getName()).
- Add it to lib/CodeGen/CodeGen.cpp::initializeCodeGen so that it is linked in
the CodeGen library.
- MachineRegionInfoPass's name conflicts with RegionInfoPass's name ("region").
- MachineRegionInfo should depend on MachineDominatorTree,
MachinePostDominatorTree and MachineDominanceFrontier instead of their
respective IR versions.
- Since there were no tests for this, add a X86 MIR test.
Patch by Francis Visoiu Mistrih<fvisoiumistrih@apple.com>
llvm-svn: 295518
2017-02-18 00:41:16 +00:00
Hongbin Zheng
751337faa7
Introduce DominanceFrontierAnalysis to the new PassManager to compute DominanceFrontier. NFC
...
Differential Revision: http://reviews.llvm.org/D17570
llvm-svn: 261903
2016-02-25 17:54:15 +00:00
Hongbin Zheng
3f97840721
Introduce analysis pass to compute PostDominators in the new pass manager. NFC
...
Differential Revision: http://reviews.llvm.org/D17537
llvm-svn: 261902
2016-02-25 17:54:07 +00:00
Hongbin Zheng
66b19fbc4e
Revert "Introduce analysis pass to compute PostDominators in the new pass manager. NFC"
...
This reverts commit a3e5cc6a51ab5ad88d1760c63284294a4e34c018.
llvm-svn: 261891
2016-02-25 16:45:53 +00:00
Hongbin Zheng
ad782ce3f7
Revert "Introduce DominanceFrontierAnalysis to the new PassManager to compute DominanceFrontier. NFC"
...
This reverts commit 109c38b2226a87b0be73fa7a0a8c1a81df20aeb2.
llvm-svn: 261890
2016-02-25 16:45:46 +00:00
Hongbin Zheng
237197ba63
Introduce DominanceFrontierAnalysis to the new PassManager to compute DominanceFrontier. NFC
...
Differential Revision: http://reviews.llvm.org/D17570
llvm-svn: 261883
2016-02-25 16:33:15 +00:00
Hongbin Zheng
a0273a04f5
Introduce analysis pass to compute PostDominators in the new pass manager. NFC
...
Differential Revision: http://reviews.llvm.org/D17537
llvm-svn: 261882
2016-02-25 16:33:06 +00:00
Yaron Keren
eb2a25467e
Annotate dump() methods with LLVM_DUMP_METHOD, addressing Richard Smith r259192 post commit comment.
...
clang part in r259232, this is the LLVM part of the patch.
llvm-svn: 259240
2016-01-29 20:50:44 +00:00
Chandler Carruth
d9903888d9
[cleanup] Re-sort all the #include lines in LLVM using
...
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
2015-01-14 11:23:27 +00:00
Richard Smith
5e23fb8691
Header hygiene: remove using directive and #undef DEBUG_TYPE once we're done.
...
llvm-svn: 214263
2014-07-30 00:25:24 +00:00
NAKAMURA Takumi
74a5332235
MachineRegionInfo.cpp: Another fix on MachineRegionInfo::MachineRegionInfo::recalculate() to appease msc17.
...
llvm-svn: 213476
2014-07-20 11:14:55 +00:00
NAKAMURA Takumi
118b0c789d
Fix -Asserts build introduced since r213456.
...
llvm-svn: 213465
2014-07-20 00:00:42 +00:00
Matt Arsenault
1b8d83796d
Templatify RegionInfo so it works on MachineBasicBlocks
...
llvm-svn: 213456
2014-07-19 18:29:29 +00:00