Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp59 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()
/freebsd-13.1/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp175 m_integer = m_integer.extOrTrunc(bits); in TruncOrExtendTo()
186 m_integer = m_integer.extOrTrunc(bits); in IntegralPromote()
290 APSInt ext = m_integer.extOrTrunc(sizeof(T) * 8); in GetAs()
669 APSInt(std::move(integer), !is_signed).extOrTrunc(8 * byte_size); in SetValueFromCString()
809 m_integer = m_integer.extOrTrunc(bit_size).extOrTrunc(8 * GetByteSize()); in ExtractBitfield()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAPSIntType.h40 Value = Value.extOrTrunc(BitWidth); in apply()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DFixedPointBuilder.h88 APFixedPoint::getMax(DstSema).getValue().extOrTrunc(ResultWidth)); in Convert()
98 APFixedPoint::getMin(DstSema).getValue().extOrTrunc(ResultWidth)); in Convert()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.cpp158 decl, constant.Value.extOrTrunc(type_width)); in visitKnownMember()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPSInt.h104 APSInt extOrTrunc(uint32_t width) const { in extOrTrunc() function
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp1030 rightI = rightI.extOrTrunc(leftI.getBitWidth()); in evalBinOpLN()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp1299 decl, value.toAPSInt().extOrTrunc(type_width)); in AddRecordMembers()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp443 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()
8811 uint64_t N = Value.getInt().extOrTrunc(Size).getZExtValue(); in VisitCastExpr()
10909 Val = Val.extOrTrunc(Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl()
12104 LHS = APSInt(LHS.extOrTrunc(MaxBits), !IsSigned); in VisitBuiltinCallExpr()
12105 RHS = APSInt(RHS.extOrTrunc(MaxBits), !IsSigned); in VisitBuiltinCallExpr()
12155 APSInt Temp = Result.extOrTrunc(Info.Ctx.getTypeSize(ResultType)); in VisitBuiltinCallExpr()
12364 uint64_t Index64 = Index.extOrTrunc(64).getZExtValue(); in addOrSubLValueAsInteger()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp1914 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()
H A DSemaTemplate.cpp7101 Value = Value.extOrTrunc(IntegerType->isExtIntType() in CheckTemplateArgument()
7189 Value = Value.extOrTrunc(AllowedBits); in CheckTemplateArgument()
7200 Value = Value.extOrTrunc(AllowedBits); in CheckTemplateArgument()
H A DSemaChecking.cpp643 .extOrTrunc(SizeTypeWidth); in checkFortifiedBuiltinMemoryFunction()
748 ObjectSize = llvm::APSInt::getUnsigned(Result).extOrTrunc(SizeTypeWidth); in checkFortifiedBuiltinMemoryFunction()
757 UsedSize = Result.Val.getInt().extOrTrunc(SizeTypeWidth); in checkFortifiedBuiltinMemoryFunction()
11495 .extOrTrunc(BitWidth); in PromotedRange()
11499 .extOrTrunc(BitWidth); in PromotedRange()
H A DSemaStmt.cpp1086 Val = Val.extOrTrunc(BitWidth); in AdjustAPSInt()
H A DSemaDecl.cpp17901 EnumVal = EnumVal.extOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant()
18380 InitVal = InitVal.extOrTrunc(NewWidth); in ActOnEnumBody()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h2839 return Res.extOrTrunc(Width); in MakeIntValue()
/freebsd-13.1/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp5289 ID.APSIntVal = ID.APSIntVal.extOrTrunc(Ty->getPrimitiveSizeInBits()); in convertValIDToValue()
8773 Val = Val.extOrTrunc(FunctionSummary::ParamAccess::RangeWidth); in parseParamAccessOffset()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp8973 *Result = Result->extOrTrunc(32); in EmitAArch64SVEBuiltinExpr()