Home
last modified time | relevance | path

Searched refs:getWidth (Results 1 – 15 of 15) sorted by relevance

/netbsd/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DAPFixedPoint.h44 unsigned getWidth() const { return Width; } in getWidth() function
104 assert(Val.getBitWidth() == Sema.getWidth() && in APFixedPoint()
109 : APFixedPoint(APInt(Sema.getWidth(), Val, Sema.isSigned()), Sema) {} in APFixedPoint()
115 inline unsigned getWidth() const { return Sema.getWidth(); } in getWidth() function
/netbsd/external/apache2/llvm/dist/llvm/lib/Support/
H A DAPFixedPoint.cpp22 unsigned DstWidth = DstSema.getWidth(); in convert()
117 auto Val = APSInt::getMaxValue(Sema.getWidth(), IsUnsigned); in getMax()
124 auto Val = APSInt::getMinValue(Sema.getWidth(), !Sema.isSigned()); in getMin()
234 unsigned Wide = CommonFXSema.getWidth() * 2; in mul()
277 return APFixedPoint(Result.sextOrTrunc(CommonFXSema.getWidth()), in mul()
291 unsigned Wide = CommonFXSema.getWidth() * 2; in div()
332 return APFixedPoint(Result.sextOrTrunc(CommonFXSema.getWidth()), in div()
341 unsigned Wide = Sema.getWidth() * 2; in shl()
367 return APFixedPoint(Result.sextOrTrunc(Sema.getWidth()), Sema); in shl()
418 unsigned SrcWidth = getWidth(); in convertToInt()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DScaledNumber.h42 template <class DigitsT> inline int getWidth() { return sizeof(DigitsT) * 8; } in getWidth() function
59 return std::make_pair(DigitsT(1) << (getWidth<DigitsT>() - 1), Scale + 1); in getRounded()
83 const int Width = getWidth<DigitsT>();
117 if (getWidth<DigitsT>() <= 32 || (LHS <= UINT32_MAX && RHS <= UINT32_MAX)) in getProduct()
164 if (getWidth<DigitsT>() == 64) in getQuotient()
300 if (ScaleDiff >= 2 * getWidth<DigitsT>()) { in matchScales()
308 assert(ShiftL < getWidth<DigitsT>() && "can't shift more than width"); in matchScales()
311 if (ShiftR >= getWidth<DigitsT>()) { in matchScales()
350 DigitsT HighBit = DigitsT(1) << (getWidth<DigitsT>() - 1); in getSum()
391 if (!compare(LDigits, LScale, DigitsT(1), RLgFloor + getWidth<DigitsT>())) in getDifference()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DFixedPointBuilder.h35 unsigned SrcWidth = SrcSema.getWidth(); in Convert()
36 unsigned DstWidth = DstSema.getWidth(); in Convert()
119 C.getWidth() + (unsigned)(BothPadded && C.isSaturated()), C.getScale(), in getCommonBinopSemantic()
200 Type *ResultTy = B.getIntNTy(DstSema.getWidth()); in CreateFloatingToFixed()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Vectorize/
H A DLoopVectorizationLegality.h125 ElementCount getWidth() const { in getWidth() function
168 ElementCount EC = getWidth(); in allowReordering()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp121 getWidth() == ElementCount::getFixed(1) && getInterleave() == 1; in LoopVectorizeHints()
194 R << ", Vector Width=" << NV("VectorWidth", getWidth()); in emitRemarkWithHints()
205 if (getWidth() == ElementCount::getFixed(1)) in vectorizeAnalysisPassName()
209 if (getForce() == LoopVectorizeHints::FK_Undefined && getWidth().isZero()) in vectorizeAnalysisPassName()
H A DLoopVectorize.cpp9755 ElementCount UserVF = Hints.getWidth(); in processLoopInVPlanNativePath()
9858 << " width=" << Hints.getWidth() in processLoop()
9984 ElementCount UserVF = Hints.getWidth(); in processLoop()
/netbsd/external/apache2/llvm/dist/clang/include/clang/CodeGen/
H A DSwiftCallingConv.h49 CharUnits getWidth() const { in getWidth() function
/netbsd/external/apache2/llvm/dist/clang/include/clang/AST/
H A DAbstractBasicWriter.h169 asImpl().writeUInt32(sema.getWidth()); in writeFixedPointSemantics()
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DSwiftCallingConv.cpp401 auto split = splitLegalVectorType(CGM, Entries[index].getWidth(), vecTy); in splitVectorEntry()
H A DCGExprScalar.cpp1484 DstFPSema.getWidth(), in EmitFixedPointConversion()
/netbsd/external/mit/libcbor/dist/docs/doxygen/
H A Djquery.js87getWidth:function(l){return this.getOffset(l)},handleEvents:function(){return !this.disabled&&this…
/netbsd/external/gpl3/gcc/dist/libphobos/src/std/format/internal/
H A Dwrite.d3520 prefixWidth = getWidth(prefix);
3521 suffixWidth = getWidth(suffix);
3813 private long getWidth(T)(T s)
/netbsd/external/apache2/llvm/dist/clang/lib/AST/
H A DExprConstant.cpp10766 assert(V.getWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success()
13506 LHSSema.getWidth() - (unsigned)LHSSema.hasUnsignedPadding(); in VisitBinaryOperator()
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExpr.cpp10857 LeftSize = FXSema.getWidth() - (unsigned)FXSema.hasUnsignedPadding(); in DiagnoseBadShiftValues()