Lines Matching refs:ConstantInt
196 const ConstantInt *Offset;
201 explicit RangeCheck(const Value *Base, const ConstantInt *Offset,
206 void setOffset(const ConstantInt *NewOffset) { Offset = NewOffset; }
209 const ConstantInt *getOffset() const { return Offset; }
314 assert(isa<ConstantInt>(getCondition(I)) && "Should be!");
334 if (isa<ConstantInt>(getCondition(Instr)))
395 ? ConstantInt::getFalse(Instr->getContext())
396 : ConstantInt::getTrue(Instr->getContext());
505 ConstantInt *RHS0, *RHS1;
535 ConstantInt *NewRHS = ConstantInt::get(Cond0->getContext(), NewRHSAP);
608 CmpLHS, cast<ConstantInt>(ConstantInt::getNullValue(CmpRHS->getType())),
622 ConstantInt *OpRHS;
634 Check.setOffset(ConstantInt::get(Ctx, NewOffset));
642 Check.setOffset(ConstantInt::get(Ctx, NewOffset));
689 const ConstantInt *MinOffset = CurrentChecks.front().getOffset();
690 const ConstantInt *MaxOffset = CurrentChecks.back().getOffset();