llvm/lib
Jakob Stoklund Olesen e05442d508 Change TII::foldMemoryOperand API to require the machine instruction to be
inserted in a MBB, and return an already inserted MI.

This target API change is necessary to allow foldMemoryOperand to call
storeToStackSlot and loadFromStackSlot when folding a COPY to a stack slot
reference in a target independent way.

The foldMemoryOperandImpl hook is going to change in the same way, but I'll wait
until COPY folding is actually implemented. Most targets only fold copies and
won't need to specialize this hook at all.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107991 91177308-0d34-0410-b5e6-96231b3b80d8
2010-07-09 17:29:08 +00:00
..
Analysis remove useless cast and fix typos in comment 2010-07-09 16:42:04 +00:00
Archive
AsmParser
Bitcode cache result of operator* 2010-07-09 16:01:21 +00:00
CodeGen Change TII::foldMemoryOperand API to require the machine instruction to be 2010-07-09 17:29:08 +00:00
CompilerDriver
ExecutionEngine
Linker
MC Revert some unneeded parts of the change in r107886 for the 2010-07-08 20:30:44 +00:00
Support
System
Target --- Reverse-merging r107947 into '.': 2010-07-09 16:37:18 +00:00
Transforms cache result of operator* 2010-07-09 16:51:20 +00:00
VMCore
Makefile