Lines Matching refs:Intrinsic
110 virtual unsigned getIntrinsicInstrCost(Intrinsic::ID, Type *RetTy,
414 unsigned BasicTTI::getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy,
419 // Assume that we need to scalarize this intrinsic.
436 // intrinsic call.
437 case Intrinsic::sqrt: ISD = ISD::FSQRT; break;
438 case Intrinsic::sin: ISD = ISD::FSIN; break;
439 case Intrinsic::cos: ISD = ISD::FCOS; break;
440 case Intrinsic::exp: ISD = ISD::FEXP; break;
441 case Intrinsic::exp2: ISD = ISD::FEXP2; break;
442 case Intrinsic::log: ISD = ISD::FLOG; break;
443 case Intrinsic::log10: ISD = ISD::FLOG10; break;
444 case Intrinsic::log2: ISD = ISD::FLOG2; break;
445 case Intrinsic::fabs: ISD = ISD::FABS; break;
446 case Intrinsic::floor: ISD = ISD::FFLOOR; break;
447 case Intrinsic::ceil: ISD = ISD::FCEIL; break;
448 case Intrinsic::trunc: ISD = ISD::FTRUNC; break;
449 case Intrinsic::nearbyint:
451 case Intrinsic::rint: ISD = ISD::FRINT; break;
452 case Intrinsic::pow: ISD = ISD::FPOW; break;
453 case Intrinsic::fma: ISD = ISD::FMA; break;
454 case Intrinsic::fmuladd: ISD = ISD::FMA; break; // FIXME: mul + add?
455 case Intrinsic::lifetime_start:
456 case Intrinsic::lifetime_end:
479 // Else, assume that we need to scalarize this intrinsic. For math builtins