LLVM  4.0.0
GCStrategy.cpp
Go to the documentation of this file.
1 //===-- GCStrategy.cpp - Garbage Collector Description --------------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file implements the policy object GCStrategy which describes the
11 // behavior of a given garbage collector.
12 //
13 //===----------------------------------------------------------------------===//
14 
16 
17 using namespace llvm;
18 
20 
22  : UseStatepoints(false), NeededSafePoints(0), CustomReadBarriers(false),
23  CustomWriteBarriers(false), CustomRoots(false), InitRoots(true),
24  UsesMetadata(false) {}
#define LLVM_INSTANTIATE_REGISTRY(REGISTRY_CLASS)
Instantiate a registry class.
Definition: Registry.h:138
A global registry used in conjunction with static constructors to make pluggable components (like tar...
Definition: Registry.h:45
Function Alias Analysis false
Basic Alias true
GCStrategy describes a garbage collector algorithm's code generation requirements, and provides overridable hooks for those needs which cannot be abstractly described.
Definition: GCStrategy.h:78