1 // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
4 typedef unsigned long word_t
;
5 typedef unsigned long u64_t
;
6 typedef unsigned int u32_t
;
14 word_t delivery_mode
: 3;
17 word_t delivery_status
: 1;
20 word_t trigger_mode
: 1;
27 volatile u32_t raw
[2];
32 struct ioapic_shadow_struct
34 ioapic_redir_t redirs
[24];
37 void init_ioapic(unsigned long ioapic_id
)
40 ioapic_shadow
[ioapic_id
].redirs
[3] = entry
;
43 // CHECK: call void @llvm.memcpy