Searched refs:getWidth (Results 1 - 13 of 13) sorted by relevance

/freebsd-current/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFixedPoint.h62 unsigned getWidth() const { return Width; } function in class:llvm::FixedPointSemantics
158 assert(Val.getBitWidth() == Sema.getWidth() &&
163 : APFixedPoint(APInt(Sema.getWidth(), Val, Sema.isSigned()), Sema) {}
169 inline unsigned getWidth() const { return Sema.getWidth(); } function in class:llvm::APFixedPoint
214 return APSInt(APInt::getZero(getWidth()), Val.isUnsigned());
216 (getLsbWeight() > 0) ? Val.extend(getWidth() + getLsbWeight()) : Val;
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp22 OS << "width=" << getWidth() << ", ";
68 NewVal = NewVal.extOrTrunc(DstSema.getWidth());
121 auto Val = APSInt::getMaxValue(Sema.getWidth(), IsUnsigned);
128 auto Val = APSInt::getMinValue(Sema.getWidth(), !Sema.isSigned());
239 unsigned Wide = CommonFXSema.getWidth() * 2;
282 return APFixedPoint(Result.sextOrTrunc(CommonFXSema.getWidth()),
299 CommonFXSema.getWidth() * 2 + std::max(-CommonFXSema.getMsbWeight(), 0);
343 return APFixedPoint(Result.sextOrTrunc(CommonFXSema.getWidth()),
352 unsigned Wide = Sema.getWidth() * 2;
378 return APFixedPoint(Result.sextOrTrunc(Sema.getWidth()), Sem
[all...]
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DScaledNumber.h42 template <class DigitsT> inline int getWidth() { return sizeof(DigitsT) * 8; } function in namespace:llvm::ScaledNumbers
59 return std::make_pair(DigitsT(1) << (getWidth<DigitsT>() - 1), Scale + 1);
83 const int Width = getWidth<DigitsT>();
117 if (getWidth<DigitsT>() <= 32 || (LHS <= UINT32_MAX && RHS <= UINT32_MAX))
164 if (getWidth<DigitsT>() == 64)
301 if (ScaleDiff >= 2 * getWidth<DigitsT>()) {
309 assert(ShiftL < getWidth<DigitsT>() && "can't shift more than width"); argument
312 if (ShiftR >= getWidth<DigitsT>()) {
351 DigitsT HighBit = DigitsT(1) << (getWidth<DigitsT>() - 1);
392 if (!compare(LDigits, LScale, DigitsT(1), RLgFloor + getWidth<Digits
[all...]
/freebsd-current/contrib/llvm-project/clang/include/clang/CodeGen/
H A DSwiftCallingConv.h49 CharUnits getWidth() const { function in struct:clang::CodeGen::swiftcall::SwiftAggLowering::StorageEntry
/freebsd-current/contrib/llvm-project/llvm/include/llvm/IR/
H A DFixedPointBuilder.h37 unsigned SrcWidth = SrcSema.getWidth();
38 unsigned DstWidth = DstSema.getWidth();
121 C.getWidth() + (unsigned)(BothPadded && C.isSaturated()), C.getScale(),
202 Type *ResultTy = B.getIntNTy(DstSema.getWidth());
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp153 getWidth() == ElementCount::getFixed(1) && getInterleave() == 1;
226 R << ", Vector Width=" << NV("VectorWidth", getWidth());
237 if (getWidth() == ElementCount::getFixed(1))
241 if (getForce() == LoopVectorizeHints::FK_Undefined && getWidth().isZero())
249 ElementCount EC = getWidth();
H A DLoopVectorize.cpp9642 ElementCount UserVF = Hints.getWidth();
9852 << " width=" << Hints.getWidth()
9997 ElementCount UserVF = Hints.getWidth();
/freebsd-current/contrib/llvm-project/clang/include/clang/AST/
H A DAbstractBasicWriter.h166 asImpl().writeUInt32(sema.getWidth());
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/
H A DLoopVectorizationLegality.h137 ElementCount getWidth() const { function in class:llvm::LoopVectorizeHints
/freebsd-current/contrib/llvm-project/clang/lib/CodeGen/
H A DSwiftCallingConv.cpp403 auto split = splitLegalVectorType(CGM, Entries[index].getWidth(), vecTy);
H A DCGExprScalar.cpp1536 DstFPSema.getWidth(),
/freebsd-current/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp11420 assert(V.getWidth() == Info.Ctx.getIntWidth(E->getType()) &&
14287 LHSSema.getWidth() - (unsigned)LHSSema.hasUnsignedPadding();
/freebsd-current/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp12131 LeftSize = FXSema.getWidth() - (unsigned)FXSema.hasUnsignedPadding();

Completed in 451 milliseconds