Skip to content
Snippets Groups Projects
Commit 37d3a339 authored by Chris Lattner's avatar Chris Lattner
Browse files

Add a programatic interface to intrinsic names.

llvm-svn: 27107
parent 2771e2c9
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,12 @@ namespace Intrinsic { ...@@ -30,7 +30,12 @@ namespace Intrinsic {
#define GET_INTRINSIC_ENUM_VALUES #define GET_INTRINSIC_ENUM_VALUES
#include "llvm/Intrinsics.gen" #include "llvm/Intrinsics.gen"
#undef GET_INTRINSIC_ENUM_VALUES #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 Intrinsic namespace
} // End llvm namespace } // End llvm namespace
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment