Factor address mode matcher out of codegen prepare to make it available to other...
authorEvan Cheng <evan.cheng@apple.com>
Fri, 20 Feb 2009 18:24:38 +0000 (18:24 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 20 Feb 2009 18:24:38 +0000 (18:24 +0000)
commita1fd5b386dd8eb4c86bfd2b9659c219a1c4f56db
tree93feb0d5c2aa11ba4bbd1397fc28ffda40bef333
parent3f315eb5e08c9f04bde127b8994ec4fb30664b51
Factor address mode matcher out of codegen prepare to make it available to other passes, e.g. loop strength reduction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65134 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Utils/AddrModeMatcher.h [new file with mode: 0644]
lib/Transforms/Scalar/CodeGenPrepare.cpp
lib/Transforms/Utils/AddrModeMatcher.cpp [new file with mode: 0644]