1 // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
3 typedef unsigned long word_t
;
4 typedef unsigned long u64_t
;
5 typedef unsigned int u32_t
;
13 word_t delivery_mode
: 3;
16 word_t delivery_status
: 1;
19 word_t trigger_mode
: 1;
26 volatile u32_t raw
[2];
31 struct ioapic_shadow_struct
33 ioapic_redir_t redirs
[24];
36 void init_ioapic(unsigned long ioapic_id
)
39 ioapic_shadow
[ioapic_id
].redirs
[3] = entry
;
42 // CHECK: call void @llvm.memcpy