From 08bc4411740b93bdeaf61c164d80d3e94ea0be54 Mon Sep 17 00:00:00 2001 From: Cullen Rhodes Date: Fri, 6 Aug 2021 08:16:07 +0000 Subject: [PATCH] [AArch64] NFC: drop unnecessary llvm:: namespace prefix on MCInst --- .../AArch64/Disassembler/AArch64Disassembler.cpp | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp b/llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp index 1ed8a80..6ded8a27 100644 --- a/llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp +++ b/llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp @@ -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 -static DecodeStatus DecodeSImm(llvm::MCInst &Inst, uint64_t Imm, - uint64_t Address, const void *Decoder); +template +static DecodeStatus DecodeSImm(MCInst &Inst, uint64_t Imm, uint64_t Address, + const void *Decoder); template static DecodeStatus DecodeImm8OptLsl(MCInst &Inst, unsigned Imm, uint64_t Addr, const void *Decoder); @@ -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); @@ -1997,9 +1995,9 @@ static DecodeStatus DecodeSVELogicalImmInstruction(llvm::MCInst &Inst, return Success; } -template -static DecodeStatus DecodeSImm(llvm::MCInst &Inst, uint64_t Imm, - uint64_t Address, const void *Decoder) { +template +static DecodeStatus DecodeSImm(MCInst &Inst, uint64_t Imm, uint64_t Address, + const void *Decoder) { if (Imm & ~((1LL << Bits) - 1)) return Fail; -- 2.7.4