| /freebsd/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 | 111 const unsigned ValueBits = Value.getSignificantBits(); in isNegationValuePreserving()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APSInt.cpp | 28 unsigned MinBits = Tmp.getSignificantBits(); in APSInt()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 435 bool isSignedIntN(unsigned N) const { return getSignificantBits() <= N; } in isSignedIntN() 1139 return (!isSingleWord() && getSignificantBits() > 64) in slt() 1210 return (!isSingleWord() && getSignificantBits() > 64) in sgt() 1531 unsigned getSignificantBits() const { in getSignificantBits() function 1565 assert(getSignificantBits() <= 64 && "Too many bits for int64_t"); in getSExtValue() 1575 return (getSignificantBits() <= 64) ? std::optional<int64_t>(getSExtValue()) in trySExtValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | BypassSlowDivision.cpp | 204 return C && C->getValue().getSignificantBits() > BypassType->getBitWidth(); in isHashLikeValue()
|
| H A D | SimplifyCFG.cpp | 5823 (CaseVal.getSignificantBits() > MaxSignificantBitsInCond)) { in eliminateDeadSwitchCases()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopStrengthReduce.cpp | 940 if (C->getSignificantBits() <= 64) { in ExtractImmediate() 1536 APInt(64, Offset.getKnownMinValue(), true).getSignificantBits(); in RateFormula() 2679 if (C->getValue().getSignificantBits() >= 64 || in OptimizeLoopTermCond() 2929 if (Factor->getAPInt().getSignificantBits() <= 64 && !Factor->isZero()) in CollectInterestingTypesAndFactors() 2935 if (Factor->getAPInt().getSignificantBits() <= 64 && !Factor->isZero()) in CollectInterestingTypesAndFactors() 3351 if (IncConst && IncConst->getAPInt().getSignificantBits() > 64) in canFoldIVIncExpr() 3358 C->getSignificantBits() > 64) in canFoldIVIncExpr() 6392 if (C->getAPInt().getSignificantBits() > 64) in pushConst() 6481 if (C->getAPInt().getSignificantBits() > 64) in isIdentityFunction() 6840 if (Offset->getSignificantBits() <= 64) in SalvageDVI()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoadStoreVectorizer.cpp | 1618 assert(OffsetA.getSignificantBits() <= NewPtrBitWidth && in getConstantOffset() 1619 OffsetB.getSignificantBits() <= NewPtrBitWidth); in getConstantOffset()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 1171 IntElement->getValue().getSignificantBits() - 1; in minRequiredElementSize() 1186 return CI->getValue().getSignificantBits() - 1; in minRequiredElementSize()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | ArgumentPromotion.cpp | 557 if (Offset.getSignificantBits() >= 64) in findArgParts()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FixupVectorConstants.cpp | 316 if ((IsSExt && Elt.getSignificantBits() > SrcEltBitWidth) || in rebuildExtCst()
|
| H A D | X86ISelDAGToDAG.cpp | 4844 unsigned MinWidth = NegMaskVal.getSignificantBits(); in shrinkAndImmediate() 4845 if (MinWidth > 32 || (MinWidth > 8 && MaskVal.getSignificantBits() <= 32)) in shrinkAndImmediate()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 555 return std::max(getSignedMin().getSignificantBits(), in getMinSignedBits() 556 getSignedMax().getSignificantBits()); in getMinSignedBits()
|
| H A D | Value.cpp | 762 if (GEPOffset.getSignificantBits() > BitWidth) in stripAndAccumulateConstantOffsets()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIParser.cpp | 2468 if (Token.integerValue().getSignificantBits() > 32) in parseCFIOffset() 3056 if (Token.integerValue().getSignificantBits() > 64) in parseOffset()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelDAGToDAG.cpp | 1455 if (OperandV.getSignificantBits() > 8) in tryFoldLoadStoreIntoMemOperand()
|
| H A D | SystemZISelLowering.cpp | 8950 ? Constant->getAPIntValue().getSignificantBits() in combineShiftToMulAddHigh() 8969 ? Constant->getAPIntValue().getSignificantBits() in combineShiftToMulAddHigh()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTContext.h | 1811 std::max(NumNegativeBits, (unsigned)InitVal.getSignificantBits()); in computeEnumBits()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineMulDivRem.cpp | 1805 Op1C->getSignificantBits()) { in visitSDiv()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFASTParserClang.cpp | 2879 is_unsigned ? result.getActiveBits() : result.getSignificantBits(); in ExtractIntFromFormValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.cpp | 263 if (Imm.getSignificantBits() <= 64 && in getIntImmCostInst()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | InterpBuiltin.cpp | 659 pushInteger(S, Val.getBitWidth() - Val.getSignificantBits(), Call->getType()); in interp__builtin_clrsb()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 4806 unsigned ReqdBits = Signed ? C1.getSignificantBits() : C1.getActiveBits(); in SimplifySetCC() 4997 if (C1.getSignificantBits() > ExtSrcTyBits) in SimplifySetCC() 5355 if (C1.getSignificantBits() <= 64 && in SimplifySetCC() 5391 if (ShiftBits && NewC.getSignificantBits() <= 64 && in SimplifySetCC()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 731 if (Offset.getSignificantBits() <= 64) in ConstantFoldLoadFromConst()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 10101 ? (Result.isNegative() ? Result.getSignificantBits() in canConvertIntToOtherIntTy() 11480 static_cast<llvm::APInt &>(Right) + Left.getSignificantBits(); in DiagnoseBadShiftValues() 11503 << HexResult.str() << Result.getSignificantBits() << LHSType in DiagnoseBadShiftValues()
|