//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "assume-queries"
-
#include "llvm/Analysis/AssumeBundleQueries.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/AssumptionCache.h"
#include "llvm/IR/PatternMatch.h"
#include "llvm/Support/DebugCounter.h"
+#define DEBUG_TYPE "assume-queries"
+
using namespace llvm;
using namespace llvm::PatternMatch;
// independent, non-quadword FP/ASIMD floating-point multiply-accumulates.
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "aarch64-pbqp"
-
#include "AArch64PBQPRegAlloc.h"
#include "AArch64.h"
#include "AArch64RegisterInfo.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
+#define DEBUG_TYPE "aarch64-pbqp"
+
using namespace llvm;
namespace {
// range conditional branches.
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "arc-branch-finalize"
-
#include "ARCInstrInfo.h"
#include "ARCTargetMachine.h"
#include "MCTargetDesc/ARCInfo.h"
#include "llvm/Support/Debug.h"
#include <vector>
+#define DEBUG_TYPE "arc-branch-finalize"
+
using namespace llvm;
namespace llvm {
// instructions on to the real streamer.
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "avrmcelfstreamer"
-
#include "MCTargetDesc/AVRMCELFStreamer.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MCObjectWriter.h"
+#define DEBUG_TYPE "avrmcelfstreamer"
+
using namespace llvm;
void AVRMCELFStreamer::emitValueForModiferKind(
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "mcasmparser"
-
#include "HexagonTargetStreamer.h"
#include "MCTargetDesc/HexagonMCChecker.h"
#include "MCTargetDesc/HexagonMCELFStreamer.h"
#include <string>
#include <utility>
+#define DEBUG_TYPE "mcasmparser"
+
using namespace llvm;
static cl::opt<bool> WarnMissingParenthesis(
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "hexagon-disassembler"
-
#include "MCTargetDesc/HexagonBaseInfo.h"
#include "MCTargetDesc/HexagonMCChecker.h"
#include "MCTargetDesc/HexagonMCInstrInfo.h"
#include <cstdint>
#include <memory>
+#define DEBUG_TYPE "hexagon-disassembler"
+
using namespace llvm;
using namespace Hexagon;
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "hexagon-brelax"
-
#include "Hexagon.h"
#include "HexagonInstrInfo.h"
#include "HexagonSubtarget.h"
#include <cstdlib>
#include <iterator>
+#define DEBUG_TYPE "hexagon-brelax"
+
using namespace llvm;
// Since we have no exact knowledge of code layout, allow some safety buffer
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "hcp"
-
#include "HexagonInstrInfo.h"
#include "HexagonRegisterInfo.h"
#include "HexagonSubtarget.h"
#include <utility>
#include <vector>
+#define DEBUG_TYPE "hcp"
+
using namespace llvm;
namespace {
// the predicate register, they cannot use the .new form. In such cases it
// is better to collapse them back to a single MUX instruction.
-#define DEBUG_TYPE "hexmux"
-
#include "HexagonInstrInfo.h"
#include "HexagonRegisterInfo.h"
#include "HexagonSubtarget.h"
#include <limits>
#include <utility>
+#define DEBUG_TYPE "hexmux"
+
using namespace llvm;
namespace llvm {
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "hsdr"
-
#include "HexagonInstrInfo.h"
#include "HexagonRegisterInfo.h"
#include "HexagonSubtarget.h"
#include <utility>
#include <vector>
+#define DEBUG_TYPE "hsdr"
+
using namespace llvm;
namespace llvm {
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "hexagon-sdata"
-
#include "HexagonTargetObjectFile.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetMachine.h"
+#define DEBUG_TYPE "hexagon-sdata"
+
using namespace llvm;
static cl::opt<unsigned> SmallDataThreshold("hexagon-small-data-threshold",
// instructions on to the real streamer.
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "hexagonmcelfstreamer"
#include "MCTargetDesc/HexagonMCELFStreamer.h"
#include "MCTargetDesc/HexagonMCInstrInfo.h"
#include <cassert>
#include <cstdint>
+#define DEBUG_TYPE "hexagonmcelfstreamer"
+
using namespace llvm;
static cl::opt<unsigned> GPSize
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "hexagon-shuffle"
-
#include "MCTargetDesc/HexagonMCShuffler.h"
#include "MCTargetDesc/HexagonMCInstrInfo.h"
#include "MCTargetDesc/HexagonShuffler.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
+#define DEBUG_TYPE "hexagon-shuffle"
+
using namespace llvm;
static cl::opt<bool>
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "hexagon-shuffle"
-
#include "MCTargetDesc/HexagonShuffler.h"
#include "MCTargetDesc/HexagonBaseInfo.h"
#include "MCTargetDesc/HexagonMCInstrInfo.h"
#include <utility>
#include <vector>
+#define DEBUG_TYPE "hexagon-shuffle"
+
using namespace llvm;
namespace {
#ifndef LLVM_LIB_TARGET_LANAI_DISASSEMBLER_LANAIDISASSEMBLER_H
#define LLVM_LIB_TARGET_LANAI_DISASSEMBLER_LANAIDISASSEMBLER_H
-#define DEBUG_TYPE "lanai-disassembler"
-
#include "llvm/MC/MCDisassembler/MCDisassembler.h"
+#define DEBUG_TYPE "lanai-disassembler"
+
namespace llvm {
class LanaiDisassembler : public MCDisassembler {
///
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "m68k-reg-info"
-
#include "M68kRegisterInfo.h"
#include "M68k.h"
#define GET_REGINFO_TARGET_DESC
#include "M68kGenRegisterInfo.inc"
+#define DEBUG_TYPE "m68k-reg-info"
+
using namespace llvm;
static cl::opt<bool> EnableBasePointer(
// *++p = c;
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "ppc-loop-instr-form-prep"
-
#include "PPC.h"
#include "PPCSubtarget.h"
#include "PPCTargetMachine.h"
#include <iterator>
#include <utility>
+#define DEBUG_TYPE "ppc-loop-instr-form-prep"
+
using namespace llvm;
static cl::opt<unsigned> MaxVarsPrep("ppc-formprep-max-vars",
#include "llvm/IR/Instructions.h"
#include "llvm/InitializePasses.h"
-#define AA_NAME "alignment-from-assumptions"
-#define DEBUG_TYPE AA_NAME
#include "llvm/Transforms/Scalar/AlignmentFromAssumptions.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Transforms/Scalar.h"
+
+#define AA_NAME "alignment-from-assumptions"
+#define DEBUG_TYPE AA_NAME
using namespace llvm;
STATISTIC(NumLoadAlignChanged,
#include "llvm/InitializePasses.h"
#include "llvm/Support/CommandLine.h"
-#define DEBUG_TYPE "float2int"
-
#include "llvm/Transforms/Scalar/Float2Int.h"
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/APSInt.h"
#include "llvm/Transforms/Scalar.h"
#include <deque>
#include <functional> // For std::function
+
+#define DEBUG_TYPE "float2int"
+
using namespace llvm;
// The algorithm is simple. Start at instructions that convert from the
#include "llvm/Transforms/Scalar/LoopDataPrefetch.h"
#include "llvm/InitializePasses.h"
-#define DEBUG_TYPE "loop-data-prefetch"
#include "llvm/ADT/DepthFirstIterator.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/AssumptionCache.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "llvm/Transforms/Utils/ScalarEvolutionExpander.h"
#include "llvm/Transforms/Utils/ValueMapper.h"
+
+#define DEBUG_TYPE "loop-data-prefetch"
+
using namespace llvm;
// By default, we limit this to creating 16 PHIs (which is a little over half
// to the NFA.
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "dfa-emitter"
#include "DFAEmitter.h"
#include "CodeGenTarget.h"
#include <string>
#include <vector>
+#define DEBUG_TYPE "dfa-emitter"
+
using namespace llvm;
//===----------------------------------------------------------------------===//
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "dfa-emitter"
-
#include "CodeGenSchedule.h"
#include "CodeGenTarget.h"
#include "DFAEmitter.h"
#include <unordered_map>
#include <vector>
+#define DEBUG_TYPE "dfa-emitter"
+
using namespace llvm;
// We use a uint64_t to represent a resource bitmask.