LLVM
7.0.0
lib
Target
Nios2
Nios2TargetObjectFile.cpp
Go to the documentation of this file.
1
//===-- Nios2TargetObjectFile.cpp - Nios2 Object Files --------------------===//
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
#include "
Nios2TargetObjectFile.h
"
11
12
using namespace
llvm
;
13
14
void
Nios2TargetObjectFile::Initialize
(
MCContext
&Ctx,
15
const
TargetMachine
&
TM
) {
16
TargetLoweringObjectFileELF::Initialize
(Ctx, TM);
17
InitializeELF
(TM.
Options
.
UseInitArray
);
18
}
Nios2TargetObjectFile.h
llvm
Compute iterated dominance frontiers using a linear time algorithm.
Definition:
AllocatorList.h:24
llvm::MCContext
Context object for machine code objects.
Definition:
MCContext.h:63
llvm::Nios2TargetObjectFile::Initialize
void Initialize(MCContext &Ctx, const TargetMachine &TM) override
This method must be called before any actual lowering is done.
Definition:
Nios2TargetObjectFile.cpp:14
llvm::SystemZISD::TM
Definition:
SystemZISelLowering.h:68
llvm::TargetLoweringObjectFileELF::InitializeELF
void InitializeELF(bool UseInitArray_)
Definition:
TargetLoweringObjectFileImpl.cpp:644
llvm::TargetOptions::UseInitArray
unsigned UseInitArray
UseInitArray - Use .init_array instead of .ctors for static constructors.
Definition:
TargetOptions.h:197
llvm::TargetMachine::Options
TargetOptions Options
Definition:
TargetMachine.h:98
llvm::TargetMachine
Primary interface to the complete machine description for the target machine.
Definition:
TargetMachine.h:59
llvm::TargetLoweringObjectFileELF::Initialize
void Initialize(MCContext &Ctx, const TargetMachine &TM) override
This method must be called before any actual lowering is done.
Definition:
TargetLoweringObjectFileImpl.cpp:94
Generated on Thu Aug 23 2018 18:55:41 for LLVM by
1.8.13