summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-01-28 08:19:00 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-01-28 08:19:00 +0000
commitaaf401241a4b97663175e63f6d27411791fc3f47 (patch)
tree82561eb4f48c67f474e5d5d2d2b487c3e5ae5ac2 /llvm/lib/Transforms/IPO
parent564fcca856f3e69067c7de16fea4e4d9fc534830 (diff)
downloadbcm5719-llvm-aaf401241a4b97663175e63f6d27411791fc3f47.tar.gz
bcm5719-llvm-aaf401241a4b97663175e63f6d27411791fc3f47.zip
Add a doxygen comment for this class.
llvm-svn: 124480
Diffstat (limited to 'llvm/lib/Transforms/IPO')
-rw-r--r--llvm/lib/Transforms/IPO/MergeFunctions.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/IPO/MergeFunctions.cpp b/llvm/lib/Transforms/IPO/MergeFunctions.cpp
index 72047418ac2..07d1376e7ae 100644
--- a/llvm/lib/Transforms/IPO/MergeFunctions.cpp
+++ b/llvm/lib/Transforms/IPO/MergeFunctions.cpp
@@ -90,6 +90,8 @@ static unsigned ProfileFunction(const Function *F) {
namespace {
+/// ComparableFunction - A struct that pairs together functions with a
+/// TargetData so that we can keep them together as elements in the DenseSet.
class ComparableFunction {
public:
static const ComparableFunction EmptyKey;
OpenPOWER on IntegriCloud