GPUOcelot
Public Member Functions | Public Attributes

ir::LLVMInvoke Class Reference

The LLVM invoke instruction. More...

#include <LLVMInstruction.h>

Inheritance diagram for ir::LLVMInvoke:
Inheritance graph
[legend]
Collaboration diagram for ir::LLVMInvoke:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLVMInvoke ()
 The default constructor sets the opcode.
std::string toString () const
 Returns a string representation of the instruction.
std::string valid () const
 Determines if the instruction is valid, returns an empty string if valid otherwise an error message.
Instructionclone (bool copy=true) const
 Return a pointer to a new Instruction.

Public Attributes

Parameter d
 The return operand.
CallingConvention convention
 The calling convention.
ParameterAttribute returnAttributes
 The return parameter attributes.
ParameterVector parameters
 The set of parameters.
std::string name
 The name of the function being invoked.
std::string signature
 The signature of the function being invoked.
LLVMI32 functionAttributes
 Function attributes of the call.
std::string tolabel
 The label reached when the callee returns.
std::string unwindlabel
 The label reached when the callee hits unwind.

Detailed Description

The LLVM invoke instruction.


Constructor & Destructor Documentation

ir::LLVMInvoke::LLVMInvoke ( )

The default constructor sets the opcode.


Member Function Documentation

Instruction * ir::LLVMInvoke::clone ( bool  copy = true) const [virtual]

Return a pointer to a new Instruction.

Implements ir::LLVMInstruction.

std::string ir::LLVMInvoke::toString ( ) const [virtual]

Returns a string representation of the instruction.

Implements ir::LLVMInstruction.

std::string ir::LLVMInvoke::valid ( ) const [virtual]

Determines if the instruction is valid, returns an empty string if valid otherwise an error message.

Implements ir::LLVMInstruction.


Member Data Documentation

The calling convention.

The return operand.

Function attributes of the call.

std::string ir::LLVMInvoke::name

The name of the function being invoked.

The set of parameters.

The return parameter attributes.

The signature of the function being invoked.

The label reached when the callee returns.

The label reached when the callee hits unwind.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines