Home
last modified time | relevance | path

Searched refs:isGuaranteedNotToBeUndefOrPoison (Results 1 – 23 of 23) sorted by relevance

/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DCanonicalizeFreezeInLoops.cpp110 if (isGuaranteedNotToBeUndefOrPoison(ValueToFr, nullptr, UserI, &DT)) in InsertFreezeAndForgetFromSCEV()
177 if (!isGuaranteedNotToBeUndefOrPoison(StepI, nullptr, StepI, &DT)) { in run()
H A DLoopUnrollRuntime.cpp757 !isGuaranteedNotToBeUndefOrPoison(TripCount, AC, PreHeaderBR, DT)) { in UnrollRuntimeLoopRemainder()
H A DSimplifyCFG.cpp4758 if (!isGuaranteedNotToBeUndefOrPoison(ExtraCase, AC, BI, nullptr)) in SimplifyBranchOnICmpChain()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DDivRemPairs.cpp384 if (!isGuaranteedNotToBeUndefOrPoison(X, nullptr, DivInst, &DT)) { in optimizeDivRem()
391 if (!isGuaranteedNotToBeUndefOrPoison(Y, nullptr, DivInst, &DT)) { in optimizeDivRem()
H A DJumpThreading.cpp741 return !isGuaranteedNotToBeUndefOrPoison(Pair.first); in computeValueKnownInPredecessorsImpl()
2963 if (!isGuaranteedNotToBeUndefOrPoison(Cond, nullptr, SI)) in tryToUnfoldSelectInCurrBB()
H A DSimpleLoopUnswitch.cpp238 if (InsertFreeze && !isGuaranteedNotToBeUndefOrPoison(Inv, AC, I, &DT)) in buildPartialUnswitchConditionalBranch()
2199 InsertFreeze = !isGuaranteedNotToBeUndefOrPoison( in unswitchNontrivialInvariants()
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/
H A DSCCP.cpp299 if (!isGuaranteedNotToBeUndefOrPoison(CB, nullptr, CB)) in runIPSCCP()
H A DAttributorAttributes.cpp10005 isGuaranteedNotToBeUndefOrPoison(&V)) in initialize()
10022 State.setKnown(isGuaranteedNotToBeUndefOrPoison(UseV, AC, I, DT)); in followUseInMBEC()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp825 ScevList.emplace_back(Scev, !isGuaranteedNotToBeUndefOrPoison(Ptr)); in findForkedSCEVs()
855 ScevList.emplace_back(Scev, !isGuaranteedNotToBeUndefOrPoison(GEP)); in findForkedSCEVs()
910 ScevList.emplace_back(Scev, !isGuaranteedNotToBeUndefOrPoison(Ptr)); in findForkedSCEVs()
947 ScevList.emplace_back(Scev, !isGuaranteedNotToBeUndefOrPoison(Ptr)); in findForkedSCEVs()
H A DValueTracking.cpp450 isGuaranteedNotToBeUndefOrPoison(Op0, Q.AC, Q.CxtI, Q.DT, Depth + 1); in computeKnownBitsMul()
5105 if (isGuaranteedNotToBeUndefOrPoison(LHS, AC, CxtI, DT)) in computeOverflowForUnsignedSub()
5141 if (isGuaranteedNotToBeUndefOrPoison(LHS, AC, CxtI, DT)) in computeOverflowForSignedSub()
5424 if (isGuaranteedNotToBeUndefOrPoison(ValAssumedPoison)) in impliesPoison()
5450 static bool isGuaranteedNotToBeUndefOrPoison(const Value *V, in isGuaranteedNotToBeUndefOrPoison() function
5494 return isGuaranteedNotToBeUndefOrPoison(V, AC, CtxI, DT, Depth + 1, in isGuaranteedNotToBeUndefOrPoison()
5514 if (!isGuaranteedNotToBeUndefOrPoison(PN->getIncomingValue(i), AC, TI, in isGuaranteedNotToBeUndefOrPoison()
5582 bool llvm::isGuaranteedNotToBeUndefOrPoison(const Value *V, AssumptionCache *AC, in isGuaranteedNotToBeUndefOrPoison() function in llvm
5586 return ::isGuaranteedNotToBeUndefOrPoison(V, AC, CtxI, DT, Depth, false); in isGuaranteedNotToBeUndefOrPoison()
5592 return ::isGuaranteedNotToBeUndefOrPoison(V, AC, CtxI, DT, Depth, true); in isGuaranteedNotToBePoison()
H A DConstantFolding.cpp1080 return isGuaranteedNotToBeUndefOrPoison(Ops[0]) ? Ops[0] : nullptr; in ConstantFoldInstOperandsImpl()
H A DInstructionSimplify.cpp6547 if (llvm::isGuaranteedNotToBeUndefOrPoison(Op0, Q.AC, Q.CxtI, Q.DT)) in simplifyFreezeInst()
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/
H A DValueTracking.h679 bool isGuaranteedNotToBeUndefOrPoison(const Value *V,
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h2030 bool isGuaranteedNotToBeUndefOrPoison(SDValue Op, bool PoisonOnly = false,
2036 bool isGuaranteedNotToBeUndefOrPoison(SDValue Op, const APInt &DemandedElts,
2042 return isGuaranteedNotToBeUndefOrPoison(Op, /*PoisonOnly*/ true, Depth);
2049 return isGuaranteedNotToBeUndefOrPoison(Op, DemandedElts,
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp567 if (IsLogical && !isGuaranteedNotToBeUndefOrPoison(D)) in foldLogOpOfMaskedICmps()
580 if (IsLogical && !isGuaranteedNotToBeUndefOrPoison(D)) in foldLogOpOfMaskedICmps()
589 if (IsLogical && !isGuaranteedNotToBeUndefOrPoison(D)) in foldLogOpOfMaskedICmps()
1103 !isGuaranteedNotToBeUndefOrPoison(C) || isa<Constant>(X)) in foldAndOrOfICmpsWithConstEq()
H A DInstructionCombining.cpp3842 isGuaranteedNotToBeUndefOrPoison(U.get())) in pushFreezeToPreventPoisonFromPropagating()
3891 bool StartNeedsFreeze = !isGuaranteedNotToBeUndefOrPoison(StartV); in foldFreezeIntoRecurrence()
3908 if (V == PN || isGuaranteedNotToBeUndefOrPoison(V)) in foldFreezeIntoRecurrence()
H A DInstCombineSelect.cpp1243 isGuaranteedNotToBeUndefOrPoison(CmpRHS, SQ.AC, &Sel, &DT)) { in foldSelectValueEquivalence()
1261 isGuaranteedNotToBeUndefOrPoison(CmpLHS, SQ.AC, &Sel, &DT)) in foldSelectValueEquivalence()
H A DInstCombineAddSub.cpp2492 !isGuaranteedNotToBeUndefOrPoison(OldSel->getCondition())) in visitFNeg()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp3210 SelfMultiply &= isGuaranteedNotToBeUndefOrPoison( in computeKnownBits()
4630 bool SelectionDAG::isGuaranteedNotToBeUndefOrPoison(SDValue Op, bool PoisonOnly, in isGuaranteedNotToBeUndefOrPoison() function in SelectionDAG
4644 return isGuaranteedNotToBeUndefOrPoison(Op, DemandedElts, PoisonOnly, Depth); in isGuaranteedNotToBeUndefOrPoison()
4647 bool SelectionDAG::isGuaranteedNotToBeUndefOrPoison(SDValue Op, in isGuaranteedNotToBeUndefOrPoison() function in SelectionDAG
4678 if (!isGuaranteedNotToBeUndefOrPoison(Op.getOperand(i), PoisonOnly, in isGuaranteedNotToBeUndefOrPoison()
4704 return isGuaranteedNotToBeUndefOrPoison(V, PoisonOnly, Depth + 1); in isGuaranteedNotToBeUndefOrPoison()
5374 if (isGuaranteedNotToBeUndefOrPoison(Operand, /*PoisonOnly*/ false, in getNode()
H A DDAGCombiner.cpp14427 if (DAG.isGuaranteedNotToBeUndefOrPoison(N0, /*PoisonOnly*/ false)) in visitFREEZE()
14446 if (DAG.isGuaranteedNotToBeUndefOrPoison(Op, /*PoisonOnly*/ false, in visitFREEZE()
14493 assert(DAG.isGuaranteedNotToBeUndefOrPoison(R, /*PoisonOnly*/ false) && in visitFREEZE()
/openbsd/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp1969 !isGuaranteedNotToBeUndefOrPoison(Cond)) in addToMergedCondition()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp2180 if (!isGuaranteedNotToBeUndefOrPoison(Op)) in despeculateCountZeros()
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp43311 return DAG.isGuaranteedNotToBeUndefOrPoison( in isGuaranteedNotToBeUndefOrPoisonForTargetNode()