@@ -96,11 +96,11 @@ Instruction::Instruction(const MCInstrDesc *Description, StringRef Name,
9696 const BitVector *ImplUseRegs,
9797 const BitVector *AllDefRegs,
9898 const BitVector *AllUseRegs,
99- const BitVector *NotMemoryRegs )
99+ const BitVector *NonMemoryRegs )
100100 : Description(*Description), Name(Name), Operands(std::move(Operands)),
101101 Variables (std::move(Variables)), ImplDefRegs(*ImplDefRegs),
102102 ImplUseRegs(*ImplUseRegs), AllDefRegs(*AllDefRegs),
103- AllUseRegs(*AllUseRegs), NotMemoryRegs(*NotMemoryRegs ) {}
103+ AllUseRegs(*AllUseRegs), NonMemoryRegs(*NonMemoryRegs ) {}
104104
105105std::unique_ptr<Instruction>
106106Instruction::create (const MCInstrInfo &InstrInfo,
@@ -167,7 +167,7 @@ Instruction::create(const MCInstrInfo &InstrInfo,
167167 BitVector ImplUseRegs = RATC.emptyRegisters ();
168168 BitVector AllDefRegs = RATC.emptyRegisters ();
169169 BitVector AllUseRegs = RATC.emptyRegisters ();
170- BitVector NotMemoryRegs = RATC.emptyRegisters ();
170+ BitVector NonMemoryRegs = RATC.emptyRegisters ();
171171
172172 for (const auto &Op : Operands) {
173173 if (Op.isReg ()) {
@@ -181,7 +181,7 @@ Instruction::create(const MCInstrInfo &InstrInfo,
181181 if (Op.isUse () && Op.isImplicit ())
182182 ImplUseRegs |= AliasingBits;
183183 if (Op.isUse () && !Op.isMemory ())
184- NotMemoryRegs |= AliasingBits;
184+ NonMemoryRegs |= AliasingBits;
185185 }
186186 }
187187 // Can't use make_unique because constructor is private.
@@ -191,7 +191,7 @@ Instruction::create(const MCInstrInfo &InstrInfo,
191191 BVC.getUnique (std::move (ImplUseRegs)),
192192 BVC.getUnique (std::move (AllDefRegs)),
193193 BVC.getUnique (std::move (AllUseRegs)),
194- BVC.getUnique (std::move (NotMemoryRegs ))));
194+ BVC.getUnique (std::move (NonMemoryRegs ))));
195195}
196196
197197const Operand &Instruction::getPrimaryOperand (const Variable &Var) const {
@@ -248,7 +248,7 @@ bool Instruction::hasAliasingRegisters(
248248
249249bool Instruction::hasAliasingNotMemoryRegisters (
250250 const BitVector &ForbiddenRegisters) const {
251- return anyCommonExcludingForbidden (AllDefRegs, NotMemoryRegs ,
251+ return anyCommonExcludingForbidden (AllDefRegs, NonMemoryRegs ,
252252 ForbiddenRegisters);
253253}
254254
0 commit comments