class FastMathFlags
Declaration
class FastMathFlags { /* full declaration omitted */ };
Description
Convenience struct for specifying and reasoning about fast-math flags.
Declared at: llvm/include/llvm/IR/Operator.h:160
Method Overview
- public FastMathFlags()
- public bool all() const
- public bool allowContract() const
- public bool allowReassoc() const
- public bool allowReciprocal() const
- public bool any() const
- public bool approxFunc() const
- public void clear()
- public static llvm::FastMathFlags getFast()
- public bool isFast() const
- public bool noInfs() const
- public bool noNaNs() const
- public bool noSignedZeros() const
- public bool none() const
- public void set()
- public void setAllowContract(bool B = true)
- public void setAllowReassoc(bool B = true)
- public void setAllowReciprocal(bool B = true)
- public void setApproxFunc(bool B = true)
- public void setFast(bool B = true)
- public void setNoInfs(bool B = true)
- public void setNoNaNs(bool B = true)
- public void setNoSignedZeros(bool B = true)
Methods
¶FastMathFlags()
FastMathFlags()
Declared at: llvm/include/llvm/IR/Operator.h:189
¶bool all() const
bool all() const
Declared at: llvm/include/llvm/IR/Operator.h:199
¶bool allowContract() const
bool allowContract() const
Declared at: llvm/include/llvm/IR/Operator.h:210
¶bool allowReassoc() const
bool allowReassoc() const
Description
Flag queries
Declared at: llvm/include/llvm/IR/Operator.h:205
¶bool allowReciprocal() const
bool allowReciprocal() const
Declared at: llvm/include/llvm/IR/Operator.h:209
¶bool any() const
bool any() const
Declared at: llvm/include/llvm/IR/Operator.h:197
¶bool approxFunc() const
bool approxFunc() const
Declared at: llvm/include/llvm/IR/Operator.h:211
¶void clear()
void clear()
Declared at: llvm/include/llvm/IR/Operator.h:201
¶static llvm::FastMathFlags getFast()
static llvm::FastMathFlags getFast()
Declared at: llvm/include/llvm/IR/Operator.h:191
¶bool isFast() const
bool isFast() const
Description
'Fast' means all bits are set.
Declared at: llvm/include/llvm/IR/Operator.h:213
¶bool noInfs() const
bool noInfs() const
Declared at: llvm/include/llvm/IR/Operator.h:207
¶bool noNaNs() const
bool noNaNs() const
Declared at: llvm/include/llvm/IR/Operator.h:206
¶bool noSignedZeros() const
bool noSignedZeros() const
Declared at: llvm/include/llvm/IR/Operator.h:208
¶bool none() const
bool none() const
Declared at: llvm/include/llvm/IR/Operator.h:198
¶void set()
void set()
Declared at: llvm/include/llvm/IR/Operator.h:202
¶void setAllowContract(bool B = true)
void setAllowContract(bool B = true)
Declared at: llvm/include/llvm/IR/Operator.h:231
Parameters
- bool B = true
¶void setAllowReassoc(bool B = true)
void setAllowReassoc(bool B = true)
Description
Flag setters
Declared at: llvm/include/llvm/IR/Operator.h:216
Parameters
- bool B = true
¶void setAllowReciprocal(bool B = true)
void setAllowReciprocal(bool B = true)
Declared at: llvm/include/llvm/IR/Operator.h:228
Parameters
- bool B = true
¶void setApproxFunc(bool B = true)
void setApproxFunc(bool B = true)
Declared at: llvm/include/llvm/IR/Operator.h:234
Parameters
- bool B = true
¶void setFast(bool B = true)
void setFast(bool B = true)
Declared at: llvm/include/llvm/IR/Operator.h:237
Parameters
- bool B = true
¶void setNoInfs(bool B = true)
void setNoInfs(bool B = true)
Declared at: llvm/include/llvm/IR/Operator.h:222
Parameters
- bool B = true
¶void setNoNaNs(bool B = true)
void setNoNaNs(bool B = true)
Declared at: llvm/include/llvm/IR/Operator.h:219
Parameters
- bool B = true
¶void setNoSignedZeros(bool B = true)
void setNoSignedZeros(bool B = true)
Declared at: llvm/include/llvm/IR/Operator.h:225
Parameters
- bool B = true