llvm::isa_impl

Core implementation of isa that invokes To::classof.

Synopsis

Declared in <llvm/Support/Casting.h>

template<
    typename To,
    typename From,
    typename Enabler = void>
struct isa_impl;

Static Member Functions

NameDescription
doit Returns true if Val is an instance of To.

Specializations

NameDescription
isa_impl<Argument, Value> Specialization of isa_impl so isa<Argument> works without Argument.h.
isa_impl<BasicBlock, Value> Specialization of isa_impl so isa<BasicBlock> works without BasicBlock.h.
isa_impl<Constant, Value> Specialization of isa_impl so isa<Constant> works without Constants.h.
isa_impl<ConstantAggregate, Value> Specialization of isa_impl so isa<ConstantAggregate> works without Constants.h.
isa_impl<ConstantData, Value> Specialization of isa_impl so isa<ConstantData> works without Constants.h.
isa_impl<Function, Value> Specialization of isa_impl so isa<Function> works without Function.h.
isa_impl<GlobalAlias, Value> Specialization of isa_impl so isa<GlobalAlias> works without GlobalAlias.h.
isa_impl<GlobalIFunc, Value> Specialization of isa_impl so isa<GlobalIFunc> works without GlobalIFunc.h.
isa_impl<GlobalObject, Value> Specialization of isa_impl so isa<GlobalObject> works without GlobalObject.h.
isa_impl<GlobalValue, Value> Specialization of isa_impl so isa<GlobalValue> works without GlobalValue.h.
isa_impl<GlobalVariable, Value> Specialization of isa_impl so isa<GlobalVariable> works without GlobalVariable.h.
isa_impl<InlineAsm, Value> Specialization of isa_impl so isa<InlineAsm> works without InlineAsm.h.
isa_impl<Instruction, Value> Specialization of isa_impl so isa<Instruction> works without Instruction.h.
isa_impl<PointerType, Type> Specialization of isa_impl so isa<PointerType> works without DerivedTypes.h.
isa_impl<To, From> Specialization of isa_impl that accepts upcasts without a dynamic check.