HexagonVectorLoopCarriedReuse.cpp: Apply LLVM_ATTRIBUTE_UNUSED. [-Wunused-function]

llvm-svn: 313947
This commit is contained in:
NAKAMURA Takumi 2017-09-22 01:01:33 +00:00
parent 05f6015fbd
commit fec5e10890
1 changed files with 2 additions and 0 deletions

View File

@ -183,6 +183,7 @@ namespace {
friend raw_ostream &operator<< (raw_ostream &OS, const DepChain &D);
};
LLVM_ATTRIBUTE_UNUSED
raw_ostream &operator<<(raw_ostream &OS, const DepChain &D) {
const ChainOfDependences &CD = D.Chain;
int ChainSize = CD.size();
@ -206,6 +207,7 @@ namespace {
bool isDefined() { return Inst2Replace != nullptr; }
};
typedef struct ReuseValue ReuseValue;
LLVM_ATTRIBUTE_UNUSED
raw_ostream &operator<<(raw_ostream &OS, const ReuseValue &RU) {
OS << "** ReuseValue ***\n";
OS << "Instruction to Replace: " << *(RU.Inst2Replace) << "\n";