Home
last modified time | relevance | path

Searched refs:findFirstSet (Results 1 – 17 of 17) 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/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DMathExtrasTest.cpp94 TEST(MathExtras, findFirstSet) { in TEST() argument
99 EXPECT_EQ(0xFFULL, findFirstSet(Z8)); in TEST()
100 EXPECT_EQ(0xFFFFULL, findFirstSet(Z16)); in TEST()
101 EXPECT_EQ(0xFFFFFFFFULL, findFirstSet(Z32)); in TEST()
102 EXPECT_EQ(0xFFFFFFFFFFFFFFFFULL, findFirstSet(Z64)); in TEST()
108 EXPECT_EQ(1u, findFirstSet(NZ8)); in TEST()
109 EXPECT_EQ(1u, findFirstSet(NZ16)); in TEST()
110 EXPECT_EQ(1u, findFirstSet(NZ32)); in TEST()
111 EXPECT_EQ(1u, findFirstSet(NZ64)); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenDAGPatterns.h153 return Count + findFirstSet(W); in find_from_pos()
161 return Count + findFirstSet(W); in find_from_pos()
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DMathExtras.h203 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZInstrInfo.cpp1667 unsigned First = findFirstSet(Mask); in isStringOfOnes()
1671 Length = findFirstSet(Top); in isStringOfOnes()
DSystemZISelLowering.cpp4559 & ((uint64_t(1) << findFirstSet(SplatBitsZ)) - 1)); in lowerBUILD_VECTOR()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/AsmParser/
DRISCVAsmParser.cpp1170 int ShiftAmount = 12 + findFirstSet((uint64_t)Hi52); in emitLoadImm()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DAPInt.cpp2188 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/llvm-7.0/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp2628 unsigned BitNum = findFirstSet(x); in isShiftedUIntAtAnyPosition()
2757 unsigned FirstSet = findFirstSet((uint64_t)ImmValue); in loadImmediate()
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringARM32.cpp5661 NewShamt = llvm::findFirstSet(UnsignedConst); in matchShiftedOffsetReg()