mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-21 18:22:53 +01:00
f98a6ff646
We want it to be available in analyzes so that we could use the CodeGen notion in middle-end passes (for example, to check if a GC may free some particular pointer). This is a preparatory patch that simply moves the files around. Note: if this causes some build issues, this patch must just be reverted. Differential Revision: https://reviews.llvm.org/D100557 Reviewed By: reames
21 lines
703 B
C++
21 lines
703 B
C++
//===- GCStrategy.cpp - Garbage Collector Description ---------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file implements the policy object GCStrategy which describes the
|
|
// behavior of a given garbage collector.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "llvm/IR/GCStrategy.h"
|
|
|
|
using namespace llvm;
|
|
|
|
LLVM_INSTANTIATE_REGISTRY(GCRegistry)
|
|
|
|
GCStrategy::GCStrategy() = default;
|