LLVM
20.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
TargetLoweringObjectFileWasm::Initialize
(Ctx,
TM
);
22
InitializeWasm
();
23
}
WebAssemblyTargetObjectFile.h
This file declares the WebAssembly-specific subclass of TargetLoweringObjectFile.
llvm::MCContext
Context object for machine code objects.
Definition:
MCContext.h:83
llvm::TargetLoweringObjectFileWasm::InitializeWasm
void InitializeWasm()
Definition:
TargetLoweringObjectFileImpl.cpp:2281
llvm::TargetLoweringObjectFile::TM
const TargetMachine * TM
Definition:
TargetLoweringObjectFile.h:68
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::TargetMachine
Primary interface to the complete machine description for the target machine.
Definition:
TargetMachine.h:77
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:19
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
Generated on Sun Dec 22 2024 02:12:45 for LLVM by
1.9.6