| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaCast.cpp | 571 assert((SrcType->isAnyPointerType() || SrcType->isMemberPointerType() || in CastsAwayConstness() 743 SrcPointee = SrcType; in CheckDynamicCast() 750 SrcPointee = SrcType; in CheckDynamicCast() 1721 SrcType = Self.Context.getPointerType(SrcType); in TryConstCast() 1794 SrcTy = SrcType; in CheckCompatibleReinterpretCast() 2045 SrcType = Self.Context.getPointerType(SrcType); in TryReinterpretCast() 2051 SrcType = Self.Context.getCanonicalType(SrcType); in TryReinterpretCast() 2455 if ((SrcType->isAnyPointerType() || SrcType->isBlockPointerType()) in DiagnoseBadFunctionCast() 2582 if (!SrcType->isScalarType() && !SrcType->isVectorType()) { in CheckCStyleCast() 2597 (SrcType->isIntegerType() || SrcType->isFloatingType())) { in CheckCStyleCast() [all …]
|
| H A D | SemaExprObjC.cpp | 3966 QualType SrcType = castExpr->getType(); in CheckObjCBridgeRelatedCast() local 3970 SrcType = PDecl->getType(); in CheckObjCBridgeRelatedCast() 3974 SrcType = Getter->getReturnType(); in CheckObjCBridgeRelatedCast() 4010 QualType T = CfToNs ? SrcType : DestType; in checkObjCBridgeRelatedComponents() 4027 << SrcType << DestType; in checkObjCBridgeRelatedComponents() 4038 << SrcType << DestType; in checkObjCBridgeRelatedComponents() 4053 << SrcType << DestType << Sel << false; in checkObjCBridgeRelatedComponents() 4067 << SrcType << DestType << Sel << true; in checkObjCBridgeRelatedComponents() 4078 QualType DestType, QualType SrcType, in CheckObjCBridgeRelatedConversions() argument 4108 << SrcType << DestType << ClassMethod->getSelector() << false in CheckObjCBridgeRelatedConversions() [all …]
|
| H A D | Sema.cpp | 434 QualType SrcType, in diagnoseNullableToNonnullConversion() argument 436 Optional<NullabilityKind> ExprNullability = SrcType->getNullability(Context); in diagnoseNullableToNonnullConversion() 444 Diag(Loc, diag::warn_nullability_lost) << SrcType << DstType; in diagnoseNullableToNonnullConversion()
|
| H A D | SemaExpr.cpp | 12250 QualType SrcType) { in needsConversionOfHalfVec() argument 12253 isVector(SrcType, Ctx.HalfTy); in needsConversionOfHalfVec() 14011 DiagnoseAssignmentEnum(DstType, SrcType, SrcExpr); in DiagnoseAssignmentResult() 14027 else if (SrcType->isFunctionPointerType() && in DiagnoseAssignmentResult() 14034 SrcType->isObjCObjectPointerType(); in DiagnoseAssignmentResult() 14039 SrcType = SrcType.getUnqualifiedType(); in DiagnoseAssignmentResult() 14052 if (SrcType->isArrayType()) SrcType = Context.getArrayDecayedType(SrcType); in DiagnoseAssignmentResult() 14093 if (SrcType->isObjCQualifiedIdType()) { in DiagnoseAssignmentResult() 14095 SrcType->getAs<ObjCObjectPointerType>(); in DiagnoseAssignmentResult() 14145 SecondType = SrcType; in DiagnoseAssignmentResult() [all …]
|
| H A D | SemaStmt.cpp | 1236 Sema::DiagnoseAssignmentEnum(QualType DstType, QualType SrcType, in DiagnoseAssignmentEnum() argument 1242 if (!Context.hasSameUnqualifiedType(SrcType, DstType) && in DiagnoseAssignmentEnum() 1243 SrcType->isIntegerType()) { in DiagnoseAssignmentEnum()
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | MachineIRBuilder.h | 134 case SrcType::Ty_Predicate: in addSrcToMIB() 137 case SrcType::Ty_Reg: in addSrcToMIB() 140 case SrcType::Ty_MIB: in addSrcToMIB() 148 case SrcType::Ty_Predicate: in getLLTTy() 150 case SrcType::Ty_Reg: in getLLTTy() 152 case SrcType::Ty_MIB: in getLLTTy() 160 case SrcType::Ty_Predicate: in getReg() 162 case SrcType::Ty_Reg: in getReg() 164 case SrcType::Ty_MIB: in getReg() 172 case SrcType::Ty_Predicate: in getPredicate() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 816 if (SrcType->isRealFloatingType()) in EmitConversionToBool() 1207 if (SrcType->isFixedPointType()) { in EmitScalarConversion() 1221 QualType NoncanonicalSrcType = SrcType; in EmitScalarConversion() 1224 SrcType = CGF.getContext().getCanonicalType(SrcType); in EmitScalarConversion() 1226 if (SrcType == DstType) return Src; in EmitScalarConversion() 1231 QualType OrigSrcType = SrcType; in EmitScalarConversion() 1304 SrcType.getTypePtr() && in EmitScalarConversion() 1651 SrcType = CGF.getContext().getCanonicalType(SrcType); in VisitConvertVectorExpr() 1653 if (SrcType == DstType) return Src; in VisitConvertVectorExpr() 1655 assert(SrcType->isVectorType() && in VisitConvertVectorExpr() [all …]
|
| H A D | CGExprComplex.cpp | 84 ComplexPairTy EmitComplexToComplexCast(ComplexPairTy Val, QualType SrcType, 87 ComplexPairTy EmitScalarToComplexCast(llvm::Value *Val, QualType SrcType, 422 QualType SrcType, in EmitComplexToComplexCast() argument 426 SrcType = SrcType->castAs<ComplexType>()->getElementType(); in EmitComplexToComplexCast() 432 Val.first = CGF.EmitScalarConversion(Val.first, SrcType, DestType, Loc); in EmitComplexToComplexCast() 433 Val.second = CGF.EmitScalarConversion(Val.second, SrcType, DestType, Loc); in EmitComplexToComplexCast() 438 QualType SrcType, in EmitScalarToComplexCast() argument 443 Val = CGF.EmitScalarConversion(Val, SrcType, DestType, Loc); in EmitScalarToComplexCast()
|
| H A D | CGStmtOpenMP.cpp | 3545 QualType SrcType, QualType DestType, in convertToScalarValue() argument 3550 return Val.isScalar() ? CGF.EmitScalarConversion(Val.getScalarVal(), SrcType, in convertToScalarValue() 3553 Val.getComplexVal(), SrcType, DestType, Loc); in convertToScalarValue() 3557 convertToComplexValue(CodeGenFunction &CGF, RValue Val, QualType SrcType, in convertToComplexValue() argument 3567 Val.getScalarVal(), SrcType, DestElementType, Loc); in convertToComplexValue() 3572 QualType SrcElementType = SrcType->castAs<ComplexType>()->getElementType(); in convertToComplexValue()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CSEMIRBuilder.cpp | 73 case SrcOp::SrcType::Ty_Predicate: in profileSrcOp()
|
| H A D | MachineIRBuilder.cpp | 853 assert(SrcOps[0].getSrcOpKind() == SrcOp::SrcType::Ty_Predicate && in buildInstr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | ExprCXX.cpp | 748 QualType SrcType = getSubExpr()->getType(); in isAlwaysNull() local 751 if (const auto *SrcPTy = SrcType->getAs<PointerType>()) { in isAlwaysNull() 752 SrcType = SrcPTy->getPointeeType(); in isAlwaysNull() 760 cast<CXXRecordDecl>(SrcType->castAs<RecordType>()->getDecl()); in isAlwaysNull()
|
| H A D | ExprConstant.cpp | 2075 QualType SrcType, const APFloat &Value, in HandleFloatToIntCast() argument 2090 QualType SrcType, QualType DestType, in HandleFloatToFloatCast() argument 2102 QualType DestType, QualType SrcType, in HandleIntToIntCast() argument 2115 QualType SrcType, const APSInt &Value, in HandleIntToFloatCast() argument 9704 QualType SrcType = SubExpr->getType(); in VisitCastExpr() local 9797 return Info.Ctx.getTypeSize(DestType) == Info.Ctx.getTypeSize(SrcType); in VisitCastExpr() 9800 return Success(HandleIntToIntCast(Info, E, DestType, SrcType, in VisitCastExpr() 9816 if (Info.Ctx.getTypeSize(DestType) != Info.Ctx.getTypeSize(SrcType)) in VisitCastExpr() 9827 if (!V.toIntegralConstant(AsInt, SrcType, Info.Ctx)) in VisitCastExpr() 9830 return Success(HandleIntToIntCast(Info, E, DestType, SrcType, AsInt), E); in VisitCastExpr() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/BPF/ |
| H A D | BPFInstrInfo.td | 572 class BSWAP<bits<32> SizeOp, string OpcodeStr, BPFSrcType SrcType, list<dag> Pattern> 573 : TYPE_ALU_JMP<BPF_END.Value, SrcType.Value,
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 2065 PointerType *SrcType = cast<PointerType>(BCI->getSrcTy()); in visitGetElementPtrInst() local 2066 Type *SrcEltType = SrcType->getElementType(); in visitGetElementPtrInst() 2124 if (SrcType->getPointerAddressSpace() != GEP.getAddressSpace()) in visitGetElementPtrInst() 2133 if (FindElementAtOffset(SrcType, Offset.getSExtValue(), NewIndices)) { in visitGetElementPtrInst()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Sema.h | 3978 void diagnoseNullableToNonnullConversion(QualType DstType, QualType SrcType, 5037 void CheckCompatibleReinterpretCast(QualType SrcType, QualType DestType, 8317 QualType DestType, QualType SrcType, 8325 QualType DestType, QualType SrcType, 9593 QualType DstType, QualType SrcType, 9605 void DiagnoseAssignmentEnum(QualType DstType, QualType SrcType,
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 2453 if (auto *SrcType = FindTruncSrcType()) { in getAddExpr() local 2460 if (T->getOperand()->getType() != SrcType) { in getAddExpr() 2466 LargeOps.push_back(getAnyExtendExpr(C, SrcType)); in getAddExpr() 2472 if (T->getOperand()->getType() != SrcType) { in getAddExpr() 2478 LargeMulOps.push_back(getAnyExtendExpr(C, SrcType)); in getAddExpr()
|