Lines Matching refs:getNullValue
643 NewInsts[Base] = ConstantInt::getNullValue(IndexType); in rewriteGEPAsOffset()
753 Constant *Index = ConstantInt::getNullValue(IndexType); in getAsConstantIndexedAddress()
860 Constant::getNullValue(Offset->getType())); in foldGEPICmp()
1169 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in foldICmpShrConstConst()
1220 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in foldICmpShlConstConst()
1375 X, ConstantInt::getNullValue(XTy)); in foldSignBitTest()
1582 ConstantInt::getNullValue(X->getType())) in foldICmpTruncConstant()
1617 ConstantInt::getNullValue(X->getType())); in foldICmpXorConstant()
1769 Constant *Zero = Constant::getNullValue(X->getType()); in foldICmpAndConstConst()
1867 return new ICmpInst(NewPred, X, ConstantInt::getNullValue(X->getType())); in foldICmpAndConstant()
1911 return new ICmpInst(NewPred, Trunc, Constant::getNullValue(NTy)); in foldICmpAndConstant()
1961 Builder.CreateICmp(Pred, P, ConstantInt::getNullValue(P->getType())); in foldICmpOrConstant()
1963 Builder.CreateICmp(Pred, Q, ConstantInt::getNullValue(Q->getType())); in foldICmpOrConstant()
1999 Constant::getNullValue(Mul->getType())); in foldICmpMulConstant()
2131 return new ICmpInst(Pred, X, Constant::getNullValue(ShType)); in foldICmpShlConstant()
2178 And, Constant::getNullValue(ShType)); in foldICmpShlConstant()
2189 And, Constant::getNullValue(ShType)); in foldICmpShlConstant()
2198 And, Constant::getNullValue(ShType)); in foldICmpShlConstant()
2279 ConstantInt::getNullValue(ShrTy)); in foldICmpShrConstant()
2371 return new ICmpInst(ICmpInst::ICMP_SGT, And, ConstantInt::getNullValue(Ty)); in foldICmpSRemConstant()
2856 return new ICmpInst(Pred, X, ConstantInt::getNullValue(X->getType())); in foldICmpBitCast()
2873 return new ICmpInst(Pred, X, ConstantInt::getNullValue(X->getType())); in foldICmpBitCast()
2898 ConstantInt::getNullValue(NewType)); in foldICmpBitCast()
3063 Constant::getNullValue(BO->getType())); in foldICmpBinOpEqualityWithConstant()
3130 BO, Constant::getNullValue(RHS->getType())); in foldICmpBinOpEqualityWithConstant()
3171 ConstantInt::getNullValue(Ty)); in foldICmpEqIntrinsicWithConstant()
3197 IsZero ? Constant::getNullValue(Ty) : Constant::getAllOnesValue(Ty)); in foldICmpEqIntrinsicWithConstant()
3206 return new ICmpInst(Cmp.getPredicate(), Or, Constant::getNullValue(Ty)); in foldICmpEqIntrinsicWithConstant()
3278 ConstantInt::getNullValue(Ty)); in foldICmpIntrinsicWithConstant()
3286 ConstantInt::getNullValue(Ty)); in foldICmpIntrinsicWithConstant()
3312 Constant::getNullValue(LHSI->getOperand(0)->getType())); in foldICmpInstWithConstantNotInt()
3386 Constant::getNullValue(LHSI->getOperand(0)->getType())); in foldICmpInstWithConstantNotInt()
3744 Constant::getNullValue(WidestTy)); in foldShiftIntoShiftInAnotherHandOfAndInICmp()
3829 Constant::getNullValue(X->getType()), I.getName()); in foldICmpXNegX()
3891 Constant::getNullValue(Op1->getType())); in foldICmpBinOp()
3896 return new ICmpInst(Pred, Constant::getNullValue(Op0->getType()), in foldICmpBinOp()
4035 return new ICmpInst(Pred, Constant::getNullValue(Op1->getType()), B); in foldICmpBinOp()
4038 return new ICmpInst(Pred, D, Constant::getNullValue(Op0->getType())); in foldICmpBinOp()
4112 Constant::getNullValue(SRem->getType())); in foldICmpBinOp()
4198 auto *Zero = Constant::getNullValue(BO0->getType()); in foldICmpBinOp()
4315 return new ICmpInst(Pred, OtherVal, Constant::getNullValue(A->getType())); in foldICmpEquality()
4343 return new ICmpInst(Pred, OtherVal, Constant::getNullValue(A->getType())); in foldICmpEquality()
4372 return new ICmpInst(Pred, Op1, Constant::getNullValue(Op1->getType())); in foldICmpEquality()
4416 return new ICmpInst(Pred, And, Constant::getNullValue(Cst1->getType())); in foldICmpEquality()
4569 return new ICmpInst(CmpInst::ICMP_SLT, X, Constant::getNullValue(SrcTy)); in foldICmpWithZextOrSext()
5192 Constant::getNullValue(Op1->getType())); in foldICmpUsingKnownBits()
5209 Constant::getNullValue(Op1->getType())); in foldICmpUsingKnownBits()
5601 Constant *Zero = Constant::getNullValue(NewX->getType()); in foldICmpWithHighBitMask()
5769 Constant *Zero = Constant::getNullValue(Op0->getType()); in visitICmpInst()
6295 I.setOperand(1, Constant::getNullValue(OpType)); in visitFCmpInst()
6304 I.setOperand(1, Constant::getNullValue(OpType)); in visitFCmpInst()
6313 return replaceOperand(I, 0, ConstantFP::getNullValue(OpType)); in visitFCmpInst()
6316 return replaceOperand(I, 1, ConstantFP::getNullValue(OpType)); in visitFCmpInst()
6342 return replaceOperand(I, 1, ConstantFP::getNullValue(OpType)); in visitFCmpInst()
6431 ConstantInt::getNullValue(IntType)); in visitFCmpInst()