Skip to content

Commit

Permalink
[AArch64] NFC: drop unnecessary llvm:: namespace prefix on MCInst
Browse files Browse the repository at this point in the history
  • Loading branch information
c-rhodes committed Aug 6, 2021
1 parent 22fdf61 commit 08bc441
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
Expand Up @@ -225,13 +225,12 @@ static DecodeStatus DecodeXSeqPairsClassRegisterClass(MCInst &Inst,
unsigned RegNo,
uint64_t Addr,
const void *Decoder);
static DecodeStatus DecodeSVELogicalImmInstruction(llvm::MCInst &Inst,
uint32_t insn,
static DecodeStatus DecodeSVELogicalImmInstruction(MCInst &Inst, uint32_t insn,
uint64_t Address,
const void *Decoder);
template<int Bits>
static DecodeStatus DecodeSImm(llvm::MCInst &Inst, uint64_t Imm,
uint64_t Address, const void *Decoder);
template <int Bits>
static DecodeStatus DecodeSImm(MCInst &Inst, uint64_t Imm, uint64_t Address,
const void *Decoder);
template <int ElementWidth>
static DecodeStatus DecodeImm8OptLsl(MCInst &Inst, unsigned Imm,
uint64_t Addr, const void *Decoder);
Expand Down Expand Up @@ -1980,8 +1979,7 @@ static DecodeStatus DecodeXSeqPairsClassRegisterClass(MCInst &Inst,
RegNo, Addr, Decoder);
}

static DecodeStatus DecodeSVELogicalImmInstruction(llvm::MCInst &Inst,
uint32_t insn,
static DecodeStatus DecodeSVELogicalImmInstruction(MCInst &Inst, uint32_t insn,
uint64_t Addr,
const void *Decoder) {
unsigned Zdn = fieldFromInstruction(insn, 0, 5);
Expand All @@ -1997,9 +1995,9 @@ static DecodeStatus DecodeSVELogicalImmInstruction(llvm::MCInst &Inst,
return Success;
}

template<int Bits>
static DecodeStatus DecodeSImm(llvm::MCInst &Inst, uint64_t Imm,
uint64_t Address, const void *Decoder) {
template <int Bits>
static DecodeStatus DecodeSImm(MCInst &Inst, uint64_t Imm, uint64_t Address,
const void *Decoder) {
if (Imm & ~((1LL << Bits) - 1))
return Fail;

Expand Down

0 comments on commit 08bc441

Please sign in to comment.