mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-01 07:30:43 +03:00
Move gen/cl_helpers.*
to driver/
(#4191)
This commit is contained in:
parent
10775655bb
commit
6b38ad0eff
13 changed files with 9 additions and 11 deletions
|
@ -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
|
||||||
|
|
|
@ -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"
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
//
|
//
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue