Searched refs:isGuaranteedNotToBePoison (Results 1 – 11 of 11) sorted by relevance
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | ValueTrackingTest.cpp | 974 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 D | AggressiveInstCombine.cpp | 178 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 D | ValueTracking.h | 692 bool isGuaranteedNotToBePoison(const Value *V, AssumptionCache *AC = nullptr,
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | VectorCombine.cpp | 887 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 D | CorrelatedValuePropagation.cpp | 205 if (!isGuaranteedNotToBePoison(CommonValue, nullptr, P, DT)) in simplifyCommonValuePhi()
|
| H A D | NewGVN.cpp | 1768 if (HasUndef && !isGuaranteedNotToBePoison(AllSameValue, AC, nullptr, DT)) in performSymbolicPHIEvaluation()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAG.h | 1972 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 D | InstructionSimplify.cpp | 4457 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 D | ValueTracking.cpp | 1874 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 D | ScalarEvolution.cpp | 4040 if (!isGuaranteedNotToBePoison(SU->getValue())) in impliesPoison()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 2252 if (IsFshl && !llvm::isGuaranteedNotToBePoison(SV1)) in foldSelectFunnelShift() 2254 else if (!IsFshl && !llvm::isGuaranteedNotToBePoison(SV0)) in foldSelectFunnelShift()
|