mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 15:33:33 +00:00
Add a programatic interface to intrinsic names.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27107 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9c61dcf1aa
commit
e42dbed53a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user