Searched refs:AllowUndefs (Results 1 – 10 of 10) sorted by relevance
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | Utils.h | 439 bool AllowUndefs = false); 445 bool AllowUndefs = false); 485 bool AllowUndefs = false);
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | Utils.cpp | 1209 const MachineRegisterInfo &MRI, bool AllowUndefs) { in isNullOrNullSplat() argument 1212 return AllowUndefs; in isNullOrNullSplat() 1220 if (!AllowUndefs) // TODO: isBuildVectorAllZeros assumes undef is OK already in isNullOrNullSplat() 1228 bool AllowUndefs) { in isAllOnesOrAllOnesSplat() argument 1231 return AllowUndefs; in isAllOnesOrAllOnesSplat() 1235 if (!AllowUndefs) // TODO: isBuildVectorAllOnes assumes undef is OK already in isAllOnesOrAllOnesSplat() 1243 std::function<bool(const Constant *ConstVal)> Match, bool AllowUndefs) { in matchUnaryPredicate() argument 1246 if (AllowUndefs && Def->getOpcode() == TargetOpcode::G_IMPLICIT_DEF) in matchUnaryPredicate() 1259 if (AllowUndefs && SrcDef->getOpcode() == TargetOpcode::G_IMPLICIT_DEF) { in matchUnaryPredicate()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Constant.h | 147 Constant *getSplatValue(bool AllowUndefs = false) const;
|
| H A D | Constants.h | 524 Constant *getSplatValue(bool AllowUndefs = false) const;
|
| H A D | PatternMatch.h | 837 template <bool AllowUndefs> struct specific_intval { 846 CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue(AllowUndefs)); in match()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 1694 bool isBitwiseNot(SDValue V, bool AllowUndefs = false); 1699 SDValue getBitwiseNotOperand(SDValue V, SDValue Mask, bool AllowUndefs); 1702 ConstantSDNode *isConstOrConstSplat(SDValue N, bool AllowUndefs = false, 1708 bool AllowUndefs = false, 1712 ConstantFPSDNode *isConstOrConstSplatFP(SDValue N, bool AllowUndefs = false); 1717 bool AllowUndefs = false); 1722 bool isNullOrNullSplat(SDValue V, bool AllowUndefs = false); 1727 bool isOneOrOneSplat(SDValue V, bool AllowUndefs = false); 1732 bool isAllOnesOrAllOnesSplat(SDValue V, bool AllowUndefs = false); 3080 bool AllowUndefs = false); [all …]
|
| H A D | SelectionDAG.h | 2028 bool isSplatValue(SDValue V, bool AllowUndefs = false) const;
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 305 bool AllowUndefs) { in matchUnaryPredicate() argument 317 if (AllowUndefs && Op.getOperand(i).isUndef()) { in matchUnaryPredicate() 333 bool AllowUndefs, bool AllowTypeMismatch) { in matchBinaryPredicate() argument 352 bool LHSUndef = AllowUndefs && LHSOp.isUndef(); in matchBinaryPredicate() 353 bool RHSUndef = AllowUndefs && RHSOp.isUndef(); in matchBinaryPredicate() 2739 (AllowUndefs || !UndefElts); in isSplatValue() 4759 if (isBitwiseNot(V, AllowUndefs)) in getBitwiseNotOperand() 4770 isBitwiseNot(ExtArg, AllowUndefs) && in getBitwiseNotOperand() 10657 bool llvm::isBitwiseNot(SDValue V, bool AllowUndefs) { in isBitwiseNot() argument 10733 if (CN && (UndefElements.none() || AllowUndefs)) in isConstOrConstSplatFP() [all …]
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Constants.cpp | 1625 Constant *Constant::getSplatValue(bool AllowUndefs) const { in getSplatValue() 1632 return CV->getSplatValue(AllowUndefs); in getSplatValue() 1657 Constant *ConstantVector::getSplatValue(bool AllowUndefs) const { in getSplatValue() 1667 if (!AllowUndefs) in getSplatValue()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 7208 bool AllowUndefs = AllowWholeUndefs || AllowPartialUndefs; in getTargetConstantBitsFromNode() local 7209 if (UndefSrcElts.getBoolValue() && !AllowUndefs) in getTargetConstantBitsFromNode() 7405 bool AllowUndefs = EltSizeInBits >= SrcEltSizeInBits; in getTargetConstantBitsFromNode() local 7411 AllowWholeUndefs && AllowUndefs, in getTargetConstantBitsFromNode() 7412 AllowPartialUndefs && AllowUndefs) && in getTargetConstantBitsFromNode() 7415 AllowWholeUndefs && AllowUndefs, in getTargetConstantBitsFromNode() 7416 AllowPartialUndefs && AllowUndefs)) { in getTargetConstantBitsFromNode()
|