| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | APSIntType.cpp | 26 MinBits = Value.getSignificantBits(); in testInRange() 36 MinBits = Value.getSignificantBits() - IsUnsigned; in testInRange()
|
| H A D | SimpleSValBuilder.cpp | 110 const unsigned ValueBits = Value.getSignificantBits(); in isNegationValuePreserving()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APSInt.cpp | 28 unsigned MinBits = Tmp.getSignificantBits(); in APSInt()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 413 bool isSignedIntN(unsigned N) const { return getSignificantBits() <= N; } in isSignedIntN() 1111 return (!isSingleWord() && getSignificantBits() > 64) in slt() 1182 return (!isSingleWord() && getSignificantBits() > 64) in sgt() 1476 unsigned getSignificantBits() const { in getSignificantBits() function 1510 assert(getSignificantBits() <= 64 && "Too many bits for int64_t"); in getSExtValue() 1520 return (getSignificantBits() <= 64) ? std::optional<int64_t>(getSExtValue()) in trySExtValue()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | Float2Int.cpp | 362 unsigned MinBW = std::max(R.getLower().getSignificantBits(), in validateAndTransform() 363 R.getUpper().getSignificantBits()) + in validateAndTransform()
|
| H A D | LoopStrengthReduce.cpp | 803 if (C->getAPInt().getSignificantBits() <= 64) { in ExtractImmediate() 1417 C.ImmCost += APInt(64, Offset, true).getSignificantBits(); in RateFormula() 2501 if (C->getValue().getSignificantBits() >= 64 || in OptimizeLoopTermCond() 2744 if (Factor->getAPInt().getSignificantBits() <= 64 && !Factor->isZero()) in CollectInterestingTypesAndFactors() 2750 if (Factor->getAPInt().getSignificantBits() <= 64 && !Factor->isZero()) in CollectInterestingTypesAndFactors() 3168 if (IncConst->getAPInt().getSignificantBits() > 64) in canFoldIVIncExpr() 6118 if (C->getAPInt().getSignificantBits() > 64) in pushConst() 6207 if (C->getAPInt().getSignificantBits() > 64) in isIdentityFunction() 6575 if (Offset->getSignificantBits() <= 64) in SalvageDVI()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | BypassSlowDivision.cpp | 205 return C && C->getValue().getSignificantBits() > BypassType->getBitWidth(); in isHashLikeValue()
|
| H A D | SimplifyCFG.cpp | 5602 (CaseVal.getSignificantBits() > MaxSignificantBitsInCond)) { in eliminateDeadSwitchCases()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoadStoreVectorizer.cpp | 1491 assert(OffsetA.getSignificantBits() <= NewPtrBitWidth && in getConstantOffset() 1492 OffsetB.getSignificantBits() <= NewPtrBitWidth); in getConstantOffset()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 954 IntElement->getValue().getSignificantBits() - 1; in minRequiredElementSize() 969 return CI->getValue().getSignificantBits() - 1; in minRequiredElementSize()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | ArgumentPromotion.cpp | 492 if (Offset.getSignificantBits() >= 64) in findArgParts()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 488 return std::max(getSignedMin().getSignificantBits(), in getMinSignedBits() 489 getSignedMax().getSignificantBits()); in getMinSignedBits()
|
| H A D | Value.cpp | 748 if (GEPOffset.getSignificantBits() > BitWidth) in stripAndAccumulateConstantOffsets()
|
| H A D | ConstantFold.cpp | 1451 if (CI->getValue().getSignificantBits() > 64) in isIndexInRangeOfArrayType()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | InterpBuiltin.cpp | 535 pushInt(S, Val.getBitWidth() - Val.getSignificantBits()); in interp__builtin_clrsb()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.cpp | 214 if (Imm.getSignificantBits() <= 64 && in getIntImmCostInst()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIParser.cpp | 2460 if (Token.integerValue().getSignificantBits() > 32) in parseCFIOffset() 3047 if (Token.integerValue().getSignificantBits() > 64) in parseOffset()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelDAGToDAG.cpp | 1429 if (OperandV.getSignificantBits() > 8) in tryFoldLoadStoreIntoMemOperand()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineMulDivRem.cpp | 1501 Op1C->getSignificantBits()) { in visitSDiv()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFASTParserClang.cpp | 2843 is_unsigned ? result.getActiveBits() : result.getSignificantBits(); in ExtractIntFromFormValue()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelDAGToDAG.cpp | 4715 unsigned MinWidth = NegMaskVal.getSignificantBits(); in shrinkAndImmediate() 4716 if (MinWidth > 32 || (MinWidth > 8 && MaskVal.getSignificantBits() <= 32)) in shrinkAndImmediate()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 716 if (Offset.getSignificantBits() <= 64) in ConstantFoldLoadFromConst()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 4536 unsigned ReqdBits = Signed ? C1.getSignificantBits() : C1.getActiveBits(); in SimplifySetCC() 4710 if (C1.getSignificantBits() > ExtSrcTyBits) in SimplifySetCC() 5066 if (C1.getSignificantBits() <= 64 && in SimplifySetCC() 5103 if (ShiftBits && NewC.getSignificantBits() <= 64 && in SimplifySetCC()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 10904 ? (Result.isNegative() ? Result.getSignificantBits() in canConvertIntToOtherIntTy() 12174 static_cast<llvm::APInt &>(Right) + Left.getSignificantBits(); in DiagnoseBadShiftValues() 12197 << HexResult.str() << Result.getSignificantBits() << LHSType in DiagnoseBadShiftValues()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 4837 if (CVal.getSignificantBits() <= 64) { in matchOperationAddr()
|