LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

llvm::TmpInstruction Class Reference

#include <SparcV9TmpInstr.h>

Inheritance diagram for llvm::TmpInstruction:

Inheritance graph
[legend]
Collaboration diagram for llvm::TmpInstruction:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TmpInstruction (MachineCodeForInstruction &mcfi, Value *s1, Value *s2=0, const std::string &name="")
 TmpInstruction (Value *s1, Value *s2=0, const std::string &name="")
 TmpInstruction (MachineCodeForInstruction &mcfi, const Type *Ty, Value *s1=0, Value *s2=0, const std::string &name="")
virtual Instructionclone () const
virtual const char * getOpcodeName () const

Static Public Member Functions

static bool classof (const TmpInstruction *)
static bool classof (const Instruction *I)
 Methods for support type inquiry through isa, cast, and dyn_cast:.
static bool classof (const Value *V)

Detailed Description

TmpInstruction - This class represents temporary intermediate values used within the SparcV9 machine code for an LLVM instruction.

Definition at line 26 of file SparcV9TmpInstr.h.


Constructor & Destructor Documentation

llvm::TmpInstruction::TmpInstruction MachineCodeForInstruction mcfi,
Value s1,
Value s2 = 0,
const std::string &  name = ""
 

Definition at line 30 of file SparcV9TmpInstr.cpp.

References llvm::MachineCodeForInstruction::addTemp(), llvm::User::Operands, and llvm::LeakDetector::removeGarbageObject().

llvm::TmpInstruction::TmpInstruction Value s1,
Value s2 = 0,
const std::string &  name = ""
 

Definition at line 20 of file SparcV9TmpInstr.cpp.

References llvm::User::Operands, and llvm::LeakDetector::removeGarbageObject().

llvm::TmpInstruction::TmpInstruction MachineCodeForInstruction mcfi,
const Type Ty,
Value s1 = 0,
Value s2 = 0,
const std::string &  name = ""
 

Definition at line 45 of file SparcV9TmpInstr.cpp.

References llvm::MachineCodeForInstruction::addTemp(), llvm::User::Operands, and llvm::LeakDetector::removeGarbageObject().


Member Function Documentation

static bool llvm::TmpInstruction::classof const Value V  )  [inline, static]
 

Reimplemented from llvm::Instruction.

Definition at line 65 of file SparcV9TmpInstr.h.

References classof().

static bool llvm::TmpInstruction::classof const Instruction I  )  [inline, static]
 

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

Reimplemented from llvm::Instruction.

Definition at line 62 of file SparcV9TmpInstr.h.

References llvm::Instruction::getOpcode(), and llvm::Instruction::UserOp1.

static bool llvm::TmpInstruction::classof const TmpInstruction  )  [inline, static]
 

Definition at line 61 of file SparcV9TmpInstr.h.

Referenced by classof().

virtual Instruction* llvm::TmpInstruction::clone  )  const [inline, virtual]
 

clone() - Create a copy of 'this' instruction that is identical in all ways except the following: The instruction has no parent The instruction has no name

Implements llvm::Instruction.

Definition at line 54 of file SparcV9TmpInstr.h.

virtual const char* llvm::TmpInstruction::getOpcodeName  )  const [inline, virtual]
 

Reimplemented from llvm::Instruction.

Definition at line 58 of file SparcV9TmpInstr.h.


The documentation for this class was generated from the following files: