diff options
author | Xinliang David Li <davidxl@google.com> | 2017-02-02 21:29:17 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2017-02-02 21:29:17 +0000 |
commit | 58fcc9bdce5cbed626f7dc01cabcf3750c6eeff2 (patch) | |
tree | ae23b04675bdf3483cda48b6f83b8ab6e36c84e4 /llvm/lib/CodeGen/MachineBlockPlacement.cpp | |
parent | 7d99f827b0098dadcfbb2b25084560fa803fc233 (diff) | |
download | bcm5719-llvm-58fcc9bdce5cbed626f7dc01cabcf3750c6eeff2.tar.gz bcm5719-llvm-58fcc9bdce5cbed626f7dc01cabcf3750c6eeff2.zip |
[PGO] internal option cleanups
1. Added comments for options
2. Added missing option cl::desc field
3. Uniified function filter option for graph viewing.
Now PGO count/raw-counts share the same
filter option: -view-bfi-func-name=.
llvm-svn: 293938
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineBlockPlacement.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineBlockPlacement.cpp b/llvm/lib/CodeGen/MachineBlockPlacement.cpp index 8128efbaf2d..024d41fbba8 100644 --- a/llvm/lib/CodeGen/MachineBlockPlacement.cpp +++ b/llvm/lib/CodeGen/MachineBlockPlacement.cpp @@ -160,7 +160,13 @@ static cl::opt<unsigned> TailDupPlacementPenalty( extern cl::opt<unsigned> StaticLikelyProb; extern cl::opt<unsigned> ProfileLikelyProb; +// Internal option used to control BFI display only after MBP pass. +// Defined in CodeGen/MachineBlockFrequencyInfo.cpp: +// -view-block-layout-with-bfi= extern cl::opt<GVDAGType> ViewBlockLayoutWithBFI; + +// Command line option to specify the name of the function for CFG dump +// Defined in Analysis/BlockFrequencyInfo.cpp: -view-bfi-func-name= extern cl::opt<std::string> ViewBlockFreqFuncName; namespace { |