forked from OSchip/llvm-project
[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
7568899b35
commit
06f9ce84fe
|
@ -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