LLVM API Documentation
#include "llvm/Instruction.h"
Include dependency graph for SparcV9InstrForest.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | llvm |
Classes | |
class | llvm::InstrTreeNode |
Typedefs | |
typedef int | OpLabel |
typedef int | StateLabel |
Functions | |
StateLabel | burm_label (InstrTreeNode *p) |
StateLabel | burm_state (OpLabel op, StateLabel leftState, StateLabel rightState) |
StateLabel | burm_rule (StateLabel state, int goalNT) |
InstrTreeNode ** | burm_kids (InstrTreeNode *p, int eruleno, InstrTreeNode *kids[]) |
void | printcover (InstrTreeNode *, int, int) |
void | printtree (InstrTreeNode *) |
int | treecost (InstrTreeNode *, int, int) |
void | printMatches (InstrTreeNode *) |
Variables | |
static const int | InvalidOp = -1 |
static const int | VRegListOp = 97 |
static const int | VRegNodeOp = 98 |
static const int | ConstantNodeOp = 99 |
static const int | LabelNodeOp = 100 |
static const int | RetValueOp = 100 + Instruction::Ret |
static const int | BrCondOp = 100 + Instruction::Br |
static const int | BAndOp = 100 + Instruction::And |
static const int | BOrOp = 100 + Instruction::Or |
static const int | BXorOp = 100 + Instruction::Xor |
static const int | BNotOp = 200 + Instruction::Xor |
static const int | NotOp = 300 + Instruction::Xor |
static const int | SetCCOp = 100 + Instruction::SetEQ |
static const int | AllocaN = 100 + Instruction::Alloca |
static const int | LoadIdx = 100 + Instruction::Load |
static const int | GetElemPtrIdx = 100 + Instruction::GetElementPtr |
static const int | ToBoolTy = 100 + Instruction::Cast |
static const int | ToUByteTy = ToBoolTy + 1 |
static const int | ToSByteTy = ToBoolTy + 2 |
static const int | ToUShortTy = ToBoolTy + 3 |
static const int | ToShortTy = ToBoolTy + 4 |
static const int | ToUIntTy = ToBoolTy + 5 |
static const int | ToIntTy = ToBoolTy + 6 |
static const int | ToULongTy = ToBoolTy + 7 |
static const int | ToLongTy = ToBoolTy + 8 |
static const int | ToFloatTy = ToBoolTy + 9 |
static const int | ToDoubleTy = ToBoolTy + 10 |
static const int | ToArrayTy = ToBoolTy + 11 |
static const int | ToPointerTy = ToBoolTy + 12 |
short * | burm_nts [] |
typedef int OpLabel |
Data types needed by BURG
Definition at line 60 of file SparcV9InstrForest.h.
typedef int StateLabel |
Definition at line 61 of file SparcV9InstrForest.h.
InstrTreeNode** burm_kids | ( | InstrTreeNode * | p, | |
int | eruleno, | |||
InstrTreeNode * | kids[] | |||
) |
Referenced by printcover(), and treecost().
StateLabel burm_label | ( | InstrTreeNode * | p | ) |
StateLabel burm_rule | ( | StateLabel | state, | |
int | goalNT | |||
) |
StateLabel burm_state | ( | OpLabel | op, | |
StateLabel | leftState, | |||
StateLabel | rightState | |||
) |
void printcover | ( | InstrTreeNode * | , | |
int | , | |||
int | ||||
) |
void printMatches | ( | InstrTreeNode * | ) |
void printtree | ( | InstrTreeNode * | ) |
int treecost | ( | InstrTreeNode * | , | |
int | , | |||
int | ||||
) |
const int AllocaN = 100 + Instruction::Alloca [static] |
Definition at line 40 of file SparcV9InstrForest.h.
Referenced by llvm::InstructionNode::InstructionNode().
const int BAndOp = 100 + Instruction::And [static] |
Definition at line 34 of file SparcV9InstrForest.h.
const int BNotOp = 200 + Instruction::Xor [static] |
Definition at line 37 of file SparcV9InstrForest.h.
Referenced by llvm::InstructionNode::InstructionNode().
const int BOrOp = 100 + Instruction::Or [static] |
Definition at line 35 of file SparcV9InstrForest.h.
const int BrCondOp = 100 + Instruction::Br [static] |
Definition at line 33 of file SparcV9InstrForest.h.
Referenced by llvm::InstructionNode::InstructionNode().
short* burm_nts[] |
const int BXorOp = 100 + Instruction::Xor [static] |
Definition at line 36 of file SparcV9InstrForest.h.
const int ConstantNodeOp = 99 [static] |
Definition at line 30 of file SparcV9InstrForest.h.
Referenced by llvm::ConstantNode::ConstantNode().
const int GetElemPtrIdx = 100 + Instruction::GetElementPtr [static] |
Definition at line 42 of file SparcV9InstrForest.h.
const int InvalidOp = -1 [static] |
OpLabel values for special-case nodes created for instruction selection. All op-labels not defined here are identical to the instruction opcode returned by Instruction::getOpcode().
Definition at line 27 of file SparcV9InstrForest.h.
Referenced by llvm::InstrTreeNode::InstrTreeNode().
const int LabelNodeOp = 100 [static] |
const int LoadIdx = 100 + Instruction::Load [static] |
Definition at line 41 of file SparcV9InstrForest.h.
const int NotOp = 300 + Instruction::Xor [static] |
Definition at line 38 of file SparcV9InstrForest.h.
Referenced by llvm::InstructionNode::InstructionNode().
const int RetValueOp = 100 + Instruction::Ret [static] |
Definition at line 32 of file SparcV9InstrForest.h.
Referenced by llvm::InstructionNode::InstructionNode().
const int SetCCOp = 100 + Instruction::SetEQ [static] |
Definition at line 39 of file SparcV9InstrForest.h.
Referenced by llvm::InstructionNode::InstructionNode().
Definition at line 55 of file SparcV9InstrForest.h.
Referenced by llvm::InstructionNode::InstructionNode().
const int ToBoolTy = 100 + Instruction::Cast [static] |
Definition at line 43 of file SparcV9InstrForest.h.
Referenced by llvm::InstructionNode::InstructionNode().
const int ToDoubleTy = ToBoolTy + 10 [static] |
Definition at line 54 of file SparcV9InstrForest.h.
Referenced by llvm::InstructionNode::InstructionNode().
Definition at line 53 of file SparcV9InstrForest.h.
Referenced by llvm::InstructionNode::InstructionNode().
Definition at line 50 of file SparcV9InstrForest.h.
Referenced by llvm::InstructionNode::InstructionNode().
Definition at line 52 of file SparcV9InstrForest.h.
Referenced by llvm::InstructionNode::InstructionNode().
const int ToPointerTy = ToBoolTy + 12 [static] |
Definition at line 56 of file SparcV9InstrForest.h.
Referenced by llvm::InstructionNode::InstructionNode().
Definition at line 46 of file SparcV9InstrForest.h.
Referenced by llvm::InstructionNode::InstructionNode().
Definition at line 48 of file SparcV9InstrForest.h.
Referenced by llvm::InstructionNode::InstructionNode().
Definition at line 45 of file SparcV9InstrForest.h.
Referenced by llvm::InstructionNode::InstructionNode().
Definition at line 49 of file SparcV9InstrForest.h.
Referenced by llvm::InstructionNode::InstructionNode().
Definition at line 51 of file SparcV9InstrForest.h.
Referenced by llvm::InstructionNode::InstructionNode().
const int ToUShortTy = ToBoolTy + 3 [static] |
Definition at line 47 of file SparcV9InstrForest.h.
Referenced by llvm::InstructionNode::InstructionNode().
const int VRegListOp = 97 [static] |
Definition at line 28 of file SparcV9InstrForest.h.
Referenced by llvm::InstrTreeNode::rightChild(), and llvm::VRegListNode::VRegListNode().
const int VRegNodeOp = 98 [static] |