| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerRefTypesIntPtrConv.cpp | 66 !(ITP && WebAssembly::isRefType(ITP->getDestTy()))) in runOnFunction()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | BDCE.cpp | 117 auto *const DstTy = SE->getDestTy(); in bitTrackingDCE()
|
| H A D | Scalarizer.cpp | 725 VectorType *VT = dyn_cast<VectorType>(CI.getDestTy()); in visitCastInst() 743 VectorType *DstVT = dyn_cast<VectorType>(BCI.getDestTy()); in visitBitCastInst()
|
| H A D | LoopStrengthReduce.cpp | 2136 DestTy = UCast->getDestTy(); in OptimizeShadowIV() 2140 DestTy = SCast->getDestTy(); in OptimizeShadowIV()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | TypePromotion.cpp | 578 if (ZExt->getDestTy() != ExtTy) in Cleanup() 582 if (ZExt->getSrcTy() == ZExt->getDestTy()) { in Cleanup() 653 TruncTysMap[Trunc].push_back(Trunc->getDestTy()); in Mutate()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.cpp | 657 cast<CastInst>(J)->getDestTy()->getScalarType()->isFP128Ty())) { in mightUseCTR() 663 CI->getDestTy()->getScalarType()->isPPC_FP128Ty() || in mightUseCTR() 665 isLargeIntegerTy(!TM.isPPC64(), CI->getDestTy()->getScalarType())) in mightUseCTR()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 608 CI->getDestTy()->isPtrOrPtrVectorTy()) in combineLoadToOperationType() 609 if (!LI.isAtomic() || isSupportedAtomicType(CI->getDestTy())) { in combineLoadToOperationType() 610 LoadInst *NewLoad = IC.combineLoadToNewType(LI, CI->getDestTy()); in combineLoadToOperationType()
|
| H A D | InstructionCombining.cpp | 370 if (IntToPtr && DL.getPointerTypeSizeInBits(IntToPtr->getDestTy()) == in simplifyIntToPtrRoundTripCast() 373 Type *CastTy = IntToPtr->getDestTy(); in simplifyIntToPtrRoundTripCast() 378 DL.getTypeSizeInBits(PtrToInt->getDestTy())) { in simplifyIntToPtrRoundTripCast() 1071 VectorType *DestTy = dyn_cast<VectorType>(BC->getDestTy()); in FoldOpIntoSelect()
|
| H A D | InstCombineCasts.cpp | 255 Type *MidTy = CI1->getDestTy(); in isEliminableCastPair() 256 Type *DstTy = CI2->getDestTy(); in isEliminableCastPair()
|
| H A D | InstCombineVectorOps.cpp | 2710 Type *TgtTy = BC->getDestTy(); in visitShuffleVectorInst()
|
| H A D | InstCombineCompares.cpp | 4900 Type *DestTy = CastOp0->getDestTy(); in foldICmpWithZextOrSext() 4957 Type *DestTy = CastOp0->getDestTy(); in foldICmpWithCastOp()
|
| H A D | InstCombineAndOrXor.cpp | 1358 if (CI->getSrcTy() == CI->getDestTy() || isa<Constant>(CastSrc)) in shouldOptimizeCast()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Operator.h | 551 Type *getDestTy() const { in getDestTy() function
|
| H A D | InstrTypes.h | 683 Type* getDestTy() const { return getType(); }
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetTransformInfo.cpp | 355 unsigned DBW = DL.getTypeSizeInBits(CI->getDestTy()); in getUserCost()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SCCPSolver.cpp | 823 } else if (I.getDestTy()->isIntegerTy()) { in visitCastInst() 831 Type *DestTy = I.getDestTy(); in visitCastInst()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 1098 LoadType = TI->getDestTy(); in getUserCost()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | IVDescriptors.cpp | 163 if (Cast->getDestTy() == RecurrenceType) { in collectCastInstrs()
|
| H A D | LazyValueInfo.cpp | 1274 CI->getDestTy(), DL))) { in constantFoldUser()
|
| H A D | ValueTracking.cpp | 2552 Q.DL.getTypeSizeInBits(I2P->getDestTy()).getFixedSize()) in isKnownNonZero() 2560 Q.DL.getTypeSizeInBits(P2I->getDestTy()).getFixedSize()) in isKnownNonZero()
|
| /llvm-project-15.0.7/llvm/unittests/Frontend/ |
| H A D | OpenMPIRBuilderTest.cpp | 3092 EXPECT_EQ(CastFrmFlt->getDestTy(), IntCastTy->getPointerTo()); in TEST_F() 3101 EXPECT_EQ(CastToFlt->getDestTy(), Float32); in TEST_F() 3185 EXPECT_EQ(CastFrmFlt->getDestTy(), IntCastTy->getPointerTo()); in TEST_F() 3722 EXPECT_EQ(ZExt1->getDestTy(), Int32); in TEST_F() 3766 EXPECT_EQ(ZExt2->getDestTy(), Int32); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 289 if (!ZextOffs || cast<FixedVectorType>(ZextOffs->getDestTy()) in decomposeGEP()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | IRBuilderTest.cpp | 228 EXPECT_EQ(Trunc->getDestTy(), DstVecTy); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 1368 Type *DestTy = ToVectorTy(cast<CastInst>(I)->getDestTy(), VF); in isOptimizableIVTruncate() 7214 return TTI.getCastInstrCost(Instruction::Trunc, Trunc->getDestTy(), in getInstructionCost()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 9008 uint32_t ResultBitWidth = CI->getDestTy()->getIntegerBitWidth(); in updateWithCastInst()
|