llvm::CastInst::isIntegerCast

Return true if this cast uses only integer types.

Synopsis

Declared in <llvm/IR/InstrTypes.h>

bool
isIntegerCast() const;

Description

There are several places where we need to know if a cast instruction only deals with integer source and destination types. To simplify that logic, this method is provided.

Return Value

True if both the operand and result types are integral.