Analysis: move declaration of variables to a more suitable location
authorSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 7 Sep 2021 21:37:53 +0000 (14:37 -0700)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 8 Sep 2021 16:19:09 +0000 (09:19 -0700)
commitaecd75f0953e01881c874da20cc2ec8fdf525577
treefe87f647272a8d2a0718214ebf14740de27981f1
parent50467c0852d0f1b46829c45b597c1f5b2dd29893
Analysis: move declaration of variables to a more suitable location

This moves 2 variable declarations from `llvm/Support/Debug.h` to a more
appropriate home in the headers for `LLVMAnalysis`.  These variables are
defined in `LLVMAnalysis` rather than in `LLVMSupport` and although they
control debugging behavior, the declarations being colocated in the same
library's headers is both easier to locate and aids correctly describing
the library's interfaces.

Reviewed By: rnk, mehdi_amini, aeubanks

Differential Revision: https://reviews.llvm.org/D109396
llvm/include/llvm/Analysis/LoopInfo.h
llvm/include/llvm/Analysis/MemorySSA.h
llvm/include/llvm/Support/Debug.h