Home
last modified time | relevance | path

Searched refs:isNegatedPowerOf2 (Results 1 – 21 of 21) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
HDTargetTransformInfo.cpp845 else if (CI->getValue().isNegatedPowerOf2()) in getOperandInfo()
869 else if (CI->getValue().isNegatedPowerOf2()) in getOperandInfo()
877 AllNegPow2 &= CI->getValue().isNegatedPowerOf2(); in getOperandInfo()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
HDStraightLineStrengthReduce.cpp601 if (IndexOffset.isNegatedPowerOf2()) { in emitBump()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
HDSystemZTargetTransformInfo.cpp467 CVal->getValue().isNegatedPowerOf2())) in getArithmeticInstrCost()
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/
HDAPInt.h429 bool isNegatedPowerOf2() const { in isNegatedPowerOf2() function
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
HDPatternMatch.h623 bool isValue(const APInt &C) { return C.isNegatedPowerOf2(); } in isValue()
635 bool isValue(const APInt &C) { return !C || C.isNegatedPowerOf2(); } in isValue()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
HDInstCombineShifts.cpp618 MulConst->isNegatedPowerOf2() && MulConst->countr_zero() == NumBits; in canEvaluateShifted()
HDInstCombineCompares.cpp1781 if (NewC2.isNegatedPowerOf2()) { in foldICmpAndConstConst()
1920 if (Cmp.getOperand(1) == Y && C.isNegatedPowerOf2()) { in foldICmpAndConstant()
5638 (*C0 ^ *C1).isNegatedPowerOf2(); in foldICmpEquality()
5842 if (Pred == ICmpInst::ICMP_ULT && C->isNegatedPowerOf2()) { in foldICmpWithTrunc()
HDInstCombineAddSub.cpp2345 (InnerSub->hasNoUnsignedWrap() || C2->isNegatedPowerOf2())) { in visitSub()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
HDRISCVTargetTransformInfo.cpp231 if (Imm.isPowerOf2() || Imm.isNegatedPowerOf2()) in getIntImmCostInst()
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
HDTargetTransformInfo.h1111 bool isNegatedPowerOf2() const { in isNegatedPowerOf2() function
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
HDARMTargetTransformInfo.cpp354 C->getValue() == Imm && Imm.isNegative() && Imm.isNegatedPowerOf2()) { in isSSATMinMaxPattern()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
HDX86TargetTransformInfo.cpp329 (Op2Info.isPowerOf2() || Op2Info.isNegatedPowerOf2())) { in getArithmeticInstrCost()
333 if (Op2Info.isNegatedPowerOf2()) in getArithmeticInstrCost()
HDX86ISelLowering.cpp22947 assert((Divisor.isPowerOf2() || Divisor.isNegatedPowerOf2()) && in BuildSDIVPow2()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
HDAArch64FastISel.cpp4898 !(C.isPowerOf2() || C.isNegatedPowerOf2())) in selectSDiv()
HDAArch64TargetTransformInfo.cpp1906 if (Divisor.isNegatedPowerOf2()) { in instCombineSVESDIV()
HDAArch64ISelLowering.cpp17954 !(Divisor.isPowerOf2() || Divisor.isNegatedPowerOf2())) in BuildSDIVPow2()
17983 !(Divisor.isPowerOf2() || Divisor.isNegatedPowerOf2())) in BuildSREMPow2()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
HDTargetLowering.cpp2887 if (UnmaskedC.isNegatedPowerOf2()) in SimplifyDemandedBits()
5148 if (AndRHSC.isNegatedPowerOf2() && (AndRHSC & C1) == C1) { in SimplifySetCC()
HDDAGCombiner.cpp4380 if (N1IsConst && !N1IsOpaqueConst && ConstValue1.isNegatedPowerOf2()) { in visitMUL()
4776 if (C->getAPIntValue().isNegatedPowerOf2()) in isDivisorPowerOfTwo()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
HDCombinerHelper.cpp5488 (IsSigned && CI->getValue().isNegatedPowerOf2())); in matchDivByPow2()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
HDPPCISelLowering.cpp16580 !(Divisor.isPowerOf2() || Divisor.isNegatedPowerOf2())) in BuildSDIVPow2()
16586 bool IsNegPow2 = Divisor.isNegatedPowerOf2(); in BuildSDIVPow2()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
HDSLPVectorizer.cpp7707 return CI->getValue().isNegatedPowerOf2(); in getOperandInfo()