Autogenerate code to map from GCC builtin to LLVM intrinsic.
[oota-llvm.git] / utils / TableGen / CodeGenIntrinsics.h
index 0c39d8e4be805d306e25fcd32ff08d17c67778f5..5fcff927a70ef06be4000e1efa5d61e3dcff8187 100644 (file)
@@ -26,6 +26,7 @@ namespace llvm {
     std::string Name;          // The name of the LLVM function "llvm.bswap.i32"
     std::string EnumName;      // The name of the enum "bswap_i32"
     std::string GCCBuiltinName;// Name of the corresponding GCC builtin, or "".
+    std::string TargetPrefix;  // Target prefix, e.g. "ppc" for t-s intrinsics.
     
     /// ArgTypes - The type primitive enum value for the return value and all
     /// of the arguments.  These are things like Type::UIntTyID.