llvm::TargetLoweringBase::getBooleanContents

getBooleanContents overloads

Synopses

Declared in <llvm/CodeGen/TargetLowering.h>

Return how boolean values of the given vector or scalar category are represented in wider types.

BooleanContent
getBooleanContents(EVT Type) const;
» more...

For targets without i1 registers, this gives the nature of the high-bits of boolean values held in types wider than i1.

BooleanContent
getBooleanContents(
    bool isVec,
    bool isFloat) const;
» more...

Return Value

  • How boolean values of the given vector or scalar category are represented in wider types.
  • For targets without i1 registers, this gives the nature of the high-bits of boolean values held in types wider than i1.

Parameters

NameDescription
TypeType considered for libcall extension.
isVecWhether the boolean is a vector boolean.
isFloatWhether the boolean comes from a floating-point compare.