Home
last modified time | relevance | path

Searched refs:isAllOnesValue (Results 1 – 25 of 62) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DBDCE.cpp52 !DB.getDemandedBits(J).isAllOnesValue()) { in clearAssumptionsOfUsers()
83 !DB.getDemandedBits(K).isAllOnesValue()) in clearAssumptionsOfUsers()
DLoopPredication.cpp501 return Step->isOne() || (Step->isAllOnesValue() && EnableCountDownLoop); in isSupportedStep()
731 assert(Step->isAllOnesValue() && "Step should be -1!"); in widenICmpRangeCheck()
895 assert(Step->isAllOnesValue() && "Step should be -1!"); in parseLoopLatchICmp()
DStraightLineStrengthReduce.cpp599 if (IndexOffset.isAllOnesValue()) in emitBump()
DReassociate.cpp1187 if (ConstOpnd.isAllOnesValue()) in createAndInstr()
1266 if (!C3.isNullValue() && !C3.isAllOnesValue()) { in CombineXorOpnd()
1282 if (!C3.isNullValue() && !C3.isAllOnesValue()) { in CombineXorOpnd()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DKnownBits.h73 return Zero.isAllOnesValue(); in isZero()
79 return One.isAllOnesValue(); in isAllOnes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCmpInstAnalysis.cpp87 if (!C->isAllOnesValue()) in decomposeBitTestICmp()
94 if (!C->isAllOnesValue()) in decomposeBitTestICmp()
DVectorUtils.cpp774 if (ConstMask->isAllOnesValue() || isa<UndefValue>(ConstMask)) in maskIsAllOneOrUndef()
779 if (MaskElt->isAllOnesValue() || isa<UndefValue>(MaskElt)) in maskIsAllOneOrUndef()
DMustExecute.cpp153 return SimpleCst->isAllOnesValue(); in CanProveNotTakenFirstIteration()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DConstant.h61 bool isAllOnesValue() const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstant.h62 bool isAllOnesValue() const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAtomicRMW.cpp81 return C->isAllOnesValue(); in isSaturating()
DInstCombineInternal.h127 return RHS.isAllOnesValue(); in isSignBitCheck()
130 return RHS.isAllOnesValue(); in isSignBitCheck()
DInstCombineSimplifyDemanded.cpp1143 if (DemandedElts.isAllOnesValue()) in SimplifyDemandedVectorElts()
1533 else if (CElt->isAllOnesValue()) in SimplifyDemandedVectorElts()
1786 if (UndefElts.isAllOnesValue()) in SimplifyDemandedVectorElts()
DInstCombineCompares.cpp88 } else if (C.isAllOnesValue()) { in isSignTest()
1169 if (AP2.isAllOnesValue()) in foldICmpShrConstConst()
1195 if (AP1.isAllOnesValue() && !AP2.isPowerOf2()) in foldICmpShrConstConst()
1996 if (C.isAllOnesValue()) { in foldICmpShlOne()
2354 (DivIsSigned && C2->isAllOnesValue())) in foldICmpDivConstant()
2522 if (Pred == ICmpInst::ICMP_SGT && C.isAllOnesValue()) in foldICmpSubConstant()
2693 ->isAllOnesValue(); in foldICmpSelectConstant()
2696 ->isAllOnesValue(); in foldICmpSelectConstant()
2699 ->isAllOnesValue(); in foldICmpSelectConstant()
2979 if (match(BOp1, m_APInt(BOC)) && BO->hasOneUse() && RHS->isAllOnesValue()) { in foldICmpBinOpEqualityWithConstant()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ShuffleDecodeConstantPool.cpp101 if (EltUndef.isAllOnesValue()) { in extractConstantMask()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DPoisonChecking.cpp241 if (CI->isAllOnesValue()) in CreateAssert()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DScalarizeMaskedMemIntrin.cpp146 if (isa<Constant>(Mask) && cast<Constant>(Mask)->isAllOnesValue()) { in scalarizeMaskedLoad()
283 if (isa<Constant>(Mask) && cast<Constant>(Mask)->isAllOnesValue()) { in scalarizeMaskedStore()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiISelDAGToDAG.cpp297 if (ConstNode->isAllOnesValue()) { in Select()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h342 bool isAllOnesValue() const { in isAllOnesValue() function
352 bool isMaxValue() const { return isAllOnesValue(); } in isMaxValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1097 if (!DemandedBits.isAllOnesValue() || !DemandedElts.isAllOnesValue()) { in SimplifyDemandedBits()
1146 if (!DemandedBits.isAllOnesValue() || !DemandedElts.isAllOnesValue()) { in SimplifyDemandedBits()
1192 if (!DemandedBits.isAllOnesValue() || !DemandedElts.isAllOnesValue()) { in SimplifyDemandedBits()
1241 if (!C->isAllOnesValue()) { in SimplifyDemandedBits()
1877 if (!DemandedSrcBits.isAllOnesValue() || in SimplifyDemandedBits()
1878 !DemandedSrcElts.isAllOnesValue()) { in SimplifyDemandedBits()
2012 if (!LoMask.isAllOnesValue() || !DemandedElts.isAllOnesValue()) { in SimplifyDemandedBits()
2035 if (C && !C->isAllOnesValue() && !C->isOne() && in SimplifyDemandedBits()
2036 (C->getAPIntValue() | HighMask).isAllOnesValue()) { in SimplifyDemandedBits()
2270 if (SrcZero.extractBits(Scale, i * Scale).isAllOnesValue()) in SimplifyDemandedVectorElts()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp207 if (V.isAllOnesValue()) in makeExactMulNSWRegion()
1082 if (!NegR.Lower.isAllOnesValue()) { in sdiv()
1084 if (RHS.Lower.isAllOnesValue()) in sdiv()
DConstantFold.cpp47 if (CV->isAllOnesValue()) return Constant::getAllOnesValue(DstTy); in BitCastConstantVector()
737 if (Cond->isAllOnesValue()) return V1; in ConstantFoldSelectInstruction()
1262 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) in ConstantFoldBinaryInstruction()
1270 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) in ConstantFoldBinaryInstruction()
DConstants.cpp101 bool Constant::isAllOnesValue() const { in isAllOnesValue() function in Constant
108 return CFP->getValueAPF().bitcastToAPInt().isAllOnesValue(); in isAllOnesValue()
113 return Splat->isAllOnesValue(); in isAllOnesValue()
119 return CV->getElementAsAPFloat(0).bitcastToAPInt().isAllOnesValue(); in isAllOnesValue()
120 return CV->getElementAsAPInt(0).isAllOnesValue(); in isAllOnesValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h400 bool isAllOnesValue() const { in isAllOnesValue() function
425 bool isMaxValue() const { return isAllOnesValue(); } in isMaxValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DRegisterBankInfo.cpp574 assert(ValueMask.isAllOnesValue() && "Value is not fully mapped"); in verify()

123