/external/llvm/unittests/Support/ |
D | MathExtrasTest.cpp | 89 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/ |
D | MathExtrasTest.cpp | 114 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/ |
D | SwiftCallingConv.cpp | 606 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/ |
D | SystemZSelectionDAGInfo.cpp | 98 unsigned Size1 = Bytes == 16 ? 8 : 1 << findLastSet(Bytes); in EmitTargetCodeForMemset()
|
D | SystemZISelLowering.cpp | 4561 & ~((uint64_t(1) << findLastSet(SplatBitsZ)) - 1)); in lowerBUILD_VECTOR()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZSelectionDAGInfo.cpp | 99 unsigned Size1 = Bytes == 16 ? 8 : 1 << findLastSet(Bytes); in EmitTargetCodeForMemset()
|
D | SystemZISelLowering.cpp | 4272 & ~((uint64_t(1) << findLastSet(SplatBitsZ)) - 1)); in lowerBUILD_VECTOR()
|
/external/llvm/include/llvm/Support/ |
D | MathExtras.h | 208 template <typename T> T findLastSet(T Val, ZeroBehavior ZB = ZB_Max) {
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | MathExtras.h | 208 template <typename T> T findLastSet(T Val, ZeroBehavior ZB = ZB_Max) {
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | MathExtras.h | 244 template <typename T> T findLastSet(T Val, ZeroBehavior ZB = ZB_Max) {
|
/external/swiftshader/third_party/subzero/src/ |
D | IceTargetLoweringX86BaseImpl.h | 8127 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);
|
D | IceTargetLoweringARM32.cpp | 3047 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/ |
D | PPCISelDAGToDAG.cpp | 664 unsigned LS = findLastSet(RImm); in getInt64Count() 780 unsigned LS = findLastSet(RImm); in getInt64()
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 2328 return findLastSet(value, ZB_Max); in partMSB()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | APInt.cpp | 2302 return findLastSet(value, ZB_Max); in partMSB()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | APInt.cpp | 2182 return findLastSet(value, ZB_Max); in partMSB()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCISelDAGToDAG.cpp | 844 unsigned LS = findLastSet(RImm); in selectI64ImmInstrCount() 974 unsigned LS = findLastSet(RImm); in selectI64Imm()
|
/external/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 2262 unsigned LastSet = findLastSet((uint64_t)ImmValue); in loadImmediate()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 2758 unsigned LastSet = findLastSet((uint64_t)ImmValue); in loadImmediate()
|