Clamp state S with R and return whether S changed.

Synopsis

Declared in <llvm/Transforms/IPO/Attributor.h>

template<typename StateType>
ChangeStatus
clampStateAndIndicateChange(
    StateType& S,
    StateType const& R);

Return Value

Whether the state or IR changed.

Parameters

Name

Description

S

The state being clamped (updated in place).

R

The state providing information to clamp with.

Created with MrDocs