Home
last modified time | relevance | path

Searched refs:isOneValue (Results 1 – 25 of 28) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DValueLatticeTest.cpp98 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/
DCoroInstr.h250 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/
DConstant.h57 bool isOneValue() const;
/external/llvm/include/llvm/IR/
DConstant.h55 bool isOneValue() const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstant.h55 bool isOneValue() const;
DConstants.h202 return Val.isOneValue(); in isOne()
DPatternMatch.h348 bool isValue(const APInt &C) { return C.isOneValue(); } in isValue()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DLocal.cpp380 else if (CI.isOneValue()) in doesDebugValueDescribeX()
391 else if (CI.isOneValue()) in doesDebugValueDescribeY()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp368 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()
DInstCombineCompares.cpp112 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()
DInstCombineSimplifyDemanded.cpp435 DemandedFromOps.isOneValue()) && in SimplifyDemandedUseBits()
504 if (DemandedMask.isOneValue()) { in SimplifyDemandedUseBits()
DInstCombineAddSub.cpp976 if (C->isOneValue() && Op0->hasOneUse()) { in foldAddWithConstant()
1752 C->isNotMinSignedValue() && !C->isOneValue()) in visitSub()
/external/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp116 if (C->isOneValue()) { in processPHI()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstants.cpp126 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()
DConstantRange.cpp271 if (V == 0 || V.isOneValue()) in makeGuaranteedNoWrapRegion()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp207 if (C->isOneValue()) { in processPHI()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp560 (Result->isOneValue() && B == BI->getSuccessor(1)))) in computeUnlikelySuccessors()
DConstantFolding.cpp2051 } else if (MaskElt->isOneValue()) { in ConstantFoldVectorCall()
DInstructionSimplify.cpp2919 CI2Val->isOneValue() || !CI->isZero()) { in simplifyICmpWithBinOp()
2926 if (CIVal->isSignMask() && CI2Val->isOneValue()) { in simplifyICmpWithBinOp()
/external/llvm/lib/IR/
DConstants.cpp127 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/
DAPInt.h410 bool isOneValue() const { in isOneValue() function
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1620 C->isNotMinSignedValue() && !C->isOneValue()) in visitSub()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp927 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/
DCGException.cpp1804 C->isOneValue()) { in EnterSEHTryStmt()
/external/llvm/lib/Analysis/
DConstantFolding.cpp1879 } else if (MaskElt->isOneValue()) { in ConstantFoldVectorCall()

12