LLVM API Documentation

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

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

Definition at line 41 of file SparcV9TmpInstr.cpp.

References llvm::MachineCodeForInstruction::addTemp(), llvm::Use::init(), and llvm::LeakDetector::removeGarbageObject().

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

Definition at line 31 of file SparcV9TmpInstr.cpp.

References llvm::Use::init(), and llvm::LeakDetector::removeGarbageObject().

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

Definition at line 56 of file SparcV9TmpInstr.cpp.

References llvm::MachineCodeForInstruction::addTemp(), llvm::Use::init(), and llvm::LeakDetector::removeGarbageObject().


Member Function Documentation

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

Reimplemented from llvm::Instruction.

Definition at line 57 of file SparcV9TmpInstr.h.

References classof(), and V.

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 54 of file SparcV9TmpInstr.h.

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

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

Definition at line 53 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 46 of file SparcV9TmpInstr.h.

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

Reimplemented from llvm::Instruction.

Definition at line 50 of file SparcV9TmpInstr.h.


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