From 0d52ff1f7b993750a74a5d4432273092de9af069 Mon Sep 17 00:00:00 2001 From: Mon P Wang Date: Tue, 24 Feb 2009 23:17:49 +0000 Subject: 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 --- include/llvm/Intrinsics.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/llvm/Intrinsics.h') 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); -- cgit v1.2.3