mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-11 21:57:55 +00:00
21a996a0e3
s/InitMCCodeGenInfo/initMCCodeGenInfo/ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237471 91177308-0d34-0410-b5e6-96231b3b80d8
24 lines
824 B
C++
24 lines
824 B
C++
//===-- MCCodeGenInfo.cpp - Target CodeGen Info -----------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file tracks information about the target which can affect codegen,
|
|
// asm parsing, and asm printing. For example, relocation model.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "llvm/MC/MCCodeGenInfo.h"
|
|
using namespace llvm;
|
|
|
|
void MCCodeGenInfo::initMCCodeGenInfo(Reloc::Model RM, CodeModel::Model CM,
|
|
CodeGenOpt::Level OL) {
|
|
RelocationModel = RM;
|
|
CMModel = CM;
|
|
OptLevel = OL;
|
|
}
|