LLVM API Documentation
#include "llvm/CodeGen/Passes.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineInstr.h"#include "llvm/CodeGen/SSARegMap.h"#include "llvm/CodeGen/MachineFrameInfo.h"#include "llvm/Target/TargetInstrInfo.h"#include "llvm/Target/TargetMachine.h"#include "llvm/Support/Debug.h"#include "llvm/Support/Visibility.h"#include "llvm/ADT/Statistic.h"#include "llvm/ADT/STLExtras.h"#include <iostream>Include dependency graph for RegAllocSimple.cpp:

Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "regalloc" |
Functions | |
| FunctionPass * | llvm::createSimpleRegisterAllocator () |
Variables | |
| static Statistic | NumStores ("ra-simple","Number of stores added") |
| static Statistic | NumLoads ("ra-simple","Number of loads added") |
| #define DEBUG_TYPE "regalloc" |
Definition at line 17 of file RegAllocSimple.cpp.
Definition at line 37 of file RegAllocSimple.cpp.
| bool* PhysRegsEverUsed |
Definition at line 40 of file RegAllocSimple.cpp.
| std::map<const TargetRegisterClass*, unsigned> RegClassIdx |
Definition at line 53 of file RegAllocSimple.cpp.
| const MRegisterInfo* RegInfo |
Definition at line 39 of file RegAllocSimple.cpp.
| std::vector<bool> RegsUsed |
Definition at line 48 of file RegAllocSimple.cpp.
| std::map<unsigned, int> StackSlotForVirtReg |
Definition at line 44 of file RegAllocSimple.cpp.
| const TargetMachine* TM |
Definition at line 38 of file RegAllocSimple.cpp.