Home
last modified time | relevance | path

Searched refs:getDestTy (Results 1 – 25 of 25) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerRefTypesIntPtrConv.cpp66 !(ITP && WebAssembly::isRefType(ITP->getDestTy()))) in runOnFunction()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DBDCE.cpp117 auto *const DstTy = SE->getDestTy(); in bitTrackingDCE()
H A DScalarizer.cpp725 VectorType *VT = dyn_cast<VectorType>(CI.getDestTy()); in visitCastInst()
743 VectorType *DstVT = dyn_cast<VectorType>(BCI.getDestTy()); in visitBitCastInst()
H A DLoopStrengthReduce.cpp2136 DestTy = UCast->getDestTy(); in OptimizeShadowIV()
2140 DestTy = SCast->getDestTy(); in OptimizeShadowIV()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTypePromotion.cpp578 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 DPPCTargetTransformInfo.cpp657 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 DInstCombineLoadStoreAlloca.cpp608 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 DInstructionCombining.cpp370 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 DInstCombineCasts.cpp255 Type *MidTy = CI1->getDestTy(); in isEliminableCastPair()
256 Type *DstTy = CI2->getDestTy(); in isEliminableCastPair()
H A DInstCombineVectorOps.cpp2710 Type *TgtTy = BC->getDestTy(); in visitShuffleVectorInst()
H A DInstCombineCompares.cpp4900 Type *DestTy = CastOp0->getDestTy(); in foldICmpWithZextOrSext()
4957 Type *DestTy = CastOp0->getDestTy(); in foldICmpWithCastOp()
H A DInstCombineAndOrXor.cpp1358 if (CI->getSrcTy() == CI->getDestTy() || isa<Constant>(CastSrc)) in shouldOptimizeCast()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DOperator.h551 Type *getDestTy() const { in getDestTy() function
H A DInstrTypes.h683 Type* getDestTy() const { return getType(); }
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp355 unsigned DBW = DL.getTypeSizeInBits(CI->getDestTy()); in getUserCost()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp823 } 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 DTargetTransformInfoImpl.h1098 LoadType = TI->getDestTy(); in getUserCost()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DIVDescriptors.cpp163 if (Cast->getDestTy() == RecurrenceType) { in collectCastInstrs()
H A DLazyValueInfo.cpp1274 CI->getDestTy(), DL))) { in constantFoldUser()
H A DValueTracking.cpp2552 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 DOpenMPIRBuilderTest.cpp3092 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 DMVEGatherScatterLowering.cpp289 if (!ZextOffs || cast<FixedVectorType>(ZextOffs->getDestTy()) in decomposeGEP()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DIRBuilderTest.cpp228 EXPECT_EQ(Trunc->getDestTy(), DstVecTy); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp1368 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 DAttributorAttributes.cpp9008 uint32_t ResultBitWidth = CI->getDestTy()->getIntegerBitWidth(); in updateWithCastInst()