[llvm-commits] CVS: llvm/include/llvm/Intrinsics.h
Chris Lattner
lattner at cs.uiuc.edu
Fri Mar 24 22:32:20 PST 2006
Changes in directory llvm/include/llvm:
Intrinsics.h updated: 1.39 -> 1.40
---
Log message:
Add a programatic interface to intrinsic names.
---
Diffs of the changes: (+5 -0)
Intrinsics.h | 5 +++++
1 files changed, 5 insertions(+)
Index: llvm/include/llvm/Intrinsics.h
diff -u llvm/include/llvm/Intrinsics.h:1.39 llvm/include/llvm/Intrinsics.h:1.40
--- llvm/include/llvm/Intrinsics.h:1.39 Thu Mar 9 14:03:31 2006
+++ llvm/include/llvm/Intrinsics.h Sat Mar 25 00:32:07 2006
@@ -30,7 +30,12 @@
#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
More information about the llvm-commits
mailing list