llvm::BaseIndexOffset::contains

Return true if Other is fully contained in *this.

Synopses

Declared in <llvm/CodeGen/SelectionDAGAddressAnalysis.h>

Return true if Other is fully contained in *this.

bool
contains(
    SelectionDAG const& DAG,
    int64_t BitSize,
    BaseIndexOffset const& Other,
    int64_t OtherBitSize) const;
» more...

Return true if Other is fully contained in *this.

bool
contains(
    SelectionDAG const& DAG,
    int64_t BitSize,
    BaseIndexOffset const& Other,
    int64_t OtherBitSize,
    int64_t& BitOffset) const;
» more...

Return Value

True if Other is fully contained in *this.

Parameters

NameDescription
DAGSelectionDAG used for pointer analysis.
BitSizeSize in bits of the memory region for *this.
OtherAddress of the candidate contained region.
OtherBitSizeSize in bits of the memory region for Other.
BitOffsetSet to the bit offset of Other within *this on success.