Home
last modified time | relevance | path

Searched refs:findFirstSet (Results 1 – 9 of 9) 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.h194 template <typename T> T findFirstSet(T Val, ZeroBehavior ZB = ZB_Max) {
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMathExtras.h194 template <typename T> T findFirstSet(T Val, ZeroBehavior ZB = ZB_Max) {
/external/llvm/lib/Target/SystemZ/
DSystemZInstrInfo.cpp1354 unsigned First = findFirstSet(Mask); in isStringOfOnes()
1358 Length = findFirstSet(Top); in isStringOfOnes()
DSystemZISelLowering.cpp4270 & ((uint64_t(1) << findFirstSet(SplatBitsZ)) - 1)); in lowerBUILD_VECTOR()
/external/llvm/lib/Support/
DAPInt.cpp2336 return findFirstSet(value, ZB_Max); in partLSB()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp2310 return findFirstSet(value, ZB_Max); in partLSB()
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp2131 unsigned BitNum = findFirstSet(x); in isShiftedUIntAtAnyPosition()
2261 unsigned FirstSet = findFirstSet((uint64_t)ImmValue); in loadImmediate()
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringARM32.cpp5661 NewShamt = llvm::findFirstSet(UnsignedConst); in matchShiftedOffsetReg()