Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:intrinsic

669     Src = Builder.CreateCall(CGF.CGM.getIntrinsic(llvm::Intrinsic::convert_from_fp16), Src);
765 Res = Builder.CreateCall(CGF.CGM.getIntrinsic(llvm::Intrinsic::convert_to_fp16), Res);
1593 Builder.CreateCall(CGF.CGM.getIntrinsic(llvm::Intrinsic::convert_from_fp16),
1614 Builder.CreateCall(CGF.CGM.getIntrinsic(llvm::Intrinsic::convert_to_fp16),
2106 IID = isSigned ? llvm::Intrinsic::sadd_with_overflow :
2107 llvm::Intrinsic::uadd_with_overflow;
2112 IID = isSigned ? llvm::Intrinsic::ssub_with_overflow :
2113 llvm::Intrinsic::usub_with_overflow;
2118 IID = isSigned ? llvm::Intrinsic::smul_with_overflow :
2119 llvm::Intrinsic::umul_with_overflow;
2130 llvm::Function *intrinsic = CGF.CGM.getIntrinsic(IID, opTy);
2132 Value *resultAndOverflow = Builder.CreateCall2(intrinsic, Ops.LHS, Ops.RHS);
2284 // Construct an fmuladd intrinsic to represent a fused mul-add of MulOp and
2310 CGF.CGM.getIntrinsic(llvm::Intrinsic::fmuladd, Addend->getType()),
2317 // Check whether it would be legal to emit an fmuladd intrinsic call to
2560 // return corresponding comparison intrinsic for given vector type
2561 static llvm::Intrinsic::ID GetIntrinsic(IntrinsicType IT,
2567 return (IT == VCMPEQ) ? llvm::Intrinsic::ppc_altivec_vcmpequb_p :
2568 llvm::Intrinsic::ppc_altivec_vcmpgtub_p;
2571 return (IT == VCMPEQ) ? llvm::Intrinsic::ppc_altivec_vcmpequb_p :
2572 llvm::Intrinsic::ppc_altivec_vcmpgtsb_p;
2574 return (IT == VCMPEQ) ? llvm::Intrinsic::ppc_altivec_vcmpequh_p :
2575 llvm::Intrinsic::ppc_altivec_vcmpgtuh_p;
2577 return (IT == VCMPEQ) ? llvm::Intrinsic::ppc_altivec_vcmpequh_p :
2578 llvm::Intrinsic::ppc_altivec_vcmpgtsh_p;
2581 return (IT == VCMPEQ) ? llvm::Intrinsic::ppc_altivec_vcmpequw_p :
2582 llvm::Intrinsic::ppc_altivec_vcmpgtuw_p;
2585 return (IT == VCMPEQ) ? llvm::Intrinsic::ppc_altivec_vcmpequw_p :
2586 llvm::Intrinsic::ppc_altivec_vcmpgtsw_p;
2588 return (IT == VCMPEQ) ? llvm::Intrinsic::ppc_altivec_vcmpeqfp_p :
2589 llvm::Intrinsic::ppc_altivec_vcmpgtfp_p;
2615 llvm::Intrinsic::ID ID = llvm::Intrinsic::not_intrinsic;
2647 ID = llvm::Intrinsic::ppc_altivec_vcmpgefp_p;
2658 ID = llvm::Intrinsic::ppc_altivec_vcmpgefp_p;