| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APFixedPoint.cpp | 78 NewVal = NewVal.extOrTrunc(DstSema.getWidth()); in convert() 93 ThisVal = ThisVal.extOrTrunc(CommonWidth); in compare() 94 OtherVal = OtherVal.extOrTrunc(CommonWidth); in compare() 284 .extOrTrunc(Wide); in mul() 286 .extOrTrunc(Wide); in mul() 347 .extOrTrunc(Wide); in div() 349 .extOrTrunc(Wide); in div() 384 APSInt Max = APFixedPoint::getMax(Sema).getValue().extOrTrunc(Wide); in shl() 385 APSInt Min = APFixedPoint::getMin(Sema).getValue().extOrTrunc(Wide); in shl() 495 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() 669 APSInt(std::move(integer), !is_signed).extOrTrunc(8 * byte_size); in SetValueFromCString() 807 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/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 120 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/clang/lib/AST/ByteCode/ |
| H A D | InterpBuiltin.cpp | 805 LHS = APSInt(LHS.extOrTrunc(MaxBits), !IsSigned); in interp__builtin_overflowop() 806 RHS = APSInt(RHS.extOrTrunc(MaxBits), !IsSigned); in interp__builtin_overflowop() 855 APSInt Temp = Result.extOrTrunc(S.getASTContext().getTypeSize(ResultType)); in interp__builtin_overflowop() 1141 APInt AlignMinusOne = Alignment.extOrTrunc(Src.getBitWidth()) - 1; in interp__builtin_is_aligned_up_down()
|
| H A D | Interp.h | 2379 APInt Source = S.Stk.pop<T>().toAPSInt().extOrTrunc(BitWidth); in CastAP() 2391 APInt Source = S.Stk.pop<T>().toAPSInt().extOrTrunc(BitWidth); in CastAPS()
|
| /freebsd/contrib/llvm-project/lldb/source/ValueObject/ |
| H A D | ValueObject.cpp | 3192 int_value_or_err->extOrTrunc(type_byte_size * CHAR_BIT); in CastToBasicType() 3229 int_value_or_err->extOrTrunc(type_byte_size * CHAR_BIT); in CastToBasicType() 3331 llvm::APSInt ext = value_or_err->extOrTrunc(byte_size * CHAR_BIT); in CastToEnumType()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SimpleSValBuilder.cpp | 1135 rightI = rightI.extOrTrunc(leftI.getBitWidth()); in evalBinOpLN()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/ |
| H A D | PDBASTParser.cpp | 1316 decl, value.toAPSInt().extOrTrunc(type_width)); in AddRecordMembers()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaInit.cpp | 2184 elementIndex = elementIndex.extOrTrunc(maxElements.getBitWidth()); in CheckArrayType() 3250 = DesignatedStartIndex.extOrTrunc(MaxElements.getBitWidth()); in CheckDesignatedInitializer() 3253 = DesignatedEndIndex.extOrTrunc(MaxElements.getBitWidth()); in CheckDesignatedInitializer() 3268 DesignatedStartIndex.extOrTrunc(DesignatedIndexBitWidth); in CheckDesignatedInitializer() 3270 DesignatedEndIndex.extOrTrunc(DesignatedIndexBitWidth); in CheckDesignatedInitializer()
|
| H A D | SemaChecking.cpp | 1221 return llvm::APSInt::getUnsigned(Result).extOrTrunc(SizeTypeWidth); in checkFortifiedBuiltinMemoryFunction() 1236 return llvm::APSInt::getUnsigned(Result + 1).extOrTrunc(SizeTypeWidth); in checkFortifiedBuiltinMemoryFunction() 1342 .extOrTrunc(SizeTypeWidth); in checkFortifiedBuiltinMemoryFunction() 1429 .extOrTrunc(SizeTypeWidth); in checkFortifiedBuiltinMemoryFunction() 11063 .extOrTrunc(BitWidth); in PromotedRange() 11067 .extOrTrunc(BitWidth); in PromotedRange()
|
| H A D | SemaTemplate.cpp | 7268 Value = Value.extOrTrunc(IntegerType->isBitIntType() in CheckTemplateArgument() 7373 Value = Value.extOrTrunc(AllowedBits); in CheckTemplateArgument() 7384 Value = Value.extOrTrunc(AllowedBits); in CheckTemplateArgument()
|
| H A D | SemaStmt.cpp | 1215 Val = Val.extOrTrunc(BitWidth); in AdjustAPSInt()
|
| H A D | SemaDecl.cpp | 20116 EnumVal = EnumVal.extOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant() 20520 InitVal = InitVal.extOrTrunc(NewWidth); in ActOnEnumBody()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 470 uint64_t TruncatedN = N.extOrTrunc(64).getZExtValue(); in adjustIndex() 1793 uint64_t Index64 = Index.extOrTrunc(64).getZExtValue(); in adjustOffsetAndIndex() 2873 APSInt Result = Value.extOrTrunc(DestWidth); in HandleIntToIntCast() 9772 uint64_t N = Value.getInt().extOrTrunc(Size).getZExtValue(); in VisitCastExpr() 12332 Val = Val.extOrTrunc(Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl() 13750 LHS = APSInt(LHS.extOrTrunc(MaxBits), !IsSigned); in VisitBuiltinCallExpr() 13751 RHS = APSInt(RHS.extOrTrunc(MaxBits), !IsSigned); in VisitBuiltinCallExpr() 13801 APSInt Temp = Result.extOrTrunc(Info.Ctx.getTypeSize(ResultType)); in VisitBuiltinCallExpr() 14188 uint64_t Index64 = Index.extOrTrunc(64).getZExtValue(); in addOrSubLValueAsInteger()
|
| /freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 4473 InRangeStart = InRangeStart.extOrTrunc(IndexWidth); in parseValID() 4474 InRangeEnd = InRangeEnd.extOrTrunc(IndexWidth); in parseValID() 6421 ID.APSIntVal = ID.APSIntVal.extOrTrunc(Ty->getPrimitiveSizeInBits()); in convertValIDToValue() 10185 Val = Val.extOrTrunc(FunctionSummary::ParamAccess::RangeWidth); in parseParamAccessOffset()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTContext.h | 3292 return Res.extOrTrunc(Width); in MakeIntValue()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/ |
| H A D | ARM.cpp | 4489 *Result = Result->extOrTrunc(32); in GetAArch64SVEProcessedOperands()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/ |
| H A D | DemangleTestCases.inc | 5060 {"_ZNK4llvm6APSInt10extOrTruncEj", "llvm::APSInt::extOrTrunc(unsigned int) const"},
|