1226584Sdim//===-- MCCodeGenInfo.cpp - Target CodeGen Info -----------------*- C++ -*-===// 2226584Sdim// 3226584Sdim// The LLVM Compiler Infrastructure 4226584Sdim// 5226584Sdim// This file is distributed under the University of Illinois Open Source 6226584Sdim// License. See LICENSE.TXT for details. 7226584Sdim// 8226584Sdim//===----------------------------------------------------------------------===// 9226584Sdim// 10226584Sdim// This file tracks information about the target which can affect codegen, 11226584Sdim// asm parsing, and asm printing. For example, relocation model. 12226584Sdim// 13226584Sdim//===----------------------------------------------------------------------===// 14226584Sdim 15226584Sdim#include "llvm/MC/MCCodeGenInfo.h" 16226584Sdimusing namespace llvm; 17226584Sdim 18234353Sdimvoid MCCodeGenInfo::InitMCCodeGenInfo(Reloc::Model RM, CodeModel::Model CM, 19234353Sdim CodeGenOpt::Level OL) { 20226584Sdim RelocationModel = RM; 21226584Sdim CMModel = CM; 22234353Sdim OptLevel = OL; 23226584Sdim} 24