llvm::AttrBuilder::addConstantRangeListAttr

Add a ConstantRangeList attribute with the given ranges.

Synopsis

Declared in <llvm/IR/Attributes.h>

AttrBuilder&
addConstantRangeListAttr(
    Attribute::AttrKind Kind,
    ArrayRef<ConstantRange> Val);

Return Value

A reference to this builder.

Parameters

NameDescription
KindConstantRangeList attribute kind.
ValList of constant ranges.