Change the interface to Module::getOrInsertFunction to be easier to use,to resolve...
authorChris Lattner <sabre@nondot.org>
Sun, 7 Jan 2007 08:12:01 +0000 (08:12 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 7 Jan 2007 08:12:01 +0000 (08:12 +0000)
commitb76efb71d41dc1ae33e47d5d9ef79df25cde0b5d
treec537e46352fab12a46a04dc10120e26507b2057c
parent70d130516a38013ef6262dd2da5accbea7932e30
Change the interface to Module::getOrInsertFunction to be easier to use,to resolve PR1088, and to help PR411.
This simplifies many clients also

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32989 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/IntrinsicLowering.cpp
lib/Transforms/IPO/SimplifyLibCalls.cpp
lib/Transforms/Utils/LowerAllocations.cpp
lib/Transforms/Utils/LowerInvoke.cpp