From 58fcc9bdce5cbed626f7dc01cabcf3750c6eeff2 Mon Sep 17 00:00:00 2001 From: Xinliang David Li Date: Thu, 2 Feb 2017 21:29:17 +0000 Subject: [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 --- llvm/lib/CodeGen/MachineBlockPlacement.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp') 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 TailDupPlacementPenalty( extern cl::opt StaticLikelyProb; extern cl::opt 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 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 ViewBlockFreqFuncName; namespace { -- cgit v1.2.3