Home
last modified time | relevance | path

Searched refs:maskLeadingOnes (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DMathExtras.h74 template <typename T> T maskLeadingOnes(unsigned N) { in maskLeadingOnes() function
81 return maskLeadingOnes<T>(CHAR_BIT * sizeof(T) - N); in maskTrailingZeros()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMatInt.cpp210 uint64_t LeadingOnesVal = Val | maskLeadingOnes<uint64_t>(LeadingZeros); in generateInstSeqLeadingZeros()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRDFRegisters.cpp149 C &= maskLeadingOnes<unsigned>(31); in getUnits()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DBitVector.h667 const BitWord Mask = maskLeadingOnes<BitWord>(BitDistance);
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.h154 W &= maskLeadingOnes<WordType>(WordWidth-SkipBits); in find_from_pos()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSILoadStoreOptimizer.cpp953 return Hi & maskLeadingOnes<uint32_t>(llvm::countl_zero((Lo - 1) ^ Hi) + 1); in mostAlignedValueInRange()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp5040 Imm64 |= maskLeadingOnes<uint64_t>(NumOfLeadingZeros); in tryAsPairOfRLDICL()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp854 uint64_t Upper = SplatUndefZ & maskLeadingOnes<uint64_t>(UpperBits); in isVectorConstantLegal()