/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | APFixedPoint.cpp | 68 NewVal = NewVal.extOrTrunc(DstSema.getWidth()); in convert() 83 ThisVal = ThisVal.extOrTrunc(CommonWidth); in compare() 84 OtherVal = OtherVal.extOrTrunc(CommonWidth); in compare() 274 .extOrTrunc(Wide); in mul() 276 .extOrTrunc(Wide); in mul() 335 .extOrTrunc(Wide); in div() 337 .extOrTrunc(Wide); in div() 371 APSInt Max = APFixedPoint::getMax(Sema).getValue().extOrTrunc(Wide); in shl() 372 APSInt Min = APFixedPoint::getMin(Sema).getValue().extOrTrunc(Wide); in shl() 478 return Result.extOrTrunc(DstWidth); in convertToInt()
|
/freebsd/contrib/llvm-project/lldb/source/Utility/ |
H A D | Scalar.cpp | 176 m_integer = m_integer.extOrTrunc(bits); in TruncOrExtendTo() 187 m_integer = m_integer.extOrTrunc(bits); in IntegralPromote() 291 APSInt ext = m_integer.extOrTrunc(sizeof(T) * 8); in GetAs() 670 APSInt(std::move(integer), !is_signed).extOrTrunc(8 * byte_size); in SetValueFromCString() 808 m_integer = m_integer.extOrTrunc(bit_size).extOrTrunc(8 * GetByteSize()); in ExtractBitfield()
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | APSIntType.h | 40 Value = Value.extOrTrunc(BitWidth); in apply()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | FixedPointBuilder.h | 90 APFixedPoint::getMax(DstSema).getValue().extOrTrunc(ResultWidth)); in Convert() 100 APFixedPoint::getMin(DstSema).getValue().extOrTrunc(ResultWidth)); in Convert()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | InterpBuiltin.cpp | 700 LHS = APSInt(LHS.extOrTrunc(MaxBits), !IsSigned); in interp__builtin_overflowop() 701 RHS = APSInt(RHS.extOrTrunc(MaxBits), !IsSigned); in interp__builtin_overflowop() 750 APSInt Temp = Result.extOrTrunc(S.getCtx().getTypeSize(ResultType)); in interp__builtin_overflowop() 1015 APSInt Align = Alignment.extOrTrunc(Src.getBitWidth()); in interp__builtin_is_aligned_up_down()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | APSInt.h | 119 APSInt extOrTrunc(uint32_t width) const { in extOrTrunc() function
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
H A D | UdtRecordCompleter.cpp | 190 decl, constant.Value.extOrTrunc(type_width)); in visitKnownMember()
|
/freebsd/contrib/llvm-project/lldb/source/Core/ |
H A D | ValueObject.cpp | 3228 int_value_or_err->extOrTrunc(type_byte_size * CHAR_BIT); in CastToBasicType() 3266 int_value_or_err->extOrTrunc(type_byte_size * CHAR_BIT); in CastToBasicType() 3362 llvm::APSInt ext = value_or_err->extOrTrunc(byte_size * CHAR_BIT); in CastToEnumType()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/ |
H A D | PDBASTParser.cpp | 1317 decl, value.toAPSInt().extOrTrunc(type_width)); in AddRecordMembers()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaInit.cpp | 2110 elementIndex = elementIndex.extOrTrunc(maxElements.getBitWidth()); in CheckArrayType() 3168 = DesignatedStartIndex.extOrTrunc(MaxElements.getBitWidth()); in CheckDesignatedInitializer() 3171 = DesignatedEndIndex.extOrTrunc(MaxElements.getBitWidth()); in CheckDesignatedInitializer() 3186 DesignatedStartIndex.extOrTrunc(DesignatedIndexBitWidth); in CheckDesignatedInitializer() 3188 DesignatedEndIndex.extOrTrunc(DesignatedIndexBitWidth); in CheckDesignatedInitializer()
|
H A D | SemaChecking.cpp | 1220 return llvm::APSInt::getUnsigned(Result).extOrTrunc(SizeTypeWidth); in checkFortifiedBuiltinMemoryFunction() 1235 return llvm::APSInt::getUnsigned(Result + 1).extOrTrunc(SizeTypeWidth); in checkFortifiedBuiltinMemoryFunction() 1336 .extOrTrunc(SizeTypeWidth); in checkFortifiedBuiltinMemoryFunction() 1423 .extOrTrunc(SizeTypeWidth); in checkFortifiedBuiltinMemoryFunction() 9824 .extOrTrunc(BitWidth); in PromotedRange() 9828 .extOrTrunc(BitWidth); in PromotedRange()
|
H A D | SemaTemplate.cpp | 6816 Value = Value.extOrTrunc(IntegerType->isBitIntType() in CheckTemplateArgument() 6908 Value = Value.extOrTrunc(AllowedBits); in CheckTemplateArgument() 6919 Value = Value.extOrTrunc(AllowedBits); in CheckTemplateArgument()
|
H A D | SemaStmt.cpp | 1154 Val = Val.extOrTrunc(BitWidth); in AdjustAPSInt()
|
H A D | SemaDecl.cpp | 19545 EnumVal = EnumVal.extOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant() 20035 InitVal = InitVal.extOrTrunc(NewWidth); in ActOnEnumBody()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprConstant.cpp | 451 uint64_t TruncatedN = N.extOrTrunc(64).getZExtValue(); in adjustIndex() 1755 uint64_t Index64 = Index.extOrTrunc(64).getZExtValue(); in adjustOffsetAndIndex() 2731 APSInt Result = Value.extOrTrunc(DestWidth); in HandleIntToIntCast() 9348 uint64_t N = Value.getInt().extOrTrunc(Size).getZExtValue(); in VisitCastExpr() 11782 Val = Val.extOrTrunc(Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl() 13102 LHS = APSInt(LHS.extOrTrunc(MaxBits), !IsSigned); in VisitBuiltinCallExpr() 13103 RHS = APSInt(RHS.extOrTrunc(MaxBits), !IsSigned); in VisitBuiltinCallExpr() 13153 APSInt Temp = Result.extOrTrunc(Info.Ctx.getTypeSize(ResultType)); in VisitBuiltinCallExpr() 13366 uint64_t Index64 = Index.extOrTrunc(64).getZExtValue(); in addOrSubLValueAsInteger()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ASTContext.h | 3082 return Res.extOrTrunc(Width); in MakeIntValue()
|
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 4372 InRangeStart = InRangeStart.extOrTrunc(IndexWidth); in parseValID() 4373 InRangeEnd = InRangeEnd.extOrTrunc(IndexWidth); in parseValID() 6121 ID.APSIntVal = ID.APSIntVal.extOrTrunc(Ty->getPrimitiveSizeInBits()); in convertValIDToValue() 9857 Val = Val.extOrTrunc(FunctionSummary::ParamAccess::RangeWidth); in parseParamAccessOffset()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBuiltin.cpp | 10441 *Result = Result->extOrTrunc(32); in GetAArch64SVEProcessedOperands()
|