summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SimpleRegisterCoalescing.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-03-05 00:59:57 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-03-05 00:59:57 +0000
commit6325446666b4c76f399b3974f8ef1b5092624e2a (patch)
treed1ccfe11959e609c91d777fb9903a8709c7ae9ad /llvm/lib/CodeGen/SimpleRegisterCoalescing.h
parentf9c67f60560a1e63f2741b6c3ed8a093d0f79325 (diff)
downloadbcm5719-llvm-6325446666b4c76f399b3974f8ef1b5092624e2a.tar.gz
bcm5719-llvm-6325446666b4c76f399b3974f8ef1b5092624e2a.zip
Refactor code. Remove duplicated functions that basically do the same thing as
findRegisterUseOperandIdx, findRegisterDefOperandIndx. Fix some naming inconsistencies. llvm-svn: 47927
Diffstat (limited to 'llvm/lib/CodeGen/SimpleRegisterCoalescing.h')
-rw-r--r--llvm/lib/CodeGen/SimpleRegisterCoalescing.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SimpleRegisterCoalescing.h b/llvm/lib/CodeGen/SimpleRegisterCoalescing.h
index 74c39787425..1c216203020 100644
--- a/llvm/lib/CodeGen/SimpleRegisterCoalescing.h
+++ b/llvm/lib/CodeGen/SimpleRegisterCoalescing.h
@@ -206,10 +206,6 @@ namespace llvm {
MachineOperand *lastRegisterUse(unsigned Start, unsigned End, unsigned Reg,
unsigned &LastUseIdx) const;
- /// findDefOperand - Returns the MachineOperand that is a def of the specific
- /// register. It returns NULL if the def is not found.
- MachineOperand *findDefOperand(MachineInstr *MI, unsigned Reg) const;
-
void printRegName(unsigned reg) const;
};
OpenPOWER on IntegriCloud