Home
last modified time | relevance | path

Searched refs:extOrTrunc (Results 1 – 17 of 17) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp68 NewVal = NewVal.extOrTrunc(DstSema.getWidth()); in convert()
83 ThisVal = ThisVal.extOrTrunc(CommonWidth); in compare()
84 OtherVal = OtherVal.extOrTrunc(CommonWidth); in compare()
268 .extOrTrunc(Wide); in mul()
270 .extOrTrunc(Wide); in mul()
329 .extOrTrunc(Wide); in div()
331 .extOrTrunc(Wide); in div()
365 APSInt Max = APFixedPoint::getMax(Sema).getValue().extOrTrunc(Wide); in shl()
366 APSInt Min = APFixedPoint::getMin(Sema).getValue().extOrTrunc(Wide); in shl()
472 return Result.extOrTrunc(DstWidth); in convertToInt()
/freebsd-14.2/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp176 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()
810 m_integer = m_integer.extOrTrunc(bit_size).extOrTrunc(8 * GetByteSize()); in ExtractBitfield()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAPSIntType.h40 Value = Value.extOrTrunc(BitWidth); in apply()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DFixedPointBuilder.h90 APFixedPoint::getMax(DstSema).getValue().extOrTrunc(ResultWidth)); in Convert()
100 APFixedPoint::getMin(DstSema).getValue().extOrTrunc(ResultWidth)); in Convert()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPSInt.h119 APSInt extOrTrunc(uint32_t width) const { in extOrTrunc() function
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.cpp187 decl, constant.Value.extOrTrunc(type_width)); in visitKnownMember()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp1132 rightI = rightI.extOrTrunc(leftI.getBitWidth()); in evalBinOpLN()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp1317 decl, value.toAPSInt().extOrTrunc(type_width)); in AddRecordMembers()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp446 uint64_t TruncatedN = N.extOrTrunc(64).getZExtValue(); in adjustIndex()
1750 uint64_t Index64 = Index.extOrTrunc(64).getZExtValue(); in adjustOffsetAndIndex()
2720 APSInt Result = Value.extOrTrunc(DestWidth); in HandleIntToIntCast()
9254 uint64_t N = Value.getInt().extOrTrunc(Size).getZExtValue(); in VisitCastExpr()
11528 Val = Val.extOrTrunc(Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl()
12739 LHS = APSInt(LHS.extOrTrunc(MaxBits), !IsSigned); in VisitBuiltinCallExpr()
12740 RHS = APSInt(RHS.extOrTrunc(MaxBits), !IsSigned); in VisitBuiltinCallExpr()
12790 APSInt Temp = Result.extOrTrunc(Info.Ctx.getTypeSize(ResultType)); in VisitBuiltinCallExpr()
12999 uint64_t Index64 = Index.extOrTrunc(64).getZExtValue(); in addOrSubLValueAsInteger()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp1989 elementIndex = elementIndex.extOrTrunc(maxElements.getBitWidth()); in CheckArrayType()
3029 = DesignatedStartIndex.extOrTrunc(MaxElements.getBitWidth()); in CheckDesignatedInitializer()
3032 = DesignatedEndIndex.extOrTrunc(MaxElements.getBitWidth()); in CheckDesignatedInitializer()
3047 DesignatedStartIndex.extOrTrunc(DesignatedIndexBitWidth); in CheckDesignatedInitializer()
3049 DesignatedEndIndex.extOrTrunc(DesignatedIndexBitWidth); in CheckDesignatedInitializer()
H A DSemaChecking.cpp1191 return llvm::APSInt::getUnsigned(Result).extOrTrunc(SizeTypeWidth); in checkFortifiedBuiltinMemoryFunction()
1206 return llvm::APSInt::getUnsigned(Result + 1).extOrTrunc(SizeTypeWidth); in checkFortifiedBuiltinMemoryFunction()
1307 .extOrTrunc(SizeTypeWidth); in checkFortifiedBuiltinMemoryFunction()
1394 .extOrTrunc(SizeTypeWidth); in checkFortifiedBuiltinMemoryFunction()
14597 .extOrTrunc(BitWidth); in PromotedRange()
14601 .extOrTrunc(BitWidth); in PromotedRange()
H A DSemaTemplate.cpp7546 Value = Value.extOrTrunc(IntegerType->isBitIntType() in CheckTemplateArgument()
7638 Value = Value.extOrTrunc(AllowedBits); in CheckTemplateArgument()
7649 Value = Value.extOrTrunc(AllowedBits); in CheckTemplateArgument()
H A DSemaStmt.cpp1131 Val = Val.extOrTrunc(BitWidth); in AdjustAPSInt()
H A DSemaDecl.cpp19878 EnumVal = EnumVal.extOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant()
20360 InitVal = InitVal.extOrTrunc(NewWidth); in ActOnEnumBody()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h2989 return Res.extOrTrunc(Width); in MakeIntValue()
/freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp5843 ID.APSIntVal = ID.APSIntVal.extOrTrunc(Ty->getPrimitiveSizeInBits()); in convertValIDToValue()
9396 Val = Val.extOrTrunc(FunctionSummary::ParamAccess::RangeWidth); in parseParamAccessOffset()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp10174 *Result = Result->extOrTrunc(32); in GetAArch64SVEProcessedOperands()