llvm::Instruction::isCast

Return true if Opcode is one of the CastInst instructions.

Synopsis

Declared in <llvm/IR/Instruction.h>

static
bool
isCast(unsigned int Opcode);

Return Value

True if Opcode is a cast.

Parameters

NameDescription
OpcodeThe opcode to test.