LLVM 20.0.0git
|
This class is used by SelectionDAGISel to temporarily override the optimization level on a per-function basis. More...
Public Member Functions | |
OptLevelChanger (SelectionDAGISel &ISel, CodeGenOptLevel NewOptLevel) | |
~OptLevelChanger () | |
This class is used by SelectionDAGISel to temporarily override the optimization level on a per-function basis.
Definition at line 238 of file SelectionDAGISel.cpp.
|
inline |
Definition at line 244 of file SelectionDAGISel.cpp.
References llvm::dbgs(), dontUseFastISelFor(), llvm::TargetOptions::EnableFastISel, llvm::MachineFunction::getFunction(), llvm::Value::getName(), llvm::TargetMachine::getO0WantsFastISel(), LLVM_DEBUG, llvm::SelectionDAGISel::MF, llvm::None, llvm::TargetMachine::Options, llvm::SelectionDAGISel::OptLevel, llvm::TargetMachine::setFastISel(), llvm::TargetMachine::setOptLevel(), and llvm::SelectionDAGISel::TM.
|
inline |
Definition at line 267 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.