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)
commita9f236cc883a7fadaf680b9e128a2982288e0f66
tree4b13187ea52298a5ab328ec6d02d63809bb92e9e
parent3cea78ee685eee31e3056ec3e1efeb8239bef141
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.

llvm-svn: 170063
llvm/include/llvm/CodeGen/MachineInstrBuilder.h