Home
last modified time | relevance | path

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

1234567

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DKnownBits.h74 return Zero.isAllOnesValue(); in isZero()
80 return One.isAllOnesValue(); in isAllOnes()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DBDCE.cpp50 !DB.getDemandedBits(J).isAllOnesValue()) in clearAssumptionsOfUsers()
82 !DB.getDemandedBits(K).isAllOnesValue()) in clearAssumptionsOfUsers()
DLoopPredication.cpp423 return Step->isOne() || (Step->isAllOnesValue() && EnableCountDownLoop); in isSupportedStep()
566 assert(Step->isAllOnesValue() && "Step should be -1!"); in widenICmpRangeCheck()
680 assert(Step->isAllOnesValue() && "Step should be -1!"); in parseLoopLatchICmp()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCmpInstAnalysis.cpp88 if (!C->isAllOnesValue()) in decomposeBitTestICmp()
95 if (!C->isAllOnesValue()) in decomposeBitTestICmp()
DMustExecute.cpp99 return SimpleCst->isAllOnesValue(); in CanProveNotTakenFirstIteration()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineSelect.cpp199 return C1I->isOne() || C1I->isAllOnesValue() || in isSelect01()
200 C2I->isOne() || C2I->isAllOnesValue(); in isSelect01()
456 if (Pred == ICmpInst::ICMP_SGT && Cmp->isAllOnesValue()) { in visitSelectInstWithICmp()
468 if (C2->isAllOnesValue()) in visitSelectInstWithICmp()
692 if (FalseValC->isZero() && TrueValC->isAllOnesValue()) in visitSelectInst()
702 if (TrueValC->isZero() && FalseValC->isAllOnesValue()) { in visitSelectInst()
/external/swiftshader/third_party/LLVM/include/llvm/
DConstant.h57 bool isAllOnesValue() const;
DConstants.h174 return Val.isAllOnesValue(); in isMinusOne()
483 bool isAllOnesValue() const;
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DConstant.h61 bool isAllOnesValue() const;
/external/llvm/include/llvm/IR/
DConstant.h59 bool isAllOnesValue() const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstant.h59 bool isAllOnesValue() const;
/external/llvm/lib/Analysis/
DLint.cpp386 !cast<ConstantInt>(UnderlyingObject)->isAllOnesValue(), in visitMemoryReference()
519 return KnownZero.isAllOnesValue(); in isZero()
540 if (KnownZero.isAllOnesValue()) in isZero()
/external/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp256 else if (RHS.isAllOnesValue()) in MakeSymIntVal()
263 else if (RHS.isAllOnesValue()) { in MakeSymIntVal()
413 if (LHSValue.isAllOnesValue() && LHSValue.isSigned()) in evalBinOpNN()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp223 return C1I->isOne() || C1I->isAllOnesValue() || in isSelect01()
224 C2I->isOne() || C2I->isAllOnesValue(); in isSelect01()
520 if (Pred == ICmpInst::ICMP_SGT && Cmp->isAllOnesValue()) { in visitSelectInstWithICmp()
532 if (C2->isAllOnesValue()) in visitSelectInstWithICmp()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DScalarizeMaskedMemIntrin.cpp138 isa<Constant>(Mask) && cast<Constant>(Mask)->isAllOnesValue(); in scalarizeMaskedLoad()
281 isa<Constant>(Mask) && cast<Constant>(Mask)->isAllOnesValue(); in scalarizeMaskedStore()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DPatternMatch.h186 bool isValue(const APInt &C) { return C.isAllOnesValue(); } in isValue()
599 return CI->isAllOnesValue() && L.match(LHS); in matchIfNot()
601 return CV->isAllOnesValue() && L.match(LHS); in matchIfNot()
/external/llvm/lib/IR/
DConstantFold.cpp46 if (CV->isAllOnesValue()) return Constant::getAllOnesValue(DstTy); in BitCastConstantVector()
245 if (RHSC->isAllOnesValue()) in ExtractConstantBytes()
729 if (Cond->isAllOnesValue()) return V1; in ConstantFoldSelectInstruction()
1048 if (CI2->isAllOnesValue()) in ConstantFoldBinaryInstruction()
1086 if (CI2->isAllOnesValue()) in ConstantFoldBinaryInstruction()
1137 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) in ConstantFoldBinaryInstruction()
1145 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) in ConstantFoldBinaryInstruction()
DAutoUpgrade.cpp515 if (C->isAllOnesValue()) in EmitX86Select()
572 if (C->isAllOnesValue()) in UpgradeMaskedStore()
592 if (C->isAllOnesValue()) in UpgradeMaskedLoad()
617 if (!C || !C->isAllOnesValue()) in upgradeMaskedCompare()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DReassociate.cpp914 if (CstVal->isAllOnesValue()) // X & -1 -> X in OptimizeExpression()
927 if (CstVal->isAllOnesValue()) // X | -1 -> -1 in OptimizeExpression()
1072 cast<ConstantInt>(Ops.back().Op)->isAllOnesValue()) { in ReassociateExpression()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantFold.cpp47 if (CV->isAllOnesValue()) return Constant::getAllOnesValue(DstTy); in BitCastConstantVector()
227 if (RHSC->isAllOnesValue()) in ExtractConstantBytes()
701 if (CondV->isAllOnesValue()) return V1; in ConstantFoldSelectInstruction()
1101 if (CI2->isAllOnesValue()) in ConstantFoldBinaryInstruction()
1139 if (CI2->isAllOnesValue()) in ConstantFoldBinaryInstruction()
1192 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) in ConstantFoldBinaryInstruction()
1200 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) in ConstantFoldBinaryInstruction()
DConstants.cpp65 bool Constant::isAllOnesValue() const { in isAllOnesValue() function in Constant
72 return CFP->getValueAPF().bitcastToAPInt().isAllOnesValue(); in isAllOnesValue()
76 return CV->isAllOnesValue(); in isAllOnesValue()
1078 bool ConstantVector::isAllOnesValue() const { in isAllOnesValue() function in ConstantVector
1090 return (CI && CI->isAllOnesValue()) || in isAllOnesValue()
1091 (CF && CF->isAllOnesValue()); in isAllOnesValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ShuffleDecodeConstantPool.cpp102 if (EltUndef.isAllOnesValue()) { in extractConstantMask()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DLint.cpp379 !cast<ConstantInt>(UnderlyingObject)->isAllOnesValue(), in visitMemoryReference()
477 return KnownZero.isAllOnesValue(); in isZero()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp84 return RHS.isAllOnesValue(); in isSignBitCheck()
87 return RHS.isAllOnesValue(); in isSignBitCheck()
117 } else if (C.isAllOnesValue()) { in isSignTest()
1149 if (AP2.isAllOnesValue()) in foldICmpShrConstConst()
1175 if (AP1.isAllOnesValue() && !AP2.isPowerOf2()) in foldICmpShrConstConst()
1839 if (C.isAllOnesValue()) { in foldICmpShlOne()
2138 (DivIsSigned && C2->isAllOnesValue())) in foldICmpDivConstant()
2291 if (Pred == ICmpInst::ICMP_SGT && C.isAllOnesValue()) in foldICmpSubConstant()
2431 ->isAllOnesValue(); in foldICmpSelectConstant()
2434 ->isAllOnesValue(); in foldICmpSelectConstant()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/
DLanaiISelDAGToDAG.cpp298 if (ConstNode->isAllOnesValue()) { in Select()

1234567