Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DConstant.h151 Constant *getSplatValue(bool AllowUndefs = false) const;
H A DConstants.h522 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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1648 bool isBitwiseNot(SDValue V, bool AllowUndefs = false);
1651 ConstantSDNode *isConstOrConstSplat(SDValue N, bool AllowUndefs = false,
1657 bool AllowUndefs = false,
1661 ConstantFPSDNode *isConstOrConstSplatFP(SDValue N, bool AllowUndefs = false);
1666 bool AllowUndefs = false);
1671 bool isNullOrNullSplat(SDValue V, bool AllowUndefs = false);
1676 bool isOneOrOneSplat(SDValue V, bool AllowUndefs = false);
1681 bool isAllOnesOrAllOnesSplat(SDValue V, bool AllowUndefs = false);
2731 bool AllowUndefs = false);
2740 bool AllowUndefs = false, bool AllowTypeMismatch = false);
H A DSelectionDAG.h1814 bool isSplatValue(SDValue V, bool AllowUndefs = false);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp939 std::function<bool(const Constant *ConstVal)> Match, bool AllowUndefs) { in matchUnaryPredicate() argument
942 if (AllowUndefs && Def->getOpcode() == TargetOpcode::G_IMPLICIT_DEF) in matchUnaryPredicate()
955 if (AllowUndefs && SrcDef->getOpcode() == TargetOpcode::G_IMPLICIT_DEF) { in matchUnaryPredicate()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
H A DUtils.h372 bool AllowUndefs = false);
/netbsd-src/external/apache2/llvm/dist/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
353 bool LHSUndef = AllowUndefs && LHSOp.isUndef(); in matchBinaryPredicate()
354 bool RHSUndef = AllowUndefs && RHSOp.isUndef(); in matchBinaryPredicate()
2572 bool SelectionDAG::isSplatValue(SDValue V, bool AllowUndefs) { in isSplatValue() argument
2583 (AllowUndefs || !UndefElts); in isSplatValue()
9480 bool llvm::isBitwiseNot(SDValue V, bool AllowUndefs) { in isBitwiseNot() argument
9486 isConstOrConstSplat(V, AllowUndefs, /*AllowTruncation*/ true); in isBitwiseNot()
9490 ConstantSDNode *llvm::isConstOrConstSplat(SDValue N, bool AllowUndefs, in isConstOrConstSplat() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DConstants.cpp1699 Constant *Constant::getSplatValue(bool AllowUndefs) const { in getSplatValue()
1706 return CV->getSplatValue(AllowUndefs); in getSplatValue()
1731 Constant *ConstantVector::getSplatValue(bool AllowUndefs) const { in getSplatValue()
1741 if (!AllowUndefs) in getSplatValue()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp6538 bool AllowUndefs = AllowWholeUndefs || AllowPartialUndefs; in getTargetConstantBitsFromNode() local
6539 if (UndefSrcElts.getBoolValue() && !AllowUndefs) in getTargetConstantBitsFromNode()
6754 bool AllowUndefs = EltSizeInBits >= SrcEltSizeInBits; in getTargetConstantBitsFromNode() local
6760 AllowWholeUndefs && AllowUndefs, in getTargetConstantBitsFromNode()
6761 AllowPartialUndefs && AllowUndefs) && in getTargetConstantBitsFromNode()
6764 AllowWholeUndefs && AllowUndefs, in getTargetConstantBitsFromNode()
6765 AllowPartialUndefs && AllowUndefs)) { in getTargetConstantBitsFromNode()