1 ; RUN: llc < %s -march=bfin 2 3 declare i64 @llvm.ctlz.i64(i64) 4 declare i64 @llvm.cttz.i64(i64) 5 declare i64 @llvm.ctpop.i64(i64) 6 7 define i64 @ctlztest(i64 %B) { 8 %b = call i64 @llvm.ctlz.i64( i64 %B ) 9 ret i64 %b 10 } 11 12 define i64 @cttztest(i64 %B) { 13 %b = call i64 @llvm.cttz.i64( i64 %B ) 14 ret i64 %b 15 } 16 17 define i64 @ctpoptest(i64 %B) { 18 %b = call i64 @llvm.ctpop.i64( i64 %B ) 19 ret i64 %b 20 } 21