ΒΆllvm::Value* SimplifyBinOp(
    unsigned int Opcode,
    llvm::Value* LHS,
    llvm::Value* RHS,
    llvm::FastMathFlags FMF,
    const llvm::SimplifyQuery& Q)

Description

Given operands for a BinaryOperator, fold the result or return null. Try to use FastMathFlags when folding the result.

Declared at: llvm/include/llvm/Analysis/InstructionSimplify.h:256

Parameters

unsigned int Opcode
llvm::Value* LHS
llvm::Value* RHS
llvm::FastMathFlags FMF
const llvm::SimplifyQuery& Q