Go to the documentation of this file.
31 if (
F == 0x7F) Flags = ~0U;
58 bool any()
const {
return Flags != 0; }
59 bool none()
const {
return Flags == 0; }
60 bool all()
const {
return Flags == ~0U; }
63 void set() { Flags = ~0U; }
101 Flags &= OtherFlags.Flags;
104 Flags |= OtherFlags.Flags;
107 return Flags != OtherFlags.Flags;
121 #endif // LLVM_IR_FMF_H
This is an optimization pass for GlobalISel generic memory operations.
static FastMathFlags getFast()
void setNoSignedZeros(bool B=true)
void setAllowReciprocal(bool B=true)
bool noSignedZeros() const
bool operator!=(const FastMathFlags &OtherFlags) const
void operator&=(const FastMathFlags &OtherFlags)
Convenience struct for specifying and reasoning about fast-math flags.
void setApproxFunc(bool B=true)
void print(raw_ostream &O) const
Print fast-math flags to O.
bool allowReassoc() const
Flag queries.
bool allowReciprocal() const
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
This class implements an extremely fast bulk output stream that can only output to a stream.
raw_ostream & operator<<(raw_ostream &OS, const APFixedPoint &FX)
void operator|=(const FastMathFlags &OtherFlags)
void setAllowContract(bool B=true)
Utility class for floating point operations which can have information about relaxed accuracy require...
void setAllowReassoc(bool B=true)
Flag setters.
void setFast(bool B=true)
void setNoInfs(bool B=true)
bool isFast() const
'Fast' means all bits are set.
bool allowContract() const
void setNoNaNs(bool B=true)