LLVM
8.0.1
|
This file implements support for a bisecting optimizations based on a command line option. More...
#include "llvm/IR/OptBisect.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Analysis/CallGraph.h"
#include "llvm/Analysis/CallGraphSCCPass.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/RegionInfo.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Module.h"
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <limits>
#include <string>
Go to the source code of this file.
Functions | |
static void | printPassMessage (const StringRef &Name, int PassNum, StringRef TargetDesc, bool Running) |
static std::string | getDescription (const Module &M) |
static std::string | getDescription (const Function &F) |
static std::string | getDescription (const BasicBlock &BB) |
static std::string | getDescription (const Loop &L) |
static std::string | getDescription (const Region &R) |
static std::string | getDescription (const CallGraphSCC &SCC) |
Variables | |
static cl::opt< int > | OptBisectLimit ("opt-bisect-limit", cl::Hidden, cl::init(std::numeric_limits< int >::max()), cl::Optional, cl::desc("Maximum optimization to perform")) |
This file implements support for a bisecting optimizations based on a command line option.
Definition in file OptBisect.cpp.
Definition at line 50 of file OptBisect.cpp.
References llvm::Module::getName(), and llvm::StringRef::str().
Referenced by llvm::Check::FileCheckType::getCount(), llvm::cl::generic_parser_base::printOptionInfo(), and llvm::OptBisect::shouldRunPass().
Definition at line 54 of file OptBisect.cpp.
References llvm::Value::getName(), and llvm::StringRef::str().
|
static |
Definition at line 58 of file OptBisect.cpp.
References llvm::Value::getName(), llvm::BasicBlock::getParent(), and llvm::StringRef::str().
Definition at line 63 of file OptBisect.cpp.
Definition at line 69 of file OptBisect.cpp.
|
static |
Definition at line 75 of file OptBisect.cpp.
References F(), and llvm::Value::getName().
|
static |
Definition at line 43 of file OptBisect.cpp.
References llvm::errs().
Referenced by llvm::OptBisect::shouldRunPass().
|
static |
Referenced by llvm::OptBisect::OptBisect(), and llvm::OptBisect::shouldRunPass().