commit | 9c03aa5c0a9419547b6b79ccf45a9465b02f494e | [log] [tgz] |
---|---|---|
author | Justin Bogner <mail@justinbogner.com> | Tue Oct 10 23:34:01 2017 +0000 |
committer | Justin Bogner <mail@justinbogner.com> | Tue Oct 10 23:34:01 2017 +0000 |
tree | 423de67380fcbe379d81b903984c92d94701ed6a | |
parent | c9dc2816f16b6e5162ca71fef71387a725a901fd [diff] |
CodeGen: Add MachineInstr::getMF(). NFC Similarly to how Instruction has getFunction, this adds a less verbose way to write MI->getParent()->getParent(). I'll follow up shortly with a change that changes a bunch of the uses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315388 91177308-0d34-0410-b5e6-96231b3b80d8