struct BooleanState

Declaration

struct BooleanState : public IntegerStateBase { /* full declaration omitted */ };

Description

Simple wrapper for a single bit (boolean) state.

Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:1470

Inherits from: IntegerStateBase

Method Overview

Methods

bool isAssumed() const

Description

Return true if the state is assumed to hold.

Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:1483

bool isKnown() const

Description

Return true if the state is known to hold.

Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:1486

void setAssumed(bool Value)

Description

Set the assumed value to \p Value but never below the known one.

Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:1474

Parameters

bool Value

void setKnown(bool Value)

Description

Set the known and asssumed value to \p Value.

Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:1477

Parameters

bool Value