| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | SValBuilder.cpp | 630 QualType CastTy, OriginalTy; member in __anona9af1b1c0211::EvalCastVisitor 634 : VB(VB), Context(VB.getContext()), CastTy(CastTy), in EvalCastVisitor() 638 if (CastTy.isNull()) in Visit() 641 CastTy = Context.getCanonicalType(CastTy); in Visit() 647 if (CastTy == OriginalTy) in Visit() 700 if (CastTy->isPointerType() || CastTy->isReferenceType()) in VisitLocGotoLabel() 705 if (Loc::isLocType(CastTy)) in VisitLocGotoLabel() 733 CastTy); in VisitLocMemRegionVal() 776 if (CastTy->isPointerType() && !CastTy->isVoidPointerType()) { in VisitLocMemRegionVal() 810 if (CastTy->isPointerType() || CastTy->isReferenceType()) { in VisitLocMemRegionVal() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.h | 164 void bitcastSrc(MachineInstr &MI, LLT CastTy, unsigned OpIdx); 168 void bitcastDst(MachineInstr &MI, LLT CastTy, unsigned OpIdx); 356 LLT CastTy); 360 LLT CastTy);
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseExpr.cpp | 956 ParsedType CastTy; in ParseCastExpression() local 2282 ParsedType &CastTy, in ParseExprAfterUnaryExprOrTypeTrait() argument 2338 false, CastTy, RParenLoc); in ParseExprAfterUnaryExprOrTypeTrait() 2466 ParsedType CastTy; in ParseUnaryExprOrTypeTraitExpression() local 2470 CastTy, in ParseUnaryExprOrTypeTraitExpression() 2832 bool isTypeCast, ParsedType &CastTy, in ParseParenExpression() argument 2845 CastTy = nullptr; in ParseParenExpression() 3026 DeclaratorInfo, CastTy, in ParseParenExpression() 3054 CastTy = Ty.get(); in ParseParenExpression() 3068 PreferredType.enterTypeCast(Tok.getLocation(), CastTy.get()); in ParseParenExpression() [all …]
|
| H A D | ParseExprCXX.cpp | 3870 ParsedType &CastTy, in ParseCXXAmbiguousParenExpression() argument 3878 CastTy = nullptr; in ParseCXXAmbiguousParenExpression() 3990 DeclaratorInfo, CastTy, in ParseCXXAmbiguousParenExpression()
|
| H A D | ParseDecl.cpp | 7443 ParsedType CastTy; in ParseTypeofSpecifier() local 7446 ParseExprAfterUnaryExprOrTypeTrait(OpTok, isCastExpr, CastTy, CastRange)); in ParseTypeofSpecifier() 7457 if (!CastTy) { in ParseTypeofSpecifier() 7466 DiagID, CastTy, in ParseTypeofSpecifier()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 2735 unsigned NewNumElts = CastTy.isVector() ? CastTy.getNumElements() : 1; in bitcastExtractVectorElt() 2738 LLT NewEltTy = CastTy.isVector() ? CastTy.getElementType() : CastTy; in bitcastExtractVectorElt() 2810 if (CastTy.isVector()) { in bitcastExtractVectorElt() 2877 LLT NewEltTy = CastTy.isVector() ? CastTy.getElementType() : CastTy; in bitcastInsertVectorElt() 2881 unsigned NewNumElts = CastTy.isVector() ? CastTy.getNumElements() : 1; in bitcastInsertVectorElt() 2902 if (CastTy.isVector()) { in bitcastInsertVectorElt() 2913 if (CastTy.isVector()) { in bitcastInsertVectorElt() 3175 bitcastDst(MI, CastTy, 0); in bitcast() 3176 MMO.setType(CastTy); in bitcast() 3191 bitcastSrc(MI, CastTy, 0); in bitcast() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConstraintManager.h | 158 QualType CastTy = SC->getType(); in REGISTER_TRAIT_WITH_PROGRAMSTATE() local 160 if (CastTy->isVoidType()) in REGISTER_TRAIT_WITH_PROGRAMSTATE()
|
| H A D | SValBuilder.h | 84 SVal evalCast(SVal V, QualType CastTy, QualType OriginalTy);
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeGPU.cpp | 1703 QualType ValTy, QualType CastTy, in castValueToType() argument 1705 assert(!CGF.getContext().getTypeSizeInChars(CastTy).isZero() && in castValueToType() 1709 llvm::Type *LLVMCastTy = CGF.ConvertTypeForMem(CastTy); in castValueToType() 1710 if (ValTy == CastTy) in castValueToType() 1713 CGF.getContext().getTypeSizeInChars(CastTy)) in castValueToType() 1715 if (CastTy->isIntegerType() && ValTy->isIntegerType()) in castValueToType() 1718 Address CastItem = CGF.CreateMemTemp(CastTy); in castValueToType() 1725 return CGF.EmitLoadOfScalar(CastItem, /*Volatile=*/false, CastTy, Loc, in castValueToType() 1752 QualType CastTy = CGF.getContext().getIntTypeForBitwidth( in createRuntimeShuffleFunction() local 1754 llvm::Value *ElemCast = castValueToType(CGF, Elem, ElemType, CastTy, Loc); in createRuntimeShuffleFunction() [all …]
|
| H A D | CGObjCGNU.cpp | 2600 llvm::Type *CastTy = llvm::StructType::get(IdTy, IdTy); in GenerateMessageSendSuper() local 2602 llvm::PointerType::getUnqual(CastTy)); in GenerateMessageSendSuper() 2604 ReceiverClass = Builder.CreateStructGEP(CastTy, ReceiverClass, 1); in GenerateMessageSendSuper()
|
| /llvm-project-15.0.7/clang/include/clang/Parse/ |
| H A D | Parser.h | 1824 ParsedType &CastTy, 1854 ParsedType &CastTy, 1858 ParenParseOption &ExprType, ParsedType &CastTy,
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 373 Type *CastTy = IntToPtr->getDestTy(); in simplifyIntToPtrRoundTripCast() local 375 CastTy->getPointerAddressSpace() == in simplifyIntToPtrRoundTripCast() 379 return CastInst::CreateBitOrPointerCast(PtrToInt->getOperand(0), CastTy, in simplifyIntToPtrRoundTripCast()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.cpp | 671 bool AMDGPUTargetLowering::isLoadBitCastBeneficial(EVT LoadTy, EVT CastTy, in isLoadBitCastBeneficial() argument 675 assert(LoadTy.getSizeInBits() == CastTy.getSizeInBits()); in isLoadBitCastBeneficial() 681 unsigned CastScalarSize = CastTy.getScalarSizeInBits(); in isLoadBitCastBeneficial() 688 CastTy, MMO, &Fast) && in isLoadBitCastBeneficial()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLowering.cpp | 3649 Type *CastTy = Builder.getIntNTy(SZ); in emitStoreConditional() local 3656 Addr = Builder.CreateBitCast(Addr, CastTy->getPointerTo(AS)); in emitStoreConditional() 3657 Val = Builder.CreateBitCast(Val, CastTy); in emitStoreConditional()
|
| H A D | HexagonISelLoweringHVX.cpp | 478 MVT CastTy = tyVector(Vec.getValueType().getSimpleVT(), ElemTy); in opCastElem() local 479 return DAG.getBitcast(CastTy, Vec); in opCastElem()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 9950 QualType CastTy = llvm::StringSwitch<QualType>(Name) in shouldNotPrintDirectly() local 9958 if (!CastTy.isNull()) in shouldNotPrintDirectly() 9959 return std::make_pair(CastTy, Name); in shouldNotPrintDirectly() 10146 QualType CastTy; in checkFormatExpr() local 10147 std::tie(CastTy, CastTyName) = shouldNotPrintDirectly(S.Context, IntendedTy, E); in checkFormatExpr() 10148 if (!CastTy.isNull()) { in checkFormatExpr() 10153 AT.matchesType(S.Context, CastTy)) in checkFormatExpr() 10155 IntendedTy = CastTy; in checkFormatExpr()
|