Kill Target specific ModuleMatchQuality stuff.
authorDaniel Dunbar <daniel@zuster.org>
Sun, 26 Jul 2009 02:22:58 +0000 (02:22 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sun, 26 Jul 2009 02:22:58 +0000 (02:22 +0000)
 - This was overkill and inconsistently implemented.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77114 91177308-0d34-0410-b5e6-96231b3b80d8

16 files changed:
include/llvm/Target/TargetRegistry.h
lib/Support/TargetRegistry.cpp
lib/Target/ARM/TargetInfo/ARMTargetInfo.cpp
lib/Target/Alpha/TargetInfo/AlphaTargetInfo.cpp
lib/Target/CBackend/TargetInfo/CBackendTargetInfo.cpp
lib/Target/CellSPU/TargetInfo/CellSPUTargetInfo.cpp
lib/Target/CppBackend/TargetInfo/CppBackendTargetInfo.cpp
lib/Target/MSIL/TargetInfo/MSILTargetInfo.cpp
lib/Target/MSP430/TargetInfo/MSP430TargetInfo.cpp
lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp
lib/Target/PIC16/TargetInfo/PIC16TargetInfo.cpp
lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp
lib/Target/Sparc/TargetInfo/SparcTargetInfo.cpp
lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp
lib/Target/X86/TargetInfo/X86TargetInfo.cpp
lib/Target/XCore/TargetInfo/XCoreTargetInfo.cpp

index 420fba5a09d3a28b9d4a422e4da15f8954a69e47..a21618664567db04b033fd66eb041496edaf585f 100644 (file)
@@ -43,8 +43,6 @@ namespace llvm {
   class Target {
   private:
     typedef unsigned (*TripleMatchQualityFnTy)(const std::string &TT);
-    typedef unsigned (*ModuleMatchQualityFnTy)(const Module &M);
-    typedef unsigned (*JITMatchQualityFnTy)();
 
     typedef TargetMachine *(*TargetMachineCtorTy)(const Target &,
                                                   const Module &, 
@@ -64,10 +62,6 @@ namespace llvm {
     /// of a triple.
     TripleMatchQualityFnTy TripleMatchQualityFn;
 
-    /// ModuleMatchQualityFn - The target function for rating the match quality
-    /// of a module.
-    ModuleMatchQualityFnTy ModuleMatchQualityFn;
-
     /// Name - The target name.
     const char *Name;
 
@@ -222,15 +216,12 @@ namespace llvm {
     /// string. 
     /// @param TQualityFn - The triple match quality computation function for
     /// this target.
-    /// @param MQualityFn - The module match quality computation function for
-    /// this target.
     /// @param HasJIT - Whether the target supports JIT code
     /// generation.
     static void RegisterTarget(Target &T,
                                const char *Name,
                                const char *ShortDesc,
                                Target::TripleMatchQualityFnTy TQualityFn,
-                               Target::ModuleMatchQualityFnTy MQualityFn,
                                bool HasJIT = false);
                                
     /// RegisterTargetMachine - Register a TargetMachine implementation for the
@@ -294,9 +285,7 @@ namespace llvm {
   ///   struct FooInfo {
   ///     static const bool HasJIT = ...;
   ///
-  ///     static unsigned getJITMatchQuality() { ... }
   ///     static unsigned getTripleMatchQuality(const std::string &) { ... }
-  ///     static unsigned getModuleMatchQuality(const Module &) { ... }
   ///   };
   /// }
   ///
@@ -308,7 +297,6 @@ namespace llvm {
     RegisterTarget(Target &T, const char *Name, const char *Desc) {
       TargetRegistry::RegisterTarget(T, Name, Desc,
                                      &TargetInfoImpl::getTripleMatchQuality,
-                                     &TargetInfoImpl::getModuleMatchQuality,
                                      TargetInfoImpl::HasJIT);
     }
   };
index 4558d2d2159dfcc968da6168a0da407bf6fb0496..470deac24020ad1593248b88f13afa572498ae36 100644 (file)
@@ -74,9 +74,8 @@ void TargetRegistry::RegisterTarget(Target &T,
                                     const char *Name,
                                     const char *ShortDesc,
                                     Target::TripleMatchQualityFnTy TQualityFn,
-                                    Target::ModuleMatchQualityFnTy MQualityFn,
                                     bool HasJIT) {
-  assert(Name && ShortDesc && TQualityFn && MQualityFn &&
+  assert(Name && ShortDesc && TQualityFn &&
          "Missing required target information!");
 
   // Check if this target has already been initialized, we allow this as a
@@ -91,7 +90,6 @@ void TargetRegistry::RegisterTarget(Target &T,
   T.Name = Name;
   T.ShortDesc = ShortDesc;
   T.TripleMatchQualityFn = TQualityFn;
-  T.ModuleMatchQualityFn = MQualityFn;
   T.HasJIT = HasJIT;
 }
 
index a9f99e0646e4eaea1d203ae0eb38a95520db0a06..a975a1c6e9027f19e8957d0fea3b5a3ab8b7dfaa 100644 (file)
@@ -23,24 +23,6 @@ static unsigned ARM_TripleMatchQuality(const std::string &TT) {
   return 0;
 }
 
-static unsigned ARM_ModuleMatchQuality(const Module &M) {
-  // Check for a triple match.
-  if (unsigned Q = ARM_TripleMatchQuality(M.getTargetTriple()))
-    return Q;
-
-  // Otherwise if the target triple is non-empty, we don't match.
-  if (!M.getTargetTriple().empty()) return 0;
-
-  if (M.getEndianness()  == Module::LittleEndian &&
-      M.getPointerSize() == Module::Pointer32)
-    return 10;                                   // Weak match
-  else if (M.getEndianness() != Module::AnyEndianness ||
-           M.getPointerSize() != Module::AnyPointerSize)
-    return 0;                                    // Match for some other target
-
-  return 0;
-}
-
 Target llvm::TheThumbTarget;
 
 static unsigned Thumb_TripleMatchQuality(const std::string &TT) {
@@ -52,34 +34,14 @@ static unsigned Thumb_TripleMatchQuality(const std::string &TT) {
   return 0;
 }
 
-static unsigned Thumb_ModuleMatchQuality(const Module &M) {
-  // Check for a triple match.
-  if (unsigned Q = Thumb_TripleMatchQuality(M.getTargetTriple()))
-    return Q;
-
-  // Otherwise if the target triple is non-empty, we don't match.
-  if (!M.getTargetTriple().empty()) return 0;
-
-  if (M.getEndianness()  == Module::LittleEndian &&
-      M.getPointerSize() == Module::Pointer32)
-    return 10;                                   // Weak match
-  else if (M.getEndianness() != Module::AnyEndianness ||
-           M.getPointerSize() != Module::AnyPointerSize)
-    return 0;                                    // Match for some other target
-
-  return 0;
-}
-
 extern "C" void LLVMInitializeARMTargetInfo() { 
   TargetRegistry::RegisterTarget(TheARMTarget, "arm",    
                                   "ARM",
                                   &ARM_TripleMatchQuality,
-                                  &ARM_ModuleMatchQuality,
                                  /*HasJIT=*/true);
 
   TargetRegistry::RegisterTarget(TheThumbTarget, "thumb",    
                                   "Thumb",
                                   &Thumb_TripleMatchQuality,
-                                  &Thumb_ModuleMatchQuality,
                                  /*HasJIT=*/true);
 }
index f148506e10c25e91923b68129e0f7bc80265402b..1e4db94ef0d359bdf32b3d849e821177faa6d604 100644 (file)
@@ -23,28 +23,9 @@ static unsigned Alpha_TripleMatchQuality(const std::string &TT) {
   return 0;
 }
 
-static unsigned Alpha_ModuleMatchQuality(const Module &M) {
-  // Check for a triple match.
-  if (unsigned Q = Alpha_TripleMatchQuality(M.getTargetTriple()))
-    return Q;
-
-  // Otherwise if the target triple is non-empty, we don't match.
-  if (!M.getTargetTriple().empty()) return 0;
-
-  if (M.getEndianness()  == Module::LittleEndian &&
-      M.getPointerSize() == Module::Pointer64)
-    return 10;                                   // Weak match
-  else if (M.getEndianness() != Module::AnyEndianness ||
-           M.getPointerSize() != Module::AnyPointerSize)
-    return 0;                                    // Match for some other target
-
-  return 0;
-}
-
 extern "C" void LLVMInitializeAlphaTargetInfo() { 
   TargetRegistry::RegisterTarget(TheAlphaTarget, "alpha",
                                   "Alpha [experimental]",
                                   &Alpha_TripleMatchQuality,
-                                  &Alpha_ModuleMatchQuality,
                                   /*HasJIT=*/true);
 }
index 588833bd0cbfd37b75949cbdfa36705d4c4f2053..c30c84d069fcfd09349732ba7b438b90f8c37d2f 100644 (file)
@@ -20,15 +20,8 @@ static unsigned CBackend_TripleMatchQuality(const std::string &TT) {
   return 0;
 }
 
-static unsigned CBackend_ModuleMatchQuality(const Module &M) {
-  // This class always works, but must be requested explicitly on 
-  // llc command line.
-  return 0;
-}
-
 extern "C" void LLVMInitializeCBackendTargetInfo() { 
   TargetRegistry::RegisterTarget(TheCBackendTarget, "c",
                                   "C backend",
-                                  &CBackend_TripleMatchQuality,
-                                  &CBackend_ModuleMatchQuality);
+                                  &CBackend_TripleMatchQuality);
 }
index 04171ecab2d4becb7bcc55234b917f26c4d546a7..ea3b8f9059c0609f833a64dca212ae3f2568c08d 100644 (file)
@@ -25,20 +25,8 @@ static unsigned CellSPU_TripleMatchQuality(const std::string &TT) {
   return 0;
 }
 
-static unsigned CellSPU_ModuleMatchQuality(const Module &M) {
-  // Check for a triple match.
-  if (unsigned Q = CellSPU_TripleMatchQuality(M.getTargetTriple()))
-    return Q;
-
-  // Otherwise if the target triple is non-empty, we don't match.
-  if (!M.getTargetTriple().empty()) return 0;
-
-  return 0;
-}
-
 extern "C" void LLVMInitializeCellSPUTargetInfo() { 
   TargetRegistry::RegisterTarget(TheCellSPUTarget, "cellspu",
                                   "STI CBEA Cell SPU [experimental]",
-                                  &CellSPU_TripleMatchQuality,
-                                  &CellSPU_ModuleMatchQuality);
+                                  &CellSPU_TripleMatchQuality);
 }
index d5b64f5c1b73e2f3cd33d41c4106d2f53e5bb9d8..d0aeb12499c53482b3281948c00138ebcdfb99b5 100644 (file)
@@ -19,14 +19,8 @@ static unsigned CppBackend_TripleMatchQuality(const std::string &TT) {
   return 1;
 }
 
-static unsigned CppBackend_ModuleMatchQuality(const Module &M) {
-  // This class always works, but shouldn't be the default in most cases.
-  return 1;
-}
-
 extern "C" void LLVMInitializeCppBackendTargetInfo() { 
   TargetRegistry::RegisterTarget(TheCppBackendTarget, "cpp",    
                                   "C++ backend",
-                                  &CppBackend_TripleMatchQuality,
-                                  &CppBackend_ModuleMatchQuality);
+                                  &CppBackend_TripleMatchQuality);
 }
index 07de7266f415ccfc7a933c77a347aec96a1eb296..dfd42814e51cc68b23dbbb1d03ea0be248091a68 100644 (file)
@@ -19,14 +19,8 @@ static unsigned MSIL_TripleMatchQuality(const std::string &TT) {
   return 1;
 }
 
-static unsigned MSIL_ModuleMatchQuality(const Module &M) {
-  // This class always works, but shouldn't be the default in most cases.
-  return 1;
-}
-
 extern "C" void LLVMInitializeMSILTargetInfo() { 
   TargetRegistry::RegisterTarget(TheMSILTarget, "msil",    
                                   "MSIL backend",
-                                  &MSIL_TripleMatchQuality,
-                                  &MSIL_ModuleMatchQuality);
+                                  &MSIL_TripleMatchQuality);
 }
index eb3b865585d50746e90564821cab3a63625462fe..e2a71238d941f0fdd08882b2f79a4d2e3d4b68a1 100644 (file)
@@ -23,20 +23,8 @@ static unsigned MSP430_TripleMatchQuality(const std::string &TT) {
   return 0;
 }
 
-static unsigned MSP430_ModuleMatchQuality(const Module &M) {
-  // Check for a triple match.
-  if (unsigned Q = MSP430_TripleMatchQuality(M.getTargetTriple()))
-    return Q;
-
-  // Otherwise if the target triple is non-empty, we don't match.
-  if (!M.getTargetTriple().empty()) return 0;
-
-  return 0;
-}
-
 extern "C" void LLVMInitializeMSP430TargetInfo() { 
   TargetRegistry::RegisterTarget(TheMSP430Target, "msp430",    
                                   "MSP430 [experimental]",
-                                  &MSP430_TripleMatchQuality,
-                                  &MSP430_ModuleMatchQuality);
+                                  &MSP430_TripleMatchQuality);
 }
index 35cbf8b883615dde9de2533f518f8fd5a0ef6a3b..4f075456032d3fa48b5151b740449edd71cc6117 100644 (file)
@@ -26,17 +26,6 @@ static unsigned Mips_TripleMatchQuality(const std::string &TT) {
   return 0;
 }
 
-static unsigned Mips_ModuleMatchQuality(const Module &M) {
-  // Check for a triple match.
-  if (unsigned Q = Mips_TripleMatchQuality(M.getTargetTriple()))
-    return Q;
-
-  // Otherwise if the target triple is non-empty, we don't match.
-  if (!M.getTargetTriple().empty()) return 0;
-
-  return 0;
-}
-
 Target llvm::TheMipselTarget;
 
 static unsigned Mipsel_TripleMatchQuality(const std::string &TT) {
@@ -54,25 +43,12 @@ static unsigned Mipsel_TripleMatchQuality(const std::string &TT) {
   return 0;
 }
 
-static unsigned Mipsel_ModuleMatchQuality(const Module &M) {
-  // Check for a triple match.
-  if (unsigned Q = Mipsel_TripleMatchQuality(M.getTargetTriple()))
-    return Q;
-
-  // Otherwise if the target triple is non-empty, we don't match.
-  if (!M.getTargetTriple().empty()) return 0;
-
-  return 0;
-}
-
 extern "C" void LLVMInitializeMipsTargetInfo() { 
   TargetRegistry::RegisterTarget(TheMipsTarget, "mips",
                                   "Mips",
-                                  &Mips_TripleMatchQuality,
-                                  &Mips_ModuleMatchQuality);
+                                  &Mips_TripleMatchQuality);
 
   TargetRegistry::RegisterTarget(TheMipselTarget, "mipsel",
                                   "Mipsel",
-                                  &Mipsel_TripleMatchQuality,
-                                  &Mipsel_ModuleMatchQuality);
+                                  &Mipsel_TripleMatchQuality);
 }
index 2a88fe52c9afb2ff52ca20778ec4ce57b75c7343..87341b20e219fa13d27f898662db4c62dd420573 100644 (file)
@@ -18,28 +18,18 @@ static unsigned PIC16_TripleMatchQuality(const std::string &TT) {
   return 0;
 }
 
-static unsigned PIC16_ModuleMatchQuality(const Module &M) {
-  return 0;
-}
-
 Target llvm::TheCooperTarget;
 
 static unsigned Cooper_TripleMatchQuality(const std::string &TT) {
   return 0;
 }
 
-static unsigned Cooper_ModuleMatchQuality(const Module &M) {
-  return 0;
-}
-
 extern "C" void LLVMInitializePIC16TargetInfo() { 
   TargetRegistry::RegisterTarget(ThePIC16Target, "pic16",
                                   "PIC16 14-bit [experimental]",
-                                  &PIC16_TripleMatchQuality,
-                                  &PIC16_ModuleMatchQuality);
+                                  &PIC16_TripleMatchQuality);
 
   TargetRegistry::RegisterTarget(TheCooperTarget, "cooper",    
                                   "PIC16 Cooper [experimental]",
-                                  &Cooper_TripleMatchQuality,
-                                  &Cooper_ModuleMatchQuality);
+                                  &Cooper_TripleMatchQuality);
 }
index 3d25dad2d647500e3fb0f07409770b607243ecc2..7fc73c139a12575bd09707a8e8d5678e2dbd7d23 100644 (file)
@@ -22,24 +22,6 @@ static unsigned PPC32_TripleMatchQuality(const std::string &TT) {
   return 0;
 }
 
-static unsigned PPC32_ModuleMatchQuality(const Module &M) {
-  // Check for a triple match.
-  if (unsigned Q = PPC32_TripleMatchQuality(M.getTargetTriple()))
-    return Q;
-
-  // Otherwise if the target triple is non-empty, we don't match.
-  if (!M.getTargetTriple().empty()) return 0;
-
-  if (M.getEndianness()  == Module::BigEndian &&
-      M.getPointerSize() == Module::Pointer64)
-    return 10;                                   // Weak match
-  else if (M.getEndianness() != Module::AnyEndianness ||
-           M.getPointerSize() != Module::AnyPointerSize)
-    return 0;                                    // Match for some other target
-  
-  return 0;
-}
-
 Target llvm::ThePPC64Target;
 
 static unsigned PPC64_TripleMatchQuality(const std::string &TT) {
@@ -50,34 +32,14 @@ static unsigned PPC64_TripleMatchQuality(const std::string &TT) {
   return 0;
 }
 
-static unsigned PPC64_ModuleMatchQuality(const Module &M) {
-  // Check for a triple match.
-  if (unsigned Q = PPC64_TripleMatchQuality(M.getTargetTriple()))
-    return Q;
-
-  // Otherwise if the target triple is non-empty, we don't match.
-  if (!M.getTargetTriple().empty()) return 0;
-  
-  if (M.getEndianness()  == Module::BigEndian &&
-      M.getPointerSize() == Module::Pointer64)
-    return 10;                                   // Weak match
-  else if (M.getEndianness() != Module::AnyEndianness ||
-           M.getPointerSize() != Module::AnyPointerSize)
-    return 0;                                    // Match for some other target
-  
-  return 0;
-}
-
 extern "C" void LLVMInitializePowerPCTargetInfo() { 
   TargetRegistry::RegisterTarget(ThePPC32Target, "ppc32",
                                   "PowerPC 32",
                                   &PPC32_TripleMatchQuality,
-                                  &PPC32_ModuleMatchQuality,
                                  /*HasJIT=*/true);
 
   TargetRegistry::RegisterTarget(ThePPC64Target, "ppc64",
                                   "PowerPC 64",
                                   &PPC64_TripleMatchQuality,
-                                  &PPC64_ModuleMatchQuality,
                                  /*HasJIT=*/true);
 }
index a2f1e5ddfd0def4d8b1773ac0325e00752f2928d..451a86419b5bedb56a8acb5d0d15f385adb62635 100644 (file)
@@ -21,37 +21,8 @@ static unsigned Sparc_TripleMatchQuality(const std::string &TT) {
   return 0;
 }
 
-static unsigned Sparc_ModuleMatchQuality(const Module &M) {
-  // Check for a triple match.
-  if (unsigned Q = Sparc_TripleMatchQuality(M.getTargetTriple()))
-    return Q;
-
-  // Otherwise if the target triple is non-empty, we don't match.
-  if (!M.getTargetTriple().empty()) return 0;
-
-  // FIXME: This is bad, the target matching algorithm shouldn't depend on the
-  // host.
-  if (M.getEndianness()  == Module::BigEndian &&
-      M.getPointerSize() == Module::Pointer32)
-#ifdef __sparc__
-    return 20;   // BE/32 ==> Prefer sparc on sparc
-#else
-    return 5;    // BE/32 ==> Prefer ppc elsewhere
-#endif
-  else if (M.getEndianness() != Module::AnyEndianness ||
-           M.getPointerSize() != Module::AnyPointerSize)
-    return 0;                                    // Match for some other target
-
-#if defined(__sparc__)
-  return 10;
-#else
-  return 0;
-#endif
-}
-
 extern "C" void LLVMInitializeSparcTargetInfo() { 
   TargetRegistry::RegisterTarget(TheSparcTarget, "sparc",
                                   "Sparc",
-                                  &Sparc_TripleMatchQuality,
-                                  &Sparc_ModuleMatchQuality);
+                                  &Sparc_TripleMatchQuality);
 }
index 49c8e19b3acd40f47e5d698b4655a9cfab5047a4..e063a911d0d80312dab4bd0169ed13a2763a8678 100644 (file)
@@ -23,18 +23,8 @@ static unsigned SystemZ_TripleMatchQuality(const std::string &TT) {
   return 0;
 }
 
-static unsigned SystemZ_ModuleMatchQuality(const Module &M) {
-  // Check for a triple match.
-  if (unsigned Q = SystemZ_TripleMatchQuality(M.getTargetTriple()))
-    return Q;
-
-  // Otherwise we don't match.
-  return 0;
-}
-
 extern "C" void LLVMInitializeSystemZTargetInfo() {
   TargetRegistry::RegisterTarget(TheSystemZTarget, "systemz",
                                  "SystemZ",
-                                 &SystemZ_TripleMatchQuality,
-                                 &SystemZ_ModuleMatchQuality);
+                                 &SystemZ_TripleMatchQuality);
 }
index 6201002d7d055cf11fa1032521c1bfe69591a0e2..d371bced71f61757eee01085dafa8e3759c282bd 100644 (file)
@@ -23,24 +23,6 @@ static unsigned X86_32_TripleMatchQuality(const std::string &TT) {
   return 0;
 }
 
-static unsigned X86_32_ModuleMatchQuality(const Module &M) {
-  // Check for a triple match.
-  if (unsigned Q = X86_32_TripleMatchQuality(M.getTargetTriple()))
-    return Q;
-
-  // If the target triple is something non-X86, we don't match.
-  if (!M.getTargetTriple().empty()) return 0;
-
-  if (M.getEndianness()  == Module::LittleEndian &&
-      M.getPointerSize() == Module::Pointer32)
-    return 10;                                   // Weak match
-  else if (M.getEndianness() != Module::AnyEndianness ||
-           M.getPointerSize() != Module::AnyPointerSize)
-    return 0;                                    // Match for some other target
-
-  return 0;
-}
-
 Target llvm::TheX86_64Target;
 
 static unsigned X86_64_TripleMatchQuality(const std::string &TT) {
@@ -52,34 +34,14 @@ static unsigned X86_64_TripleMatchQuality(const std::string &TT) {
   return 0;
 }
 
-static unsigned X86_64_ModuleMatchQuality(const Module &M) {
-  // Check for a triple match.
-  if (unsigned Q = X86_64_TripleMatchQuality(M.getTargetTriple()))
-    return Q;
-
-  // If the target triple is something non-X86-64, we don't match.
-  if (!M.getTargetTriple().empty()) return 0;
-
-  if (M.getEndianness()  == Module::LittleEndian &&
-      M.getPointerSize() == Module::Pointer64)
-    return 10;                                   // Weak match
-  else if (M.getEndianness() != Module::AnyEndianness ||
-           M.getPointerSize() != Module::AnyPointerSize)
-    return 0;                                    // Match for some other target
-
-  return 0;
-}
-
 extern "C" void LLVMInitializeX86TargetInfo() { 
   TargetRegistry::RegisterTarget(TheX86_32Target, "x86",    
                                   "32-bit X86: Pentium-Pro and above",
                                   &X86_32_TripleMatchQuality,
-                                  &X86_32_ModuleMatchQuality,
                                   /*HasJIT=*/true);
 
   TargetRegistry::RegisterTarget(TheX86_64Target, "x86-64",    
                                   "64-bit X86: EM64T and AMD64",
                                   &X86_64_TripleMatchQuality,
-                                  &X86_64_ModuleMatchQuality,
                                   /*HasJIT=*/true);
 }
index 48ad484e0d805cfcdacbcf9fce496d57816e8ede..17acb3266f8847c3d0054cdb1e720acd22ff1cfa 100644 (file)
@@ -21,18 +21,8 @@ static unsigned XCore_TripleMatchQuality(const std::string &TT) {
   return 0;
 }
 
-static unsigned XCore_ModuleMatchQuality(const Module &M) {
-  // Check for a triple match.
-  if (unsigned Q = XCore_TripleMatchQuality(M.getTargetTriple()))
-    return Q;
-
-  // Otherwise we don't match.
-  return 0;
-}
-
 extern "C" void LLVMInitializeXCoreTargetInfo() { 
   TargetRegistry::RegisterTarget(TheXCoreTarget, "xcore",
                                   "XCore",
-                                  &XCore_TripleMatchQuality,
-                                  &XCore_ModuleMatchQuality);
+                                  &XCore_TripleMatchQuality);
 }