File: barrier.ll

package info (click to toggle)
pocl 6.0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,320 kB
  • sloc: lisp: 149,513; ansic: 103,778; cpp: 54,947; python: 1,513; sh: 949; ruby: 255; pascal: 226; tcl: 180; makefile: 175; java: 72; xml: 49
file content (9 lines) | stat: -rw-r--r-- 275 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
; This is an "illegal" C function name on purpose. It's a magic
; handle based on which we know it's the special WG barrier function.
declare void @pocl.barrier() noduplicate

define void @_Z7barrierj(i32 %flags) noduplicate {
entry:
  call void @pocl.barrier()
  ret void
}