Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMicroMipsSizeReduction.cpp87 struct ReduceEntry { struct
89 enum ReduceType eRType; ///< Reduction type
90 bool (*ReduceFunction)(
92 struct OpCodes Ops; ///< All relevant OpCodes
93 struct OpInfo OpInf; ///< Characteristics of operands
94 struct ImmField Imm; ///< Characteristics of immediate field
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()
[all …]
/freebsd/contrib/llvm-project/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)
70 uint8_t Imm2Limit; // Limit of immediate field when it's two-address
71 unsigned LowRegs1 : 1; // Only possible if low-registers are used
72 unsigned LowRegs2 : 1; // Only possible if low-registers are used (2addr)
73 unsigned PredCC1 : 2; // 0 - If predicated, cc is on and vice versa.
76 unsigned PredCC2 : 2;
[all …]