Searched refs:AllowUndefs (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAGNodes.h | 1796 bool isBitwiseNot(SDValue V, bool AllowUndefs = false); 1801 SDValue getBitwiseNotOperand(SDValue V, SDValue Mask, bool AllowUndefs); 1804 ConstantSDNode *isConstOrConstSplat(SDValue N, bool AllowUndefs = false, 1810 bool AllowUndefs = false, 1814 ConstantFPSDNode *isConstOrConstSplatFP(SDValue N, bool AllowUndefs = false); 1819 bool AllowUndefs = false); 1824 bool isNullOrNullSplat(SDValue V, bool AllowUndefs = false); 1830 bool isOneOrOneSplat(SDValue V, bool AllowUndefs = false); 1835 bool isAllOnesOrAllOnesSplat(SDValue V, bool AllowUndefs = false); 3232 bool AllowUndefs = false); [all …]
|
H A D | SelectionDAG.h | 2169 bool isSplatValue(SDValue V, bool AllowUndefs = false) const;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | Utils.h | 479 bool AllowUndefs = false); 485 bool AllowUndefs = false); 526 bool AllowUndefs = false);
|
H A D | CombinerHelper.h | 985 bool isOneOrOneSplat(Register Src, bool AllowUndefs); 986 bool isZeroOrZeroSplat(Register Src, bool AllowUndefs); 988 bool AllowUndefs);
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | Utils.cpp | 1529 const MachineRegisterInfo &MRI, bool AllowUndefs) { in isNullOrNullSplat() argument 1532 return AllowUndefs; in isNullOrNullSplat() 1540 if (!AllowUndefs) // TODO: isBuildVectorAllZeros assumes undef is OK already in isNullOrNullSplat() 1548 bool AllowUndefs) { in isAllOnesOrAllOnesSplat() argument 1551 return AllowUndefs; in isAllOnesOrAllOnesSplat() 1555 if (!AllowUndefs) // TODO: isBuildVectorAllOnes assumes undef is OK already in isAllOnesOrAllOnesSplat() 1563 std::function<bool(const Constant *ConstVal)> Match, bool AllowUndefs) { in matchUnaryPredicate() argument 1566 if (AllowUndefs && Def->getOpcode() == TargetOpcode::G_IMPLICIT_DEF) in matchUnaryPredicate() 1579 if (AllowUndefs && SrcDef->getOpcode() == TargetOpcode::G_IMPLICIT_DEF) { in matchUnaryPredicate()
|
H A D | CombinerHelper.cpp | 6581 bool CombinerHelper::isOneOrOneSplat(Register Src, bool AllowUndefs) { in isOneOrOneSplat() argument 6584 return isConstantSplatVector(Src, 1, AllowUndefs); in isOneOrOneSplat() 6586 if (AllowUndefs && getOpcodeDef<GImplicitDef>(Src, MRI) != nullptr) in isOneOrOneSplat() 6594 bool CombinerHelper::isZeroOrZeroSplat(Register Src, bool AllowUndefs) { in isZeroOrZeroSplat() argument 6597 return isConstantSplatVector(Src, 0, AllowUndefs); in isZeroOrZeroSplat() 6599 if (AllowUndefs && getOpcodeDef<GImplicitDef>(Src, MRI) != nullptr) in isZeroOrZeroSplat() 6610 bool AllowUndefs) { in isConstantSplatVector() argument 6619 if (ImplicitDef && AllowUndefs) in isConstantSplatVector() 6621 if (ImplicitDef && !AllowUndefs) in isConstantSplatVector()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 358 bool AllowUndefs) { in matchUnaryPredicateImpl() argument 370 if (AllowUndefs && Op.getOperand(i).isUndef()) { in matchUnaryPredicateImpl() 391 bool AllowUndefs, bool AllowTypeMismatch) { in matchBinaryPredicate() argument 410 bool LHSUndef = AllowUndefs && LHSOp.isUndef(); in matchBinaryPredicate() 411 bool RHSUndef = AllowUndefs && RHSOp.isUndef(); in matchBinaryPredicate() 2929 bool SelectionDAG::isSplatValue(SDValue V, bool AllowUndefs) const { in isSplatValue() 2940 (AllowUndefs || !UndefElts); in isSplatValue() 5689 SDValue llvm::getBitwiseNotOperand(SDValue V, SDValue Mask, bool AllowUndefs) { in getBitwiseNotOperand() argument 5690 if (isBitwiseNot(V, AllowUndefs)) in getBitwiseNotOperand() 5701 isBitwiseNot(ExtArg, AllowUndefs) && in getBitwiseNotOperand() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 4754 bool AllowUndefs = AllowWholeUndefs || AllowPartialUndefs; in getTargetConstantBitsFromNode() local 4755 if (UndefSrcElts.getBoolValue() && !AllowUndefs) in getTargetConstantBitsFromNode() 4973 bool AllowUndefs = EltSizeInBits >= SrcEltSizeInBits; in getTargetConstantBitsFromNode() local 4979 AllowWholeUndefs && AllowUndefs, in getTargetConstantBitsFromNode() 4980 AllowPartialUndefs && AllowUndefs) && in getTargetConstantBitsFromNode() 4983 AllowWholeUndefs && AllowUndefs, in getTargetConstantBitsFromNode() 4984 AllowPartialUndefs && AllowUndefs)) { in getTargetConstantBitsFromNode()
|