struct ValueLatticeElement::MergeOptions

Declaration

struct ValueLatticeElement::MergeOptions { /* full declaration omitted */ };

Description

Struct to control some aspects related to merging constant ranges.

Declared at: llvm/include/llvm/Analysis/ValueLattice.h:111

Member Variables

public bool MayIncludeUndef
The merge value may include undef.
public bool CheckWiden
Handle repeatedly extending a range by going to overdefined after a number of steps.
public unsigned int MaxWidenSteps
The number of allowed widening steps (including setting the range initially).

Method Overview

  • public MergeOptions()
  • public MergeOptions(bool MayIncludeUndef, bool CheckWiden, unsigned int MaxWidenSteps = 1)
  • public llvm::ValueLatticeElement::MergeOptions & setCheckWiden(bool V = true)
  • public llvm::ValueLatticeElement::MergeOptions & setMaxWidenSteps(unsigned int Steps = 1)
  • public llvm::ValueLatticeElement::MergeOptions & setMayIncludeUndef(bool V = true)

Methods

MergeOptions()

Declared at: llvm/include/llvm/Analysis/ValueLattice.h:123

MergeOptions(bool MayIncludeUndef,
             bool CheckWiden,
             unsigned int MaxWidenSteps = 1)

Declared at: llvm/include/llvm/Analysis/ValueLattice.h:125

Parameters

bool MayIncludeUndef
bool CheckWiden
unsigned int MaxWidenSteps = 1

llvm::ValueLatticeElement::MergeOptions&
setCheckWiden(bool V = true)

Declared at: llvm/include/llvm/Analysis/ValueLattice.h:135

Parameters

bool V = true

llvm::ValueLatticeElement::MergeOptions&
setMaxWidenSteps(unsigned int Steps = 1)

Declared at: llvm/include/llvm/Analysis/ValueLattice.h:140

Parameters

unsigned int Steps = 1

llvm::ValueLatticeElement::MergeOptions&
setMayIncludeUndef(bool V = true)

Declared at: llvm/include/llvm/Analysis/ValueLattice.h:130

Parameters

bool V = true