LLVM
20.0.0git
lib
Target
Mips
MCTargetDesc
MipsMCNaCl.h
Go to the documentation of this file.
1
//===-- MipsMCNaCl.h - NaCl-related declarations --------------------------===//
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
#ifndef LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSMCNACL_H
10
#define LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSMCNACL_H
11
12
#include "
llvm/MC/MCELFStreamer.h
"
13
#include "
llvm/Support/Alignment.h
"
14
15
namespace
llvm
{
16
17
// NaCl MIPS sandbox's instruction bundle size.
18
static
const
Align
MIPS_NACL_BUNDLE_ALIGN
=
Align
(16);
19
20
bool
isBasePlusOffsetMemoryAccess
(
unsigned
Opcode,
unsigned
*AddrIdx,
21
bool
*IsStore =
nullptr
);
22
bool
baseRegNeedsLoadStoreMask
(
unsigned
Reg
);
23
24
// This function creates an MCELFStreamer for Mips NaCl.
25
MCELFStreamer
*
26
createMipsNaClELFStreamer
(
MCContext
&Context, std::unique_ptr<MCAsmBackend> TAB,
27
std::unique_ptr<MCObjectWriter> OW,
28
std::unique_ptr<MCCodeEmitter>
Emitter
);
29
}
30
31
#endif
Alignment.h
Emitter
dxil DXContainer Global Emitter
Definition:
DXContainerGlobals.cpp:251
MCELFStreamer.h
Reg
unsigned Reg
Definition:
MachineSink.cpp:1943
llvm::MCContext
Context object for machine code objects.
Definition:
MCContext.h:83
llvm::MCELFStreamer
Definition:
MCELFStreamer.h:32
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::isBasePlusOffsetMemoryAccess
bool isBasePlusOffsetMemoryAccess(unsigned Opcode, unsigned *AddrIdx, bool *IsStore=nullptr)
Definition:
MipsNaClELFStreamer.cpp:209
llvm::MIPS_NACL_BUNDLE_ALIGN
static const Align MIPS_NACL_BUNDLE_ALIGN
Definition:
MipsMCNaCl.h:18
llvm::baseRegNeedsLoadStoreMask
bool baseRegNeedsLoadStoreMask(unsigned Reg)
Definition:
MipsNaClELFStreamer.cpp:256
llvm::createMipsNaClELFStreamer
MCELFStreamer * createMipsNaClELFStreamer(MCContext &Context, std::unique_ptr< MCAsmBackend > TAB, std::unique_ptr< MCObjectWriter > OW, std::unique_ptr< MCCodeEmitter > Emitter)
Definition:
MipsNaClELFStreamer.cpp:262
llvm::Align
This struct is a compact representation of a valid (non-zero power of two) alignment.
Definition:
Alignment.h:39
Generated on Sun Dec 22 2024 01:32:30 for LLVM by
1.9.6