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
#include "
WebAssemblyTargetMachine.h
"
17
18
using namespace
llvm
;
19
20
void
WebAssemblyTargetObjectFile::Initialize
(
MCContext
&Ctx,
21
const
TargetMachine
&TM) {
22
TargetLoweringObjectFileWasm::Initialize
(Ctx,
TM
);
23
InitializeWasm
();
24
}
WebAssemblyTargetMachine.h
This file declares the WebAssembly-specific subclass of TargetMachine.
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:2270
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:20
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
Generated on Sun Dec 8 2024 02:05:57 for LLVM by
1.9.6