Refactor the AddrMode class out of TLI to its own header file.
authorNadav Rotem <nrotem@apple.com>
Mon, 8 Oct 2012 23:06:34 +0000 (23:06 +0000)
committerNadav Rotem <nrotem@apple.com>
Mon, 8 Oct 2012 23:06:34 +0000 (23:06 +0000)
commit35315fea7080f081bb61c003f5e1f7168cd76016
tree797afe5efb34dbbecb1c1ad741c1937ef16f7d91
parent9ba42d11aa14b2f5762f1447b760f5b31693f689
Refactor the AddrMode class out of TLI to its own header file.
This class is used by LSR and a number of places in the codegen.
This is the first step in de-coupling LSR from TLI, and creating
a new interface in between them.

llvm-svn: 165455
llvm/include/llvm/AddressingMode.h [new file with mode: 0644]
llvm/include/llvm/Target/TargetLowering.h
llvm/include/llvm/Transforms/Utils/AddrModeMatcher.h
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp