Home
last modified time | relevance | path

Searched refs:AllowPoison (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h251 bool AllowPoison; member
253 apint_match(const APInt *&Res, bool AllowPoison) in apint_match()
254 : Res(Res), AllowPoison(AllowPoison) {} in apint_match()
264 dyn_cast_or_null<ConstantInt>(C->getSplatValue(AllowPoison))) { in match()
276 bool AllowPoison; member
278 apfloat_match(const APFloat *&Res, bool AllowPoison) in apfloat_match()
279 : Res(Res), AllowPoison(AllowPoison) {} in apfloat_match()
289 dyn_cast_or_null<ConstantFP>(C->getSplatValue(AllowPoison))) { in match()
355 template <typename Predicate, typename ConstantVal, bool AllowPoison>
379 if (AllowPoison && isa<PoisonValue>(Elt)) in match_impl()
[all …]
H A DConstant.h152 Constant *getSplatValue(bool AllowPoison = false) const;
H A DConstants.h538 Constant *getSplatValue(bool AllowPoison = false) const;
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueTracking.h143 bool AllowPoison = true);
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp1686 Constant *Constant::getSplatValue(bool AllowPoison) const { in getSplatValue()
1693 return CV->getSplatValue(AllowPoison); in getSplatValue()
1718 Constant *ConstantVector::getSplatValue(bool AllowPoison) const { in getSplatValue()
1728 if (!AllowPoison) in getSplatValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp1919 bool SimplifyValuePattern(SmallVector<Value *> &Vec, bool AllowPoison) { in SimplifyValuePattern() argument
1935 if (!AllowPoison) in SimplifyValuePattern()
1942 SimplifyValuePattern(Vec, AllowPoison); in SimplifyValuePattern()
1966 bool AllowPoison = in instCombineSVEDupqLane() local
1968 if (!SimplifyValuePattern(Elts, AllowPoison)) in instCombineSVEDupqLane()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp8348 bool AllowPoison) { in isKnownNegation() argument
8360 if (!AllowPoison && !Zero->isNullValue()) in isKnownNegation()