llvm::MachineIRBuilder::buildURem

Build and insert Res = G_UREM Op0, Op1

Synopsis

Declared in <llvm/CodeGen/GlobalISel/MachineIRBuilder.h>

MachineInstrBuilder
buildURem(
    DstOp const& Dst,
    SrcOp const& Src0,
    SrcOp const& Src1,
    std::optional<unsigned int> Flags = std::nullopt);

Return Value

a MachineInstrBuilder for the newly created instruction.

Parameters

NameDescription
DstDestination operand for the result.
Src0First source operand.
Src1Second source operand.
FlagsOptional instruction flags to attach.