PPCLegalizerInfo.cpp 804 B

12345678910111213141516171819202122
  1. //===- PPCLegalizerInfo.h ----------------------------------------*- C++ -*-==//
  2. //
  3. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  4. // See https://llvm.org/LICENSE.txt for license information.
  5. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  6. //
  7. //===----------------------------------------------------------------------===//
  8. /// \file
  9. /// This file implements the targeting of the Machinelegalizer class for PowerPC
  10. //===----------------------------------------------------------------------===//
  11. #include "PPCLegalizerInfo.h"
  12. #include "llvm/Support/Debug.h"
  13. #define DEBUG_TYPE "ppc-legalinfo"
  14. using namespace llvm;
  15. using namespace LegalizeActions;
  16. PPCLegalizerInfo::PPCLegalizerInfo(const PPCSubtarget &ST) {
  17. getLegacyLegalizerInfo().computeTables();
  18. }