Home
last modified time | relevance | path

Searched refs:findFirstSet (Results 1 – 6 of 6) sorted by relevance

/external/llvm/unittests/Support/
DMathExtrasTest.cpp69 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/
DMathExtras.h192 template <typename T> T findFirstSet(T Val, ZeroBehavior ZB = ZB_Max) {
/external/llvm/lib/Target/SystemZ/
DSystemZInstrInfo.cpp1214 unsigned First = findFirstSet(Mask); in isStringOfOnes()
1218 Length = findFirstSet(Top); in isStringOfOnes()
DSystemZISelLowering.cpp4099 & ((uint64_t(1) << findFirstSet(SplatBitsZ)) - 1)); in lowerBUILD_VECTOR()
/external/llvm/lib/Support/
DAPInt.cpp2332 return findFirstSet(value, ZB_Max); in partLSB()
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp2138 unsigned BitNum = findFirstSet(x); in isShiftedUIntAtAnyPosition()
2266 unsigned FirstSet = findFirstSet((uint64_t)ImmValue); in loadImmediate()