/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | ValueLatticeTest.cpp | 98 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_EQ, I1Ty, LV1)->isOneValue()); in TEST_F() 99 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SGE, I1Ty, LV1)->isOneValue()); in TEST_F() 100 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLE, I1Ty, LV1)->isOneValue()); in TEST_F() 108 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLT, I1Ty, LV2)->isOneValue()); in TEST_F() 109 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLE, I1Ty, LV2)->isOneValue()); in TEST_F() 110 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_NE, I1Ty, LV2)->isOneValue()); in TEST_F() 144 EXPECT_TRUE(LV1.getCompare(CmpInst::FCMP_OEQ, I1Ty, LV2)->isOneValue()); in TEST_F() 145 EXPECT_TRUE(LV1.getCompare(CmpInst::FCMP_OGE, I1Ty, LV2)->isOneValue()); in TEST_F() 146 EXPECT_TRUE(LV1.getCompare(CmpInst::FCMP_OLE, I1Ty, LV2)->isOneValue()); in TEST_F()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/ |
D | CoroInstr.h | 250 return cast<Constant>(getArgOperand(FromArg))->isOneValue(); in isFromPromise() 278 return cast<Constant>(getArgOperand(FinalArg))->isOneValue(); in isFinal() 309 return cast<Constant>(getArgOperand(UnwindArg))->isOneValue(); in isUnwind()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Constant.h | 57 bool isOneValue() const;
|
/external/llvm/include/llvm/IR/ |
D | Constant.h | 55 bool isOneValue() const;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Constant.h | 55 bool isOneValue() const;
|
D | Constants.h | 202 return Val.isOneValue(); in isOne()
|
D | PatternMatch.h | 348 bool isValue(const APInt &C) { return C.isOneValue(); } in isValue()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/ |
D | Local.cpp | 380 else if (CI.isOneValue()) in doesDebugValueDescribeX() 391 else if (CI.isOneValue()) in doesDebugValueDescribeY()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 368 return C1I.isOneValue() || C1I.isAllOnesValue() || in isSelect01() 369 C2I.isOneValue() || C2I.isAllOnesValue(); in isSelect01() 1309 if (Elt->isOneValue()) { in canonicalizeSelectToShuffle() 1981 if (Known.One.isOneValue()) in visitSelectInst() 1983 if (Known.Zero.isOneValue()) in visitSelectInst()
|
D | InstCombineCompares.cpp | 112 if (C.isOneValue()) { in isSignTest() 1424 if (C.isOneValue() && C.getBitWidth() > 1) { in foldICmpTruncConstant() 1734 if (C.isOneValue()) { in foldICmpOrConstant() 2137 if (C2->isNullValue() || C2->isOneValue() || in foldICmpDivConstant() 2303 if (Pred == ICmpInst::ICMP_SLT && C.isOneValue()) in foldICmpSubConstant() 3311 !C->isOneValue()) { in foldICmpBinOp() 4344 if (Op0KnownZeroInverted.isOneValue() && in foldICmpUsingKnownBits()
|
D | InstCombineSimplifyDemanded.cpp | 435 DemandedFromOps.isOneValue()) && in SimplifyDemandedUseBits() 504 if (DemandedMask.isOneValue()) { in SimplifyDemandedUseBits()
|
D | InstCombineAddSub.cpp | 976 if (C->isOneValue() && Op0->hasOneUse()) { in foldAddWithConstant() 1752 C->isNotMinSignedValue() && !C->isOneValue()) in visitSub()
|
/external/llvm/lib/Transforms/Scalar/ |
D | CorrelatedValuePropagation.cpp | 116 if (C->isOneValue()) { in processPHI()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Constants.cpp | 126 bool Constant::isOneValue() const { in isOneValue() function in Constant 133 return CFP->getValueAPF().bitcastToAPInt().isOneValue(); in isOneValue() 138 return Splat->isOneValue(); in isOneValue() 144 return CV->getElementAsAPFloat(0).bitcastToAPInt().isOneValue(); in isOneValue() 145 return CV->getElementAsAPInt(0).isOneValue(); in isOneValue()
|
D | ConstantRange.cpp | 271 if (V == 0 || V.isOneValue()) in makeGuaranteedNoWrapRegion()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | CorrelatedValuePropagation.cpp | 207 if (C->isOneValue()) { in processPHI()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | BranchProbabilityInfo.cpp | 560 (Result->isOneValue() && B == BI->getSuccessor(1)))) in computeUnlikelySuccessors()
|
D | ConstantFolding.cpp | 2051 } else if (MaskElt->isOneValue()) { in ConstantFoldVectorCall()
|
D | InstructionSimplify.cpp | 2919 CI2Val->isOneValue() || !CI->isZero()) { in simplifyICmpWithBinOp() 2926 if (CIVal->isSignMask() && CI2Val->isOneValue()) { in simplifyICmpWithBinOp()
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 127 bool Constant::isOneValue() const { in isOneValue() function in Constant 139 return Splat->isOneValue(); in isOneValue() 144 return Splat->isOneValue(); in isOneValue()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | APInt.h | 410 bool isOneValue() const { in isOneValue() function
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 1620 C->isNotMinSignedValue() && !C->isOneValue()) in visitSub()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 927 if (NewMask.isOneValue()) in SimplifyDemandedBits() 1743 return CVal.isOneValue(); in isConstTrueVal() 1969 if (N0.getOpcode() == ISD::SRL && (C1.isNullValue() || C1.isOneValue()) && in SimplifySetCC()
|
/external/clang/lib/CodeGen/ |
D | CGException.cpp | 1804 C->isOneValue()) { in EnterSEHTryStmt()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 1879 } else if (MaskElt->isOneValue()) { in ConstantFoldVectorCall()
|