mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 06:31:18 +00:00
Fit to 80 columns.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15105 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b11a4637fe
commit
82c24fba8a
@ -20,16 +20,17 @@ using namespace llvm;
|
|||||||
namespace {
|
namespace {
|
||||||
enum RegAllocName { simple, local, linearscan, iterativescan };
|
enum RegAllocName { simple, local, linearscan, iterativescan };
|
||||||
|
|
||||||
cl::opt<RegAllocName>
|
cl::opt<RegAllocName RegAlloc(
|
||||||
RegAlloc("regalloc",
|
"regalloc",
|
||||||
cl::desc("Register allocator to use: (default = simple)"),
|
cl::desc("Register allocator to use: (default = simple)"),
|
||||||
cl::Prefix,
|
cl::Prefix,
|
||||||
cl::values(clEnumVal(simple, " simple register allocator"),
|
cl::values(
|
||||||
clEnumVal(local, " local register allocator"),
|
clEnumVal(simple, " simple register allocator"),
|
||||||
clEnumVal(linearscan, " linear scan register allocator"),
|
clEnumVal(local, " local register allocator"),
|
||||||
clEnumVal(iterativescan," iterative scan register allocator"),
|
clEnumVal(linearscan, " linear scan register allocator"),
|
||||||
clEnumValEnd),
|
clEnumVal(iterativescan, " iterative scan register allocator"),
|
||||||
cl::init(local));
|
clEnumValEnd),
|
||||||
|
cl::init(local));
|
||||||
}
|
}
|
||||||
|
|
||||||
FunctionPass *llvm::createRegisterAllocator() {
|
FunctionPass *llvm::createRegisterAllocator() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user