LLVM
24.0.0git
lib
Target
WebAssembly
WebAssemblyTargetObjectFile.h
Go to the documentation of this file.
1
//===-- WebAssemblyTargetObjectFile.h - WebAssembly Object Info -*- C++ -*-===//
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 declares the WebAssembly-specific subclass of
11
/// TargetLoweringObjectFile.
12
///
13
//===----------------------------------------------------------------------===//
14
15
#ifndef LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYTARGETOBJECTFILE_H
16
#define LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYTARGETOBJECTFILE_H
17
18
#include "
llvm/CodeGen/TargetLoweringObjectFileImpl.h
"
19
20
namespace
llvm
{
21
22
class
WebAssemblyTargetObjectFile
final :
public
TargetLoweringObjectFileWasm
{
23
public
:
24
void
initialize
(
MCContext
&Ctx,
const
TargetMachine
&
TM
,
25
const
Module
&M)
override
;
26
};
27
28
}
// end namespace llvm
29
30
#endif
TargetLoweringObjectFileImpl.h
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::TargetLoweringObjectFileWasm
TargetLoweringObjectFileWasm()=default
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
Definition
WebAssemblyTargetObjectFile.h:22
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