Add a new interface function to AutoUpgrade for simultaneously upgrading
authorReid Spencer <rspencer@reidspencer.com>
Thu, 19 Jan 2006 01:18:29 +0000 (01:18 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 19 Jan 2006 01:18:29 +0000 (01:18 +0000)
commit4283ac78577a2a6b3b8b8f07126891eabd08aeab
treed8e3a18ce07e520e5191c72a9d65955b269aa25c
parentfd57ad787ff49e65ae2dbb1ecc0a88e1e3f6b736
Add a new interface function to AutoUpgrade for simultaneously upgrading
the Function and the CallInst: UpgradeCallsToIntrinsic(Function*). Also,
re-factor the AutoUpgrade implementation to eliminate some duplication of
code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25432 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Assembly/AutoUpgrade.h
lib/VMCore/AutoUpgrade.cpp