LLVM
8.0.1
|
This class is used by SelectionDAGISel to temporarily override the optimization level on a per-function basis. More...
Public Member Functions | |
OptLevelChanger (SelectionDAGISel &ISel, CodeGenOpt::Level NewOptLevel) | |
~OptLevelChanger () | |
This class is used by SelectionDAGISel to temporarily override the optimization level on a per-function basis.
Definition at line 204 of file SelectionDAGISel.cpp.
|
inline |
Definition at line 210 of file SelectionDAGISel.cpp.
References llvm::dbgs(), llvm::TargetOptions::EnableFastISel, llvm::MachineFunction::getFunction(), llvm::Value::getName(), llvm::TargetMachine::getO0WantsFastISel(), LLVM_DEBUG, llvm::SelectionDAGISel::MF, llvm::CodeGenOpt::None, llvm::TargetMachine::Options, llvm::SelectionDAGISel::OptLevel, llvm::TargetMachine::setFastISel(), llvm::TargetMachine::setOptLevel(), and llvm::SelectionDAGISel::TM.
|
inline |
Definition at line 231 of file SelectionDAGISel.cpp.
References llvm::dbgs(), llvm::MachineFunction::getFunction(), llvm::Value::getName(), LLVM_DEBUG, llvm::SelectionDAGISel::MF, llvm::SelectionDAGISel::OptLevel, llvm::TargetMachine::setFastISel(), llvm::TargetMachine::setOptLevel(), and llvm::SelectionDAGISel::TM.