Searched refs:isPowerOf2 (Results 26 - 48 of 48) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp3006 CI2Val->isPowerOf2()) {
3007 if (!CIVal->isPowerOf2()) {
3933 if (Y->isPowerOf2()) {
H A DValueTracking.cpp1393 if (RA.isPowerOf2()) {
1427 if (RA.isPowerOf2()) {
2093 if ((~(LHSBits.Zero & RHSBits.Zero)).isPowerOf2())
H A DScalarEvolution.cpp1668 if (MulLHS->getAPInt().isPowerOf2())
2930 if (RHSC->getAPInt().isPowerOf2()) {
2975 if (!RHSC->getAPInt().isPowerOf2())
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp257 if (!AlignValue.isPowerOf2()) {
4318 if (!I.isPowerOf2())
6024 if (!Result.isPowerOf2())
6059 if (!Result.isPowerOf2())
H A DSemaDeclAttr.cpp1621 if (!I.isPowerOf2()) {
3716 if (!Alignment.isPowerOf2()) {
4048 VectorSize.isPowerOf2()) {
H A DSemaDecl.cpp17880 if (EVal.isPowerOf2())
18121 if (InitVal != 0 && !InitVal.isPowerOf2() &&
H A DSemaOpenMP.cpp12698 if (CKind == OMPC_aligned && !Result.isPowerOf2()) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp568 if (Mask.isPowerOf2() && (C->getValue() & ~Mask) == C->getValue()) {
591 if (Mask.isPowerOf2() && (C->getValue() | Mask) == C->getValue()) {
H A DSimplifyLibCalls.cpp1547 NI > 1 && NI.isPowerOf2()) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp760 if (Val.isPowerOf2()) {
804 if (C.isPowerOf2())
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp3247 if (RA.isPowerOf2()) {
3271 if (RA.isPowerOf2()) {
3517 return Const->getAPIntValue().zextOrTrunc(BitWidth).isPowerOf2();
3539 return C->getAPIntValue().zextOrTrunc(BitWidth).isPowerOf2();
7316 cast<ConstantSDNode>(N->getScale())->getAPIntValue().isPowerOf2() &&
7354 cast<ConstantSDNode>(N->getScale())->getAPIntValue().isPowerOf2() &&
H A DSelectionDAGBuilder.cpp3858 if (ElementMul.isPowerOf2()) {
10150 if (CommonBit.isPowerOf2()) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp10463 !(Divisor.isPowerOf2() || (-Divisor).isPowerOf2()))
10571 if (SCVMinus1.isPowerOf2()) {
10574 } else if (CVPlus1.isPowerOf2()) {
10584 if (CVNegPlus1.isPowerOf2()) {
10588 } else if (CVNegMinus1.isPowerOf2()) {
14812 return Mask->getValue().isPowerOf2();
H A DAArch64ISelDAGToDAG.cpp2868 // N.b. isPowerOf2 also checks for > 0.
2869 if (!IsExact || !IntVal.isPowerOf2()) return false;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp542 } else if (isNegative && tmp.isPowerOf2()) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp15542 !(Divisor.isPowerOf2() || (-Divisor).isPowerOf2()))
15548 bool IsNegPow2 = (-Divisor).isPowerOf2();
16937 if ((MulAmtAbs - 1).isPowerOf2()) {
16954 } else if ((MulAmtAbs + 1).isPowerOf2()) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp4174 if (!AlignmentCI->getValue().isPowerOf2())
H A DCGStmtOpenMP.cpp2009 assert((Alignment == 0 || Alignment.isPowerOf2()) &&
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp5186 return (MulC + 1).isPowerOf2() || (MulC - 1).isPowerOf2() ||
5187 (1 - MulC).isPowerOf2() || (-(MulC + 1)).isPowerOf2();
21898 assert((Divisor.isPowerOf2() || (-Divisor).isPowerOf2()) &&
22429 if (llvm::all_of(EltBits, [](APInt &V) { return V.isPowerOf2(); })) {
22441 if (C1 && C1->getAPIntValue().isPowerOf2()) {
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp3508 !CInt->getValue().isPowerOf2())
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp8508 if (Alignment < 0 || !Alignment.isPowerOf2()) {
11118 assert(Alignment.isPowerOf2());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp5030 if (C.isPowerOf2()) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp15412 return CV->isPowerOf2() ? CV : nullptr;

Completed in 833 milliseconds

12