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

Methods

FastMathFlags()

Declared at: llvm/include/llvm/IR/Operator.h:189

bool all() const

Declared at: llvm/include/llvm/IR/Operator.h:199

bool allowContract() const

Declared at: llvm/include/llvm/IR/Operator.h:210

bool allowReassoc() const

Description

Flag queries

Declared at: llvm/include/llvm/IR/Operator.h:205

bool allowReciprocal() const

Declared at: llvm/include/llvm/IR/Operator.h:209

bool any() const

Declared at: llvm/include/llvm/IR/Operator.h:197

bool approxFunc() const

Declared at: llvm/include/llvm/IR/Operator.h:211

void clear()

Declared at: llvm/include/llvm/IR/Operator.h:201

static llvm::FastMathFlags getFast()

Declared at: llvm/include/llvm/IR/Operator.h:191

bool isFast() const

Description

'Fast' means all bits are set.

Declared at: llvm/include/llvm/IR/Operator.h:213

bool noInfs() const

Declared at: llvm/include/llvm/IR/Operator.h:207

bool noNaNs() const

Declared at: llvm/include/llvm/IR/Operator.h:206

bool noSignedZeros() const

Declared at: llvm/include/llvm/IR/Operator.h:208

bool none() const

Declared at: llvm/include/llvm/IR/Operator.h:198

void set()

Declared at: llvm/include/llvm/IR/Operator.h:202

void setAllowContract(bool B = true)

Declared at: llvm/include/llvm/IR/Operator.h:231

Parameters

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)

Declared at: llvm/include/llvm/IR/Operator.h:228

Parameters

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)

Declared at: llvm/include/llvm/IR/Operator.h:237

Parameters

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)

Declared at: llvm/include/llvm/IR/Operator.h:219

Parameters

bool B = true

void setNoSignedZeros(bool B = true)

Declared at: llvm/include/llvm/IR/Operator.h:225

Parameters

bool B = true