Searched refs:findFirstSet (Results 1 – 6 of 6) sorted by relevance
/external/llvm/unittests/Support/ |
D | MathExtrasTest.cpp | 69 TEST(MathExtras, findFirstSet) { in TEST() argument 74 EXPECT_EQ(0xFFULL, findFirstSet(Z8)); in TEST() 75 EXPECT_EQ(0xFFFFULL, findFirstSet(Z16)); in TEST() 76 EXPECT_EQ(0xFFFFFFFFULL, findFirstSet(Z32)); in TEST() 77 EXPECT_EQ(0xFFFFFFFFFFFFFFFFULL, findFirstSet(Z64)); in TEST() 83 EXPECT_EQ(1u, findFirstSet(NZ8)); in TEST() 84 EXPECT_EQ(1u, findFirstSet(NZ16)); in TEST() 85 EXPECT_EQ(1u, findFirstSet(NZ32)); in TEST() 86 EXPECT_EQ(1u, findFirstSet(NZ64)); in TEST()
|
/external/llvm/include/llvm/Support/ |
D | MathExtras.h | 192 template <typename T> T findFirstSet(T Val, ZeroBehavior ZB = ZB_Max) {
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZInstrInfo.cpp | 1214 unsigned First = findFirstSet(Mask); in isStringOfOnes() 1218 Length = findFirstSet(Top); in isStringOfOnes()
|
D | SystemZISelLowering.cpp | 4099 & ((uint64_t(1) << findFirstSet(SplatBitsZ)) - 1)); in lowerBUILD_VECTOR()
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 2332 return findFirstSet(value, ZB_Max); in partLSB()
|
/external/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 2138 unsigned BitNum = findFirstSet(x); in isShiftedUIntAtAnyPosition() 2266 unsigned FirstSet = findFirstSet((uint64_t)ImmValue); in loadImmediate()
|