[general] removed unnecessary includes

This commit is contained in:
Philippe Tillet
2019-08-18 00:34:30 -07:00
parent b4a9ed9663
commit b58b0d8b27
28 changed files with 11 additions and 49 deletions

View File

@@ -1,7 +1,6 @@
#ifndef TDL_INCLUDE_CODEGEN_ALIGNMENT_INFO_PASS_H
#define TDL_INCLUDE_CODEGEN_ALIGNMENT_INFO_PASS_H
#include <set>
#include <map>
namespace triton {

View File

@@ -1,10 +1,6 @@
#ifndef TDL_INCLUDE_IR_CODEGEN_TARGET_H
#define TDL_INCLUDE_IR_CODEGEN_TARGET_H
#include <map>
#include <set>
#include <vector>
namespace llvm{
class Type;
class Value;

View File

@@ -1,9 +1,6 @@
#ifndef TDL_INCLUDE_CODEGEN_OPTIMIZE_CSE_H
#define TDL_INCLUDE_CODEGEN_OPTIMIZE_CSE_H
#include <tuple>
#include <vector>
#include <set>
namespace triton {

View File

@@ -1,9 +1,6 @@
#ifndef TDL_INCLUDE_CODEGEN_OPTIMIZE_TRANS_H
#define TDL_INCLUDE_CODEGEN_OPTIMIZE_TRANS_H
#include <tuple>
#include <vector>
#include <set>
namespace triton {

View File

@@ -4,7 +4,6 @@
#include <map>
#include <set>
#include <vector>
#include <iostream>
namespace triton {

View File

@@ -1,10 +1,6 @@
#ifndef TDL_INCLUDE_CODEGEN_BARRIERS_H
#define TDL_INCLUDE_CODEGEN_BARRIERS_H
#include <tuple>
#include <vector>
#include <set>
namespace triton {
namespace ir {

View File

@@ -25,7 +25,6 @@
#include "triton/driver/module.h"
#include "triton/driver/handle.h"
#include <memory>
namespace llvm

View File

@@ -1,7 +1,6 @@
#ifndef TDL_INCLUDE_IR_BUILDER_H
#define TDL_INCLUDE_IR_BUILDER_H
#include <iostream>
#include <vector>
#include <string>
#include "instructions.h"

View File

@@ -1,7 +1,6 @@
#ifndef TDL_INCLUDE_IR_CONTEXT_IMPL_H
#define TDL_INCLUDE_IR_CONTEXT_IMPL_H
#include <memory>
#include <map>
#include "triton/ir/type.h"

View File

@@ -5,7 +5,6 @@
#include <map>
#include "value.h"
#include "constant.h"
#include <iostream>
namespace triton{
namespace ir{

View File

@@ -2,8 +2,6 @@
#define TDL_INCLUDE_IR_TYPE_H
#include <vector>
#include <iostream>
#include <set>
namespace triton{
namespace ir{

View File

@@ -3,7 +3,6 @@
#include <string>
#include <vector>
#include <memory>
#include <set>
namespace triton{

View File

@@ -3,7 +3,6 @@
#include "node.h"
#include <string>
#include <iostream>
namespace triton{

View File

@@ -3,9 +3,7 @@
#include "lang.h"
#include <cassert>
#include <vector>
#include <string>
#include <iostream>
namespace triton{

View File

@@ -1,7 +1,6 @@
#ifndef TRITON_INCLUDE_RUNTIME_LAUNCH_INFO_H
#define TRITON_INCLUDE_RUNTIME_LAUNCH_INFO_H
#include <vector>
#include <map>
namespace triton{

View File

@@ -1,4 +1,7 @@
#include <vector>
#include <set>
#include <algorithm>
#include "triton/codegen/transform/shmem/barriers.h"
#include "triton/codegen/analysis/shmem/allocation.h"
#include "triton/codegen/analysis/shmem/info.h"

View File

@@ -20,6 +20,8 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include <vector>
#include <stdexcept>
#include "triton/driver/dispatch.h"
#include "triton/driver/backend.h"
#include "triton/driver/buffer.h"
@@ -27,9 +29,6 @@
#include "triton/driver/stream.h"
#include "triton/driver/kernel.h"
#include <assert.h>
#include <stdexcept>
#include <vector>
namespace triton
{

View File

@@ -20,7 +20,6 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include <iostream>
#include "triton/driver/stream.h"
#include "triton/driver/buffer.h"
#include "triton/driver/context.h"

View File

@@ -20,12 +20,9 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include <iostream>
#include <cassert>
#include "triton/driver/context.h"
#include "triton/driver/module.h"
#include "triton/tools/sys/getenv.hpp"
#include "triton/tools/sys/mkdir.hpp"

View File

@@ -20,7 +20,6 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include <map>
#include "triton/driver/dispatch.h"
#include "triton/driver/context.h"

View File

@@ -20,8 +20,6 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include <cassert>
#include <memory>
#include "triton/driver/handle.h"
namespace triton

View File

@@ -20,9 +20,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include <iostream>
#include <cstring>
#include "llvm/ExecutionEngine/GenericValue.h"
#include <string.h>
#include "triton/driver/kernel.h"
#include "triton/driver/buffer.h"

View File

@@ -23,11 +23,11 @@
#include <fstream>
#include <memory>
#include <fstream>
#include "llvm/IR/IRBuilder.h"
#include "triton/driver/module.h"
#include "triton/driver/context.h"
#include "triton/driver/error.h"
#include "triton/tools/sys/getenv.hpp"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/IRPrintingPasses.h"
#include "llvm/Bitcode/BitcodeWriter.h"
#include "llvm/IR/Verifier.h"

View File

@@ -20,11 +20,10 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include <string>
#include "triton/driver/platform.h"
#include "triton/driver/device.h"
#include <string>
namespace triton
{

View File

@@ -20,10 +20,8 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include <iostream>
#include <cassert>
#include <array>
#include "triton/driver/backend.h"
#include "triton/driver/stream.h"
#include "triton/driver/context.h"

View File

@@ -1,8 +1,7 @@
#include <stack>
#include "triton/ir/cfg.h"
#include "triton/ir/basic_block.h"
#include "triton/ir/function.h"
#include <stack>
#include <iostream>
namespace triton{
namespace ir{

View File

@@ -1,3 +1,4 @@
#include <iostream>
#include "triton/ir/basic_block.h"
#include "triton/ir/module.h"
#include "triton/ir/type.h"

View File

@@ -1,7 +1,6 @@
#include <cassert>
#include "triton/ir/value.h"
#include "triton/ir/instructions.h"
#include <iostream>
#include <cassert>
namespace triton{
namespace ir{