mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
[llvm-exegesis][NFC] Remove dead code.
Summary: `hasAliasingImplicitRegistersThrough()` is no longer used. Reviewers: gchatelet Subscribers: tschuett, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68078 llvm-svn: 372968
This commit is contained in:
parent
8b8b700e48
commit
eb3a1abb46
@ -183,12 +183,6 @@ bool Instruction::hasAliasingImplicitRegisters() const {
|
||||
return ImplDefRegs.anyCommon(ImplUseRegs);
|
||||
}
|
||||
|
||||
bool Instruction::hasAliasingImplicitRegistersThrough(
|
||||
const Instruction &OtherInstr) const {
|
||||
return ImplDefRegs.anyCommon(OtherInstr.ImplUseRegs) &&
|
||||
OtherInstr.ImplDefRegs.anyCommon(ImplUseRegs);
|
||||
}
|
||||
|
||||
bool Instruction::hasAliasingRegistersThrough(
|
||||
const Instruction &OtherInstr) const {
|
||||
return AllDefRegs.anyCommon(OtherInstr.AllUseRegs) &&
|
||||
|
@ -114,10 +114,6 @@ struct Instruction {
|
||||
// aliasing Use and Def registers.
|
||||
bool hasAliasingRegisters() const;
|
||||
|
||||
// Whether this instruction's implicit registers alias with OtherInstr's
|
||||
// implicit registers.
|
||||
bool hasAliasingImplicitRegistersThrough(const Instruction &OtherInstr) const;
|
||||
|
||||
// Whether this instruction's registers alias with OtherInstr's registers.
|
||||
bool hasAliasingRegistersThrough(const Instruction &OtherInstr) const;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user