Lines Matching refs:bfloat
7 define bfloat @bf_load_soft(bfloat* %p) {
18 %f = load bfloat, bfloat* %p, align 2
19 ret bfloat %f
22 define arm_aapcs_vfpcc bfloat @bf_load_hard(bfloat* %p) {
33 %f = load bfloat, bfloat* %p, align 2
34 ret bfloat %f
37 define void @bf_store_soft(bfloat* %p, bfloat %f) {
48 store bfloat %f, bfloat* %p, align 2
52 define arm_aapcs_vfpcc void @bf_store_hard(bfloat* %p, bfloat %f) {
63 store bfloat %f, bfloat* %p, align 2
67 define i32 @bf_to_int_soft(bfloat %f) {
78 %h = bitcast bfloat %f to i16
83 define arm_aapcs_vfpcc i32 @bf_to_int_hard(bfloat %f) {
94 %h = bitcast bfloat %f to i16
99 define bfloat @bf_from_int_soft(i32 %w) {
124 %f = bitcast i16 %h to bfloat
125 ret bfloat %f
128 define arm_aapcs_vfpcc bfloat @bf_from_int_hard(i32 %w) {
154 %f = bitcast i16 %h to bfloat
155 ret bfloat %f
158 define bfloat @test_fncall_soft(bfloat %bf, bfloat (bfloat, bfloat)* %f) {
236 %call = tail call bfloat %f(bfloat %bf, bfloat %bf)
237 %call1 = tail call bfloat %f(bfloat %bf, bfloat %call)
238 ret bfloat %call
241 define arm_aapcs_vfpcc bfloat @test_fncall_hard(bfloat %bf, bfloat (bfloat, bfloat)* %f) {
316 %call = tail call arm_aapcs_vfpcc bfloat %f(bfloat %bf, bfloat %bf)
317 %call1 = tail call arm_aapcs_vfpcc bfloat %f(bfloat %bf, bfloat %call)
318 ret bfloat %call