Searched refs:zextOrTrunc (Results 1 – 20 of 20) sorted by relevance
256 LOI->KnownZero = LOI->KnownZero.zextOrTrunc(BitWidth); in GetLiveOutRegInfo()257 LOI->KnownOne = LOI->KnownOne.zextOrTrunc(BitWidth); in GetLiveOutRegInfo()297 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo()332 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo()
2390 return getConstant(Val.zextOrTrunc(VT.getSizeInBits()), VT); in getNode()6082 SplatValue |= CN->getAPIntValue().zextOrTrunc(EltBitSize). in isConstantSplat()6083 zextOrTrunc(sz) << BitPos; in isConstantSplat()6085 SplatValue |= CN->getValueAPF().bitcastToAPInt().zextOrTrunc(sz) <<BitPos; in isConstantSplat()
2496 Constant &= SplatValue.lshr(i*BitWidth).zextOrTrunc(BitWidth); in visitAND()2510 Constant.zextOrTrunc(Load->getMemoryVT().getScalarType().getSizeInBits()); in visitAND()5546 zextOrTrunc(SrcBitSize).zext(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()5576 getAPIntValue().zextOrTrunc(SrcBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
652 bitcastToAPInt().zextOrTrunc(32), in OptimizeFloatStore()662 zextOrTrunc(64), MVT::i64); in OptimizeFloatStore()
195 ConstantRange zextOrTrunc(uint32_t BitWidth) const;
84 return APSInt(zextOrTrunc(width), IsUnsigned); in extOrTrunc()
1068 APInt zextOrTrunc(unsigned width) const;
432 KnownZero = KnownZero.zextOrTrunc(SrcBitWidth); in ComputeMaskedBits()433 KnownOne = KnownOne.zextOrTrunc(SrcBitWidth); in ComputeMaskedBits()435 KnownZero = KnownZero.zextOrTrunc(BitWidth); in ComputeMaskedBits()436 KnownOne = KnownOne.zextOrTrunc(BitWidth); in ComputeMaskedBits()
934 CR.zextOrTrunc(NewBits))) in getZeroExtendExpr()3378 ConstantRange ExtStartRange = StartRange.zextOrTrunc(BitWidth*2+1); in getUnsignedRange()3381 MaxBECountRange.zextOrTrunc(BitWidth*2+1); in getUnsignedRange()3382 ConstantRange ExtEndRange = EndRange.zextOrTrunc(BitWidth*2+1); in getUnsignedRange()3532 MaxBECountRange.zextOrTrunc(BitWidth*2+1); in getSignedRange()
673 BasePtr = Base->getValue().zextOrTrunc(BitWidth); in SymbolicallyEvaluateGEP()
461 ConstantRange ConstantRange::zextOrTrunc(uint32_t DstTySize) const { in zextOrTrunc() function in ConstantRange
1002 APInt APInt::zextOrTrunc(unsigned width) const { in zextOrTrunc() function in APInt
577 exit(GV.IntVal.zextOrTrunc(32).getZExtValue()); in exitCalled()1030 Src.IntVal = Src.IntVal.zextOrTrunc(PtrSize); in executeIntToPtrInst()
37 Demanded = Demanded.zextOrTrunc(OpC->getValue().getBitWidth()); in ShrinkDemandedConstant()
654 GV.IntVal = GV.IntVal.zextOrTrunc(PtrWidth); in getConstantValue()
1255 Res |= EltAsInt.zextOrTrunc(VecSize).rotr(i*EltSize+BaseEltSize); in EvalAndBitcastToAPInt()1257 Res |= EltAsInt.zextOrTrunc(VecSize).rotl(i*EltSize); in EvalAndBitcastToAPInt()3722 Elt = SValInt.rotl(i*EltSize+EltSize).zextOrTrunc(EltSize); in VisitCastExpr()3724 Elt = SValInt.rotr(i*EltSize).zextOrTrunc(EltSize); in VisitCastExpr()
1690 ArySize.zextOrTrunc(Target->getPointerWidth(getTargetAddressSpace(EltTy))); in getConstantArrayType()
583 llvm::APInt adjustedCount = count.zextOrTrunc(sizeWidth); in EmitCXXNewAllocSize()
7514 = ArrayTy->getSize().zextOrTrunc(S.Context.getTypeSize(SizeType)); in BuildSingleCopyAssign()7910 = Array->getSize().zextOrTrunc(Size.getBitWidth()); in DefineImplicitCopyAssignment()8449 = Array->getSize().zextOrTrunc(Size.getBitWidth()); in DefineImplicitMoveAssignment()
10055 EnumVal = EnumVal.zextOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant()