Lines Matching defs:SrcType

146                                 Value *Src, QualType SrcType, QualType DstType,
578 Value *ScalarExprEmitter::EmitConversionToBool(Value *Src, QualType SrcType) {
579 assert(SrcType.isCanonical() && "EmitScalarConversion strips typedefs");
581 if (SrcType->isRealFloatingType())
584 if (const MemberPointerType *MPT = dyn_cast<MemberPointerType>(SrcType))
587 assert((SrcType->isIntegerType() || isa<llvm::PointerType>(Src->getType())) &&
598 Value *OrigSrc, QualType OrigSrcType, Value *Src, QualType SrcType,
671 CGF.getContext().getFloatTypeSemantics(SrcType);
732 Value *ScalarExprEmitter::EmitScalarConversion(Value *Src, QualType SrcType,
735 return EmitScalarConversion(Src, SrcType, DstType, Loc, false);
738 Value *ScalarExprEmitter::EmitScalarConversion(Value *Src, QualType SrcType,
742 SrcType = CGF.getContext().getCanonicalType(SrcType);
744 if (SrcType == DstType) return Src;
749 QualType OrigSrcType = SrcType;
754 return EmitConversionToBool(Src, SrcType);
759 if (SrcType->isHalfType() && !CGF.getContext().getLangOpts().NativeHalfType) {
778 SrcType = CGF.getContext().FloatTy;
795 assert(SrcType->isIntegerType() && "Not ptr->ptr or int->ptr conversion?");
799 bool InputSigned = SrcType->isSignedIntegerOrEnumerationType();
813 if (DstType->isExtVectorType() && !SrcType->isVectorType()) {
817 SrcType.getTypePtr() &&
838 EmitFloatConversionCheck(OrigSrc, OrigSrcType, Src, SrcType, DstType, DstTy,
857 bool InputSigned = SrcType->isSignedIntegerOrEnumerationType();
858 if (SrcType->isBooleanType() && TreatBooleanAsSigned) {
1057 QualType SrcType = E->getSrcExpr()->getType(),
1062 SrcType = CGF.getContext().getCanonicalType(SrcType);
1064 if (SrcType == DstType) return Src;
1066 assert(SrcType->isVectorType() &&
1078 QualType SrcEltType = SrcType->getAs<VectorType>()->getElementType(),