10 #ifndef LLVM_LIB_TARGET_MIPS_MIPSANALYZEIMMEDIATE_H 11 #define LLVM_LIB_TARGET_MIPS_MIPSANALYZEIMMEDIATE_H 23 Inst(
unsigned Opc,
unsigned ImmOpnd);
30 const InstSeq &
Analyze(uint64_t Imm,
unsigned Size,
bool LastInstrIsADDiu);
40 void GetInstSeqLsADDiu(uint64_t Imm,
unsigned RemSize,
InstSeqLs &SeqLs);
44 void GetInstSeqLsORi(uint64_t Imm,
unsigned RemSize,
InstSeqLs &SeqLs);
48 void GetInstSeqLsSLL(uint64_t Imm,
unsigned RemSize,
InstSeqLs &SeqLs);
51 void GetInstSeqLs(uint64_t Imm,
unsigned RemSize,
InstSeqLs &SeqLs);
54 void ReplaceADDiuSLLWithLUi(
InstSeq &Seq);
61 unsigned ADDiu, ORi, SLL, LUi;
67 #endif // LLVM_LIB_TARGET_MIPS_MIPSANALYZEIMMEDIATE_H
This class represents lattice values for constants.