HomeSort by: relevance | last modified time | path
    Searched refs:isExact (Results 1 - 25 of 46) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
ConstantFolder.h 66 bool isExact = false) const override {
67 return ConstantExpr::getUDiv(LHS, RHS, isExact);
71 bool isExact = false) const override {
72 return ConstantExpr::getSDiv(LHS, RHS, isExact);
97 bool isExact = false) const override {
98 return ConstantExpr::getLShr(LHS, RHS, isExact);
102 bool isExact = false) const override {
103 return ConstantExpr::getAShr(LHS, RHS, isExact);
NoFolder.h 84 bool isExact = false) const override {
85 if (!isExact)
91 bool isExact = false) const override {
92 if (!isExact)
122 bool isExact = false) const override {
123 if (!isExact)
129 bool isExact = false) const override {
130 if (!isExact)
IRBuilderFolder.h 42 bool isExact = false) const = 0;
44 bool isExact = false) const = 0;
52 bool isExact = false) const = 0;
54 bool isExact = false) const = 0;
IRBuilder.h 1242 bool isExact = false) {
1245 return Insert(Folder.CreateUDiv(LC, RC, isExact), Name);
1246 if (!isExact)
1256 bool isExact = false) {
1259 return Insert(Folder.CreateSDiv(LC, RC, isExact), Name);
1260 if (!isExact)
1301 bool isExact = false) {
1304 return Insert(Folder.CreateLShr(LC, RC, isExact), Name);
1305 if (!isExact)
1311 bool isExact = false)
    [all...]
Constants.h 986 static Constant *getUDiv(Constant *C1, Constant *C2, bool isExact = false);
987 static Constant *getSDiv(Constant *C1, Constant *C2, bool isExact = false);
998 static Constant *getLShr(Constant *C1, Constant *C2, bool isExact = false);
999 static Constant *getAShr(Constant *C1, Constant *C2, bool isExact = false);
Instruction.h 390 bool isExact() const;
Operator.h 123 IsExact = (1 << 0)
131 SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact);
136 bool isExact() const {
137 return SubclassOptionalData & IsExact;
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
TargetFolder.h 71 bool isExact = false) const override {
72 return Fold(ConstantExpr::getUDiv(LHS, RHS, isExact));
75 bool isExact = false) const override {
76 return Fold(ConstantExpr::getSDiv(LHS, RHS, isExact));
95 bool isExact = false) const override {
96 return Fold(ConstantExpr::getLShr(LHS, RHS, isExact));
99 bool isExact = false) const override {
100 return Fold(ConstantExpr::getAShr(LHS, RHS, isExact));
InstructionSimplify.h 87 bool isExact(const BinaryOperator *Op) const {
89 return cast<PossiblyExactOperator>(Op)->isExact();
206 Value *SimplifyLShrInst(Value *Op0, Value *Op1, bool isExact,
210 Value *SimplifyAShrInst(Value *Op0, Value *Op1, bool isExact,
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
PoisonChecking.cpp 154 if (I.isExact()) {
163 if (I.isExact()) {
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineShifts.cpp 155 NewShift->setIsExact(Sh0->isExact() && Sh1->isExact());
972 NewShr->setIsExact(OldShr->isExact());
1039 if (Value *V = SimplifyLShrInst(I.getOperand(0), I.getOperand(1), I.isExact(),
1078 NewLShr->setIsExact(I.isExact());
1082 Value *NewLShr = Builder.CreateLShr(X, ShiftDiff, "", I.isExact());
1173 if (!I.isExact() &&
1261 if (Value *V = SimplifyAShrInst(I.getOperand(0), I.getOperand(1), I.isExact(),
1296 NewAShr->setIsExact(I.isExact());
1333 if (!I.isExact() &
    [all...]
InstCombineMulDivRem.cpp 68 // (PowerOfTwo >>u B) --> isExact since shifting out the result would make it
80 if (I->getOpcode() == Instruction::LShr && !I->isExact()) {
284 if (Div->isExact()) {
759 NewDiv->setIsExact(I.isExact());
785 BO->setIsExact(I.isExact());
894 if (I.isExact())
918 if (I.isExact())
1021 bool IsExact = I.isExact() && match(Op0, m_Exact(m_Value()));
1024 if (IsExact)
    [all...]
InstCombineSimplifyDemanded.cpp 598 if (cast<LShrOperator>(I)->isExact())
643 if (cast<AShrOperator>(I)->isExact())
665 LShr->setIsExact(cast<BinaryOperator>(I)->isExact());
680 if (cast<UDivOperator>(I)->isExact())
1057 if (cast<BinaryOperator>(Shr)->isExact())
InstCombineNegator.cpp 248 NewInstr->setIsExact(I->isExact());
InstCombineCompares.cpp 2194 if (Cmp.isEquality() && Shr->isExact() && Shr->hasOneUse() &&
2214 bool IsExact = Shr->isExact();
2221 if (Pred == CmpInst::ICMP_SLT || (Pred == CmpInst::ICMP_SGT && IsExact)) {
2251 if (Pred == CmpInst::ICMP_ULT || (Pred == CmpInst::ICMP_UGT && IsExact)) {
2280 if (Shr->isExact())
2421 APInt RangeSize = Div->isExact() ? APInt(C2->getBitWidth(), 1) : *C2;
2462 if (Div->isExact())
4098 if (I.isSigned() || !BO0->isExact() || !BO1->isExact())
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/IR/
Instruction.cpp 165 bool Instruction::isExact() const {
166 return cast<PossiblyExactOperator>(this)->isExact();
280 setIsExact(PE->isExact());
302 setIsExact(isExact() & PE->isExact());
Constants.cpp 2711 Constant *ConstantExpr::getUDiv(Constant *C1, Constant *C2, bool isExact) {
2713 isExact ? PossiblyExactOperator::IsExact : 0);
2716 Constant *ConstantExpr::getSDiv(Constant *C1, Constant *C2, bool isExact) {
2718 isExact ? PossiblyExactOperator::IsExact : 0);
2761 Constant *ConstantExpr::getLShr(Constant *C1, Constant *C2, bool isExact) {
2763 isExact ? PossiblyExactOperator::IsExact : 0);
2766 Constant *ConstantExpr::getAShr(Constant *C1, Constant *C2, bool isExact) {
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
DemandedBits.cpp 232 if (cast<LShrOperator>(UserI)->isExact())
252 if (cast<AShrOperator>(UserI)->isExact())
InstructionSimplify.cpp 1300 Value *Op1, bool isExact, const SimplifyQuery &Q,
1313 return isExact ? Op0 : Constant::getNullValue(Op0->getType());
1316 if (isExact) {
1360 static Value *SimplifyLShrInst(Value *Op0, Value *Op1, bool isExact,
1362 if (Value *V = SimplifyRightShift(Instruction::LShr, Op0, Op1, isExact, Q,
1391 Value *llvm::SimplifyLShrInst(Value *Op0, Value *Op1, bool isExact,
1393 return ::SimplifyLShrInst(Op0, Op1, isExact, Q, RecursionLimit);
1398 static Value *SimplifyAShrInst(Value *Op0, Value *Op1, bool isExact,
1400 if (Value *V = SimplifyRightShift(Instruction::AShr, Op0, Op1, isExact, Q,
1422 Value *llvm::SimplifyAShrInst(Value *Op0, Value *Op1, bool isExact,
    [all...]
ValueTracking.cpp 2226 return BO->isExact();
2397 if (BO->isExact())
2584 if (!PEO1->isExact() || !PEO2->isExact())
4890 if (ExactOp->isExact())
6665 if (!C->isNullValue() && IIQ.isExact(&BO))
6686 if (!C->isNullValue() && IIQ.isExact(&BO))
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
CorrelatedValuePropagation.cpp 717 BinOp->setIsExact(Instr->isExact());
761 BinOp->setIsExact(Instr->isExact());
859 UDiv->setIsExact(SDI->isExact());
904 BO->setIsExact(SDI->isExact());
IndVarSimplify.cpp 193 bool isExact = false;
197 APFloat::rmTowardZero, &isExact) != APFloat::opOK ||
198 !isExact)
  /src/external/apache2/llvm/dist/llvm/lib/Support/
APFloat.cpp 2282 roundingMode rounding_mode, bool *isExact) const {
2287 *isExact = false;
2299 *isExact = !sign;
2378 *isExact = true;
2388 The *isExact output tells whether the result is exact, in the sense
2396 roundingMode rounding_mode, bool *isExact) const {
2400 isExact);
4676 roundingMode RM, bool *IsExact) const {
4679 .convertToInteger(Input, Width, IsSigned, RM, IsExact);
4875 bool *isExact) const
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
FastISel.cpp 307 bool isExact;
308 (void)Flt.convertToInteger(SIntVal, APFloat::rmTowardZero, &isExact);
309 if (isExact) {
501 cast<BinaryOperator>(I)->isExact() && isPowerOf2_64(Imm)) {
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
SimplifyIndVar.cpp 167 if (UseInst->isExact() &&
327 UDiv->setIsExact(SDiv->isExact());
806 if (!Shr->isExact() && IVRange.getUnsignedMin().uge(*C)) {

Completed in 90 milliseconds

1 2