llvm::IRBuilderBase::CreateBinaryIntrinsic

Create a call to intrinsic ID with 2 operands which is mangled on the first type.

Synopsis

Declared in <llvm/IR/IRBuilder.h>

Value*
CreateBinaryIntrinsic(
    Intrinsic::ID ID,
    Value* LHS,
    Value* RHS,
    FMFSource FMFSource = {},
    Twine const& Name = "");

Return Value

The created call to intrinsic ID with 2 operands which is mangled on the first type.

Parameters

NameDescription
IDIntrinsic or statepoint identifier.
LHSLeft-hand side operand.
RHSRight-hand side operand.
FMFSourceOptional source of fast-math flags.
NameName of the new instruction or value.