1 //===---------- llvm/unittests/Target/AMDGPU/AMDGPUUnitTests.h ------------===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 9 #ifndef LLVM_UNITTESTS_TARGET_AMDGPU_AMDGPUUNITTESTS_H 10 #define LLVM_UNITTESTS_TARGET_AMDGPU_AMDGPUUNITTESTS_H 11 12 #include <memory> 13 #include <string> 14 15 namespace llvm { 16 17 class GCNTargetMachine; 18 class StringRef; 19 20 std::unique_ptr<const GCNTargetMachine> 21 createAMDGPUTargetMachine(std::string TStr, StringRef CPU, StringRef FS); 22 23 } // end namespace llvm 24 25 #endif // LLVM_UNITTESTS_TARGET_AMDGPU_AMDGPUUNITTESTS_H 26