Bitmask representing which sub‐register lanes cover a register.

Synopsis

Declared in <llvm/MC/LaneBitmask.h>

struct LaneBitmask;

Type Aliases

Name

Description

Type

Underlying integer type storing the lane mask bits.

Enums

Name

Description

Unnamed enum

Constants describing the size of the lane mask representation.

Member Functions

Name

Description

LaneBitmask [constructor]

Constructors

all

Return true if every lane bit is set.

any

Return true if any lane bit is set.

getAsInteger

Return the underlying integer representation of this lane mask.

getHighestLane

Return the index of the highest set lane bit.

getNumLanes

Return the number of set lane bits in this mask.

none

Return true if no lane bits are set.

operator&

Return the bitwise AND of this mask and M.

operator&=

Bitwise‐AND M into this mask and return this.

operator|

Return the bitwise OR of this mask and M.

operator|=

Bitwise‐OR M into this mask and return this.

operator~

Return a lane mask with every bit inverted.

operator==

Return true if this mask equals M.

operator!=

Return true if this mask differs from M.

operator<

Return true if this mask is less than M when compared as integers.

Static Member Functions

Name

Description

getAll

Return a lane mask with every bit set.

getLane

Return a lane mask with only bit Lane set.

getNone

Return a lane mask with no bits set.

Static Data Members

Name

Description

FormatStr

Printf‐style format string for printing a lane mask as hex.

Non-Member Functions

Name

Description

AnalyzeVirtRegLanesInBundle

Return a pair of lane masks (reads, writes) indicating which lanes this instruction uses with Reg.

PrintLaneMask

Create Printable object to print LaneBitmasks on a raw_ostream.

Created with MrDocs