class PossiblyExactOperator

Declaration

class PossiblyExactOperator : public Operator { /* full declaration omitted */ };

Description

A udiv or sdiv instruction, which can be marked as "exact", indicating that no bits are destroyed.

Declared at: llvm/include/llvm/IR/Operator.h:126

Inherits from: Operator

Member Variables

Inherited from Value:

protected SubclassOptionalData
protected NumUserOperands
protected IsUsedByMD
protected HasName
protected HasMetadata
protected HasHungOffUses
protected HasDescriptor
public static MaxAlignmentExponent = 32
public static MaximumAlignment = 1ULL << MaxAlignmentExponent

Method Overview

Inherited from Operator:

Inherited from User:

Inherited from Value:

Methods

static bool classof(const llvm::ConstantExpr* CE)

Declared at: llvm/include/llvm/IR/Operator.h:153

Parameters

const llvm::ConstantExpr* CE

static bool classof(const llvm::Instruction* I)

Declared at: llvm/include/llvm/IR/Operator.h:156

Parameters

const llvm::Instruction* I

static bool classof(const llvm::Value* V)

Declared at: llvm/include/llvm/IR/Operator.h:159

Parameters

const llvm::Value* V

bool isExact() const

Description

Test whether this division is known to be exact, with zero remainder.

Declared at: llvm/include/llvm/IR/Operator.h:142

static bool isPossiblyExactOpcode(
    unsigned int OpC)

Declared at: llvm/include/llvm/IR/Operator.h:146

Parameters

unsigned int OpC

void setIsExact(bool B)

Declared at: llvm/include/llvm/IR/Operator.h:136

Parameters

bool B