Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAPSIntType.h40 Value = Value.extOrTrunc(BitWidth); in apply()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A DAPSInt.h119 APSInt extOrTrunc(uint32_t width) const { in extOrTrunc() function
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.cpp187 decl, constant.Value.extOrTrunc(type_width)); in visitKnownMember()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp1106 rightI = rightI.extOrTrunc(leftI.getBitWidth()); in evalBinOpLN()
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp1310 decl, value.toAPSInt().extOrTrunc(type_width)); in AddRecordMembers()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExprConstant.cpp443 uint64_t TruncatedN = N.extOrTrunc(64).getZExtValue(); in adjustIndex()
1696 uint64_t Index64 = Index.extOrTrunc(64).getZExtValue(); in adjustOffsetAndIndex()
2633 APSInt Result = Value.extOrTrunc(DestWidth); in HandleIntToIntCast()
8961 uint64_t N = Value.getInt().extOrTrunc(Size).getZExtValue(); in VisitCastExpr()
11240 Val = Val.extOrTrunc(Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl()
12420 LHS = APSInt(LHS.extOrTrunc(MaxBits), !IsSigned); in VisitBuiltinCallExpr()
12421 RHS = APSInt(RHS.extOrTrunc(MaxBits), !IsSigned); in VisitBuiltinCallExpr()
12471 APSInt Temp = Result.extOrTrunc(Info.Ctx.getTypeSize(ResultType)); in VisitBuiltinCallExpr()
12680 uint64_t Index64 = Index.extOrTrunc(64).getZExtValue(); in addOrSubLValueAsInteger()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaInit.cpp1928 elementIndex = elementIndex.extOrTrunc(maxElements.getBitWidth()); in CheckArrayType()
2909 = DesignatedStartIndex.extOrTrunc(MaxElements.getBitWidth()); in CheckDesignatedInitializer()
2912 = DesignatedEndIndex.extOrTrunc(MaxElements.getBitWidth()); in CheckDesignatedInitializer()
2927 DesignatedStartIndex.extOrTrunc(DesignatedIndexBitWidth); in CheckDesignatedInitializer()
2929 DesignatedEndIndex.extOrTrunc(DesignatedIndexBitWidth); in CheckDesignatedInitializer()
H A DSemaTemplate.cpp7393 Value = Value.extOrTrunc(IntegerType->isBitIntType() in CheckTemplateArgument()
7485 Value = Value.extOrTrunc(AllowedBits); in CheckTemplateArgument()
7496 Value = Value.extOrTrunc(AllowedBits); in CheckTemplateArgument()
H A DSemaChecking.cpp1115 return llvm::APSInt::getUnsigned(Result).extOrTrunc(SizeTypeWidth); in checkFortifiedBuiltinMemoryFunction()
1130 return llvm::APSInt::getUnsigned(Result + 1).extOrTrunc(SizeTypeWidth); in checkFortifiedBuiltinMemoryFunction()
1252 .extOrTrunc(SizeTypeWidth); in checkFortifiedBuiltinMemoryFunction()
12857 .extOrTrunc(BitWidth); in PromotedRange()
12861 .extOrTrunc(BitWidth); in PromotedRange()
H A DSemaStmt.cpp1123 Val = Val.extOrTrunc(BitWidth); in AdjustAPSInt()
H A DSemaDecl.cpp19261 EnumVal = EnumVal.extOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant()
19743 InitVal = InitVal.extOrTrunc(NewWidth); in ActOnEnumBody()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DASTContext.h2958 return Res.extOrTrunc(Width); in MakeIntValue()
/openbsd-src/gnu/llvm/llvm/lib/AsmParser/
H A DLLParser.cpp5690 ID.APSIntVal = ID.APSIntVal.extOrTrunc(Ty->getPrimitiveSizeInBits()); in convertValIDToValue()
9220 Val = Val.extOrTrunc(FunctionSummary::ParamAccess::RangeWidth); in parseParamAccessOffset()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGBuiltin.cpp9419 *Result = Result->extOrTrunc(32); in EmitAArch64SVEBuiltinExpr()