LLVM
8.0.1
lib
Target
Mips
MCTargetDesc
MipsMCNaCl.h
Go to the documentation of this file.
1
//===-- MipsMCNaCl.h - NaCl-related declarations --------------------------===//
2
//
3
// The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//
8
//===----------------------------------------------------------------------===//
9
10
#ifndef LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSMCNACL_H
11
#define LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSMCNACL_H
12
13
#include "
llvm/MC/MCELFStreamer.h
"
14
15
namespace
llvm
{
16
17
// Log2 of the NaCl MIPS sandbox's instruction bundle size.
18
static
const
unsigned
MIPS_NACL_BUNDLE_ALIGN
= 4u;
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
*
createMipsNaClELFStreamer
(
MCContext
&
Context
,
26
std::unique_ptr<MCAsmBackend> TAB,
27
std::unique_ptr<MCObjectWriter> OW,
28
std::unique_ptr<MCCodeEmitter> Emitter,
29
bool
RelaxAll);
30
}
31
32
#endif
Context
LLVMContext & Context
Definition:
NVVMIntrRange.cpp:72
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:24
llvm::isBasePlusOffsetMemoryAccess
bool isBasePlusOffsetMemoryAccess(unsigned Opcode, unsigned *AddrIdx, bool *IsStore=nullptr)
Definition:
MipsNaClELFStreamer.cpp:211
Reg
unsigned Reg
Definition:
MachineSink.cpp:979
MCELFStreamer.h
llvm::baseRegNeedsLoadStoreMask
bool baseRegNeedsLoadStoreMask(unsigned Reg)
Definition:
MipsNaClELFStreamer.cpp:258
llvm::createMipsNaClELFStreamer
MCELFStreamer * createMipsNaClELFStreamer(MCContext &Context, std::unique_ptr< MCAsmBackend > TAB, std::unique_ptr< MCObjectWriter > OW, std::unique_ptr< MCCodeEmitter > Emitter, bool RelaxAll)
Definition:
MipsNaClELFStreamer.cpp:263
llvm::MCContext
Context object for machine code objects.
Definition:
MCContext.h:63
llvm::MCELFStreamer
Definition:
MCELFStreamer.h:24
llvm::MIPS_NACL_BUNDLE_ALIGN
static const unsigned MIPS_NACL_BUNDLE_ALIGN
Definition:
MipsMCNaCl.h:18
Generated on Sun Dec 20 2020 13:56:56 for LLVM by
1.8.13