llvm::MCAsmInfo::getMaxInstLength

Returns the maximum possible encoded instruction size in bytes. If STI is null, this should be the maximum size for any subtarget.

Synopsis

Declared in <llvm/MC/MCAsmInfo.h>

virtual
unsigned int
getMaxInstLength(MCSubtargetInfo const* STI = nullptr) const;

Return Value

The maximum encoded instruction size in bytes.

Parameters

NameDescription
STIOptional subtarget; null means any subtarget.