Return the constant range of the return value, if any.
Synopsis
Declared in <llvm/IR/InstrTypes.h>
std::optional<ConstantRange>
getRange() const;
Description
If this return value has a range attribute, return the value range of the argument. Otherwise, std::nullopt is returned.
Return Value
Optional return‐value range from attributes.
Created with MrDocs