commit | 05d8fd3707ddadceb48bde18094a0580b1f5b25e | [log] [tgz] |
---|---|---|
author | Justin Bogner <mail@justinbogner.com> | Thu Aug 04 23:41:01 2016 +0000 |
committer | Justin Bogner <mail@justinbogner.com> | Thu Aug 04 23:41:01 2016 +0000 |
tree | a959f6aa0f038781892e22ba7a75cd39f8e3bc2d | |
parent | e78818698287589765556b0d4bfa2abd11cdcd29 [diff] |
IR: Provide an IRBuilder Inserter that calls a callback after insertion Add a generalized IRBuilderCallbackInserter, which is just given a callback to execute after insertion. This can be used to get rid of the custom inserter in InstCombine, which will in turn allow me to add target specific InstCombineCalls API for intrinsics without horrible layering violations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277784 91177308-0d34-0410-b5e6-96231b3b80d8