Lines Matching defs:AllowUndefs
358 bool AllowUndefs) {
370 if (AllowUndefs && Op.getOperand(i).isUndef()) {
391 bool AllowUndefs, bool AllowTypeMismatch) {
410 bool LHSUndef = AllowUndefs && LHSOp.isUndef();
411 bool RHSUndef = AllowUndefs && RHSOp.isUndef();
2929 bool SelectionDAG::isSplatValue(SDValue V, bool AllowUndefs) const {
2940 (AllowUndefs || !UndefElts);
5689 SDValue llvm::getBitwiseNotOperand(SDValue V, SDValue Mask, bool AllowUndefs) {
5690 if (isBitwiseNot(V, AllowUndefs))
5701 isBitwiseNot(ExtArg, AllowUndefs) &&
5714 getBitwiseNotOperand(Not, Mask, /* AllowUndefs */ true)) {
6769 ConstantFPSDNode *N1CFP = isConstOrConstSplatFP(N1, /*AllowUndefs*/ false);
6770 ConstantFPSDNode *N2CFP = isConstOrConstSplatFP(N2, /*AllowUndefs*/ false);
6817 if (ConstantFPSDNode *N1C = isConstOrConstSplatFP(N1, /*AllowUndefs*/ true))
6908 isConstOrConstSplat(N2, /*AllowUndefs*/ false, /*AllowTruncation*/ true);
9922 if (ConstantSDNode *CondC = isConstOrConstSplat(Cond, /*AllowUndefs*/ false,
9967 ConstantFPSDNode *XC = isConstOrConstSplatFP(X, /* AllowUndefs */ true);
9968 ConstantFPSDNode *YC = isConstOrConstSplatFP(Y, /* AllowUndefs */ true);
10188 ConstantSDNode *N2CV = isConstOrConstSplat(N2, /*AllowUndefs*/ false,
11892 if (auto *ConstV = isConstOrConstSplat(V, /*AllowUndefs*/ false,
11975 bool llvm::isBitwiseNot(SDValue V, bool AllowUndefs) {
11981 isConstOrConstSplat(V, AllowUndefs, /*AllowTruncation*/ true);
11985 ConstantSDNode *llvm::isConstOrConstSplat(SDValue N, bool AllowUndefs,
11991 return isConstOrConstSplat(N, DemandedElts, AllowUndefs, AllowTruncation);
11995 bool AllowUndefs,
12019 if (CN && (UndefElements.none() || AllowUndefs)) {
12031 ConstantFPSDNode *llvm::isConstOrConstSplatFP(SDValue N, bool AllowUndefs) {
12036 return isConstOrConstSplatFP(N, DemandedElts, AllowUndefs);
12041 bool AllowUndefs) {
12050 if (CN && (UndefElements.none() || AllowUndefs))
12061 bool llvm::isNullOrNullSplat(SDValue N, bool AllowUndefs) {
12064 isConstOrConstSplat(N, AllowUndefs, /*AllowTruncation=*/true);
12068 bool llvm::isOneOrOneSplat(SDValue N, bool AllowUndefs) {
12070 isConstOrConstSplat(N, AllowUndefs, /*AllowTruncation*/ true);
12074 bool llvm::isAllOnesOrAllOnesSplat(SDValue N, bool AllowUndefs) {
12077 ConstantSDNode *C = isConstOrConstSplat(N, AllowUndefs);