[mips] Add options to disable searching backward and in successor blocks.

llvm-svn: 176321
This commit is contained in:
Akira Hatanaka 2013-03-01 01:02:36 +00:00
parent e01ff9dc60
commit e44e30ca5a
1 changed files with 12 additions and 0 deletions

View File

@ -53,6 +53,18 @@ static cl::opt<bool> DisableForwardSearch(
cl::desc("Disallow MIPS delay filler to search forward."),
cl::Hidden);
static cl::opt<bool> DisableSuccBBSearch(
"disable-mips-df-succbb-search",
cl::init(true),
cl::desc("Disallow MIPS delay filler to search successor basic blocks."),
cl::Hidden);
static cl::opt<bool> DisableBackwardSearch(
"disable-mips-df-backward-search",
cl::init(false),
cl::desc("Disallow MIPS delay filler to search backward."),
cl::Hidden);
namespace {
class RegDefsUses {
public: