reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
; RUN: llc < %s -march=xcore | FileCheck %s
declare void @llvm.xcore.setsr(i32)
declare void @llvm.xcore.clrsr(i32)

define void @setsr() nounwind {
; CHECK-LABEL: setsr:
; CHECK: setsr 128
	call void @llvm.xcore.setsr(i32 128)
	ret void
}


define void @clrsr() nounwind {
; CHECK-LABEL: clrsr:
; CHECK: clrsr 128
	call void @llvm.xcore.clrsr(i32 128)
	ret void
}