9 #ifndef LLVM_LIB_TARGET_MIPS_MIPSANALYZEIMMEDIATE_H 10 #define LLVM_LIB_TARGET_MIPS_MIPSANALYZEIMMEDIATE_H 22 Inst(
unsigned Opc,
unsigned ImmOpnd);
29 const InstSeq &
Analyze(uint64_t Imm,
unsigned Size,
bool LastInstrIsADDiu);
39 void GetInstSeqLsADDiu(uint64_t Imm,
unsigned RemSize,
InstSeqLs &SeqLs);
43 void GetInstSeqLsORi(uint64_t Imm,
unsigned RemSize,
InstSeqLs &SeqLs);
47 void GetInstSeqLsSLL(uint64_t Imm,
unsigned RemSize,
InstSeqLs &SeqLs);
50 void GetInstSeqLs(uint64_t Imm,
unsigned RemSize,
InstSeqLs &SeqLs);
53 void ReplaceADDiuSLLWithLUi(
InstSeq &Seq);
60 unsigned ADDiu, ORi, SLL, LUi;
66 #endif // LLVM_LIB_TARGET_MIPS_MIPSANALYZEIMMEDIATE_H
This class represents lattice values for constants.