summaryrefslogtreecommitdiffstats
path: root/include/llvm/Intrinsics.h
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2009-02-05 01:49:45 +0000
committerDale Johannesen <dalej@apple.com>2009-02-05 01:49:45 +0000
commit49de98214b82fefeb8f16efbf8cdd8813a85469b (patch)
tree59d9fe3c8fd629dad52bd0a6a9760c95cf9dbbe3 /include/llvm/Intrinsics.h
parent2fabcb27761e0f07368f065fda0144d824e1e51c (diff)
downloadexternal_llvm-49de98214b82fefeb8f16efbf8cdd8813a85469b.zip
external_llvm-49de98214b82fefeb8f16efbf8cdd8813a85469b.tar.gz
external_llvm-49de98214b82fefeb8f16efbf8cdd8813a85469b.tar.bz2
Reapply 63765. Patches for clang and llvm-gcc to follow.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63812 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Intrinsics.h')
-rw-r--r--include/llvm/Intrinsics.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Intrinsics.h b/include/llvm/Intrinsics.h
index b15b021..2433599 100644
--- a/include/llvm/Intrinsics.h
+++ b/include/llvm/Intrinsics.h
@@ -63,6 +63,9 @@ namespace Intrinsic {
/// intrinsic.
Function *getDeclaration(Module *M, ID id, const Type **Tys = 0,
unsigned numTys = 0);
+
+ /// Map a GCC builtin name to an intrinsic ID.
+ ID getIntrinsicForGCCBuiltin(const char *Prefix, const char *BuiltinName);
} // End Intrinsic namespace