llvm::Type::isIntegerTy

isIntegerTy overloads

Synopses

Declared in <llvm/IR/Type.h>

True if this is an instance of IntegerType.

bool
isIntegerTy() const;
» more...

Return true if this is an IntegerType of the given width.

bool
isIntegerTy(unsigned int BitWidth) const;
» more...

Return Value

  • true if this is an IntegerType.
  • true if this is an IntegerType of the given width.

Parameters

NameDescription
BitWidthRequired integer bit width.