mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Add a programatic interface to intrinsic names.
llvm-svn: 27107
This commit is contained in:
parent
0899b16b2d
commit
2ed67c5d0f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user