Searched refs:findFirstSet (Results 1 – 17 of 17) 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/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | MathExtrasTest.cpp | 94 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/ |
D | CodeGenDAGPatterns.h | 153 return Count + findFirstSet(W); in find_from_pos() 161 return Count + findFirstSet(W); in find_from_pos()
|
/external/llvm/include/llvm/Support/ |
D | MathExtras.h | 194 template <typename T> T findFirstSet(T Val, ZeroBehavior ZB = ZB_Max) {
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | MathExtras.h | 194 template <typename T> T findFirstSet(T Val, ZeroBehavior ZB = ZB_Max) {
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | MathExtras.h | 203 template <typename T> T findFirstSet(T Val, ZeroBehavior ZB = ZB_Max) {
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZInstrInfo.cpp | 1354 unsigned First = findFirstSet(Mask); in isStringOfOnes() 1358 Length = findFirstSet(Top); in isStringOfOnes()
|
D | SystemZISelLowering.cpp | 4270 & ((uint64_t(1) << findFirstSet(SplatBitsZ)) - 1)); in lowerBUILD_VECTOR()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZInstrInfo.cpp | 1667 unsigned First = findFirstSet(Mask); in isStringOfOnes() 1671 Length = findFirstSet(Top); in isStringOfOnes()
|
D | SystemZISelLowering.cpp | 4559 & ((uint64_t(1) << findFirstSet(SplatBitsZ)) - 1)); in lowerBUILD_VECTOR()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/AsmParser/ |
D | RISCVAsmParser.cpp | 1170 int ShiftAmount = 12 + findFirstSet((uint64_t)Hi52); in emitLoadImm()
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 2336 return findFirstSet(value, ZB_Max); in partLSB()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | APInt.cpp | 2310 return findFirstSet(value, ZB_Max); in partLSB()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | APInt.cpp | 2188 return findFirstSet(value, ZB_Max); in partLSB()
|
/external/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 2131 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/ |
D | MipsAsmParser.cpp | 2628 unsigned BitNum = findFirstSet(x); in isShiftedUIntAtAnyPosition() 2757 unsigned FirstSet = findFirstSet((uint64_t)ImmValue); in loadImmediate()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceTargetLoweringARM32.cpp | 5661 NewShamt = llvm::findFirstSet(UnsignedConst); in matchShiftedOffsetReg()
|