LLVM API Documentation
#include "llvm/CodeGen/Passes.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineInstr.h"#include "llvm/CodeGen/MachineFrameInfo.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/CodeGen/RegAllocRegistry.h"#include "llvm/Target/TargetInstrInfo.h"#include "llvm/Target/TargetMachine.h"#include "llvm/Support/Debug.h"#include "llvm/Support/Compiler.h"#include "llvm/ADT/Statistic.h"#include "llvm/ADT/STLExtras.h"#include <map>

Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "regalloc" |
Functions | |
| STATISTIC (NumStores,"Number of stores added") | |
| STATISTIC (NumLoads,"Number of loads added") | |
| FunctionPass * | llvm::createSimpleRegisterAllocator () |
Variables | |
| static RegisterRegAlloc | simpleRegAlloc ("simple","simple register allocator", createSimpleRegisterAllocator) |
| #define DEBUG_TYPE "regalloc" |
Definition at line 17 of file RegAllocSimple.cpp.
| STATISTIC | ( | NumLoads | , | |
| "Number of loads added" | ||||
| ) |
| STATISTIC | ( | NumStores | , | |
| "Number of stores added" | ||||
| ) |
char ID [static] |
Definition at line 43 of file RegAllocSimple.cpp.
Definition at line 46 of file RegAllocSimple.cpp.
| std::map<const TargetRegisterClass*, unsigned> RegClassIdx |
Definition at line 62 of file RegAllocSimple.cpp.
| std::vector<bool> RegsUsed |
Definition at line 57 of file RegAllocSimple.cpp.
RegisterRegAlloc simpleRegAlloc("simple","simple register allocator", createSimpleRegisterAllocator) [static] |
| std::map<unsigned, int> StackSlotForVirtReg |
Definition at line 53 of file RegAllocSimple.cpp.
| const TargetInstrInfo* TII |
Definition at line 49 of file RegAllocSimple.cpp.
| const TargetMachine* TM |
Definition at line 47 of file RegAllocSimple.cpp.
| const TargetRegisterInfo* TRI |
Definition at line 48 of file RegAllocSimple.cpp.
This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.