llvm::instrumentor::UnreachableIO

Instrumentation opportunity for unreachable instructions.

Synopsis

Declared in <llvm/Transforms/IPO/Instrumentor.h>

struct UnreachableIO final
    : InstructionIO<Instruction::Unreachable>

Base Classes

NameDescription
InstructionIO<Instruction::Unreachable>Common base for instruction instrumentation opportunities.

Type Aliases

NameDescription
ConfigTy Configuration bitset type for unreachable opportunities.

Enums

NameDescription
ConfigKind Selector of arguments for unreachable opportunities.

Member Functions

NameDescription
UnreachableIO [constructor]Construct an unreachable opportunity at the PRE instruction location.
getAllOpcodes [virtual]Get all opcodes for this instrumentation opportunity (override).
getName [virtual]Get the instruction opportunity name.
init Initialize the unreachable opportunity and its runtime arguments.

Static Member Functions

NameDescription
getNumOpcodes Get the number of opcodes.
populate Register the unreachable opportunity on the configuration.

Data Members

NameDescription
Config Per-opportunity configuration for unreachable instrumentation.

Static Data Members

NameDescription
OpcodesArray Compile-time array of opcodes handled by this opportunity.