Searched refs:extOrTrunc (Results 1 – 14 of 14) sorted by relevance
59 NewVal = NewVal.extOrTrunc(DstWidth); in convert()78 ThisVal = ThisVal.extOrTrunc(CommonWidth); in compare()79 OtherVal = OtherVal.extOrTrunc(CommonWidth); in compare()263 .extOrTrunc(Wide); in mul()265 .extOrTrunc(Wide); in mul()318 .extOrTrunc(Wide); in div()320 .extOrTrunc(Wide); in div()354 APSInt Max = APFixedPoint::getMax(Sema).getValue().extOrTrunc(Wide); in shl()355 APSInt Min = APFixedPoint::getMin(Sema).getValue().extOrTrunc(Wide); in shl()441 return Result.extOrTrunc(DstWidth); in convertToInt()
40 Value = Value.extOrTrunc(BitWidth); in apply()
88 APFixedPoint::getMax(DstSema).getValue().extOrTrunc(ResultWidth)); in Convert()98 APFixedPoint::getMin(DstSema).getValue().extOrTrunc(ResultWidth)); in Convert()
109 APSInt extOrTrunc(uint32_t width) const { in extOrTrunc() function
1030 rightI = rightI.extOrTrunc(leftI.getBitWidth()); in evalBinOpLN()
443 uint64_t TruncatedN = N.extOrTrunc(64).getZExtValue(); in adjustIndex()1697 uint64_t Index64 = Index.extOrTrunc(64).getZExtValue(); in adjustOffsetAndIndex()2614 APSInt Result = Value.extOrTrunc(DestWidth); in HandleIntToIntCast()8788 uint64_t N = Value.getInt().extOrTrunc(Size).getZExtValue(); in VisitCastExpr()10874 Val = Val.extOrTrunc(Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl()12069 LHS = APSInt(LHS.extOrTrunc(MaxBits), !IsSigned); in VisitBuiltinCallExpr()12070 RHS = APSInt(RHS.extOrTrunc(MaxBits), !IsSigned); in VisitBuiltinCallExpr()12120 APSInt Temp = Result.extOrTrunc(Info.Ctx.getTypeSize(ResultType)); in VisitBuiltinCallExpr()12329 uint64_t Index64 = Index.extOrTrunc(64).getZExtValue(); in addOrSubLValueAsInteger()
1914 elementIndex = elementIndex.extOrTrunc(maxElements.getBitWidth()); in CheckArrayType()2867 = DesignatedStartIndex.extOrTrunc(MaxElements.getBitWidth()); in CheckDesignatedInitializer()2870 = DesignatedEndIndex.extOrTrunc(MaxElements.getBitWidth()); in CheckDesignatedInitializer()2885 DesignatedStartIndex.extOrTrunc(DesignatedIndexBitWidth); in CheckDesignatedInitializer()2887 DesignatedEndIndex.extOrTrunc(DesignatedIndexBitWidth); in CheckDesignatedInitializer()
7101 Value = Value.extOrTrunc(IntegerType->isExtIntType() in CheckTemplateArgument()7189 Value = Value.extOrTrunc(AllowedBits); in CheckTemplateArgument()7200 Value = Value.extOrTrunc(AllowedBits); in CheckTemplateArgument()
643 .extOrTrunc(SizeTypeWidth); in checkFortifiedBuiltinMemoryFunction()748 ObjectSize = llvm::APSInt::getUnsigned(Result).extOrTrunc(SizeTypeWidth); in checkFortifiedBuiltinMemoryFunction()757 UsedSize = Result.Val.getInt().extOrTrunc(SizeTypeWidth); in checkFortifiedBuiltinMemoryFunction()11222 .extOrTrunc(BitWidth); in PromotedRange()11226 .extOrTrunc(BitWidth); in PromotedRange()
1086 Val = Val.extOrTrunc(BitWidth); in AdjustAPSInt()
17844 EnumVal = EnumVal.extOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant()18323 InitVal = InitVal.extOrTrunc(NewWidth); in ActOnEnumBody()
2788 return Res.extOrTrunc(Width); in MakeIntValue()
5600 ID.APSIntVal = ID.APSIntVal.extOrTrunc(Ty->getPrimitiveSizeInBits()); in convertValIDToValue()9072 Val = Val.extOrTrunc(FunctionSummary::ParamAccess::RangeWidth); in parseParamAccessOffset()
8892 *Result = Result->extOrTrunc(32); in EmitAArch64SVEBuiltinExpr()