Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueTracking.h792 LLVM_ABI bool isGuaranteedNotToBePoison(const Value *V,
798 inline bool isGuaranteedNotToBePoison(const Value *V, AssumptionCache *AC,
804 return isGuaranteedNotToBePoison(V, AC, &*CtxI, DT, Depth);
H A DScalarEvolution.h2229 static bool isGuaranteedNotToBePoison(const SCEV *Op);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGuardWidening.cpp629 if (isGuaranteedNotToBePoison(Orig, nullptr, InsertPt, &DT)) in freezeAndPush()
660 if (isGuaranteedNotToBePoison(Def, nullptr, InsertPt, &DT)) in freezeAndPush()
679 if (isGuaranteedNotToBePoison(V, nullptr, InsertPt, &DT)) in freezeAndPush()
H A DCorrelatedValuePropagation.cpp195 if (!isGuaranteedNotToBePoison(CommonValue, nullptr, P, DT)) in simplifyCommonValuePhi()
H A DConstraintElimination.cpp1169 if (!isGuaranteedNotToBePoison(&I)) in addInfoFor()
H A DNewGVN.cpp1829 if (HasUndef && !isGuaranteedNotToBePoison(AllSameValue, AC, nullptr, DT)) in performSymbolicPHIEvaluation()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DUtils.h607 LLVM_ABI bool isGuaranteedNotToBePoison(Register Reg,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp1514 if (!isGuaranteedNotToBePoison(CurrV, AC, in canVectorizeWithIfConvert()
1523 if (isa<LoadInst>(CurrI) && !isGuaranteedNotToBePoison(CurrV, AC)) in canVectorizeWithIfConvert()
H A DSLPVectorizer.cpp778 return isGuaranteedNotToBePoison(Vec, AC); in isFixedVectorShuffle()
17233 (isVectorized(V) || isGuaranteedNotToBePoison(V, AC) || in processBuildVector()
17302 IsNonPoisoned &= isGuaranteedNotToBePoison(Vec1, AC) && in processBuildVector()
17303 isGuaranteedNotToBePoison(Vec2, AC); in processBuildVector()
17306 bool IsNotPoisonedVec = isGuaranteedNotToBePoison(Vec1, AC); in processBuildVector()
17339 ? isGuaranteedNotToBePoison(TEs.front()->VectorizedValue, AC) in processBuildVector()
17351 isGuaranteedNotToBePoison(TEs.front()->VectorizedValue, AC) && in processBuildVector()
17352 isGuaranteedNotToBePoison(TEs.back()->VectorizedValue, AC); in processBuildVector()
17824 !isConstant(V) && isGuaranteedNotToBePoison(V, AC); in vectorizeTree()
22307 isGuaranteedNotToBePoison(VectorizedTree, AC) || in tryToReduce()
[all …]
H A DVectorCombine.cpp1570 if (isGuaranteedNotToBePoison(Idx, &AC)) { in canScalarizeAccess()
1824 if (!isGuaranteedNotToBePoison(ScalarV, &AC, dyn_cast<Instruction>(ScalarV), in scalarizeExtExtract()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp155 if (IsFshl && !llvm::isGuaranteedNotToBePoison(ShVal1)) in foldGuardedFunnelShift()
157 else if (!IsFshl && !llvm::isGuaranteedNotToBePoison(ShVal0)) in foldGuardedFunnelShift()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DPromoteMemoryToRegister.cpp583 isa<Instruction>(ReplVal) || !isGuaranteedNotToBePoison(ReplVal); in rewriteSingleStoreAlloca()
H A DScalarEvolutionExpander.cpp681 ScalarEvolution::isGuaranteedNotToBePoison(RHSExpr); in visitUDivExpr()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp4969 (Q.isUndefValue(TEltC) && isGuaranteedNotToBePoison(FEltC))) in simplifySelectInst()
4972 (Q.isUndefValue(FEltC) && isGuaranteedNotToBePoison(TEltC))) in simplifySelectInst()
5156 (Q.isUndefValue(Val) && isGuaranteedNotToBePoison(Agg))) in simplifyInsertValueInst()
5167 isGuaranteedNotToBePoison(EV->getAggregateOperand()))) in simplifyInsertValueInst()
5207 (Q.isUndefValue(Val) && isGuaranteedNotToBePoison(Vec))) in simplifyInsertElementInst()
5350 !isGuaranteedNotToBePoison(CommonValue, Q.AC, Q.CxtI, Q.DT)) in simplifyPHINode()
H A DValueTracking.cpp2152 if (isGuaranteedNotToBePoison(I->getOperand(0), Q.AC, Q.CxtI, Q.DT, in computeKnownBitsFromOperator()
3253 isGuaranteedNotToBePoison(I->getOperand(0), Q.AC, Q.CxtI, Q.DT, in isKnownNonZeroFromOperator()
7547 if (isGuaranteedNotToBePoison(ValAssumedPoison)) in impliesPoison()
7734 bool llvm::isGuaranteedNotToBePoison(const Value *V, AssumptionCache *AC, in isGuaranteedNotToBePoison() function in llvm
H A DScalarEvolution.cpp4115 if (!isGuaranteedNotToBePoison(SU->getValue())) in follow()
4185 if (PoisonVals.contains(V) || ::isGuaranteedNotToBePoison(V)) in canReuseInstruction()
7327 bool ScalarEvolution::isGuaranteedNotToBePoison(const SCEV *Op) { in isGuaranteedNotToBePoison() function in ScalarEvolution
7339 return M && (!isKnownNonZero(Op1) || !isGuaranteedNotToBePoison(Op1)); in isGuaranteedNotToCauseUB()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h2222 bool isGuaranteedNotToBePoison(SDValue Op, unsigned Depth = 0) const {
2228 bool isGuaranteedNotToBePoison(SDValue Op, const APInt &DemandedElts,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp458 if (BO && BO->isIntDivRem() && !isGuaranteedNotToBePoison(Cond)) { in foldSelectOpOp()
2548 if (IsFshl && !llvm::isGuaranteedNotToBePoison(SV1)) in foldSelectFunnelShift()
2550 else if (!IsFshl && !llvm::isGuaranteedNotToBePoison(SV0)) in foldSelectFunnelShift()
H A DInstCombineAndOrXor.cpp3430 (!IsLogical || isGuaranteedNotToBePoison(RHS0))) { in foldAndOrOfICmps()
3441 (!IsLogical || isGuaranteedNotToBePoison(RHS0))) { in foldAndOrOfICmps()
H A DInstCombineVectorOps.cpp2988 isGuaranteedNotToBePoison(SI->getCondition()))) { in visitShuffleVectorInst()
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/GlobalISel/
H A DCombine.td241 …[{ return !isGuaranteedNotToBePoison(${src}.getReg(), MRI) && Helper.matchFreezeOfSingleMaybePoiso…
1597 [{ return isGuaranteedNotToBePoison(${src}.getReg(), MRI); }]),
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp1985 bool llvm::isGuaranteedNotToBePoison(Register Reg, in isGuaranteedNotToBePoison() function in llvm