hanchenye-llvm-project/llvm/lib/Target/BPF
Hans Wennborg e1a2e90ffa 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
..
InstPrinter Remove autoconf support 2016-01-26 21:29:08 +00:00
MCTargetDesc Remove autoconf support 2016-01-26 21:29:08 +00:00
TargetInfo Remove autoconf support 2016-01-26 21:29:08 +00:00
BPF.h
BPF.td [AsmParser] Backends can parameterize ASM tokenization. 2015-11-09 00:31:07 +00:00
BPFAsmPrinter.cpp
BPFCallingConv.td
BPFFrameLowering.cpp PrologEpilogInserter: Rewrite API to determine callee save regsiters. 2015-07-14 17:17:13 +00:00
BPFFrameLowering.h Change eliminateCallFramePseudoInstr() to return an iterator 2016-03-31 18:33:38 +00:00
BPFISelDAGToDAG.cpp BPF: emit an error message for unsupported signed division operation 2016-03-18 22:02:47 +00:00
BPFISelLowering.cpp Refactor backend diagnostics for unsupported features 2016-02-02 13:52:43 +00:00
BPFISelLowering.h
BPFInstrFormats.td
BPFInstrInfo.cpp CodeGen: TII: Take MachineInstr& in predicate API, NFC 2016-02-23 02:46:52 +00:00
BPFInstrInfo.h
BPFInstrInfo.td [bpf] Avoid extra pointer arithmetic for stack access 2015-10-06 04:00:53 +00:00
BPFMCInstLower.cpp
BPFMCInstLower.h
BPFRegisterInfo.cpp [bpf] Avoid extra pointer arithmetic for stack access 2015-10-06 04:00:53 +00:00
BPFRegisterInfo.h
BPFRegisterInfo.td
BPFSubtarget.cpp Revert r247692: Replace Triple with a new TargetTuple in MCTargetDesc/* and related. NFC. 2015-09-15 16:17:27 +00:00
BPFSubtarget.h Rename TargetSelectionDAGInfo into SelectionDAGTargetInfo and move it to CodeGen/ 2016-01-27 16:32:26 +00:00
BPFTargetMachine.cpp
BPFTargetMachine.h
CMakeLists.txt
LLVMBuild.txt