LLVM
24.0.0git
lib
Target
WebAssembly
WebAssemblyTargetObjectFile.cpp
Go to the documentation of this file.
1
//===-- WebAssemblyTargetObjectFile.cpp - WebAssembly Object Info ---------===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
///
9
/// \file
10
/// This file defines the functions of the WebAssembly-specific subclass
11
/// of TargetLoweringObjectFile.
12
///
13
//===----------------------------------------------------------------------===//
14
15
#include "
WebAssemblyTargetObjectFile.h
"
16
17
using namespace
llvm
;
18
19
void
WebAssemblyTargetObjectFile::initialize
(
MCContext
&Ctx,
20
const
TargetMachine
&
TM
,
21
const
Module
&M) {
22
TargetLoweringObjectFileWasm::initialize
(Ctx,
TM
, M);
23
InitializeWasm
();
24
}
WebAssemblyTargetObjectFile.h
This file declares the WebAssembly-specific subclass of TargetLoweringObjectFile.
llvm::MCContext
Context object for machine code objects.
Definition
MCContext.h:83
llvm::Module
A Module instance is used to store all the information related to an LLVM module.
Definition
Module.h:68
llvm::TargetLoweringObjectFileWasm::InitializeWasm
void InitializeWasm()
Definition
TargetLoweringObjectFileImpl.cpp:2411
llvm::TargetLoweringObjectFileWasm::initialize
void initialize(MCContext &Ctx, const TargetMachine &TM, const Module &M) override
This method must be called before any actual lowering is done.
Definition
TargetLoweringObjectFileImpl.cpp:2304
llvm::TargetLoweringObjectFile::TM
const TargetMachine * TM
Definition
TargetLoweringObjectFile.h:70
llvm::TargetMachine
Primary interface to the complete machine description for the target machine.
Definition
TargetMachine.h:84
llvm::WebAssemblyTargetObjectFile::initialize
void initialize(MCContext &Ctx, const TargetMachine &TM, const Module &M) override
This method must be called before any actual lowering is done.
Definition
WebAssemblyTargetObjectFile.cpp:19
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition
DefaultTargetInfo.h:21
Generated on
for LLVM by
1.14.0