math.ll 649 B

12345678910111213141516171819
  1. target datalayout = "e-m:e-i64:64-i128:128-n32:64-S128"
  2. target triple = "aarch64-linux-android"
  3. declare float @llvm.sqrt.f32(float)
  4. declare float @llvm.pow.f32(float, float)
  5. declare float @llvm.fabs.f32(float)
  6. declare <2 x float> @llvm.fabs.v2f32(<2 x float>)
  7. declare <3 x float> @llvm.fabs.v3f32(<3 x float>)
  8. declare <4 x float> @llvm.fabs.v4f32(<4 x float>)
  9. define float @_Z4sqrtf(float %v) nounwind readnone alwaysinline {
  10. %1 = tail call float @llvm.sqrt.f32(float %v)
  11. ret float %1
  12. }
  13. define float @_Z3powff(float %v1, float %v2) nounwind readnone alwaysinline {
  14. %1 = tail call float @llvm.pow.f32(float %v1, float %v2)
  15. ret float %1
  16. }