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:120

Inherits from: Operator

Member Variables

Inherited from Value:

protected SubclassOptionalData
protected NumUserOperands
protected IsUsedByMD
protected HasName
protected HasHungOffUses
protected HasDescriptor
public static MaxAlignmentExponent = 29
public static MaximumAlignment = 1U << MaxAlignmentExponent

Method Overview

  • public static bool classof(const llvm::ConstantExpr * CE)
  • public static bool classof(const llvm::Instruction * I)
  • public static bool classof(const llvm::Value * V)
  • public bool isExact() const
  • public static bool isPossiblyExactOpcode(unsigned int OpC)

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:147

Parameters

const llvm::ConstantExpr* CE

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

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

Parameters

const llvm::Instruction* I

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

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

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:136

static bool isPossiblyExactOpcode(
    unsigned int OpC)

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

Parameters

unsigned int OpC