|
LLVM
3.7.0
|
#include <TargetRecip.h>
Public Member Functions | |
| TargetRecip () | |
| TargetRecip (const std::vector< std::string > &Args) | |
| Initialize all or part of the operations from command-line options or a front end. More... | |
| void | setDefaults (const StringRef &Key, bool Enable, unsigned RefSteps) |
| Set whether a particular reciprocal operation is enabled and how many refinement steps are needed when using it. More... | |
| bool | isEnabled (const StringRef &Key) const |
| Return true if the reciprocal operation has been enabled by default or from the command-line. More... | |
| unsigned | getRefinementSteps (const StringRef &Key) const |
| Return the number of iterations necessary to refine the the result of a machine instruction for the given reciprocal operation. More... | |
| bool | operator== (const TargetRecip &Other) const |
Definition at line 27 of file TargetRecip.h.
| TargetRecip::TargetRecip | ( | ) |
Definition at line 43 of file TargetRecip.cpp.
References llvm::array_lengthof(), and RecipOps.
| TargetRecip::TargetRecip | ( | const std::vector< std::string > & | Args | ) |
Initialize all or part of the operations from command-line options or a front end.
Definition at line 167 of file TargetRecip.cpp.
Return the number of iterations necessary to refine the the result of a machine instruction for the given reciprocal operation.
Definition at line 186 of file TargetRecip.cpp.
Return true if the reciprocal operation has been enabled by default or from the command-line.
Return false if the operation has been disabled by default or from the command-line.
Definition at line 178 of file TargetRecip.cpp.
| bool TargetRecip::operator== | ( | const TargetRecip & | Other | ) | const |
Definition at line 214 of file TargetRecip.cpp.
References llvm::NVPTX::PTXCvtMode::RP.
Set whether a particular reciprocal operation is enabled and how many refinement steps are needed when using it.
Custom settings (previously initialized values) override target defaults.
Use "all" to set enablement and refinement steps for all operations.
Definition at line 195 of file TargetRecip.cpp.
References llvm::NVPTX::PTXCvtMode::RP.
Referenced by llvm::PPCTargetMachine::PPCTargetMachine(), and llvm::X86TargetMachine::X86TargetMachine().
1.8.6