Lines Matching refs:Fabs
1082 hasUnaryFloatFn(TLI, Op2->getType(), LibFunc::fabs, LibFunc::fabsf,
1084 // Expand pow(x, 0.5) to (x == -infinity ? +infinity : fabs(sqrt(x))).
1088 // TODO: In finite-only mode, this could be just fabs(sqrt(x)).
1092 Value *FAbs =
1093 EmitUnaryFloatFnCall(Sqrt, "fabs", B, Callee->getAttributes());
1095 Value *Sel = B.CreateSelect(FCmp, Inf, FAbs);
1167 if (Callee->getName() == "fabs" && TLI->has(LibFunc::fabsf)) {
1179 // Fold fabs(x * x) -> x * x; any squared FP value must already be positive.
1211 // so we can do this fold: sqrt(x * x) -> fabs(x);
1212 // or this fold: sqrt(x * x * y) -> fabs(x) * sqrt(y).
1245 // replace it with the fabs of that factor.
1248 Value *Fabs = Intrinsic::getDeclaration(M, Intrinsic::fabs, ArgType);
1249 Value *FabsCall = B.CreateCall(Fabs, RepeatOp, "fabs");
1991 case Intrinsic::fabs:
2040 case LibFunc::fabs: