1declare float @llvm.fabs.f32(float) 2declare double @llvm.fabs.f64(double) 3declare <4 x float> @llvm.fabs.v4f32(<4 x float>) 4 5define float @_Z6myFabsf(float %a) { 6 %x = call float @llvm.fabs.f32(float %a) 7 ret float %x 8} 9 10define double @_Z6myFabsd(double %a) { 11 %x = call double @llvm.fabs.f64(double %a) 12 ret double %x 13} 14 15define <4 x float> @_Z6myFabsDv4_f(<4 x float> %a) { 16 %x = call <4 x float> @llvm.fabs.v4f32(<4 x float> %a) 17 ret <4 x float> %x 18} 19