GPUOcelot
Public Member Functions | Public Attributes

ir::LLVMCall Class Reference

The LLVM call instruction. More...

#include <LLVMInstruction.h>

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

List of all members.

Public Member Functions

 LLVMCall ()
 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

LLVMI1 tail
 Is this call eligible for tail call optimization?
CallingConvention convention
 The calling convention.
Parameter d
 The return operand.
std::string signature
 The signature of the function pointer being called.
std::string name
 The function name called.
ParameterVector parameters
 The set of parameters.
LLVMI32 functionAttributes
 Function attributes of the call.

Detailed Description

The LLVM call instruction.


Constructor & Destructor Documentation

ir::LLVMCall::LLVMCall ( )

The default constructor sets the opcode.


Member Function Documentation

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

Return a pointer to a new Instruction.

Implements ir::LLVMInstruction.

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

Returns a string representation of the instruction.

Implements ir::LLVMInstruction.

std::string ir::LLVMCall::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::LLVMCall::name

The function name called.

The set of parameters.

The signature of the function pointer being called.

Is this call eligible for tail call optimization?


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