//===- llvm/unittest/Bitcode/BitReaderTestCode.h - Bitcode for tests ------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef LLVM_UNITTESTS_BITCODE_BITREADERTESTCODE_H #define LLVM_UNITTESTS_BITCODE_BITREADERTESTCODE_H // define void @func() { // unreachable // } // declare i32 @func_header() // declare i8* @ret_ptr() // declare i8* @ret_and_arg_ptr(i32 addrspace(8)*) // declare i8 addrspace(1)* @double_ptr(i32* addrspace(2)*, i32***) const unsigned char AccessFunctionTypeInfoBc[] = …; // %dx.types.f32 = type { float } // declare void @main() // !md = !{!0} // !md2 = !{!1} // !0 = !{i32 2, %dx.types.f32 addrspace(1)* undef, void ()* @main, void() // addrspace(3)* null} // !1 = !{i8*(i32* addrspace(2)*) addrspace(4)* undef, i32*** undef} const unsigned char AccessMetadataTypeInfoBc[] = …; #endif