Searched refs:extOrTrunc (Results 1 – 13 of 13) sorted by relevance
46 NewVal = NewVal.extOrTrunc(DstWidth); in convert()65 ThisVal = ThisVal.extOrTrunc(CommonWidth); in compare()66 OtherVal = OtherVal.extOrTrunc(CommonWidth); in compare()
41 Value = Value.extOrTrunc(BitWidth); in apply()
92 APSInt extOrTrunc(uint32_t width) const { in extOrTrunc() function
423 uint64_t TruncatedN = N.extOrTrunc(64).getZExtValue(); in adjustIndex()1483 uint64_t Index64 = Index.extOrTrunc(64).getZExtValue(); in adjustOffsetAndIndex()2107 APSInt Result = Value.extOrTrunc(DestWidth); in HandleIntToIntCast()5936 uint64_t N = Value.getInt().extOrTrunc(Size).getZExtValue(); in VisitCastExpr()7601 Val = Val.extOrTrunc(Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl()8503 APSInt Char1InMem = Char1.getInt().extOrTrunc(CharTy1Width); in VisitBuiltinCallExpr()8504 APSInt Char2InMem = Char2.getInt().extOrTrunc(CharTy1Width); in VisitBuiltinCallExpr()8710 APSInt Temp = Result.extOrTrunc(Info.Ctx.getTypeSize(ResultType)); in VisitBuiltinCallExpr()8919 uint64_t Index64 = Index.extOrTrunc(64).getZExtValue(); in addOrSubLValueAsInteger()
1138 rightI = rightI.extOrTrunc(leftI.getBitWidth()); in evalBinOpLN()
1732 elementIndex = elementIndex.extOrTrunc(maxElements.getBitWidth()); in CheckArrayType()2647 = DesignatedStartIndex.extOrTrunc(MaxElements.getBitWidth()); in CheckDesignatedInitializer()2650 = DesignatedEndIndex.extOrTrunc(MaxElements.getBitWidth()); in CheckDesignatedInitializer()2665 DesignatedStartIndex.extOrTrunc(DesignatedIndexBitWidth); in CheckDesignatedInitializer()2667 DesignatedEndIndex.extOrTrunc(DesignatedIndexBitWidth); in CheckDesignatedInitializer()
6402 Value = Value.extOrTrunc(Context.getTypeSize(IntegerType)); in CheckTemplateArgument()6489 Value = Value.extOrTrunc(AllowedBits); in CheckTemplateArgument()6498 Value = Value.extOrTrunc(AllowedBits); in CheckTemplateArgument()
734 Val = Val.extOrTrunc(BitWidth); in AdjustAPSInt()
9982 .extOrTrunc(BitWidth); in PromotedRange()9986 .extOrTrunc(BitWidth); in PromotedRange()
16377 EnumVal = EnumVal.extOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant()16854 InitVal = InitVal.extOrTrunc(NewWidth); in ActOnEnumBody()
2640 return Res.extOrTrunc(Width); in MakeIntValue()
1480 APFixedPoint::getMax(DstFPSema).getValue().extOrTrunc(ResultWidth)); in EmitFixedPointConversion()1490 APFixedPoint::getMin(DstFPSema).getValue().extOrTrunc(ResultWidth)); in EmitFixedPointConversion()
5028 ID.APSIntVal = ID.APSIntVal.extOrTrunc(Ty->getPrimitiveSizeInBits()); in ConvertValIDToValue()