Concrete operator for the PtrToAddr instruction opcode.

Synopsis

Declared in <llvm/IR/Operator.h>

class PtrToAddrOperator
    : public ConcreteOperator<Operator, Instruction::PtrToAddr>

Base Classes

Name

Description

ConcreteOperator<Operator, Instruction::PtrToAddr>

A helper template for defining operators for individual opcodes.

Member Functions

Name

Description

getNumOperands

Return the number of operands.

getOperand

Return operand at index i_nocapture.

getPointerAddressSpace

Method to return the address space of the pointer operand.

getPointerOperand

Return the pointer operand of this ptrtoaddr.

getPointerOperandType

Method to return the pointer operand as a PointerType.

op_begin

op_begin overloads

op_end

op_end overloads

setOperand

Set operand at index i_nocapture to Val_nocapture.

Static Member Functions

Name

Description

classof

Methods for support type inquiry through isa, cast, and dyn_cast.

getPointerOperandIndex

Return the operand index of the pointer operand (always 0).

Protected Member Functions

Name

Description

Op

Op overloads

Friends

Name

Description

llvm::ConstantExpr

A constant value that is initialized with an expression using other constant values.

llvm::PtrToAddr

Incomplete type befriended for ptrtoaddr constant‐expression access.

Created with MrDocs