| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SValBuilder.cpp | 638 QualType CastTy, OriginalTy; member in __anonbb2d43ec0211::EvalCastVisitor 641 EvalCastVisitor(SValBuilder &VB, QualType CastTy, QualType OriginalTy) in EvalCastVisitor() argument 642 : VB(VB), Context(VB.getContext()), CastTy(CastTy), in EvalCastVisitor() 646 if (CastTy.isNull()) in Visit() 649 CastTy = Context.getCanonicalType(CastTy); in Visit() 655 if (CastTy == OriginalTy) in Visit() 661 if (!CastTy->isVariableArrayType() && !OriginalTy->isVariableArrayType()) in Visit() 662 if (shouldBeModeledWithNoOp(Context, Context.getPointerType(CastTy), in Visit() 672 if (CastTy->isBooleanType()) in VisitConcreteInt() 673 return VB.makeTruthVal(V.getValue()->getBoolValue(), CastTy); in VisitConcreteInt() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.h | 175 LLVM_ABI void bitcastSrc(MachineInstr &MI, LLT CastTy, unsigned OpIdx); 179 LLVM_ABI void bitcastDst(MachineInstr &MI, LLT CastTy, unsigned OpIdx); 412 unsigned TypeIdx, LLT CastTy); 416 unsigned TypeIdx, LLT CastTy); 418 unsigned TypeIdx, LLT CastTy); 420 unsigned TypeIdx, LLT CastTy); 422 unsigned TypeIdx, LLT CastTy); 424 unsigned TypeIdx, LLT CastTy);
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXISelDAGToDAG.cpp | 2458 auto CastTy = [](TMARedTy Op) { return static_cast<unsigned>(Op); }; in tryIntrinsicVoid() local 2479 SelectCpAsyncBulkTensorReduceCommon(N, CastTy(TMARedTy::ADD)); in tryIntrinsicVoid() 2484 SelectCpAsyncBulkTensorReduceCommon(N, CastTy(TMARedTy::ADD), in tryIntrinsicVoid() 2492 SelectCpAsyncBulkTensorReduceCommon(N, CastTy(TMARedTy::MIN)); in tryIntrinsicVoid() 2497 SelectCpAsyncBulkTensorReduceCommon(N, CastTy(TMARedTy::MIN), in tryIntrinsicVoid() 2505 SelectCpAsyncBulkTensorReduceCommon(N, CastTy(TMARedTy::MAX)); in tryIntrinsicVoid() 2510 SelectCpAsyncBulkTensorReduceCommon(N, CastTy(TMARedTy::MAX), in tryIntrinsicVoid() 2518 SelectCpAsyncBulkTensorReduceCommon(N, CastTy(TMARedTy::INC)); in tryIntrinsicVoid() 2523 SelectCpAsyncBulkTensorReduceCommon(N, CastTy(TMARedTy::INC), in tryIntrinsicVoid() 2531 SelectCpAsyncBulkTensorReduceCommon(N, CastTy(TMARedTy::DEC)); in tryIntrinsicVoid() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 2130 void LegalizerHelper::bitcastSrc(MachineInstr &MI, LLT CastTy, unsigned OpIdx) { in bitcastSrc() argument 2132 Op.setReg(MIRBuilder.buildBitcast(CastTy, Op).getReg(0)); in bitcastSrc() 2135 void LegalizerHelper::bitcastDst(MachineInstr &MI, LLT CastTy, unsigned OpIdx) { in bitcastDst() argument 2137 Register CastDst = MRI.createGenericVirtualRegister(CastTy); in bitcastDst() 3639 LLT CastTy) { in bitcastExtractVectorElt() argument 3646 unsigned NewNumElts = CastTy.isVector() ? CastTy.getNumElements() : 1; in bitcastExtractVectorElt() 3649 LLT NewEltTy = CastTy.isVector() ? CastTy.getElementType() : CastTy; in bitcastExtractVectorElt() 3650 Register CastVec = MIRBuilder.buildBitcast(CastTy, SrcVec).getReg(0); in bitcastExtractVectorElt() 3721 if (CastTy.isVector()) { in bitcastExtractVectorElt() 3775 LLT CastTy) { in bitcastInsertVectorElt() argument [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseExpr.cpp | 761 ParsedType CastTy; in ParseCastExpression() local 765 CastTy, RParenLoc); in ParseCastExpression() 2050 ParsedType &CastTy, in ParseExprAfterUnaryExprOrTypeTrait() argument 2136 TypoCorrectionTypeBehavior::AllowBoth, CastTy, RParenLoc); in ParseExprAfterUnaryExprOrTypeTrait() 2257 ParsedType CastTy; in ParseUnaryExprOrTypeTraitExpression() local 2261 CastTy, in ParseUnaryExprOrTypeTraitExpression() 2299 CastTy.getAsOpaquePtr(), in ParseUnaryExprOrTypeTraitExpression() 2614 ParsedType &CastTy, SourceLocation &RParenLoc) { in ParseParenExpression() argument 2626 CastTy = nullptr; in ParseParenExpression() 2737 ExprResult res = ParseCXXAmbiguousParenExpression(ExprType, CastTy, T, in ParseParenExpression() [all …]
|
| H A D | ParseExprCXX.cpp | 3553 ParsedType &CastTy, in ParseCXXAmbiguousParenExpression() argument 3562 CastTy = nullptr; in ParseCXXAmbiguousParenExpression() 3674 DeclaratorInfo, CastTy, in ParseCXXAmbiguousParenExpression()
|
| H A D | Parser.cpp | 1605 ParsedType CastTy; in ParseAsmStringLiteral() local 1611 TypoCorrectionTypeBehavior::AllowBoth, CastTy, RParenLoc); in ParseAsmStringLiteral()
|
| H A D | ParseDecl.cpp | 7929 ParsedType CastTy; in ParseTypeofSpecifier() local 7932 ParseExprAfterUnaryExprOrTypeTrait(OpTok, isCastExpr, CastTy, CastRange); in ParseTypeofSpecifier() 7943 if (!CastTy) { in ParseTypeofSpecifier() 7954 DiagID, CastTy, in ParseTypeofSpecifier()
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConstraintManager.h | 163 QualType CastTy = SC->getType(); in REGISTER_TRAIT_WITH_PROGRAMSTATE() local 165 if (CastTy->isVoidType()) in REGISTER_TRAIT_WITH_PROGRAMSTATE()
|
| H A D | SValBuilder.h | 85 SVal evalCast(SVal V, QualType CastTy, QualType OriginalTy);
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeGPU.cpp | 1387 QualType ValTy, QualType CastTy, in castValueToType() argument 1389 assert(!CGF.getContext().getTypeSizeInChars(CastTy).isZero() && in castValueToType() 1393 llvm::Type *LLVMCastTy = CGF.ConvertTypeForMem(CastTy); in castValueToType() 1394 if (ValTy == CastTy) in castValueToType() 1397 CGF.getContext().getTypeSizeInChars(CastTy)) in castValueToType() 1399 if (CastTy->isIntegerType() && ValTy->isIntegerType()) in castValueToType() 1401 CastTy->hasSignedIntegerRepresentation()); in castValueToType() 1402 Address CastItem = CGF.CreateMemTemp(CastTy); in castValueToType() 1407 return CGF.EmitLoadOfScalar(CastItem, /*Volatile=*/false, CastTy, Loc, in castValueToType()
|
| H A D | CGObjCGNU.cpp | 2807 llvm::Type *CastTy = llvm::StructType::get(IdTy, IdTy); in GenerateMessageSendSuper() local 2809 ReceiverClass = Builder.CreateStructGEP(CastTy, ReceiverClass, 1); in GenerateMessageSendSuper()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
| H A D | RISCVLegalizerInfo.cpp | 679 LLT CastTy = LLT::vector( in RISCVLegalizerInfo() local 681 return std::pair(0, CastTy); in RISCVLegalizerInfo()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | Parser.h | 4161 ParsedType &CastTy, 4237 ParsedType &CastTy, 4450 ParenParseOption &ExprType, ParsedType &CastTy,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLoweringHVX.cpp | 553 MVT CastTy = tyVector(Vec.getValueType().getSimpleVT(), ElemTy); in opCastElem() local 554 return DAG.getBitcast(CastTy, Vec); in opCastElem() 3534 EVT CastTy = Cast.getValueType(); in combineTruncateBeforeLegal() local 3541 unsigned CastLen = CastTy.getVectorNumElements(); in combineTruncateBeforeLegal()
|
| H A D | HexagonISelLowering.cpp | 3924 Type *CastTy = Builder.getIntNTy(SZ); in emitStoreConditional() local 3929 Val = Builder.CreateBitCast(Val, CastTy); in emitStoreConditional()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineVectorOps.cpp | 1674 Type *CastTy = FixedVectorType::get(SrcTy, VTy->getNumElements() / 2); in foldTruncInsEltPair() local 1675 Value *CastBaseVec = Builder.CreateBitCast(BaseVec, CastTy); in foldTruncInsEltPair()
|
| H A D | InstructionCombining.cpp | 418 Type *CastTy = IntToPtr->getDestTy(); in simplifyIntToPtrRoundTripCast() local 420 CastTy->getPointerAddressSpace() == in simplifyIntToPtrRoundTripCast()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 8112 QualType CastTy = llvm::StringSwitch<QualType>(Name) in shouldNotPrintDirectly() local 8120 if (!CastTy.isNull()) in shouldNotPrintDirectly() 8121 return std::make_pair(CastTy, Name); in shouldNotPrintDirectly() 8371 QualType CastTy; in checkFormatExpr() local 8372 std::tie(CastTy, CastTyName) = shouldNotPrintDirectly(S.Context, IntendedTy, E); in checkFormatExpr() 8373 if (!CastTy.isNull()) { in checkFormatExpr() 8380 AT.matchesType(S.Context, CastTy)) in checkFormatExpr() 8382 IntendedTy = CastTy; in checkFormatExpr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 18004 Type *CastTy = R->getType(); in vectorizeTree() local 18005 L = Builder.CreateIntCast(L, CastTy, GetOperandSignedness(0)); in vectorizeTree() 18007 Type *CastTy = L->getType(); in vectorizeTree() local 18008 R = Builder.CreateIntCast(R, CastTy, GetOperandSignedness(1)); in vectorizeTree() 18405 auto *CastTy = in vectorizeTree() local 18407 OpVec = Builder.CreateIntCast(OpVec, CastTy, GetOperandSignedness(I)); in vectorizeTree() 18488 Type *CastTy = VecTy; in vectorizeTree() local 18495 CastTy = RHS->getType(); in vectorizeTree() 18497 CastTy = LHS->getType(); in vectorizeTree() 18499 if (LHS->getType() != CastTy) in vectorizeTree() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.cpp | 871 bool AMDGPUTargetLowering::isLoadBitCastBeneficial(EVT LoadTy, EVT CastTy, in isLoadBitCastBeneficial() argument 875 assert(LoadTy.getSizeInBits() == CastTy.getSizeInBits()); in isLoadBitCastBeneficial() 881 unsigned CastScalarSize = CastTy.getScalarSizeInBits(); in isLoadBitCastBeneficial() 888 CastTy, MMO, &Fast) && in isLoadBitCastBeneficial()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 587 Type *CastTy = LoadTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(LoadTy) : LoadTy; in FoldReinterpretLoadFromConst() local 588 Res = FoldBitCast(Res, CastTy, DL); in FoldReinterpretLoadFromConst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 2406 Type *CastTy = Builder.getIntNTy(Size <= 4 ? 32 : 64); in createRuntimeShuffleFunction() local 2407 Value *ElemCast = castValueToType(AllocaIP, Element, CastTy); in createRuntimeShuffleFunction() 2417 return castValueToType(AllocaIP, ShuffleCall, CastTy); in createRuntimeShuffleFunction()
|