aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Assembly
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-03 00:00:25 +0000
committerChris Lattner <sabre@nondot.org>2006-03-03 00:00:25 +0000
commit03dd4652158f8a4c1db65f066195342d4a3695a7 (patch)
treedf746a0a2881f754162e04bbf46f89477d6c732f /include/llvm/Assembly
parentbad08000f11f9aed65e0e18b8ccf827d16401a42 (diff)
downloadexternal_llvm-03dd4652158f8a4c1db65f066195342d4a3695a7.zip
external_llvm-03dd4652158f8a4c1db65f066195342d4a3695a7.tar.gz
external_llvm-03dd4652158f8a4c1db65f066195342d4a3695a7.tar.bz2
Split memcpy/memset/memmove intrinsics into i32/i64 versions, resolving
PR709, and paving the way for future progress. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26476 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Assembly')
-rw-r--r--include/llvm/Assembly/AutoUpgrade.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/include/llvm/Assembly/AutoUpgrade.h b/include/llvm/Assembly/AutoUpgrade.h
index b8f9e22..0bc69a8 100644
--- a/include/llvm/Assembly/AutoUpgrade.h
+++ b/include/llvm/Assembly/AutoUpgrade.h
@@ -24,12 +24,6 @@ namespace llvm {
class Value;
class BasicBlock;
- /// This function determines if the \p Name provides is a name for which the
- /// auto-upgrade to a non-overloaded name applies.
- /// @returns True if the function name is upgradeable, false otherwise.
- /// @brief Determine if a name is an upgradeable intrinsic name.
- bool IsUpgradeableIntrinsicName(const std::string& Name);
-
/// This function inspects the Function \p F to see if it is an old overloaded
/// intrinsic. If it is, the Function's name is changed to add a suffix that
/// indicates the kind of arguments or result that it accepts. In LLVM release
@@ -56,14 +50,10 @@ namespace llvm {
/// non-overloaded names. This function inspects the CallInst \p CI to see
/// if it is a call to an old overloaded intrinsic. If it is, a new CallInst
/// is created that uses the correct Function and possibly casts the
- /// argument and result to an unsigned type. The caller can use the
- /// returned Instruction to replace the existing one. Note that the
- /// Instruction* returned could be a CallInst or a CastInst depending on
- /// whether casting was necessary.
+ /// argument and result to an unsigned type.
/// @param CI The CallInst to potentially auto-upgrade.
- /// @returns An instrution to replace \p CI with.
/// @brief Get replacement instruction for overloaded intrinsic function call.
- Instruction* UpgradeIntrinsicCall(CallInst* CI, Function* newF = 0);
+ void UpgradeIntrinsicCall(CallInst* CI, Function* newF = 0);
/// Upgrade both the function and all the calls made to it, if that function
/// needs to be upgraded. This is like a combination of the above two