| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SValBuilder.cpp | 637 QualType CastTy, OriginalTy; member in __anon547f7aa20211::EvalCastVisitor 641 : VB(VB), Context(VB.getContext()), CastTy(CastTy), in EvalCastVisitor() 645 if (CastTy.isNull()) in Visit() 648 CastTy = Context.getCanonicalType(CastTy); in Visit() 654 if (CastTy == OriginalTy) in Visit() 707 if (CastTy->isPointerType() || CastTy->isReferenceType()) in VisitGotoLabel() 712 if (Loc::isLocType(CastTy)) in VisitGotoLabel() 740 CastTy); in VisitMemRegionVal() 783 if (CastTy->isPointerType() && !CastTy->isVoidPointerType()) { in VisitMemRegionVal() 817 if (CastTy->isPointerType() || CastTy->isReferenceType()) { in VisitMemRegionVal() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.h | 168 void bitcastSrc(MachineInstr &MI, LLT CastTy, unsigned OpIdx); 172 void bitcastDst(MachineInstr &MI, LLT CastTy, unsigned OpIdx); 362 LLT CastTy); 366 LLT CastTy);
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseExpr.cpp | 969 ParsedType CastTy; in ParseCastExpression() local 2359 ParsedType &CastTy, in ParseExprAfterUnaryExprOrTypeTrait() argument 2418 false, CastTy, RParenLoc); in ParseExprAfterUnaryExprOrTypeTrait() 2553 ParsedType CastTy; in ParseUnaryExprOrTypeTraitExpression() local 2557 CastTy, in ParseUnaryExprOrTypeTraitExpression() 2952 bool isTypeCast, ParsedType &CastTy, in ParseParenExpression() argument 2965 CastTy = nullptr; in ParseParenExpression() 3146 DeclaratorInfo, CastTy, in ParseParenExpression() 3174 CastTy = Ty.get(); in ParseParenExpression() 3188 PreferredType.enterTypeCast(Tok.getLocation(), CastTy.get()); in ParseParenExpression() [all …]
|
| H A D | ParseExprCXX.cpp | 3934 ParsedType &CastTy, in ParseCXXAmbiguousParenExpression() argument 3942 CastTy = nullptr; in ParseCXXAmbiguousParenExpression() 4054 DeclaratorInfo, CastTy, in ParseCXXAmbiguousParenExpression()
|
| H A D | ParseDecl.cpp | 7880 ParsedType CastTy; in ParseTypeofSpecifier() local 7883 ParseExprAfterUnaryExprOrTypeTrait(OpTok, isCastExpr, CastTy, CastRange)); in ParseTypeofSpecifier() 7894 if (!CastTy) { in ParseTypeofSpecifier() 7905 DiagID, CastTy, in ParseTypeofSpecifier()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConstraintManager.h | 159 QualType CastTy = SC->getType(); in REGISTER_TRAIT_WITH_PROGRAMSTATE() local 161 if (CastTy->isVoidType()) in REGISTER_TRAIT_WITH_PROGRAMSTATE()
|
| H A D | SValBuilder.h | 84 SVal evalCast(SVal V, QualType CastTy, QualType OriginalTy);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 3110 unsigned NewNumElts = CastTy.isVector() ? CastTy.getNumElements() : 1; in bitcastExtractVectorElt() 3113 LLT NewEltTy = CastTy.isVector() ? CastTy.getElementType() : CastTy; in bitcastExtractVectorElt() 3185 if (CastTy.isVector()) { in bitcastExtractVectorElt() 3248 LLT NewEltTy = CastTy.isVector() ? CastTy.getElementType() : CastTy; in bitcastInsertVectorElt() 3252 unsigned NewNumElts = CastTy.isVector() ? CastTy.getNumElements() : 1; in bitcastInsertVectorElt() 3273 if (CastTy.isVector()) { in bitcastInsertVectorElt() 3284 if (CastTy.isVector()) { in bitcastInsertVectorElt() 3546 bitcastDst(MI, CastTy, 0); in bitcast() 3547 MMO.setType(CastTy); in bitcast() 3562 bitcastSrc(MI, CastTy, 0); in bitcast() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeGPU.cpp | 1407 QualType ValTy, QualType CastTy, in castValueToType() argument 1409 assert(!CGF.getContext().getTypeSizeInChars(CastTy).isZero() && in castValueToType() 1413 llvm::Type *LLVMCastTy = CGF.ConvertTypeForMem(CastTy); in castValueToType() 1414 if (ValTy == CastTy) in castValueToType() 1417 CGF.getContext().getTypeSizeInChars(CastTy)) in castValueToType() 1419 if (CastTy->isIntegerType() && ValTy->isIntegerType()) in castValueToType() 1422 Address CastItem = CGF.CreateMemTemp(CastTy); in castValueToType() 1427 return CGF.EmitLoadOfScalar(CastItem, /*Volatile=*/false, CastTy, Loc, in castValueToType() 1454 QualType CastTy = CGF.getContext().getIntTypeForBitwidth( in createRuntimeShuffleFunction() local 1456 llvm::Value *ElemCast = castValueToType(CGF, Elem, ElemType, CastTy, Loc); in createRuntimeShuffleFunction() [all …]
|
| H A D | CGObjCGNU.cpp | 2709 llvm::Type *CastTy = llvm::StructType::get(IdTy, IdTy); in GenerateMessageSendSuper() local 2711 llvm::PointerType::getUnqual(CastTy)); in GenerateMessageSendSuper() 2713 ReceiverClass = Builder.CreateStructGEP(CastTy, ReceiverClass, 1); in GenerateMessageSendSuper()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | Parser.h | 1869 ParsedType &CastTy, 1894 ParsedType &CastTy, 1898 ParenParseOption &ExprType, ParsedType &CastTy,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLoweringHVX.cpp | 543 MVT CastTy = tyVector(Vec.getValueType().getSimpleVT(), ElemTy); in opCastElem() local 544 return DAG.getBitcast(CastTy, Vec); in opCastElem() 3497 EVT CastTy = Cast.getValueType(); in combineTruncateBeforeLegal() local 3504 unsigned CastLen = CastTy.getVectorNumElements(); in combineTruncateBeforeLegal()
|
| H A D | HexagonISelLowering.cpp | 3864 Type *CastTy = Builder.getIntNTy(SZ); in emitStoreConditional() local 3870 Val = Builder.CreateBitCast(Val, CastTy); in emitStoreConditional()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineVectorOps.cpp | 1588 Type *CastTy = FixedVectorType::get(SrcTy, VTy->getNumElements() / 2); in foldTruncInsEltPair() local 1589 Value *CastBaseVec = Builder.CreateBitCast(BaseVec, CastTy); in foldTruncInsEltPair()
|
| H A D | InstructionCombining.cpp | 371 Type *CastTy = IntToPtr->getDestTy(); in simplifyIntToPtrRoundTripCast() local 373 CastTy->getPointerAddressSpace() == in simplifyIntToPtrRoundTripCast()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 571 Type *CastTy = LoadTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(LoadTy) : LoadTy; in FoldReinterpretLoadFromConst() local 572 Res = FoldBitCast(Res, CastTy, DL); in FoldReinterpretLoadFromConst()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 11953 QualType CastTy = llvm::StringSwitch<QualType>(Name) in shouldNotPrintDirectly() local 11961 if (!CastTy.isNull()) in shouldNotPrintDirectly() 11962 return std::make_pair(CastTy, Name); in shouldNotPrintDirectly() 12177 QualType CastTy; in checkFormatExpr() local 12178 std::tie(CastTy, CastTyName) = shouldNotPrintDirectly(S.Context, IntendedTy, E); in checkFormatExpr() 12179 if (!CastTy.isNull()) { in checkFormatExpr() 12186 AT.matchesType(S.Context, CastTy)) in checkFormatExpr() 12188 IntendedTy = CastTy; in checkFormatExpr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.cpp | 810 bool AMDGPUTargetLowering::isLoadBitCastBeneficial(EVT LoadTy, EVT CastTy, in isLoadBitCastBeneficial() argument 814 assert(LoadTy.getSizeInBits() == CastTy.getSizeInBits()); in isLoadBitCastBeneficial() 820 unsigned CastScalarSize = CastTy.getScalarSizeInBits(); in isLoadBitCastBeneficial() 827 CastTy, MMO, &Fast) && in isLoadBitCastBeneficial()
|