Home
last modified time | relevance | path

Searched refs:findLastSet (Results 1 – 19 of 19) sorted by relevance

/external/llvm/unittests/Support/
DMathExtrasTest.cpp89 TEST(MathExtras, findLastSet) { in TEST() argument
94 EXPECT_EQ(0xFFULL, findLastSet(Z8)); in TEST()
95 EXPECT_EQ(0xFFFFULL, findLastSet(Z16)); in TEST()
96 EXPECT_EQ(0xFFFFFFFFULL, findLastSet(Z32)); in TEST()
97 EXPECT_EQ(0xFFFFFFFFFFFFFFFFULL, findLastSet(Z64)); in TEST()
103 EXPECT_EQ(5u, findLastSet(NZ8)); in TEST()
104 EXPECT_EQ(5u, findLastSet(NZ16)); in TEST()
105 EXPECT_EQ(5u, findLastSet(NZ32)); in TEST()
106 EXPECT_EQ(5u, findLastSet(NZ64)); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DMathExtrasTest.cpp114 TEST(MathExtras, findLastSet) { in TEST() argument
119 EXPECT_EQ(0xFFULL, findLastSet(Z8)); in TEST()
120 EXPECT_EQ(0xFFFFULL, findLastSet(Z16)); in TEST()
121 EXPECT_EQ(0xFFFFFFFFULL, findLastSet(Z32)); in TEST()
122 EXPECT_EQ(0xFFFFFFFFFFFFFFFFULL, findLastSet(Z64)); in TEST()
128 EXPECT_EQ(5u, findLastSet(NZ8)); in TEST()
129 EXPECT_EQ(5u, findLastSet(NZ16)); in TEST()
130 EXPECT_EQ(5u, findLastSet(NZ32)); in TEST()
131 EXPECT_EQ(5u, findLastSet(NZ64)); in TEST()
/external/clang/lib/CodeGen/
DSwiftCallingConv.cpp606 size = 1ULL << (llvm::findLastSet(size, llvm::ZB_Undefined) + 1); in getNaturalAlignment()
676 unsigned logCandidateNumElts = llvm::findLastSet(numElts, llvm::ZB_Undefined); in legalizeVectorType()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZSelectionDAGInfo.cpp98 unsigned Size1 = Bytes == 16 ? 8 : 1 << findLastSet(Bytes); in EmitTargetCodeForMemset()
DSystemZISelLowering.cpp4561 & ~((uint64_t(1) << findLastSet(SplatBitsZ)) - 1)); in lowerBUILD_VECTOR()
/external/llvm/lib/Target/SystemZ/
DSystemZSelectionDAGInfo.cpp99 unsigned Size1 = Bytes == 16 ? 8 : 1 << findLastSet(Bytes); in EmitTargetCodeForMemset()
DSystemZISelLowering.cpp4272 & ~((uint64_t(1) << findLastSet(SplatBitsZ)) - 1)); in lowerBUILD_VECTOR()
/external/llvm/include/llvm/Support/
DMathExtras.h208 template <typename T> T findLastSet(T Val, ZeroBehavior ZB = ZB_Max) {
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMathExtras.h208 template <typename T> T findLastSet(T Val, ZeroBehavior ZB = ZB_Max) {
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DMathExtras.h244 template <typename T> T findLastSet(T Val, ZeroBehavior ZB = ZB_Max) {
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringX86BaseImpl.h8127 uint32_t TyIndex = llvm::findLastSet(Size, llvm::ZB_Undefined);
8130 : llvm::findLastSet(MaxSize, llvm::ZB_Undefined);
8138 uint32_t TyIndex = llvm::findLastSet(Size, llvm::ZB_Undefined);
8143 : llvm::findLastSet(MaxSize, llvm::ZB_Undefined);
DIceTargetLoweringARM32.cpp3047 const uint32_t SrcLastBitSet = llvm::findLastSet(Src); in tryToOptimize()
3058 const uint32_t NegSrcLastBitSet = llvm::findLastSet(NegSrc); in tryToOptimize()
5662 if (NewShamt != llvm::findLastSet(UnsignedConst)) { in matchShiftedOffsetReg()
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp664 unsigned LS = findLastSet(RImm); in getInt64Count()
780 unsigned LS = findLastSet(RImm); in getInt64()
/external/llvm/lib/Support/
DAPInt.cpp2328 return findLastSet(value, ZB_Max); in partMSB()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp2302 return findLastSet(value, ZB_Max); in partMSB()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DAPInt.cpp2182 return findLastSet(value, ZB_Max); in partMSB()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp844 unsigned LS = findLastSet(RImm); in selectI64ImmInstrCount()
974 unsigned LS = findLastSet(RImm); in selectI64Imm()
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp2262 unsigned LastSet = findLastSet((uint64_t)ImmValue); in loadImmediate()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp2758 unsigned LastSet = findLastSet((uint64_t)ImmValue); in loadImmediate()