LLVM 20.0.0git
|
This file implements support for a bisecting optimizations based on a command line option. More...
#include "llvm/IR/OptBisect.h"
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
Go to the source code of this file.
Functions | |
static OptBisect & | getOptBisector () |
static void | printPassMessage (const StringRef &Name, int PassNum, StringRef TargetDesc, bool Running) |
Variables | |
static cl::opt< int > | OptBisectLimit ("opt-bisect-limit", cl::Hidden, cl::init(OptBisect::Disabled), cl::Optional, cl::cb< void, int >([](int Limit) { getOptBisector().setLimit(Limit);}), cl::desc("Maximum optimization to perform")) |
static cl::opt< bool > | OptBisectVerbose ("opt-bisect-verbose", cl::desc("Show verbose output when opt-bisect-limit is set"), cl::Hidden, cl::init(true), cl::Optional) |
This file implements support for a bisecting optimizations based on a command line option.
Definition in file OptBisect.cpp.
|
static |
Definition at line 23 of file OptBisect.cpp.
Referenced by llvm::getGlobalPassGate().
|
static |
Definition at line 40 of file OptBisect.cpp.
References llvm::errs(), and Name.
Referenced by llvm::OptBisect::shouldRunPass().
|
static |
|
static |
Referenced by llvm::OptBisect::shouldRunPass().