Searched refs:getWidth (Results 1 – 9 of 9) sorted by relevance
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/ |
| H A D | FixedPoint.h | 41 unsigned getWidth() const { return Width; } in getWidth() function 78 assert(Val.getBitWidth() == Sema.getWidth() && in APFixedPoint() 83 : APFixedPoint(llvm::APInt(Sema.getWidth(), Val, Sema.isSigned()), in APFixedPoint() 87 inline unsigned getWidth() const { return Sema.getWidth(); } in getWidth() function
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/ |
| H A D | FixedPoint.cpp | 21 unsigned DstWidth = DstSema.getWidth(); in convert() 104 auto Val = llvm::APSInt::getMaxValue(Sema.getWidth(), IsUnsigned); in getMax() 111 auto Val = llvm::APSInt::getMinValue(Sema.getWidth(), !Sema.isSigned()); in getMin()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | ScaledNumber.h | 43 template <class DigitsT> inline int getWidth() { return sizeof(DigitsT) * 8; } in getWidth() function 60 return std::make_pair(DigitsT(1) << (getWidth<DigitsT>() - 1), Scale + 1); in getRounded() 84 const int Width = getWidth<DigitsT>(); 118 if (getWidth<DigitsT>() <= 32 || (LHS <= UINT32_MAX && RHS <= UINT32_MAX)) in getProduct() 165 if (getWidth<DigitsT>() == 64) in getQuotient() 301 if (ScaleDiff >= 2 * getWidth<DigitsT>()) { in matchScales() 309 assert(ShiftL < getWidth<DigitsT>() && "can't shift more than width"); in matchScales() 312 if (ShiftR >= getWidth<DigitsT>()) { in matchScales() 351 DigitsT HighBit = DigitsT(1) << (getWidth<DigitsT>() - 1); in getSum() 392 if (!compare(LDigits, LScale, DigitsT(1), RLgFloor + getWidth<DigitsT>())) in getDifference()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Transforms/Vectorize/ |
| H A D | LoopVectorizationLegality.h | 114 unsigned getWidth() const { return Width.Value; } in getWidth() function 134 return getForce() == LoopVectorizeHints::FK_Enabled || getWidth() > 1; in allowReordering()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/CodeGen/ |
| H A D | SwiftCallingConv.h | 50 CharUnits getWidth() const { in getWidth() function
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorizationLegality.cpp | 166 if (getWidth() == 1) in vectorizeAnalysisPassName() 170 if (getForce() == LoopVectorizeHints::FK_Undefined && getWidth() == 0) in vectorizeAnalysisPassName()
|
| H A D | LoopVectorize.cpp | 1375 if (!Hints.getWidth()) { in isExplicitVecOuterLoop() 7112 unsigned UserVF = Hints.getWidth(); in processLoopInVPlanNativePath() 7164 << " width=" << Hints.getWidth() in processLoop() 7304 unsigned UserVF = Hints.getWidth(); in processLoop()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | SwiftCallingConv.cpp | 386 auto split = splitLegalVectorType(CGM, Entries[index].getWidth(), vecTy); in splitVectorEntry()
|
| H A D | CGExprScalar.cpp | 1437 unsigned SrcWidth = SrcFPSema.getWidth(); in EmitFixedPointConversion() 1438 unsigned DstWidth = DstFPSema.getWidth(); in EmitFixedPointConversion()
|