projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c61dcf
)
Add a programatic interface to intrinsic names.
author
Chris Lattner
<sabre@nondot.org>
Sat, 25 Mar 2006 06:32:07 +0000
(06:32 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 25 Mar 2006 06:32:07 +0000
(06:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27107
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Intrinsics.h
patch
|
blob
|
history
diff --git
a/include/llvm/Intrinsics.h
b/include/llvm/Intrinsics.h
index 9014473183388ae34fcaad7a7a44ed2d06f57670..e439476914f069b118d3dbb236fd6c9cd65cd0e5 100644
(file)
--- a/
include/llvm/Intrinsics.h
+++ b/
include/llvm/Intrinsics.h
@@
-30,7
+30,12
@@
namespace Intrinsic {
#define GET_INTRINSIC_ENUM_VALUES
#include "llvm/Intrinsics.gen"
#undef GET_INTRINSIC_ENUM_VALUES
+ , num_intrinsics
};
+
+ /// Intrinsic::getName(ID) - Return the LLVM name for an intrinsic, such as
+ /// "llvm.ppc.altivec.lvx".
+ const char *getName(ID id);
} // End Intrinsic namespace
} // End llvm namespace