Move gen/cl_helpers.* to driver/ (#4191)

This commit is contained in:
Nicholas Wilson 2022-09-21 19:36:24 +08:00 committed by GitHub
parent 10775655bb
commit 6b38ad0eff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 9 additions and 11 deletions

View file

@ -371,6 +371,7 @@ file(GLOB_RECURSE DRV_SRC_D driver/*.d)
set(DRV_SRC set(DRV_SRC
driver/args.cpp driver/args.cpp
driver/cache.cpp driver/cache.cpp
driver/cl_helpers.cpp
driver/cl_options.cpp driver/cl_options.cpp
driver/cl_options_instrumentation.cpp driver/cl_options_instrumentation.cpp
driver/cl_options_sanitizers.cpp driver/cl_options_sanitizers.cpp
@ -394,6 +395,7 @@ set(DRV_HDR
driver/args.h driver/args.h
driver/cache.h driver/cache.h
driver/cache_pruning.h driver/cache_pruning.h
driver/cl_helpers.h
driver/cl_options.h driver/cl_options.h
driver/cl_options_instrumentation.h driver/cl_options_instrumentation.h
driver/cl_options_sanitizers.h driver/cl_options_sanitizers.h

View file

@ -7,7 +7,7 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#include "gen/cl_helpers.h" #include "driver/cl_helpers.h"
#include "dmd/errors.h" #include "dmd/errors.h"
#include "dmd/ldcbindings.h" #include "dmd/ldcbindings.h"

View file

@ -9,7 +9,6 @@
#include "driver/cl_options.h" #include "driver/cl_options.h"
#include "gen/cl_helpers.h"
#include "gen/logger.h" #include "gen/logger.h"
#include "llvm/IR/DataLayout.h" #include "llvm/IR/DataLayout.h"
#include "llvm/IR/Operator.h" #include "llvm/IR/Operator.h"

View file

@ -14,9 +14,9 @@
#pragma once #pragma once
#include "driver/cl_helpers.h"
#include "driver/cl_options-llvm.h" #include "driver/cl_options-llvm.h"
#include "driver/targetmachine.h" #include "driver/targetmachine.h"
#include "gen/cl_helpers.h"
#include "llvm/ADT/SmallVector.h" #include "llvm/ADT/SmallVector.h"
#include "llvm/Support/CodeGen.h" #include "llvm/Support/CodeGen.h"
#include "llvm/Support/CommandLine.h" #include "llvm/Support/CommandLine.h"

View file

@ -15,7 +15,7 @@
#pragma once #pragma once
#include "gen/cl_helpers.h" #include "driver/cl_helpers.h"
namespace llvm { namespace llvm {
class Triple; class Triple;

View file

@ -13,7 +13,7 @@
#pragma once #pragma once
#include "gen/cl_helpers.h" #include "driver/cl_helpers.h"
#include "llvm/Transforms/Instrumentation.h" #include "llvm/Transforms/Instrumentation.h"
class FuncDeclaration; class FuncDeclaration;

View file

@ -9,8 +9,8 @@
#include "driver/dcomputecodegenerator.h" #include "driver/dcomputecodegenerator.h"
#include "driver/cl_options.h" #include "driver/cl_options.h"
#include "driver/cl_helpers.h"
#include "dmd/errors.h" #include "dmd/errors.h"
#include "gen/cl_helpers.h"
#include "ir/irdsymbol.h" #include "ir/irdsymbol.h"
#include "llvm/Support/CommandLine.h" #include "llvm/Support/CommandLine.h"
#include <array> #include <array>

View file

@ -23,6 +23,7 @@
#include "dmd/target.h" #include "dmd/target.h"
#include "driver/args.h" #include "driver/args.h"
#include "driver/cache.h" #include "driver/cache.h"
#include "driver/cl_helpers.h"
#include "driver/cl_options.h" #include "driver/cl_options.h"
#include "driver/cl_options_instrumentation.h" #include "driver/cl_options_instrumentation.h"
#include "driver/cl_options_sanitizers.h" #include "driver/cl_options_sanitizers.h"
@ -36,7 +37,6 @@
#include "driver/targetmachine.h" #include "driver/targetmachine.h"
#include "driver/timetrace.h" #include "driver/timetrace.h"
#include "gen/abi.h" #include "gen/abi.h"
#include "gen/cl_helpers.h"
#include "gen/irstate.h" #include "gen/irstate.h"
#include "gen/ldctraits.h" #include "gen/ldctraits.h"
#include "gen/linkage.h" #include "gen/linkage.h"

View file

@ -1,4 +1,4 @@
//===-- gen/cl_helpers.h - Complex number code generation -------*- C++ -*-===// //===-- gen/complex.h - Complex number code generation ----------*- C++ -*-===//
// //
// LDC the LLVM D compiler // LDC the LLVM D compiler
// //

View file

@ -19,7 +19,6 @@
#include "dmd/template.h" #include "dmd/template.h"
#include "gen/abi.h" #include "gen/abi.h"
#include "gen/arrays.h" #include "gen/arrays.h"
#include "gen/cl_helpers.h"
#include "gen/classes.h" #include "gen/classes.h"
#include "gen/complex.h" #include "gen/complex.h"
#include "gen/dvalue.h" #include "gen/dvalue.h"

View file

@ -10,7 +10,6 @@
#include "gen/optimizer.h" #include "gen/optimizer.h"
#include "dmd/errors.h" #include "dmd/errors.h"
#include "gen/cl_helpers.h"
#include "gen/logger.h" #include "gen/logger.h"
#include "gen/passes/Passes.h" #include "gen/passes/Passes.h"
#include "driver/cl_options.h" #include "driver/cl_options.h"

View file

@ -21,7 +21,6 @@
#include "dmd/init.h" #include "dmd/init.h"
#include "dmd/statement.h" #include "dmd/statement.h"
#include "driver/cl_options_instrumentation.h" #include "driver/cl_options_instrumentation.h"
#include "gen/cl_helpers.h"
#include "gen/irstate.h" #include "gen/irstate.h"
#include "gen/llvm.h" #include "gen/llvm.h"
#include "gen/logger.h" #include "gen/logger.h"