Add getOrInsertFunction and getFunction methods to Module. This simplifies
authorChris Lattner <sabre@nondot.org>
Fri, 29 Mar 2002 03:32:29 +0000 (03:32 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 29 Mar 2002 03:32:29 +0000 (03:32 +0000)
commitdb70a8eff3e738a6c3317d06aa56ea7a63b26387
tree09f9c793bcc0db831b97f8446de242d9aec13b48
parentb59404280b8219134f376cee30d04c57e03979b6
Add getOrInsertFunction and getFunction methods to Module.  This simplifies
some code in the transformations.

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