/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | KnownBits.h | 74 return Zero.isAllOnesValue(); in isZero() 80 return One.isAllOnesValue(); in isAllOnes()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | BDCE.cpp | 50 !DB.getDemandedBits(J).isAllOnesValue()) in clearAssumptionsOfUsers() 82 !DB.getDemandedBits(K).isAllOnesValue()) in clearAssumptionsOfUsers()
|
D | LoopPredication.cpp | 423 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/ |
D | CmpInstAnalysis.cpp | 88 if (!C->isAllOnesValue()) in decomposeBitTestICmp() 95 if (!C->isAllOnesValue()) in decomposeBitTestICmp()
|
D | MustExecute.cpp | 99 return SimpleCst->isAllOnesValue(); in CanProveNotTakenFirstIteration()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 199 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/ |
D | Constant.h | 57 bool isAllOnesValue() const;
|
D | Constants.h | 174 return Val.isAllOnesValue(); in isMinusOne() 483 bool isAllOnesValue() const;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Constant.h | 59 bool isAllOnesValue() const;
|
/external/llvm/include/llvm/IR/ |
D | Constant.h | 59 bool isAllOnesValue() const;
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Constant.h | 61 bool isAllOnesValue() const;
|
/external/llvm/lib/Analysis/ |
D | Lint.cpp | 386 !cast<ConstantInt>(UnderlyingObject)->isAllOnesValue(), in visitMemoryReference() 519 return KnownZero.isAllOnesValue(); in isZero() 540 if (KnownZero.isAllOnesValue()) in isZero()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SimpleSValBuilder.cpp | 256 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/ |
D | InstCombineSelect.cpp | 223 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/ |
D | ScalarizeMaskedMemIntrin.cpp | 138 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/ |
D | PatternMatch.h | 186 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/ |
D | ConstantFold.cpp | 46 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()
|
D | AutoUpgrade.cpp | 515 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/ |
D | Reassociate.cpp | 914 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/ |
D | ConstantFold.cpp | 47 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()
|
D | Constants.cpp | 65 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/ |
D | X86ShuffleDecodeConstantPool.cpp | 102 if (EltUndef.isAllOnesValue()) { in extractConstantMask()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | Lint.cpp | 379 !cast<ConstantInt>(UnderlyingObject)->isAllOnesValue(), in visitMemoryReference() 477 return KnownZero.isAllOnesValue(); in isZero()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 84 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/ |
D | LanaiISelDAGToDAG.cpp | 298 if (ConstNode->isAllOnesValue()) { in Select()
|