Lines Matching refs:SrcType
108 Value *Src, QualType SrcType,
533 Value *ScalarExprEmitter::EmitConversionToBool(Value *Src, QualType SrcType) {
534 assert(SrcType.isCanonical() && "EmitScalarConversion strips typedefs");
536 if (SrcType->isRealFloatingType())
539 if (const MemberPointerType *MPT = dyn_cast<MemberPointerType>(SrcType))
542 assert((SrcType->isIntegerType() || isa<llvm::PointerType>(Src->getType())) &&
554 Value *Src, QualType SrcType,
627 CGF.getContext().getFloatTypeSemantics(SrcType);
690 Value *ScalarExprEmitter::EmitScalarConversion(Value *Src, QualType SrcType,
692 SrcType = CGF.getContext().getCanonicalType(SrcType);
694 if (SrcType == DstType) return Src;
699 QualType OrigSrcType = SrcType;
703 if (SrcType->isHalfType() && !CGF.getContext().getLangOpts().NativeHalfType) {
705 SrcType = CGF.getContext().FloatTy;
711 return EmitConversionToBool(Src, SrcType);
727 assert(SrcType->isIntegerType() && "Not ptr->ptr or int->ptr conversion?");
731 bool InputSigned = SrcType->isSignedIntegerOrEnumerationType();
745 if (DstType->isExtVectorType() && !SrcType->isVectorType()) {
748 llvm::Value *Elt = EmitScalarConversion(Src, SrcType, EltTy);
768 EmitFloatConversionCheck(OrigSrc, OrigSrcType, Src, SrcType, DstType,
776 bool InputSigned = SrcType->isSignedIntegerOrEnumerationType();