1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/lib
Francis Visoiu Mistrih 30264d4391 [CodeGen] Unify MBB reference format in both MIR and debug output
As part of the unification of the debug format and the MIR format, print
MBB references as '%bb.5'.

The MIR printer prints the IR name of a MBB only for block definitions.

* find . \( -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" \) -type f -print0 | xargs -0 sed -i '' -E 's/BB#" << ([a-zA-Z0-9_]+)->getNumber\(\)/" << printMBBReference(*\1)/g'
* find . \( -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" \) -type f -print0 | xargs -0 sed -i '' -E 's/BB#" << ([a-zA-Z0-9_]+)\.getNumber\(\)/" << printMBBReference(\1)/g'
* find . \( -name "*.txt" -o -name "*.s" -o -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" \) -type f -print0 | xargs -0 sed -i '' -E 's/BB#([0-9]+)/%bb.\1/g'
* grep -nr 'BB#' and fix

Differential Revision: https://reviews.llvm.org/D40422

llvm-svn: 319665
2017-12-04 17:18:51 +00:00
..
Analysis Revert "[ValueTracking] Pass only a single lambda to computeKnownBitsFromShiftOperator by using KnownBits struct instead of separate APInts. NFCI" 2017-12-04 12:51:49 +00:00
AsmParser
BinaryFormat
Bitcode [WebAssembly] Explicily disable comdat support for wasm output 2017-11-14 00:49:16 +00:00
CodeGen [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
DebugInfo [DebugInfo] Bail out if making no progress dumping line tables. 2017-12-01 18:25:30 +00:00
Demangle
ExecutionEngine Fix 'not all control paths return a value' warning on MSVC builds 2017-11-09 14:56:17 +00:00
Fuzzer
FuzzMutate [FuzzMutate] Bailout from injecting into empty basic blocks. 2017-11-30 15:41:58 +00:00
IR [NVPTX] Assign valid global names 2017-12-04 14:19:33 +00:00
IRReader
LineEditor
Linker
LTO Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
MC Reland "[WebAssembly] Add visibility flag to Wasm symbol flags"" 2017-12-03 01:19:23 +00:00
Object Reland "[WebAssembly] Add visibility flag to Wasm symbol flags"" 2017-12-03 01:19:23 +00:00
ObjectYAML Split TypeTableBuilder into two classes. 2017-11-30 18:39:50 +00:00
Option
Passes Add a new pass to speculate around PHI nodes with constant (integer) operands when profitable. 2017-11-28 11:32:31 +00:00
ProfileData Mark all library options as hidden. 2017-12-01 00:53:10 +00:00
Support Revert "[cmake] Enable zlib support on windows" 2017-12-04 16:46:20 +00:00
TableGen
Target [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
Testing
ToolDrivers
Transforms [Loop Predication] Teach LP about reverse loops 2017-12-04 15:11:48 +00:00
WindowsManifest
XRay [XRay] Use optimistic logging model for FDR mode 2017-11-21 07:16:57 +00:00
CMakeLists.txt
LLVMBuild.txt