Home
last modified time | relevance | path

Searched defs:ReduceEntry (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMicroMipsSizeReduction.cpp87 struct ReduceEntry { struct
89 enum ReduceType eRType; ///< Reduction type
90 bool (*ReduceFunction)(
96 ReduceEntry(enum ReduceType RType, struct OpCodes Op, in ReduceEntry() argument
101 unsigned NarrowOpc() const { return Ops.NarrowOpc; } in NarrowOpc()
102 unsigned WideOpc() const { return Ops.WideOpc; } in WideOpc()
103 int16_t LBound() const { return Imm.LBound; } in LBound()
104 int16_t HBound() const { return Imm.HBound; } in HBound()
105 uint8_t Shift() const { return Imm.Shift; } in Shift()
107 enum OperandTransfer TransferOperands() const { in TransferOperands()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DThumb2SizeReduction.cpp65 struct ReduceEntry { struct
66 uint16_t WideOpc; // Wide opcode
67 uint16_t NarrowOpc1; // Narrow opcode to transform to
68 uint16_t NarrowOpc2; // Narrow opcode when it's two-address
69 uint8_t Imm1Limit; // Limit of immediate field (bits)
71 unsigned LowRegs1 : 1; // Only possible if low-registers are used
73 unsigned PredCC1 : 2; // 0 - If predicated, cc is on and vice versa.
76 unsigned PredCC2 : 2;
77 unsigned PartFlag : 1; // 16-bit instruction does partial flag update
78 unsigned Special : 1; // Needs to be dealt with specially
[all …]