1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/lib
Hans Wennborg 07d10a6e30 Change eliminateCallFramePseudoInstr() to return an iterator
This will become necessary in a subsequent change to make this method
merge adjacent stack adjustments, i.e. it might erase the previous
and/or next instruction.

It also greatly simplifies the calls to this function from Prolog-
EpilogInserter. Previously, that had a bunch of logic to resume iteration
after the call; now it just continues with the returned iterator.

Note that this changes the behaviour of PEI a little. Previously,
it attempted to re-visit the new instruction created by
eliminateCallFramePseudoInstr(). That code was added in r36625,
but I can't see any reason for it: the new instructions will obviously
not be pseudo instructions, they will not have FrameIndex operands,
and we have already accounted for the stack adjustment.

Differential Revision: http://reviews.llvm.org/D18627

llvm-svn: 265036
2016-03-31 18:33:38 +00:00
..
Analysis [InstCombine] Fix incorrect rule from rL236202 2016-03-31 05:14:34 +00:00
AsmParser Restore "[ThinLTO] Serialize the Module SourceFileName to/from LLVM assembly" 2016-03-30 18:15:08 +00:00
Bitcode BitcodeReader: Fix weird whitespace, NFC 2016-03-30 04:21:52 +00:00
CodeGen Change eliminateCallFramePseudoInstr() to return an iterator 2016-03-31 18:33:38 +00:00
DebugInfo Fix Clang-tidy modernize-deprecated-headers warnings in some files; other minor fixes. 2016-03-28 17:40:08 +00:00
ExecutionEngine More more change need as part of r264187 where ErrorOr<> was added 2016-03-23 21:20:16 +00:00
Fuzzer [libFuzzer] more docs 2016-03-29 23:07:36 +00:00
IR [IFUNC] Introduce GlobalIndirectSymbol as a base class for alias and ifunc 2016-03-31 14:16:21 +00:00
IRReader
LibDriver
LineEditor Fix Clang-tidy modernize-deprecated-headers warnings in some files; other minor fixes. 2016-03-28 17:40:08 +00:00
Linker [ThinLTO] Remove post-pass metadata linking support 2016-03-29 18:24:19 +00:00
LTO ThinLTO: use the callgraph from the combined index to drive the FunctionImporter 2016-03-26 05:40:34 +00:00
MC Handle section vs global name conflict. 2016-03-28 20:36:28 +00:00
Object Remove else after return 2016-03-28 17:45:48 +00:00
ObjectYAML [lanai] Add Lanai backend. 2016-03-28 13:09:54 +00:00
Option
Passes [PM] Rename the CRTP mixin base classes for the new pass manager to 2016-03-11 10:33:22 +00:00
ProfileData [PGO] use emplace_back. NFC. 2016-03-31 17:39:33 +00:00
Support C++11 is required, remove some preprocessor checks for it 2016-03-28 11:13:03 +00:00
TableGen
Target Change eliminateCallFramePseudoInstr() to return an iterator 2016-03-31 18:33:38 +00:00
Transforms Minor code cleanup /NFC 2016-03-31 16:22:17 +00:00
CMakeLists.txt
LLVMBuild.txt Add LLVMBuild for ObjectYAML. 2016-03-01 21:29:33 +00:00