/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | KnownBits.h | 39 unsigned getBitWidth() const { function in struct:llvm::KnownBits 40 assert(Zero.getBitWidth() == One.getBitWidth() && 42 return Zero.getBitWidth(); 51 return Zero.countPopulation() + One.countPopulation() == getBitWidth(); 138 unsigned OldBitWidth = getBitWidth(); 152 if (BitWidth > getBitWidth()) 154 if (BitWidth < getBitWidth()) 162 if (BitWidth > getBitWidth()) 164 if (BitWidth < getBitWidth()) [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Operator.cpp | 64 assert(Offset.getBitWidth() == 70 Index = Index.sextOrTrunc(Offset.getBitWidth()); 71 APInt IndexedSize = APInt(Offset.getBitWidth(), Size); 112 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)),
|
H A D | ConstantRange.cpp | 51 assert(Lower.getBitWidth() == Upper.getBitWidth() && 62 return getFull(Known.getBitWidth()); 82 uint32_t W = CR.getBitWidth(); 155 RHS = APInt(getBitWidth(), 0); 185 unsigned BitWidth = V.getBitWidth(); 187 return ConstantRange::getFull(V.getBitWidth()); 200 unsigned BitWidth = V.getBitWidth(); 237 unsigned BitWidth = Other.getBitWidth(); 330 assert(getBitWidth() [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | PtrUseVisitor.cpp | 39 Offset += TmpOffset.sextOrTrunc(Offset.getBitWidth());
|
H A D | CmpInstAnalysis.cpp | 82 Mask = APInt::getSignMask(C->getBitWidth()); 89 Mask = APInt::getSignMask(C->getBitWidth()); 96 Mask = APInt::getSignMask(C->getBitWidth()); 103 Mask = APInt::getSignMask(C->getBitWidth());
|
H A D | ScalarEvolutionDivision.cpp | 114 uint32_t NumeratorBW = NumeratorVal.getBitWidth(); 115 uint32_t DenominatorBW = DenominatorVal.getBitWidth(); 122 APInt QuotientVal(NumeratorVal.getBitWidth(), 0); 123 APInt RemainderVal(NumeratorVal.getBitWidth(), 0);
|
H A D | Loads.cpp | 33 const APInt APAlign(Offset.getBitWidth(), Alignment.value()); 65 APInt KnownDerefBytes(Size.getBitWidth(), 84 !Offset.urem(APInt(Offset.getBitWidth(), Alignment.value())) 97 Base, Alignment, Offset + Size.sextOrTrunc(Offset.getBitWidth()), DL, 271 if (Size.getBitWidth() > 64)
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | APSIntType.h | 28 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} 30 uint32_t getBitWidth() const { return BitWidth; } function in class:clang::ento::APSIntType
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ |
H A D | TargetLoweringObjectFile.cpp | 200 if ((ITy->getBitWidth() == 8 || ITy->getBitWidth() == 16 || 201 ITy->getBitWidth() == 32) && 203 if (ITy->getBitWidth() == 8) 205 if (ITy->getBitWidth() == 16) 208 assert(ITy->getBitWidth() == 32 && "Unknown width");
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ConstantRange.h | 52 return ConstantRange(getBitWidth(), false); 57 return ConstantRange(getBitWidth(), true); 86 return getFull(Lower.getBitWidth()); 165 uint32_t getBitWidth() const { return Lower.getBitWidth(); } function in class:llvm::ConstantRange
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | APSInt.h | 307 if (I1.getBitWidth() == I2.getBitWidth() && I1.isSigned() == I2.isSigned()) 311 if (I1.getBitWidth() > I2.getBitWidth()) 312 return compareValues(I1, I2.extend(I1.getBitWidth())); 313 if (I2.getBitWidth() > I1.getBitWidth()) 314 return compareValues(I1.extend(I2.getBitWidth()), I2);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | InterleavedLoadCombinePass.cpp | 192 A = APInt(Ty->getBitWidth(), 0); 210 if (ErrorMSBs > A.getBitWidth()) 211 ErrorMSBs = A.getBitWidth(); 243 if (C.getBitWidth() != A.getBitWidth()) { 304 if (C.getBitWidth() != A.getBitWidth()) { 461 if (C.getBitWidth() != A.getBitWidth()) { 471 if (shiftAmt >= C.getBitWidth()) [all...] |
H A D | IndirectBrExpandPass.cpp | 176 if (!CommonITy || ITy->getBitWidth() > CommonITy->getBitWidth())
|
H A D | TypePromotion.cpp | 366 APInt Total = ICmpConst->getValue().getBitWidth() < 32 ? 369 Total += OverflowConst->getValue().getBitWidth() < 32 ? 374 if (Total.getBitWidth() > Max.getBitWidth()) { 375 if (Total.ugt(Max.zext(Total.getBitWidth()))) 377 } else if (Max.getBitWidth() > Total.getBitWidth()) { 378 if (Total.zext(Max.getBitWidth()).ugt(Max)) 678 << OrigTy->getBitWidth() << " to " << PromotedWidth << "-bits\n"); 735 cast<IntegerType>(Ty)->getBitWidth() [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | StraightLineStrengthReduce.cpp | 286 return Index->getBitWidth() <= 64 && 409 APInt One(Idx->getBitWidth(), 1); 511 APInt One(RHS->getBitWidth(), 1); 565 if (A.getBitWidth() < B.getBitWidth()) 566 A = A.sext(B.getBitWidth()); 567 else if (A.getBitWidth() > B.getBitWidth()) 568 B = B.sext(A.getBitWidth()); 583 IndexOffset.getBitWidth(), [all...] |
H A D | SROA.cpp | 740 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)); 744 APInt Index = OpC->getValue().sextOrTrunc(Offset.getBitWidth()); 747 APInt(Offset.getBitWidth(), 1140 if (UserITy->getBitWidth() % 8 != 0 || 1141 UserITy->getBitWidth() / 8 > (EndOffset - B->beginOffset())) 1146 if (!ITy || ITy->getBitWidth() < UserITy->getBitWidth()) 1471 APInt ElementSize(Offset.getBitWidth(), ElementSizeInBits / 8); 1483 APInt ElementSize(Offset.getBitWidth(), 1504 Offset -= APInt(Offset.getBitWidth(), S [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | RangedConstraintManager.cpp | 90 if (ComparisonType.getBitWidth() == WraparoundType.getBitWidth() && 156 if (ComparisonType.getBitWidth() == WraparoundType.getBitWidth() &&
|
H A D | SimpleConstraintManager.cpp | 99 From.getBitWidth() == To.getBitWidth() &&
|
H A D | LoopUnrolling.cpp | 227 if (InitNum.getBitWidth() != BoundNum.getBitWidth()) { 228 InitNum = InitNum.zextOrSelf(BoundNum.getBitWidth()); 229 BoundNum = BoundNum.zextOrSelf(InitNum.getBitWidth());
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/FuzzMutate/ |
H A D | OpDescriptor.cpp | 17 uint64_t W = IntTy->getBitWidth();
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/ |
H A D | FixedPoint.cpp | 28 NewVal = NewVal.extend(NewVal.getBitWidth() + DstScale - getScale()); 35 NewVal.getBitWidth(), 36 std::min(DstScale + DstSema.getIntegralBits(), NewVal.getBitWidth())); 69 unsigned OtherWidth = OtherVal.getBitWidth(); 71 unsigned CommonWidth = std::max(Val.getBitWidth(), OtherWidth); 324 unsigned Width = Val.getBitWidth() + 4; 390 Value.getBitWidth(), Value.isSigned());
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | PatternInit.cpp | 38 cast<llvm::IntegerType>(Ty->getScalarType())->getBitWidth();
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/ |
H A D | PPExpressions.cpp | 60 unsigned getBitWidth() const { return Val.getBitWidth(); } function in class:__anon1953::PPValue 398 if (Result.Val.getBitWidth() > Val.getBitWidth()) { 399 Result.Val = Val.extend(Result.Val.getBitWidth()); 401 assert(Result.Val.getBitWidth() == Val.getBitWidth() && 601 PPValue RHS(LHS.getBitWidth()); 645 llvm::APSInt Res(LHS.getBitWidth()); 716 if (ShAmt >= LHS.getBitWidth()) { [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetTransformInfo.cpp | 49 if (Imm.getBitWidth() <= 64) { 91 if (Idx == 0 && Imm.getBitWidth() <= 64) { 101 if (Idx == 1 && Imm.getBitWidth() <= 64) { 112 if (Idx == 1 && Imm.getBitWidth() <= 64) { 122 if (Idx == 1 && Imm.getBitWidth() <= 64) { 130 if (Idx == 1 && Imm.getBitWidth() <= 64) { 140 if (Idx == 1 && Imm.getBitWidth() <= 64) { 207 if (Idx == 1 && Imm.getBitWidth() <= 64) { 217 if (Idx == 1 && Imm.getBitWidth() <= 64) { 223 if ((Idx < 2) || (Imm.getBitWidth() < [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | KnownBits.cpp | 50 assert(Carry.getBitWidth() == 1 && "Carry must be 1-bit");
|