• Home
  • Raw
  • Download

Lines Matching refs:Imm

29 void MipsAnalyzeImmediate::GetInstSeqLsADDiu(uint64_t Imm, unsigned RemSize,  in GetInstSeqLsADDiu()  argument
31 GetInstSeqLs((Imm + 0x8000ULL) & 0xffffffffffff0000ULL, RemSize, SeqLs); in GetInstSeqLsADDiu()
32 AddInstr(SeqLs, Inst(ADDiu, Imm & 0xffffULL)); in GetInstSeqLsADDiu()
35 void MipsAnalyzeImmediate::GetInstSeqLsORi(uint64_t Imm, unsigned RemSize, in GetInstSeqLsORi() argument
37 GetInstSeqLs(Imm & 0xffffffffffff0000ULL, RemSize, SeqLs); in GetInstSeqLsORi()
38 AddInstr(SeqLs, Inst(ORi, Imm & 0xffffULL)); in GetInstSeqLsORi()
41 void MipsAnalyzeImmediate::GetInstSeqLsSLL(uint64_t Imm, unsigned RemSize, in GetInstSeqLsSLL() argument
43 unsigned Shamt = countTrailingZeros(Imm); in GetInstSeqLsSLL()
44 GetInstSeqLs(Imm >> Shamt, RemSize - Shamt, SeqLs); in GetInstSeqLsSLL()
48 void MipsAnalyzeImmediate::GetInstSeqLs(uint64_t Imm, unsigned RemSize, in GetInstSeqLs() argument
50 uint64_t MaskedImm = Imm & (0xffffffffffffffffULL >> (64 - Size)); in GetInstSeqLs()
63 if (!(Imm & 0xffff)) { in GetInstSeqLs()
64 GetInstSeqLsSLL(Imm, RemSize, SeqLs); in GetInstSeqLs()
68 GetInstSeqLsADDiu(Imm, RemSize, SeqLs); in GetInstSeqLs()
72 if (Imm & 0x8000) { in GetInstSeqLs()
74 GetInstSeqLsORi(Imm, RemSize, SeqLsORi); in GetInstSeqLs()
94 int64_t Imm = SignExtend64<16>(Seq[0].ImmOpnd); in ReplaceADDiuSLLWithLUi() local
95 int64_t ShiftedImm = (uint64_t)Imm << (Seq[1].ImmOpnd - 16); in ReplaceADDiuSLLWithLUi()
126 &MipsAnalyzeImmediate::Analyze(uint64_t Imm, unsigned Size, in Analyze() argument
145 if (LastInstrIsADDiu | !Imm) in Analyze()
146 GetInstSeqLsADDiu(Imm, Size, SeqLs); in Analyze()
148 GetInstSeqLs(Imm, Size, SeqLs); in Analyze()