Home
last modified time | relevance | path

Searched refs:AllowUndefs (Results 1 – 10 of 10) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstant.h151 Constant *getSplatValue(bool AllowUndefs = false) const;
H A DConstants.h523 Constant *getSplatValue(bool AllowUndefs = false) const;
H A DPatternMatch.h867 template <bool AllowUndefs>
877 CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue(AllowUndefs)); in match()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1660 bool isBitwiseNot(SDValue V, bool AllowUndefs = false);
1663 ConstantSDNode *isConstOrConstSplat(SDValue N, bool AllowUndefs = false,
1669 bool AllowUndefs = false,
1673 ConstantFPSDNode *isConstOrConstSplatFP(SDValue N, bool AllowUndefs = false);
1678 bool AllowUndefs = false);
1683 bool isNullOrNullSplat(SDValue V, bool AllowUndefs = false);
1688 bool isOneOrOneSplat(SDValue V, bool AllowUndefs = false);
1693 bool isAllOnesOrAllOnesSplat(SDValue V, bool AllowUndefs = false);
2733 bool AllowUndefs = false);
2742 bool AllowUndefs = false, bool AllowTypeMismatch = false);
H A DSelectionDAG.h1841 bool isSplatValue(SDValue V, bool AllowUndefs = false);
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp953 std::function<bool(const Constant *ConstVal)> Match, bool AllowUndefs) { in matchUnaryPredicate() argument
956 if (AllowUndefs && Def->getOpcode() == TargetOpcode::G_IMPLICIT_DEF) in matchUnaryPredicate()
969 if (AllowUndefs && SrcDef->getOpcode() == TargetOpcode::G_IMPLICIT_DEF) { in matchUnaryPredicate()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DUtils.h386 bool AllowUndefs = false);
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp307 bool AllowUndefs) { in matchUnaryPredicate() argument
319 if (AllowUndefs && Op.getOperand(i).isUndef()) { in matchUnaryPredicate()
335 bool AllowUndefs, bool AllowTypeMismatch) { in matchBinaryPredicate() argument
354 bool LHSUndef = AllowUndefs && LHSOp.isUndef(); in matchBinaryPredicate()
355 bool RHSUndef = AllowUndefs && RHSOp.isUndef(); in matchBinaryPredicate()
2581 (AllowUndefs || !UndefElts); in isSplatValue()
9565 bool llvm::isBitwiseNot(SDValue V, bool AllowUndefs) { in isBitwiseNot() argument
9598 if (CN && (UndefElements.none() || AllowUndefs)) { in isConstOrConstSplat()
9622 if (CN && (UndefElements.none() || AllowUndefs)) { in isConstOrConstSplat()
9641 if (CN && (UndefElements.none() || AllowUndefs)) in isConstOrConstSplatFP()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp1701 Constant *Constant::getSplatValue(bool AllowUndefs) const { in getSplatValue()
1708 return CV->getSplatValue(AllowUndefs); in getSplatValue()
1733 Constant *ConstantVector::getSplatValue(bool AllowUndefs) const { in getSplatValue()
1743 if (!AllowUndefs) in getSplatValue()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp6535 bool AllowUndefs = AllowWholeUndefs || AllowPartialUndefs; in getTargetConstantBitsFromNode() local
6536 if (UndefSrcElts.getBoolValue() && !AllowUndefs) in getTargetConstantBitsFromNode()
6755 bool AllowUndefs = EltSizeInBits >= SrcEltSizeInBits; in getTargetConstantBitsFromNode() local
6761 AllowWholeUndefs && AllowUndefs, in getTargetConstantBitsFromNode()
6762 AllowPartialUndefs && AllowUndefs) && in getTargetConstantBitsFromNode()
6765 AllowWholeUndefs && AllowUndefs, in getTargetConstantBitsFromNode()
6766 AllowPartialUndefs && AllowUndefs)) { in getTargetConstantBitsFromNode()