[general] cleaned include guards and added #pragma once

This commit is contained in:
Philippe Tillet
2019-08-23 18:08:05 -07:00
parent 606e799948
commit 6158d96ff7
43 changed files with 135 additions and 312 deletions

View File

@@ -1,27 +1,8 @@
/* Copyright 2015-2017 Philippe Tillet #pragma once
*
* Permission is hereby granted, free of charge, to any person obtaining #ifndef _TRITON_DRIVER_BACKEND_H_
* a copy of this software and associated documentation files #define _TRITON_DRIVER_BACKEND_H_
* (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, sublicense, and/or sell copies of the Software,
* and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef TDL_INCLUDE_DRIVER_BACKEND_H
#define TDL_INCLUDE_DRIVER_BACKEND_H
#include <map> #include <map>
#include <list> #include <list>

View File

@@ -1,27 +1,7 @@
/* Copyright 2015-2017 Philippe Tillet #pragma once
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, sublicense, and/or sell copies of the Software,
* and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef TDL_INCLUDE_DRIVER_BUFFER_H #ifndef _TRITON_DRIVER_BUFFER_H_
#define TDL_INCLUDE_DRIVER_BUFFER_H #define _TRITON_DRIVER_BUFFER_H_
#include "triton/driver/handle.h" #include "triton/driver/handle.h"
#include "triton/driver/context.h" #include "triton/driver/context.h"

View File

@@ -1,27 +1,7 @@
/* Copyright 2015-2017 Philippe Tillet #pragma once
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, sublicense, and/or sell copies of the Software,
* and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef TDL_INCLUDE_DRIVER_CONTEXT_H #ifndef _TRITON_DRIVER_CONTEXT_H_
#define TDL_INCLUDE_DRIVER_CONTEXT_H #define _TRITON_DRIVER_CONTEXT_H_
#include "triton/driver/device.h" #include "triton/driver/device.h"
#include "triton/driver/handle.h" #include "triton/driver/handle.h"

View File

@@ -1,27 +1,7 @@
/* Copyright 2015-2017 Philippe Tillet #pragma once
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, sublicense, and/or sell copies of the Software,
* and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef TDL_INCLUDE_DRIVER_DEVICE_H #ifndef _TRITON_DRIVER_DEVICE_H_
#define TDL_INCLUDE_DRIVER_DEVICE_H #define _TRITON_DRIVER_DEVICE_H_
#include "triton/driver/platform.h" #include "triton/driver/platform.h"
#include "triton/driver/handle.h" #include "triton/driver/handle.h"

View File

@@ -1,27 +1,7 @@
/* Copyright 2015-2017 Philippe Tillet #pragma once
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, sublicense, and/or sell copies of the Software,
* and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef TDL_INCLUDE_DRIVER_DISPATCHER_H #ifndef _TRITON_DRIVER_DISPATCH_H_
#define TDL_INCLUDE_DRIVER_DISPATCHER_H #define _TRITON_DRIVER_DISPATCH_H_
#include <type_traits> #include <type_traits>
#include <dlfcn.h> #include <dlfcn.h>

View File

@@ -1,27 +1,7 @@
/* Copyright 2015-2017 Philippe Tillet #pragma once
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, sublicense, and/or sell copies of the Software,
* and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef TDL_INCLUDE_DRIVER_ERROR_H #ifndef _TRITON_DRIVER_ERROR_H_
#define TDL_INCLUDE_DRIVER_ERROR_H #define _TRITON_DRIVER_ERROR_H_
#include <exception> #include <exception>
#include "triton/driver/dispatch.h" #include "triton/driver/dispatch.h"

View File

@@ -1,27 +1,7 @@
/* Copyright 2015-2017 Philippe Tillet #pragma once
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, sublicense, and/or sell copies of the Software,
* and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef TDL_INCLUDE_DRIVER_EVENT_H #ifndef _TRITON_DRIVER_EVENT_H_
#define TDL_INCLUDE_DRIVER_EVENT_H #define _TRITON_DRIVER_EVENT_H_
#include "triton/driver/handle.h" #include "triton/driver/handle.h"

View File

@@ -1,27 +1,7 @@
/* Copyright 2015-2017 Philippe Tillet #pragma once
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, sublicense, and/or sell copies of the Software,
* and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef TDL_INCLUDE_DRIVER_HANDLE_H #ifndef _TRITON_DRIVER_HANDLE_H_
#define TDL_INCLUDE_DRIVER_HANDLE_H #define _TRITON_DRIVER_HANDLE_H_
#include <memory> #include <memory>
#include <map> #include <map>

View File

@@ -1,27 +1,7 @@
/* Copyright 2015-2017 Philippe Tillet #pragma once
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, sublicense, and/or sell copies of the Software,
* and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef TDL_INCLUDE_DRIVER_KERNEL_H #ifndef _TRITON_DRIVER_KERNEL_H_
#define TDL_INCLUDE_DRIVER_KERNEL_H #define _TRITON_DRIVER_KERNEL_H_
#include "triton/driver/module.h" #include "triton/driver/module.h"
#include "triton/driver/handle.h" #include "triton/driver/handle.h"

View File

@@ -1,27 +1,7 @@
/* Copyright 2015-2017 Philippe Tillet #pragma once
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, sublicense, and/or sell copies of the Software,
* and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef TDL_INCLUDE_DRIVER_MODULE_H #ifndef _TRITON_DRIVER_MODULE_H_
#define TDL_INCLUDE_DRIVER_MODULE_H #define _TRITON_DRIVER_MODULE_H_
#include <map> #include <map>
#include "triton/driver/handle.h" #include "triton/driver/handle.h"

View File

@@ -1,27 +1,7 @@
/* Copyright 2015-2017 Philippe Tillet #pragma once
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, sublicense, and/or sell copies of the Software,
* and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef TDL_INCLUDE_DRIVER_PLATFORM_H #ifndef _TRITON_DRIVER_PLATFORM_H_
#define TDL_INCLUDE_DRIVER_PLATFORM_H #define _TRITON_DRIVER_PLATFORM_H_
#include <vector> #include <vector>
#include <string> #include <string>

View File

@@ -1,27 +1,7 @@
/* Copyright 2015-2017 Philippe Tillet #pragma once
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, sublicense, and/or sell copies of the Software,
* and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef TDL_INCLUDE_DRIVER_STREAM_H #ifndef _TRITON_DRIVER_STREAM_H_
#define TDL_INCLUDE_DRIVER_STREAM_H #define _TRITON_DRIVER_STREAM_H_
#include <map> #include <map>
#include "triton/driver/context.h" #include "triton/driver/context.h"

View File

@@ -1,5 +1,7 @@
#ifndef TDL_INCLUDE_IR_BASIC_BLOCK_H #pragma once
#define TDL_INCLUDE_IR_BASIC_BLOCK_H
#ifndef _TRITON_IR_BASIC_BLOCK_H_
#define _TRITON_IR_BASIC_BLOCK_H_
#include <string> #include <string>
#include <list> #include <list>

View File

@@ -1,5 +1,7 @@
#ifndef TDL_INCLUDE_IR_BUILDER_H #pragma once
#define TDL_INCLUDE_IR_BUILDER_H
#ifndef _TRITON_IR_BUILDER_H_
#define _TRITON_IR_BUILDER_H_
#include <vector> #include <vector>
#include <string> #include <string>

View File

@@ -1,5 +1,7 @@
#ifndef TDL_INCLUDE_IR_CFG_H #pragma once
#define TDL_INCLUDE_IR_CFG_H
#ifndef _TRITON_IR_CFG_H_
#define _TRITON_IR_CFG_H_
#include <vector> #include <vector>

View File

@@ -1,5 +1,7 @@
#ifndef TDL_INCLUDE_IR_CONSTANT_H #pragma once
#define TDL_INCLUDE_IR_CONSTANT_H
#ifndef _TRITON_IR_CONSTANT_H_
#define _TRITON_IR_CONSTANT_H_
#include "enums.h" #include "enums.h"
#include "value.h" #include "value.h"

View File

@@ -1,5 +1,7 @@
#ifndef TDL_INCLUDE_IR_CONTEXT_H #pragma once
#define TDL_INCLUDE_IR_CONTEXT_H
#ifndef _TRITON_IR_CONTEXT_H_
#define _TRITON_IR_CONTEXT_H_
#include <memory> #include <memory>
#include "triton/ir/type.h" #include "triton/ir/type.h"

View File

@@ -1,5 +1,7 @@
#ifndef TDL_INCLUDE_IR_CONTEXT_IMPL_H #pragma once
#define TDL_INCLUDE_IR_CONTEXT_IMPL_H
#ifndef _TRITON_IR_CONTEXT_IMPL_H_
#define _TRITON_IR_CONTEXT_IMPL_H_
#include <map> #include <map>
#include "triton/ir/type.h" #include "triton/ir/type.h"

View File

@@ -1,5 +1,7 @@
#ifndef TRITON_IR_ENUMS_H #pragma once
#define TRITON_IR_ENUMS_H
#ifndef _TRITON_IR_ENUMS_H_
#define _TRITON_IR_ENUMS_H_
namespace triton{ namespace triton{
namespace ir{ namespace ir{

View File

@@ -1,5 +1,7 @@
#ifndef TDL_INCLUDE_IR_FUNCTION_H #pragma once
#define TDL_INCLUDE_IR_FUNCTION_H
#ifndef _TRITON_IR_FUNCTION_H_
#define _TRITON_IR_FUNCTION_H_
#include <string> #include <string>
#include <map> #include <map>

View File

@@ -1,5 +1,7 @@
#ifndef TDL_INCLUDE_IR_INSTRUCTIONS_H #pragma once
#define TDL_INCLUDE_IR_INSTRUCTIONS_H
#ifndef _TRITON_IR_INSTRUCTIONS_H_
#define _TRITON_IR_INSTRUCTIONS_H_
#include <vector> #include <vector>
#include <map> #include <map>

View File

@@ -1,5 +1,7 @@
#ifndef TDL_INCLUDE_IR_METADATA_H #pragma once
#define TDL_INCLUDE_IR_METADATA_H
#ifndef _TRITON_IR_METADATA_H_
#define _TRITON_IR_METADATA_H_
namespace triton{ namespace triton{
namespace ir{ namespace ir{

View File

@@ -1,5 +1,7 @@
#ifndef TDL_INCLUDE_IR_MODULE_H #pragma once
#define TDL_INCLUDE_IR_MODULE_H
#ifndef _TRITON_IR_MODULE_H_
#define _TRITON_IR_MODULE_H_
#include <map> #include <map>
#include <set> #include <set>

View File

@@ -1,6 +1,7 @@
#ifndef TDL_INCLUDE_IR_PRINT_H #pragma once
#define TDL_INCLUDE_IR_PRINT_H
#ifndef _TRITON_IR_PRINT_H_
#define _TRITON_IR_PRINT_H_
#include "builder.h" #include "builder.h"

View File

@@ -1,5 +1,7 @@
#ifndef TDL_INCLUDE_IR_TYPE_H #pragma once
#define TDL_INCLUDE_IR_TYPE_H
#ifndef _TRITON_IR_TYPE_H_
#define _TRITON_IR_TYPE_H_
#include <vector> #include <vector>

View File

@@ -1,5 +1,7 @@
#ifndef TDL_INCLUDE_IR_VALUE_H #pragma once
#define TDL_INCLUDE_IR_VALUE_H
#ifndef _TRITON_IR_VALUE_H_
#define _TRITON_IR_VALUE_H_
#include <string> #include <string>
#include <vector> #include <vector>

View File

@@ -1,3 +1,5 @@
#pragma once
#ifndef _WGTCC_AST_H_ #ifndef _WGTCC_AST_H_
#define _WGTCC_AST_H_ #define _WGTCC_AST_H_

View File

@@ -1,3 +1,5 @@
#pragma once
#ifndef _WGTCC_CODE_GEN_H_ #ifndef _WGTCC_CODE_GEN_H_
#define _WGTCC_CODE_GEN_H_ #define _WGTCC_CODE_GEN_H_

View File

@@ -1,3 +1,5 @@
#pragma once
#ifndef _WGTCC_CPP_H_ #ifndef _WGTCC_CPP_H_
#define _WGTCC_CPP_H_ #define _WGTCC_CPP_H_

View File

@@ -1,3 +1,5 @@
#pragma once
#ifndef _WGTCC_ENCODING_H_ #ifndef _WGTCC_ENCODING_H_
#define _WGTCC_ENCODING_H_ #define _WGTCC_ENCODING_H_

View File

@@ -1,3 +1,5 @@
#pragma once
#ifndef _WGTCC_ERROR_H_ #ifndef _WGTCC_ERROR_H_
#define _WGTCC_ERROR_H_ #define _WGTCC_ERROR_H_

View File

@@ -1,3 +1,5 @@
#pragma once
#ifndef _WGTCC_EVALUATOR_H_ #ifndef _WGTCC_EVALUATOR_H_
#define _WGTCC_EVALUATOR_H_ #define _WGTCC_EVALUATOR_H_

View File

@@ -1,3 +1,5 @@
#pragma once
#ifndef _WGTCC_MEM_POOL_H_ #ifndef _WGTCC_MEM_POOL_H_
#define _WGTCC_MEM_POOL_H_ #define _WGTCC_MEM_POOL_H_

View File

@@ -1,3 +1,5 @@
#pragma once
#ifndef _PARSER_H_ #ifndef _PARSER_H_
#define _PARSER_H_ #define _PARSER_H_

View File

@@ -1,3 +1,5 @@
#pragma once
#ifndef _WGTCC_SCANNER_H_ #ifndef _WGTCC_SCANNER_H_
#define _WGTCC_SCANNER_H_ #define _WGTCC_SCANNER_H_

View File

@@ -1,3 +1,5 @@
#pragma once
#ifndef _WGTCC_SCOPE_H_ #ifndef _WGTCC_SCOPE_H_
#define _WGTCC_SCOPE_H_ #define _WGTCC_SCOPE_H_

View File

@@ -1,3 +1,5 @@
#pragma once
#ifndef _WGTCC_TOKEN_H_ #ifndef _WGTCC_TOKEN_H_
#define _WGTCC_TOKEN_H_ #define _WGTCC_TOKEN_H_

View File

@@ -1,3 +1,5 @@
#pragma once
#ifndef _WGTCC_TYPE_H_ #ifndef _WGTCC_TYPE_H_
#define _WGTCC_TYPE_H_ #define _WGTCC_TYPE_H_

View File

@@ -1,3 +1,5 @@
#pragma once
#ifndef _WGTCC_VISITOR_H_ #ifndef _WGTCC_VISITOR_H_
#define _WGTCC_VISITOR_H_ #define _WGTCC_VISITOR_H_

View File

@@ -1,5 +1,7 @@
#ifndef TDL_INCLUDE_ARG_H #pragma once
#define TDL_INCLUDE_ARG_H
#ifndef _TRITON_RUNTIME_ARG_H_
#define _TRITON_RUNTIME_ARG_H_
#include <string> #include <string>
#include <stdexcept> #include <stdexcept>

View File

@@ -1,5 +1,8 @@
#ifndef TDL_INCLUDE_FUNCTION_H #pragma once
#define TDL_INCLUDE_FUNCTION_H
#ifndef _TRITON_RUNTIME_FUNCTION_H_
#define _TRITON_RUNTIME_FUNCTION_H_
#include <unordered_map> #include <unordered_map>
#include <vector> #include <vector>

View File

@@ -1,5 +1,7 @@
#ifndef TRITON_TOOLS_BENCH_HPP #pragma once
#define TRITON_TOOLS_BENCH_HPP
#ifndef _TRITON_TOOLS_BENCH_H_
#define _TRITON_TOOLS_BENCH_H_
#include <chrono> #include <chrono>
#include <functional> #include <functional>

View File

@@ -1,5 +1,7 @@
#ifndef THREAD_POOL_H #pragma once
#define THREAD_POOL_H
#ifndef _TRITON_TOOLS_THREAD_POOL_H_
#define _TRITON_TOOLS_THREAD_POOL_H_
#include <vector> #include <vector>
#include <queue> #include <queue>