LLVM
3.7.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
work
release_test
rc4
llvm.src
lib
MC
MCCodeGenInfo.cpp
Go to the documentation of this file.
1
//===-- MCCodeGenInfo.cpp - Target CodeGen Info -----------------*- C++ -*-===//
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 tracks information about the target which can affect codegen,
11
// asm parsing, and asm printing. For example, relocation model.
12
//
13
//===----------------------------------------------------------------------===//
14
15
#include "
llvm/MC/MCCodeGenInfo.h
"
16
using namespace
llvm;
17
18
void
MCCodeGenInfo::initMCCodeGenInfo
(
Reloc::Model
RM
,
CodeModel::Model
CM,
19
CodeGenOpt::Level
OL) {
20
RelocationModel =
RM
;
21
CMModel = CM;
22
OptLevel = OL;
23
}
llvm::CodeModel::Model
Model
Definition:
CodeGen.h:30
llvm::Reloc::Model
Model
Definition:
CodeGen.h:25
llvm::NVPTX::PTXCvtMode::RM
Definition:
NVPTX.h:149
llvm::CodeGenOpt::Level
Level
Definition:
CodeGen.h:49
MCCodeGenInfo.h
llvm::MCCodeGenInfo::initMCCodeGenInfo
void initMCCodeGenInfo(Reloc::Model RM=Reloc::Default, CodeModel::Model CM=CodeModel::Default, CodeGenOpt::Level OL=CodeGenOpt::Default)
Definition:
MCCodeGenInfo.cpp:18
Generated on Mon Aug 31 2015 11:04:08 for LLVM by
1.8.6