Add a programatic interface to intrinsic names.

llvm-svn: 27107
This commit is contained in:
Chris Lattner 2006-03-25 06:32:07 +00:00
parent 2771e2c960
commit 37d3a339c5
1 changed files with 5 additions and 0 deletions

View File

@ -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