LLVM API Documentation

RegAllocSimple.cpp File Reference

#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>

Include dependency graph for RegAllocSimple.cpp:

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")
FunctionPassllvm::createSimpleRegisterAllocator ()

Variables

static RegisterRegAlloc simpleRegAlloc ("simple","simple register allocator", createSimpleRegisterAllocator)


Define Documentation

#define DEBUG_TYPE   "regalloc"

Definition at line 17 of file RegAllocSimple.cpp.


Function Documentation

STATISTIC ( NumLoads  ,
"Number of loads added"   
)

STATISTIC ( NumStores  ,
"Number of stores added"   
)


Variable Documentation

char ID [static]

Definition at line 43 of file RegAllocSimple.cpp.

Definition at line 46 of file RegAllocSimple.cpp.

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.

Definition at line 49 of file RegAllocSimple.cpp.

const TargetMachine* TM

Definition at line 47 of file RegAllocSimple.cpp.

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.