LLVM
8.0.1
lib
Target
WebAssembly
WebAssemblyTargetObjectFile.cpp
Go to the documentation of this file.
1
//===-- WebAssemblyTargetObjectFile.cpp - WebAssembly Object Info ---------===//
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
/// \file
11
/// This file defines the functions of the WebAssembly-specific subclass
12
/// of TargetLoweringObjectFile.
13
///
14
//===----------------------------------------------------------------------===//
15
16
#include "
WebAssemblyTargetObjectFile.h
"
17
#include "
WebAssemblyTargetMachine.h
"
18
19
using namespace
llvm
;
20
21
void
WebAssemblyTargetObjectFile::Initialize
(
MCContext
&Ctx,
22
const
TargetMachine
&
TM
) {
23
TargetLoweringObjectFileWasm::Initialize
(Ctx, TM);
24
InitializeWasm
();
25
}
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:24
WebAssemblyTargetObjectFile.h
This file declares the WebAssembly-specific subclass of TargetLoweringObjectFile. ...
llvm::TargetLoweringObjectFile::Initialize
virtual void Initialize(MCContext &ctx, const TargetMachine &TM)
This method must be called before any actual lowering is done.
Definition:
TargetLoweringObjectFile.cpp:40
llvm::TargetLoweringObjectFileWasm::InitializeWasm
void InitializeWasm()
Definition:
TargetLoweringObjectFileImpl.cpp:1776
llvm::MCContext
Context object for machine code objects.
Definition:
MCContext.h:63
WebAssemblyTargetMachine.h
This file declares the WebAssembly-specific subclass of TargetMachine.
llvm::SystemZISD::TM
Definition:
SystemZISelLowering.h:68
llvm::WebAssemblyTargetObjectFile::Initialize
void Initialize(MCContext &Ctx, const TargetMachine &TM) override
This method must be called before any actual lowering is done.
Definition:
WebAssemblyTargetObjectFile.cpp:21
llvm::TargetMachine
Primary interface to the complete machine description for the target machine.
Definition:
TargetMachine.h:59
Generated on Sun Dec 20 2020 13:58:11 for LLVM by
1.8.13