LLVM 20.0.0git
|
This provides a helper for copying FMF from an instruction or setting specified flags. More...
#include "llvm/IR/IRBuilder.h"
Public Member Functions | |
FMFSource ()=default | |
FMFSource (Instruction *Source) | |
FMFSource (FastMathFlags FMF) | |
FastMathFlags | get (FastMathFlags Default) const |
Static Public Member Functions | |
static FMFSource | intersect (Value *A, Value *B) |
Intersect the FMF from two instructions. | |
This provides a helper for copying FMF from an instruction or setting specified flags.
Definition at line 92 of file IRBuilder.h.
|
default |
Referenced by intersect().
|
inline |
Definition at line 97 of file IRBuilder.h.
|
inline |
Definition at line 101 of file IRBuilder.h.
|
inline |
Definition at line 102 of file IRBuilder.h.
References llvm::Default.
Referenced by llvm::IRBuilderBase::CreateBinOpFMF(), llvm::IRBuilderBase::CreateConstrainedFPBinOp(), llvm::IRBuilderBase::CreateConstrainedFPCast(), llvm::IRBuilderBase::CreateConstrainedFPUnroundedBinOp(), llvm::IRBuilderBase::CreateFAddFMF(), llvm::IRBuilderBase::CreateFDivFMF(), llvm::IRBuilderBase::CreateFMulFMF(), llvm::IRBuilderBase::CreateFNegFMF(), llvm::IRBuilderBase::CreateFRemFMF(), llvm::IRBuilderBase::CreateFSubFMF(), and llvm::IRBuilderBase::CreateSelectFMF().
Intersect the FMF from two instructions.
Definition at line 106 of file IRBuilder.h.
References A, B, and FMFSource().
Referenced by matchIsFiniteTest(), and llvm::InstCombinerImpl::visitCallInst().