ΒΆtemplate <typename StateType>
llvm::ChangeStatus clampStateAndIndicateChange(
    StateType& S,
    const StateType& R)

Description

Helper function to clamp a state \p S of type \p StateType with the information in \p R and indicate/return if \p S did change (as-in update is required to be run again).

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

Templates

StateType

Parameters

StateType& S
const StateType& R