Express prepend and append in terms of a more generic insert().
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 13 Dec 2012 00:59:36 +0000 (00:59 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 13 Dec 2012 00:59:36 +0000 (00:59 +0000)
commit5d7802ceccdaaaec1b7612ef4adb90dbaa278ece
treeb2c6a047090ee4966448928fdeec7d59d19a7025
parent10bd7264598a806aced15d0b7a3a5fc6803112a1
Express prepend and append in terms of a more generic insert().

Also add an MIBundleBuilder constructor that takes an existing bundle.
Together these functions make it possible to add instructions to
existing bundles.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170063 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineInstrBuilder.h