Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DUtils.h467 bool AllowUndefs = false);
473 bool AllowUndefs = false);
514 bool AllowUndefs = false);
H A DCombinerHelper.h916 bool isOneOrOneSplat(Register Src, bool AllowUndefs);
917 bool isZeroOrZeroSplat(Register Src, bool AllowUndefs);
919 bool AllowUndefs);
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1752 bool isBitwiseNot(SDValue V, bool AllowUndefs = false);
1757 SDValue getBitwiseNotOperand(SDValue V, SDValue Mask, bool AllowUndefs);
1766 bool AllowUndefs = false,
1775 bool AllowUndefs = false);
1780 bool isNullOrNullSplat(SDValue V, bool AllowUndefs = false);
1786 bool isOneOrOneSplat(SDValue V, bool AllowUndefs = false);
1791 bool isAllOnesOrAllOnesSplat(SDValue V, bool AllowUndefs = false);
3157 bool AllowUndefs = false);
3162 bool AllowUndefs = false) {
3170 bool AllowUndefs = false) {
[all …]
H A DSelectionDAG.h2179 bool isSplatValue(SDValue V, bool AllowUndefs = false) const;
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp1399 const MachineRegisterInfo &MRI, bool AllowUndefs) { in isNullOrNullSplat() argument
1402 return AllowUndefs; in isNullOrNullSplat()
1410 if (!AllowUndefs) // TODO: isBuildVectorAllZeros assumes undef is OK already in isNullOrNullSplat()
1418 bool AllowUndefs) { in isAllOnesOrAllOnesSplat() argument
1421 return AllowUndefs; in isAllOnesOrAllOnesSplat()
1425 if (!AllowUndefs) // TODO: isBuildVectorAllOnes assumes undef is OK already in isAllOnesOrAllOnesSplat()
1433 std::function<bool(const Constant *ConstVal)> Match, bool AllowUndefs) { in matchUnaryPredicate() argument
1436 if (AllowUndefs && Def->getOpcode() == TargetOpcode::G_IMPLICIT_DEF) in matchUnaryPredicate()
1449 if (AllowUndefs && SrcDef->getOpcode() == TargetOpcode::G_IMPLICIT_DEF) { in matchUnaryPredicate()
H A DCombinerHelper.cpp6271 bool CombinerHelper::isOneOrOneSplat(Register Src, bool AllowUndefs) { in isOneOrOneSplat() argument
6274 return isConstantSplatVector(Src, 1, AllowUndefs); in isOneOrOneSplat()
6276 if (AllowUndefs && getOpcodeDef<GImplicitDef>(Src, MRI) != nullptr) in isOneOrOneSplat()
6284 bool CombinerHelper::isZeroOrZeroSplat(Register Src, bool AllowUndefs) { in isZeroOrZeroSplat() argument
6287 return isConstantSplatVector(Src, 0, AllowUndefs); in isZeroOrZeroSplat()
6289 if (AllowUndefs && getOpcodeDef<GImplicitDef>(Src, MRI) != nullptr) in isZeroOrZeroSplat()
6300 bool AllowUndefs) { in isConstantSplatVector() argument
6309 if (ImplicitDef && AllowUndefs) in isConstantSplatVector()
6311 if (ImplicitDef && !AllowUndefs) in isConstantSplatVector()
/freebsd-14.2/contrib/llvm-project/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.h845 template <bool AllowUndefs> struct specific_intval {
854 CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue(AllowUndefs)); in match()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp356 bool AllowUndefs) { in matchUnaryPredicateImpl() argument
368 if (AllowUndefs && Op.getOperand(i).isUndef()) { in matchUnaryPredicateImpl()
389 bool AllowUndefs, bool AllowTypeMismatch) { in matchBinaryPredicate() argument
408 bool LHSUndef = AllowUndefs && LHSOp.isUndef(); in matchBinaryPredicate()
409 bool RHSUndef = AllowUndefs && RHSOp.isUndef(); in matchBinaryPredicate()
2899 (AllowUndefs || !UndefElts); in isSplatValue()
5366 if (isBitwiseNot(V, AllowUndefs)) in getBitwiseNotOperand()
5377 isBitwiseNot(ExtArg, AllowUndefs) && in getBitwiseNotOperand()
11632 bool llvm::isBitwiseNot(SDValue V, bool AllowUndefs) { in isBitwiseNot() argument
11676 if (CN && (UndefElements.none() || AllowUndefs)) { in isConstOrConstSplat()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp1615 Constant *Constant::getSplatValue(bool AllowUndefs) const { in getSplatValue()
1622 return CV->getSplatValue(AllowUndefs); in getSplatValue()
1647 Constant *ConstantVector::getSplatValue(bool AllowUndefs) const { in getSplatValue()
1657 if (!AllowUndefs) in getSplatValue()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp4617 bool AllowUndefs = AllowWholeUndefs || AllowPartialUndefs; in getTargetConstantBitsFromNode() local
4618 if (UndefSrcElts.getBoolValue() && !AllowUndefs) in getTargetConstantBitsFromNode()
4836 bool AllowUndefs = EltSizeInBits >= SrcEltSizeInBits; in getTargetConstantBitsFromNode() local
4842 AllowWholeUndefs && AllowUndefs, in getTargetConstantBitsFromNode()
4843 AllowPartialUndefs && AllowUndefs) && in getTargetConstantBitsFromNode()
4846 AllowWholeUndefs && AllowUndefs, in getTargetConstantBitsFromNode()
4847 AllowPartialUndefs && AllowUndefs)) { in getTargetConstantBitsFromNode()