summaryrefslogtreecommitdiff
path: root/include/llvm/Intrinsics.h
diff options
context:
space:
mode:
authorMon P Wang <wangmp@apple.com>2009-02-24 23:17:49 +0000
committerMon P Wang <wangmp@apple.com>2009-02-24 23:17:49 +0000
commit0d52ff1f7b993750a74a5d4432273092de9af069 (patch)
tree06eeb3bc80811d1d3161e8587d4da8db368da646 /include/llvm/Intrinsics.h
parentd8e880c670699bd56dc3968647a4b963793d201d (diff)
downloadllvm-0d52ff1f7b993750a74a5d4432273092de9af069.tar.gz
llvm-0d52ff1f7b993750a74a5d4432273092de9af069.tar.bz2
llvm-0d52ff1f7b993750a74a5d4432273092de9af069.tar.xz
Added support to have TableGen provide information if an intrinsic (core
or target) can be overloaded or not. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65404 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Intrinsics.h')
-rw-r--r--include/llvm/Intrinsics.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Intrinsics.h b/include/llvm/Intrinsics.h
index 243359953b..227eb5a5b7 100644
--- a/include/llvm/Intrinsics.h
+++ b/include/llvm/Intrinsics.h
@@ -49,6 +49,10 @@ namespace Intrinsic {
///
const FunctionType *getType(ID id, const Type **Tys = 0, unsigned numTys = 0);
+ /// Intrinsic::isOverloaded(ID) - Returns true if the intrinsic can be
+ /// overloaded.
+ bool isOverloaded(ID id);
+
/// Intrinsic::getAttributes(ID) - Return the attributes for an intrinsic.
///
AttrListPtr getAttributes(ID id);