Searched refs:findFirstSet (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | MathExtrasTest.cpp | 93 TEST(MathExtras, findFirstSet) { in TEST() argument 98 EXPECT_EQ(0xFFULL, findFirstSet(Z8)); in TEST() 99 EXPECT_EQ(0xFFFFULL, findFirstSet(Z16)); in TEST() 100 EXPECT_EQ(0xFFFFFFFFULL, findFirstSet(Z32)); in TEST() 101 EXPECT_EQ(0xFFFFFFFFFFFFFFFFULL, findFirstSet(Z64)); in TEST() 107 EXPECT_EQ(1u, findFirstSet(NZ8)); in TEST() 108 EXPECT_EQ(1u, findFirstSet(NZ16)); in TEST() 109 EXPECT_EQ(1u, findFirstSet(NZ32)); in TEST() 110 EXPECT_EQ(1u, findFirstSet(NZ64)); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/MCTargetDesc/ |
| H A D | RISCVMatInt.cpp | 113 ShiftAmount = findFirstSet((uint64_t)Val); in generateInstSeqImpl()
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | CodeGenDAGPatterns.h | 153 return Count + findFirstSet(W); in find_from_pos() 161 return Count + findFirstSet(W); in find_from_pos()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | MathExtras.h | 239 template <typename T> T findFirstSet(T Val, ZeroBehavior ZB = ZB_Max) {
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZInstrInfo.cpp | 1718 unsigned First = findFirstSet(Mask); in isStringOfOnes() 1722 Length = findFirstSet(Top); in isStringOfOnes()
|
| H A D | SystemZISelLowering.cpp | 782 (SplatUndefZ & ((uint64_t(1) << findFirstSet(SplatBitsZ)) - 1)); in isVectorConstantLegal()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | APInt.cpp | 2302 return findFirstSet(value, ZB_Max); in partLSB()
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/AsmParser/ |
| H A D | MipsAsmParser.cpp | 2683 unsigned BitNum = findFirstSet(x); in isShiftedUIntAtAnyPosition() 2812 unsigned FirstSet = findFirstSet((uint64_t)ImmValue); in loadImmediate()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86InstrInfo.cpp | 2068 unsigned AltIdx = findFirstSet((ZMask | (1 << DstIdx)) ^ 15); in commuteInstructionImpl()
|