From: Cullen Rhodes Date: Fri, 6 Aug 2021 08:16:07 +0000 (+0000) Subject: [AArch64] NFC: drop unnecessary llvm:: namespace prefix on MCInst X-Git-Tag: upstream/15.0.7~34491 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08bc4411740b93bdeaf61c164d80d3e94ea0be54;p=platform%2Fupstream%2Fllvm.git [AArch64] NFC: drop unnecessary llvm:: namespace prefix on MCInst --- 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;