Lines Matching refs:getNullValue
649 NewInsts[Base] = ConstantInt::getNullValue(IndexType); in rewriteGEPAsOffset()
753 Constant *Index = ConstantInt::getNullValue(IndexType); in getAsConstantIndexedAddress()
857 Constant::getNullValue(Offset->getType())); in foldGEPICmp()
1167 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in foldICmpShrConstConst()
1218 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in foldICmpShlConstConst()
1372 X, ConstantInt::getNullValue(XTy)); in foldSignBitTest()
1588 ConstantInt::getNullValue(X->getType())) in foldICmpTruncConstant()
1623 ConstantInt::getNullValue(X->getType())); in foldICmpXorConstant()
1775 Constant *Zero = Constant::getNullValue(X->getType()); in foldICmpAndConstConst()
1878 return new ICmpInst(NewPred, X, ConstantInt::getNullValue(X->getType())); in foldICmpAndConstant()
1964 Builder.CreateICmp(Pred, P, ConstantInt::getNullValue(P->getType())); in foldICmpOrConstant()
1966 Builder.CreateICmp(Pred, Q, ConstantInt::getNullValue(Q->getType())); in foldICmpOrConstant()
2002 Constant::getNullValue(Mul->getType())); in foldICmpMulConstant()
2168 return new ICmpInst(Pred, X, Constant::getNullValue(ShType)); in foldICmpShlConstant()
2215 And, Constant::getNullValue(ShType)); in foldICmpShlConstant()
2226 And, Constant::getNullValue(ShType)); in foldICmpShlConstant()
2235 And, Constant::getNullValue(ShType)); in foldICmpShlConstant()
2283 ConstantInt::getNullValue(X->getType())); in foldICmpShrConstant()
2353 ConstantInt::getNullValue(ShrTy)); in foldICmpShrConstant()
2457 return new ICmpInst(ICmpInst::ICMP_SGT, And, ConstantInt::getNullValue(Ty)); in foldICmpSRemConstant()
2992 return new ICmpInst(Pred, X, ConstantInt::getNullValue(X->getType())); in foldICmpBitCast()
3009 return new ICmpInst(Pred, X, ConstantInt::getNullValue(X->getType())); in foldICmpBitCast()
3033 ConstantInt::getNullValue(NewType)); in foldICmpBitCast()
3069 return new ICmpInst(Pred, Cast, ConstantInt::getNullValue(DstType)); in foldICmpBitCast()
3081 return new ICmpInst(Pred, NewCast, ConstantInt::getNullValue(NewType)); in foldICmpBitCast()
3170 Constant::getNullValue(BO->getType())); in foldICmpBinOpEqualityWithConstant()
3224 BO, Constant::getNullValue(RHS->getType())); in foldICmpBinOpEqualityWithConstant()
3266 ConstantInt::getNullValue(Ty)); in foldICmpEqIntrinsicWithConstant()
3291 IsZero ? Constant::getNullValue(Ty) in foldICmpEqIntrinsicWithConstant()
3315 return new ICmpInst(Pred, Or, Constant::getNullValue(Ty)); in foldICmpEqIntrinsicWithConstant()
3506 ConstantInt::getNullValue(Ty)); in foldICmpIntrinsicWithConstant()
3514 ConstantInt::getNullValue(Ty)); in foldICmpIntrinsicWithConstant()
3540 Constant::getNullValue(LHSI->getOperand(0)->getType())); in foldICmpInstWithConstantNotInt()
3556 Constant::getNullValue(LHSI->getOperand(0)->getType())); in foldICmpInstWithConstantNotInt()
3967 Constant::getNullValue(WidestTy)); in foldShiftIntoShiftInAnotherHandOfAndInICmp()
4061 Constant::getNullValue(X->getType()), I.getName()); in foldICmpXNegX()
4126 Constant *Zero = ConstantInt::getNullValue(Op1->getType()); in foldICmpBinOp()
4135 Constant *Zero = ConstantInt::getNullValue(Op1->getType()); in foldICmpBinOp()
4168 Constant::getNullValue(Op1->getType())); in foldICmpBinOp()
4173 return new ICmpInst(Pred, Constant::getNullValue(Op0->getType()), in foldICmpBinOp()
4321 return new ICmpInst(Pred, Constant::getNullValue(Op1->getType()), B); in foldICmpBinOp()
4324 return new ICmpInst(Pred, D, Constant::getNullValue(Op0->getType())); in foldICmpBinOp()
4398 Constant::getNullValue(SRem->getType())); in foldICmpBinOp()
4484 auto *Zero = Constant::getNullValue(BO0->getType()); in foldICmpBinOp()
4601 return new ICmpInst(Pred, OtherVal, Constant::getNullValue(A->getType())); in foldICmpEquality()
4629 return new ICmpInst(Pred, OtherVal, Constant::getNullValue(A->getType())); in foldICmpEquality()
4658 return new ICmpInst(Pred, Op1, Constant::getNullValue(Op1->getType())); in foldICmpEquality()
4671 return new ICmpInst(Pred, And, Constant::getNullValue(And->getType())); in foldICmpEquality()
4718 return new ICmpInst(Pred, And, Constant::getNullValue(Cst1->getType())); in foldICmpEquality()
4810 Constant *Zero = ConstantInt::getNullValue(X->getType()); in foldICmpWithTrunc()
4934 return new ICmpInst(CmpInst::ICMP_SLT, X, Constant::getNullValue(SrcTy)); in foldICmpWithZextOrSext()
5559 Constant::getNullValue(Op1->getType())); in foldICmpUsingKnownBits()
5576 Constant::getNullValue(Op1->getType())); in foldICmpUsingKnownBits()
5978 Constant *Zero = Constant::getNullValue(NewX->getType()); in foldICmpWithHighBitMask()
6211 Constant *Zero = Constant::getNullValue(Op0->getType()); in visitICmpInst()
6744 Constant *Zero = ConstantFP::getNullValue(Op0->getType()); in foldFCmpFNegCommonOp()
6777 I.setOperand(1, Constant::getNullValue(OpType)); in visitFCmpInst()
6786 I.setOperand(1, Constant::getNullValue(OpType)); in visitFCmpInst()
6795 return replaceOperand(I, 0, ConstantFP::getNullValue(OpType)); in visitFCmpInst()
6798 return replaceOperand(I, 1, ConstantFP::getNullValue(OpType)); in visitFCmpInst()
6827 return replaceOperand(I, 1, ConstantFP::getNullValue(OpType)); in visitFCmpInst()
6897 ConstantFP::getNullValue(X->getType())); in visitFCmpInst()
6901 ConstantFP::getNullValue(X->getType())); in visitFCmpInst()
6939 ConstantInt::getNullValue(IntType)); in visitFCmpInst()