]> granicus.if.org Git - llvm/commit
MachineInstrBundle: Pass iterators to getBundle(Start|End); NFC
authorMatthias Braun <matze@braunis.de>
Tue, 25 Oct 2016 02:55:17 +0000 (02:55 +0000)
committerMatthias Braun <matze@braunis.de>
Tue, 25 Oct 2016 02:55:17 +0000 (02:55 +0000)
commit4e3c65d0e29d5d71047eed2ef55df57cc27f3efc
treef6c61c1160190712ee4cff4b575f3808681e434c
parent6ff60486184eac90839fc4045c09c597aa7adf6f
MachineInstrBundle: Pass iterators to getBundle(Start|End); NFC

This is a function to go backwards in a block to find the first
instruction in a bundle, so iterator is a more natural choice for
parameter/return rather than a reference to a MachineInstruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285051 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineInstrBuilder.h
include/llvm/CodeGen/MachineInstrBundle.h
include/llvm/CodeGen/MachineRegisterInfo.h
include/llvm/CodeGen/SlotIndexes.h
lib/CodeGen/ScheduleDAGInstrs.cpp
lib/Target/Hexagon/HexagonInstrInfo.cpp