| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | APFixedPoint.h | 62 unsigned getWidth() const { return Width; } in getWidth() function 158 assert(Val.getBitWidth() == Sema.getWidth() && 163 : APFixedPoint(APInt(Sema.getWidth(), Val, Sema.isSigned()), Sema) {} 169 inline unsigned getWidth() const { return Sema.getWidth(); } 214 return APSInt(APInt::getZero(getWidth()), Val.isUnsigned()); 216 (getLsbWeight() > 0) ? Val.extend(getWidth() + getLsbWeight()) : Val;
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | APFixedPoint.cpp | 22 OS << "width=" << getWidth() << ", "; in print() 68 NewVal = NewVal.extOrTrunc(DstSema.getWidth()); in convert() 121 auto Val = APSInt::getMaxValue(Sema.getWidth(), IsUnsigned); in getMax() 128 auto Val = APSInt::getMinValue(Sema.getWidth(), !Sema.isSigned()); in getMin() 239 unsigned Wide = CommonFXSema.getWidth() * 2; in mul() 282 return APFixedPoint(Result.sextOrTrunc(CommonFXSema.getWidth()), in mul() 299 CommonFXSema.getWidth() * 2 + std::max(-CommonFXSema.getMsbWeight(), 0); in div() 343 return APFixedPoint(Result.sextOrTrunc(CommonFXSema.getWidth()), in div() 352 unsigned Wide = Sema.getWidth() * 2; in shl() 378 return APFixedPoint(Result.sextOrTrunc(Sema.getWidth()), Sema); in shl() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | ScaledNumber.h | 42 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()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | FixedPointBuilder.h | 37 unsigned SrcWidth = SrcSema.getWidth(); in Convert() 38 unsigned DstWidth = DstSema.getWidth(); in Convert() 121 C.getWidth() + (unsigned)(BothPadded && C.isSaturated()), C.getScale(), in getCommonBinopSemantic() 202 Type *ResultTy = B.getIntNTy(DstSema.getWidth()); in CreateFloatingToFixed()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorizationLegality.cpp | 148 getWidth() == ElementCount::getFixed(1) && getInterleave() == 1; in LoopVectorizeHints() 221 R << ", Vector Width=" << NV("VectorWidth", getWidth()); in emitRemarkWithHints() 232 if (getWidth() == ElementCount::getFixed(1)) in vectorizeAnalysisPassName() 236 if (getForce() == LoopVectorizeHints::FK_Undefined && getWidth().isZero()) in vectorizeAnalysisPassName() 244 ElementCount EC = getWidth(); in allowReordering()
|
| H A D | LoopVectorize.cpp | 9981 ElementCount UserVF = Hints.getWidth(); in processLoopInVPlanNativePath() 10184 << " width=" << Hints.getWidth() in processLoop() 10324 ElementCount UserVF = Hints.getWidth(); in processLoop()
|
| /openbsd-src/gnu/llvm/clang/include/clang/CodeGen/ |
| H A D | SwiftCallingConv.h | 49 CharUnits getWidth() const { in getWidth() function
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | AbstractBasicWriter.h | 166 asImpl().writeUInt32(sema.getWidth()); in writeFixedPointSemantics()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Vectorize/ |
| H A D | LoopVectorizationLegality.h | 138 ElementCount getWidth() const { in getWidth() function
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | SwiftCallingConv.cpp | 403 auto split = splitLegalVectorType(CGM, Entries[index].getWidth(), vecTy); in splitVectorEntry()
|
| H A D | CGExprScalar.cpp | 1528 DstFPSema.getWidth(), in EmitFixedPointConversion()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 11132 assert(V.getWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success() 13939 LHSSema.getWidth() - (unsigned)LHSSema.hasUnsignedPadding(); in VisitBinaryOperator()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 11697 LeftSize = FXSema.getWidth() - (unsigned)FXSema.hasUnsignedPadding(); in DiagnoseBadShiftValues()
|