Lines Matching refs:Imm
22 static uint64_t getChunk(uint64_t Imm, unsigned ChunkIdx) { in getChunk() argument
25 return (Imm >> (ChunkIdx * 16)) & 0xFFFF; in getChunk()
124 static uint64_t updateImm(uint64_t Imm, unsigned Idx, bool Clear) { in updateImm() argument
129 Imm &= ~(Mask << (Idx * 16)); in updateImm()
132 Imm |= Mask << (Idx * 16); in updateImm()
134 return Imm; in updateImm()
244 static inline void expandMOVImmSimple(uint64_t Imm, unsigned BitSize, in expandMOVImmSimple() argument
258 Imm = ~Imm; in expandMOVImmSimple()
263 Imm &= (1LL << 32) - 1; in expandMOVImmSimple()
270 if (Imm != 0) { in expandMOVImmSimple()
271 unsigned LZ = countLeadingZeros(Imm); in expandMOVImmSimple()
272 unsigned TZ = countTrailingZeros(Imm); in expandMOVImmSimple()
276 unsigned Imm16 = (Imm >> Shift) & Mask; in expandMOVImmSimple()
287 Imm = ~Imm; in expandMOVImmSimple()
292 Imm16 = (Imm >> Shift) & Mask; in expandMOVImmSimple()
303 void AArch64_IMM::expandMOVImm(uint64_t Imm, unsigned BitSize, in expandMOVImm() argument
312 const unsigned Chunk = (Imm >> Shift) & Mask; in expandMOVImm()
321 expandMOVImmSimple(Imm, BitSize, OneChunks, ZeroChunks, Insn); in expandMOVImm()
326 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize); in expandMOVImm()
339 expandMOVImmSimple(Imm, BitSize, OneChunks, ZeroChunks, Insn); in expandMOVImm()
384 expandMOVImmSimple(Imm, BitSize, OneChunks, ZeroChunks, Insn); in expandMOVImm()
404 expandMOVImmSimple(Imm, BitSize, OneChunks, ZeroChunks, Insn); in expandMOVImm()