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
   19
; RUN: llc < %s -mtriple=armv8 -mattr=+db | FileCheck %s

define void @test() {
  ; CHECK: dmb sy
  call void @llvm.arm.dmb(i32 15)
  ; CHECK: dmb osh
  call void @llvm.arm.dmb(i32 3)
  ; CHECK: dsb sy
  call void @llvm.arm.dsb(i32 15)
  ; CHECK: dsb ishld
  call void @llvm.arm.dsb(i32 9)
  ; CHECK: sevl
  tail call void @llvm.arm.hint(i32 5) nounwind
  ret void
}

declare void @llvm.arm.dmb(i32)
declare void @llvm.arm.dsb(i32)
declare void @llvm.arm.hint(i32) nounwind