LLVM API Documentation

Passes.cpp File Reference

#include "llvm/CodeGen/Passes.h"
#include "llvm/Support/CommandLine.h"
#include <iostream>

Include dependency graph for Passes.cpp:

Go to the source code of this file.

Enumerations

enum  RegAllocName { simple, local, linearscan }

Functions

FunctionPassllvm::createRegisterAllocator ()

Variables

cl::opt< RegAllocNameRegAlloc ("regalloc", cl::desc("Register allocator to use: (default = linearscan)"), cl::Prefix, cl::values(clEnumVal(simple," simple register allocator"), clEnumVal(local," local register allocator"), clEnumVal(linearscan," linear scan register allocator"), clEnumValEnd), cl::init(linearscan))


Enumeration Type Documentation

enum RegAllocName

Enumerator:
simple 
local 
linearscan 

Definition at line 21 of file Passes.cpp.


Variable Documentation

cl::opt<RegAllocName> RegAlloc("regalloc", cl::desc("Register allocator to use: (default = linearscan)"), cl::Prefix, cl::values(clEnumVal(simple," simple register allocator"),clEnumVal(local," local register allocator"),clEnumVal(linearscan," linear scan register allocator"),clEnumValEnd), cl::init(linearscan)) [static]

Referenced by llvm::createRegisterAllocator().