Searched refs:countLeadingZeros (Results 26 - 50 of 59) sorted by relevance

123

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp238 Shift = 33 - countLeadingZeros(Total);
H A DIVDescriptors.cpp126 MaxBitWidth = Mask.getBitWidth() - Mask.countLeadingZeros();
H A DVectorUtils.cpp478 llvm::countLeadingZeros(LeaderDemandedBits);
H A DValueTracking.cpp458 (Range.getUnsignedMax() ^ Range.getUnsignedMin()).countLeadingZeros();
1573 unsigned PossibleLZ = Known2.One.countLeadingZeros();
5672 Upper = Lower.shl(Lower.countLeadingZeros()) + 1;
5681 unsigned ShiftAmount = C->countLeadingZeros() - 1;
5698 } else if (C->countLeadingZeros() < Width - 1) {
H A DConstantFolding.cpp2217 return ConstantInt::get(Ty, C0->countLeadingZeros());
/freebsd-12-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenSchedule.cpp379 (Lhs.countLeadingZeros() > Rhs.countLeadingZeros())));
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp1227 if (Other_umax.ugt(max.countLeadingZeros()))
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.h880 } else if (V.countLeadingZeros() < RHS) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMInstPrinter.cpp744 int32_t width = (32 - countLeadingZeros(v)) - lsb;
H A DARMMCCodeEmitter.cpp1705 uint32_t msb = (32 - countLeadingZeros (v)) - 1;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMIPeephole.cpp181 return 48 + countLeadingZeros(Imm);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp1776 unsigned MaskLZ = countLeadingZeros(Mask);
3969 unsigned MaskLZ = MaskVal.countLeadingZeros();
5095 unsigned LeadingZeros = countLeadingZeros(Mask);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1189 Shift = AP1.countLeadingZeros() - AP2.countLeadingZeros();
3594 // Precondition: NewShAmt u<= countLeadingZeros(C)
3605 // Precondition: ((WidestBitWidth-1)-NewShAmt) u<= countLeadingZeros(C)
4614 if (CVal.getBitWidth() - CVal.countLeadingZeros() > MulWidth)
H A DInstCombineCasts.cpp1287 unsigned ShiftAmt = KnownZeroMask.countLeadingZeros();
H A DInstructionCombining.cpp2666 LeadingKnownZeros, C.getCaseValue()->getValue().countLeadingZeros());
/freebsd-12-stable/contrib/llvm-project/lld/ELF/
H A DWriter.cpp1126 // countLeadingZeros.
1128 return countLeadingZeros(a->sortRank ^ b->sortRank);
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp762 numElementsWidth - sizeWidth > count.countLeadingZeros())
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp1128 uint32_t LZ = countLeadingZeros(Mask);
H A DHexagonLoopIdiomRecognition.cpp1268 return C->getValue().countLeadingZeros() >= IterCount;
H A DHexagonConstPropagation.cpp1691 Count = A1.countLeadingZeros();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp1505 if (DemandedBits.countLeadingZeros() < ShAmt)
1518 DemandedBits.countLeadingZeros() >= ShAmt) {
1991 unsigned DemandedBitsLZ = DemandedBits.countLeadingZeros();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp2918 unsigned MSB = 31 - countLeadingZeros(And_imm);
3024 unsigned FirstOne = A.getBitWidth() - A.countLeadingZeros() - 1;
H A DARMISelLowering.cpp4291 unsigned ShiftBits = countLeadingZeros(Mask);
11864 unsigned Zeros = Imm.countLeadingZeros() + Imm.countTrailingZeros();
12124 uint32_t C3 = countLeadingZeros(C1);
12148 uint32_t C3 = countLeadingZeros(C1);
12160 uint32_t Leading = countLeadingZeros(C1);
12632 unsigned FirstActiveBitInB = B.getBitWidth() - B.countLeadingZeros() - 1;
12691 unsigned Width = (32 - countLeadingZeros(~InvMask)) - LSB;
13981 uint32_t MaskedBits = countLeadingZeros(AndMask);
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
H A DType.cpp159 return 64 - llvm::countLeadingZeros(TotalSize);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp2360 unsigned NumberOfIgnoredHighBits = UsefulBits.countLeadingZeros();

Completed in 541 milliseconds

123