llvm::Instruction::setHasApproxFunc

Set or clear the approximate-math-functions flag on this instruction.

Synopsis

Declared in <llvm/IR/Instruction.h>

void
setHasApproxFunc(bool B);

Description

The instruction must be an operator which supports this flag. See LangRef.html for the meaning of this flag.

Parameters

NameDescription
BTrue to set the flag; false to clear it.