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/FMF.h:21

Member Variables

private unsigned int Flags = 0

Method Overview

Methods

FastMathFlags()

Declared at: llvm/include/llvm/IR/FMF.h:50

FastMathFlags(unsigned int F)

Declared at: llvm/include/llvm/IR/FMF.h:27

Parameters

unsigned int F

bool all() const

Declared at: llvm/include/llvm/IR/FMF.h:60

bool allowContract() const

Declared at: llvm/include/llvm/IR/FMF.h:71

bool allowReassoc() const

Description

Flag queries

Declared at: llvm/include/llvm/IR/FMF.h:66

bool allowReciprocal() const

Declared at: llvm/include/llvm/IR/FMF.h:70

bool any() const

Declared at: llvm/include/llvm/IR/FMF.h:58

bool approxFunc() const

Declared at: llvm/include/llvm/IR/FMF.h:72

void clear()

Declared at: llvm/include/llvm/IR/FMF.h:62

static llvm::FastMathFlags getFast()

Declared at: llvm/include/llvm/IR/FMF.h:52

bool isFast() const

Description

'Fast' means all bits are set.

Declared at: llvm/include/llvm/IR/FMF.h:74

bool noInfs() const

Declared at: llvm/include/llvm/IR/FMF.h:68

bool noNaNs() const

Declared at: llvm/include/llvm/IR/FMF.h:67

bool noSignedZeros() const

Declared at: llvm/include/llvm/IR/FMF.h:69

bool none() const

Declared at: llvm/include/llvm/IR/FMF.h:59

void print(llvm::raw_ostream& O) const

Description

Print fast-math flags to \p O.

Declared at: llvm/include/llvm/IR/FMF.h:111

Parameters

llvm::raw_ostream& O

void set()

Declared at: llvm/include/llvm/IR/FMF.h:63

void setAllowContract(bool B = true)

Declared at: llvm/include/llvm/IR/FMF.h:92

Parameters

bool B = true

void setAllowReassoc(bool B = true)

Description

Flag setters

Declared at: llvm/include/llvm/IR/FMF.h:77

Parameters

bool B = true

void setAllowReciprocal(bool B = true)

Declared at: llvm/include/llvm/IR/FMF.h:89

Parameters

bool B = true

void setApproxFunc(bool B = true)

Declared at: llvm/include/llvm/IR/FMF.h:95

Parameters

bool B = true

void setFast(bool B = true)

Declared at: llvm/include/llvm/IR/FMF.h:98

Parameters

bool B = true

void setNoInfs(bool B = true)

Declared at: llvm/include/llvm/IR/FMF.h:83

Parameters

bool B = true

void setNoNaNs(bool B = true)

Declared at: llvm/include/llvm/IR/FMF.h:80

Parameters

bool B = true

void setNoSignedZeros(bool B = true)

Declared at: llvm/include/llvm/IR/FMF.h:86

Parameters

bool B = true