Add a function object to compare the first or second component of a std::pair.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 24 Aug 2013 12:54:27 +0000 (12:54 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 24 Aug 2013 12:54:27 +0000 (12:54 +0000)
commitb12cf01908f0a6847f49523f956dacdfc40da3b7
treea21c929c8f817d860aa9d63dd179897ef47b2c15
parent260de74e484e5db2657c5b2185e9dafea0bd6342
Add a function object to compare the first or second component of a std::pair.

Replace instances of this scattered around the code base.

llvm-svn: 189169
llvm/include/llvm/ADT/STLExtras.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp