mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-14 17:06:38 +00:00
[libclc] Add missing license headers to source IR files (#132758)
This commit is contained in:
parent
d447c6e9b7
commit
7e22b09031
@ -1,3 +1,11 @@
|
||||
;;===----------------------------------------------------------------------===;;
|
||||
;
|
||||
; 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
|
||||
;
|
||||
;;===----------------------------------------------------------------------===;;
|
||||
|
||||
define i64 @__clc__sync_fetch_and_min_global_8(i64 addrspace(1)* nocapture %ptr, i64 %value) nounwind alwaysinline {
|
||||
entry:
|
||||
%0 = atomicrmw volatile min i64 addrspace(1)* %ptr, i64 %value seq_cst
|
||||
|
@ -1,3 +1,11 @@
|
||||
;;===----------------------------------------------------------------------===;;
|
||||
;
|
||||
; 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
|
||||
;
|
||||
;;===----------------------------------------------------------------------===;;
|
||||
|
||||
define float @__clc_vload_half_float_helper__private(half addrspace(0)* nocapture %ptr) nounwind alwaysinline {
|
||||
%data = load half, half addrspace(0)* %ptr
|
||||
%res = fpext half %data to float
|
||||
|
@ -1,3 +1,11 @@
|
||||
;;===----------------------------------------------------------------------===;;
|
||||
;
|
||||
; 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
|
||||
;
|
||||
;;===----------------------------------------------------------------------===;;
|
||||
|
||||
define void @__clc_vstore_half_float_helper__private(float %data, half addrspace(0)* nocapture %ptr) nounwind alwaysinline {
|
||||
%res = fptrunc float %data to half
|
||||
store half %res, half addrspace(0)* %ptr
|
||||
|
@ -1 +1,9 @@
|
||||
;;===----------------------------------------------------------------------===;;
|
||||
;
|
||||
; 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
|
||||
;
|
||||
;;===----------------------------------------------------------------------===;;
|
||||
|
||||
@__CLC_SUBNORMAL_DISABLE = unnamed_addr constant i1 true
|
||||
|
@ -1,3 +1,11 @@
|
||||
;;===----------------------------------------------------------------------===;;
|
||||
;
|
||||
; 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
|
||||
;
|
||||
;;===----------------------------------------------------------------------===;;
|
||||
|
||||
@__CLC_SUBNORMAL_DISABLE = external global i1
|
||||
|
||||
define i1 @__clc_subnormals_disabled() #0 {
|
||||
|
@ -1 +1,9 @@
|
||||
;;===----------------------------------------------------------------------===;;
|
||||
;
|
||||
; 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
|
||||
;
|
||||
;;===----------------------------------------------------------------------===;;
|
||||
|
||||
@__CLC_SUBNORMAL_DISABLE = unnamed_addr constant i1 false
|
||||
|
@ -1,3 +1,11 @@
|
||||
;;===----------------------------------------------------------------------===;;
|
||||
;
|
||||
; 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
|
||||
;
|
||||
;;===----------------------------------------------------------------------===;;
|
||||
|
||||
define float @__clc_vload_half_float_helper__private(half addrspace(0)* nocapture %ptr) nounwind alwaysinline {
|
||||
%data = load half, half addrspace(0)* %ptr
|
||||
%res = fpext half %data to float
|
||||
|
@ -1,3 +1,11 @@
|
||||
;;===----------------------------------------------------------------------===;;
|
||||
;
|
||||
; 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
|
||||
;
|
||||
;;===----------------------------------------------------------------------===;;
|
||||
|
||||
define void @__clc_vstore_half_float_helper__private(float %data, half addrspace(0)* nocapture %ptr) nounwind alwaysinline {
|
||||
%res = fptrunc float %data to half
|
||||
store half %res, half addrspace(0)* %ptr
|
||||
|
@ -1,3 +1,11 @@
|
||||
;;===----------------------------------------------------------------------===;;
|
||||
;
|
||||
; 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
|
||||
;
|
||||
;;===----------------------------------------------------------------------===;;
|
||||
|
||||
%opencl.image2d_t = type opaque
|
||||
%opencl.image3d_t = type opaque
|
||||
|
||||
|
@ -1,3 +1,11 @@
|
||||
;;===----------------------------------------------------------------------===;;
|
||||
;
|
||||
; 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
|
||||
;
|
||||
;;===----------------------------------------------------------------------===;;
|
||||
|
||||
%opencl.image2d_t = type opaque
|
||||
|
||||
declare <4 x float> @llvm.R600.tex(<4 x float>, i32, i32, i32, i32, i32, i32,
|
||||
|
@ -1,3 +1,11 @@
|
||||
;;===----------------------------------------------------------------------===;;
|
||||
;
|
||||
; 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
|
||||
;
|
||||
;;===----------------------------------------------------------------------===;;
|
||||
|
||||
%opencl.image2d_t = type opaque
|
||||
%opencl.image3d_t = type opaque
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user