Lines Matching refs:bitreverse
4 ; These tests just check that the plumbing is in place for @llvm.bitreverse. The
5 ; actual output is massive at the moment as llvm.bitreverse is not yet legal.
7 declare <2 x i16> @llvm.bitreverse.v2i16(<2 x i16>) readnone
139 %b = call <2 x i16> @llvm.bitreverse.v2i16(<2 x i16> %a)
143 declare i24 @llvm.bitreverse.i24(i24) readnone
244 %b = call i24 @llvm.bitreverse.i24(i24 %a)
248 declare i8 @llvm.bitreverse.i8(i8) readnone
283 %b = call i8 @llvm.bitreverse.i8(i8 %a)
287 declare i4 @llvm.bitreverse.i4(i4) readnone
308 %b = call i4 @llvm.bitreverse.i4(i4 %a)
312 ; These tests check that bitreverse(constant) calls are folded
320 %b = call <2 x i16> @llvm.bitreverse.v2i16(<2 x i16> <i16 15, i16 3840>)
329 %b = call i24 @llvm.bitreverse.i24(i24 4096)
338 %b = call i8 @llvm.bitreverse.i8(i8 15)
347 %b = call i4 @llvm.bitreverse.i4(i4 8)
351 ; These tests check that bitreverse(bitreverse()) calls are removed
358 %b = call i8 @llvm.bitreverse.i8(i8 %a)
359 %c = call i8 @llvm.bitreverse.i8(i8 %b)
369 %b = call <2 x i16> @llvm.bitreverse.v2i16(<2 x i16> %a)
370 %c = call <2 x i16> @llvm.bitreverse.v2i16(<2 x i16> %b)
374 ; These tests check that bitreverse(undef) calls are removed
380 %b = call i8 @llvm.bitreverse.i8(i8 undef)
388 %b = call <2 x i16> @llvm.bitreverse.v2i16(<2 x i16> undef)