llvm::Type::isHalfTy

Return true if this is 'half', a 16-bit IEEE fp type.

Synopsis

Declared in <llvm/IR/Type.h>

bool
isHalfTy() const;

Return Value

true if this is the half floating-point type.