1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

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 0899b16b2d
commit 2ed67c5d0f

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