Home
last modified time | relevance | path

Searched refs:isGuaranteedNotToBePoison (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DValueTrackingTest.cpp974 EXPECT_EQ(isGuaranteedNotToBePoison(A, nullptr, BB.getTerminator(), &DT), in TEST_F()
998 EXPECT_EQ(isGuaranteedNotToBePoison(A, nullptr, A, &DT), true) in TEST_F()
1014 EXPECT_EQ(isGuaranteedNotToBePoison(UndefValue::get(IntegerType::get(Context, 8))), true); in TEST_F()
1015 EXPECT_EQ(isGuaranteedNotToBePoison(PoisonValue::get(IntegerType::get(Context, 8))), false); in TEST_F()
1026 EXPECT_TRUE(isGuaranteedNotToBePoison(V1)); in TEST_F()
1032 EXPECT_TRUE(isGuaranteedNotToBePoison(V2)); in TEST_F()
1038 EXPECT_FALSE(isGuaranteedNotToBePoison(V3)); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp178 if (IsFshl && !llvm::isGuaranteedNotToBePoison(ShVal1)) in foldGuardedFunnelShift()
180 else if (!IsFshl && !llvm::isGuaranteedNotToBePoison(ShVal0)) in foldGuardedFunnelShift()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DValueTracking.h692 bool isGuaranteedNotToBePoison(const Value *V, AssumptionCache *AC = nullptr,
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp887 if (isGuaranteedNotToBePoison(Idx, &AC)) { in canScalarizeAccess()
1012 if (!isGuaranteedNotToBePoison(UI->getOperand(1), &AC, LI, &DT)) in scalarizeLoadExtract()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp205 if (!isGuaranteedNotToBePoison(CommonValue, nullptr, P, DT)) in simplifyCommonValuePhi()
H A DNewGVN.cpp1768 if (HasUndef && !isGuaranteedNotToBePoison(AllSameValue, AC, nullptr, DT)) in performSymbolicPHIEvaluation()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h1972 bool isGuaranteedNotToBePoison(SDValue Op, unsigned Depth = 0) const {
1978 bool isGuaranteedNotToBePoison(SDValue Op, const APInt &DemandedElts,
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DInstructionSimplify.cpp4457 isGuaranteedNotToBePoison(FalseVal, Q.AC, Q.CxtI, Q.DT))) in simplifySelectInst()
4463 isGuaranteedNotToBePoison(TrueVal, Q.AC, Q.CxtI, Q.DT))) in simplifySelectInst()
4486 (Q.isUndefValue(TEltC) && isGuaranteedNotToBePoison(FEltC))) in simplifySelectInst()
4489 (Q.isUndefValue(FEltC) && isGuaranteedNotToBePoison(TEltC))) in simplifySelectInst()
4723 (Q.isUndefValue(Val) && isGuaranteedNotToBePoison(Vec))) in simplifyInsertElementInst()
H A DValueTracking.cpp1874 if (isGuaranteedNotToBePoison(I->getOperand(0), Q.AC, Q.CxtI, Q.DT, in computeKnownBitsFromOperator()
2699 isGuaranteedNotToBePoison(Op, Q.AC, Q.CxtI, Q.DT, Depth)) in isKnownNonZero()
5406 bool llvm::isGuaranteedNotToBePoison(const Value *V, AssumptionCache *AC, in isGuaranteedNotToBePoison() function in llvm
H A DScalarEvolution.cpp4040 if (!isGuaranteedNotToBePoison(SU->getValue())) in impliesPoison()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp2252 if (IsFshl && !llvm::isGuaranteedNotToBePoison(SV1)) in foldSelectFunnelShift()
2254 else if (!IsFshl && !llvm::isGuaranteedNotToBePoison(SV0)) in foldSelectFunnelShift()