15 #ifndef HEXAGONSHUFFLER_H
16 #define HEXAGONSHUFFLER_H
31 unsigned Slots, Weight;
66 :
ID(id), Extender(Extender), Core(s), SoloException(x){};
138 #endif // HEXAGONSHUFFLER_H
void setError(unsigned Err)
static bool lessCore(const HexagonInstr &A, const HexagonInstr &B)
void setUnits(unsigned s)
unsigned getError() const
unsigned isSoloException() const
HexagonResource(unsigned s)
MCInst const * getExtender() const
unsigned setWeight(unsigned s)
MCInst const * getDesc() const
static bool lessWeight(const HexagonResource &A, const HexagonResource &B)
No free slots for store insns.
#define HEXAGON_PACKET_SIZE
HexagonShuffler(MCInstrInfo const &MCII, MCSubtargetInfo const &STI)
unsigned getUnits() const
HexagonInstr(MCInst const *id, MCInst const *Extender, unsigned s, bool x=false)
Instances of this class represent a single low-level machine instruction.
MCSubtargetInfo const & STI
Interface to description of machine instruction set.
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang","erlang-compatible garbage collector")
bool operator<(const HexagonInstr &B) const
HexagonPacket::iterator iterator
void append(MCInst const *ID, MCInst const *Extender, unsigned S, bool X=false)
unsigned countPopulation(T Value)
Count the number of set bits in a value.
No free slots for branch insns.
No free slots for load insns.
unsigned getWeight() const
static bool lessUnits(const HexagonResource &A, const HexagonResource &B)
MCSubtargetInfo - Generic base class for all target subtargets.
No free slots for other insns.
bool check()
Check that the packet is legal and enforce relative insn order.