LLVM: lib/Target/Hexagon/MCTargetDesc/HexagonMCShuffler.h Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
14#ifndef LLVM_LIB_TARGET_HEXAGON_MCTARGETDESC_HEXAGONMCSHUFFLER_H
15#define LLVM_LIB_TARGET_HEXAGON_MCTARGETDESC_HEXAGONMCSHUFFLER_H
16
20
21namespace llvm {
22
27
28
30public:
37
40 MCInst &MCB, MCInst const &AddMI, bool InsertAtFront)
42 init(MCB, AddMI, InsertAtFront);
43 }
44
45
47
48
50
51private:
52 void init(MCInst &MCB);
53 void init(MCInst &MCB, MCInst const &AddMI, bool InsertAtFront);
54};
55
56
57
59 MCInstrInfo const &MCII, MCSubtargetInfo const &STI,
60 MCInst &MCB);
61bool HexagonMCShuffle(MCContext &Context, MCInstrInfo const &MCII,
62 MCSubtargetInfo const &STI, MCInst &MCB,
63 MCInst const &AddMI, int fixupCount);
64bool HexagonMCShuffle(MCContext &Context, MCInstrInfo const &MCII,
65 MCSubtargetInfo const &STI, MCInst &MCB,
67
68}
69
70#endif
This file defines the SmallVector class.
HexagonMCShuffler(MCContext &Context, bool ReportErrors, MCInstrInfo const &MCII, MCSubtargetInfo const &STI, MCInst &MCB, MCInst const &AddMI, bool InsertAtFront)
Definition HexagonMCShuffler.h:38
bool reshuffleTo(MCInst &MCB)
HexagonMCShuffler(MCContext &Context, bool ReportErrors, MCInstrInfo const &MCII, MCSubtargetInfo const &STI, MCInst &MCB)
Definition HexagonMCShuffler.h:31
HexagonShuffler(MCContext &Context, bool ReportErrors, MCInstrInfo const &MCII, MCSubtargetInfo const &STI)
MCSubtargetInfo const & STI
Context object for machine code objects.
Instances of this class represent a single low-level machine instruction.
Interface to description of machine instruction set.
Generic base class for all target subtargets.
This is an optimization pass for GlobalISel generic memory operations.
bool HexagonMCShuffle(MCContext &Context, bool ReportErrors, MCInstrInfo const &MCII, MCSubtargetInfo const &STI, MCInst &MCB)
class LLVM_GSL_OWNER SmallVector
Forward declaration of SmallVector so that calculateSmallVectorDefaultInlinedElements can reference s...