struct IncIntegerState
Declaration
template <typename base_ty = uint32_t,
base_ty BestState = ~type - parameter - 0 - 0(0),
base_ty WorstState = 0>
struct IncIntegerState { /* full declaration omitted */ };
Description
Specialization of the integer state for an increasing value, hence ~0u is the best state and 0 the worst.
Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:1399
Templates
- base_ty = uint32_t
- base_ty BestState = ~ type-parameter-0-0(0)
- base_ty WorstState = 0
Method Overview
- public IncIntegerState<base_ty, BestState, WorstState> & takeAssumedMinimum(llvm::IncIntegerState::base_t Value)
- public IncIntegerState<base_ty, BestState, WorstState> & takeKnownMaximum(llvm::IncIntegerState::base_t Value)
Methods
¶IncIntegerState<base_ty, BestState, WorstState>&
takeAssumedMinimum(
llvm::IncIntegerState::base_t Value)
IncIntegerState<base_ty, BestState, WorstState>&
takeAssumedMinimum(
llvm::IncIntegerState::base_t Value)
Description
Take minimum of assumed and \p Value.
Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:1404
Parameters
- llvm::IncIntegerState::base_t Value
¶IncIntegerState<base_ty, BestState, WorstState>&
takeKnownMaximum(
llvm::IncIntegerState::base_t Value)
IncIntegerState<base_ty, BestState, WorstState>&
takeKnownMaximum(
llvm::IncIntegerState::base_t Value)
Description
Take maximum of known and \p Value.
Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:1411
Parameters
- llvm::IncIntegerState::base_t Value