Searched refs:isExact (Results 1 - 25 of 48) sorted by relevance

12

/external/llvm/include/llvm/Analysis/
H A DTargetFolder.h71 Constant *CreateUDiv(Constant *LHS, Constant *RHS, bool isExact = false)const{
72 return Fold(ConstantExpr::getUDiv(LHS, RHS, isExact));
74 Constant *CreateSDiv(Constant *LHS, Constant *RHS, bool isExact = false)const{
75 return Fold(ConstantExpr::getSDiv(LHS, RHS, isExact));
93 Constant *CreateLShr(Constant *LHS, Constant *RHS, bool isExact = false)const{
94 return Fold(ConstantExpr::getLShr(LHS, RHS, isExact));
96 Constant *CreateAShr(Constant *LHS, Constant *RHS, bool isExact = false)const{
97 return Fold(ConstantExpr::getAShr(LHS, RHS, isExact));
H A DInstructionSimplify.h141 Value *SimplifyLShrInst(Value *Op0, Value *Op1, bool isExact,
148 Value *SimplifyAShrInst(Value *Op0, Value *Op1, bool isExact,
/external/llvm/include/llvm/IR/
H A DConstantFolder.h56 bool isExact = false) const {
57 return ConstantExpr::getUDiv(LHS, RHS, isExact);
60 bool isExact = false) const {
61 return ConstantExpr::getSDiv(LHS, RHS, isExact);
80 bool isExact = false) const {
81 return ConstantExpr::getLShr(LHS, RHS, isExact);
84 bool isExact = false) const {
85 return ConstantExpr::getAShr(LHS, RHS, isExact);
H A DNoFolder.h89 bool isExact = false) const {
90 if (!isExact)
98 bool isExact = false) const {
99 if (!isExact)
126 bool isExact = false) const {
127 if (!isExact)
132 bool isExact = false) const {
133 if (!isExact)
H A DIRBuilder.h699 bool isExact = false) {
702 return Insert(Folder.CreateUDiv(LC, RC, isExact), Name);
703 if (!isExact)
711 bool isExact = false) {
714 return Insert(Folder.CreateSDiv(LC, RC, isExact), Name);
715 if (!isExact)
771 bool isExact = false) {
774 return Insert(Folder.CreateLShr(LC, RC, isExact), Name);
775 if (!isExact)
780 bool isExact
[all...]
H A DConstants.h846 static Constant *getUDiv(Constant *C1, Constant *C2, bool isExact = false);
847 static Constant *getSDiv(Constant *C1, Constant *C2, bool isExact = false);
857 static Constant *getLShr(Constant *C1, Constant *C2, bool isExact = false);
858 static Constant *getAShr(Constant *C1, Constant *C2, bool isExact = false);
H A DOperator.h145 /// isExact - Test whether this division is known to be exact, with
147 bool isExact() const { function in class:llvm::PossiblyExactOperator
H A DInstrTypes.h358 /// isExact - Determine whether the exact flag is set.
359 bool isExact() const;
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp36 bool isNUW = false, isNSW = false, isExact = false; local
43 isExact = PEO->isExact();
64 if (isExact)
65 isExact = cast<PossiblyExactOperator>(I)->isExact();
127 if (isExact) NewBinOp->setIsExact();
405 bool isNUW = false, isNSW = false, isExact = false; local
429 isExact = PEO->isExact();
[all...]
H A DInstCombineShifts.cpp593 ShiftOp->isExact()) {
612 NewLShr->setIsExact(I.isExact());
631 NewAShr->setIsExact(I.isExact());
644 ShiftOp->isExact()) {
734 I.isExact(), DL))
762 if (!I.isExact() &&
777 I.isExact(), DL))
806 if (!I.isExact() &&
H A DInstCombineMulDivRem.cpp47 // (PowerOfTwo >>u B) --> isExact since shifting out the result would make it
58 if (I->getOpcode() == Instruction::LShr && !I->isExact()) {
239 if (SDiv->isExact()) {
831 if (I.isExact()) LShr->setIsExact();
859 if (I.isExact()) LShr->setIsExact();
931 I.isExact()),
987 if (I.isExact() && RHS->getValue().isNonNegative() &&
H A DInstCombineSimplifyDemanded.cpp640 if (cast<LShrOperator>(I)->isExact())
685 if (cast<AShrOperator>(I)->isExact())
709 NewVal->setIsExact(cast<BinaryOperator>(I)->isExact());
899 if (cast<BinaryOperator>(Shr)->isExact())
H A DInstCombineCompares.cpp847 ConstantInt *RangeSize = DivI->isExact() ? getOne(Prod) : DivRHS;
889 if (DivI->isExact())
983 (!Shr->isExact() || ShAmtVal == TypeBits - 1))
994 Builder->CreateSDiv(Shr->getOperand(0), DivCst, "", Shr->isExact()) :
995 Builder->CreateUDiv(Shr->getOperand(0), DivCst, "", Shr->isExact());
1032 if (Shr->hasOneUse() && Shr->isExact())
1531 if (ICI.isEquality() && BO->isExact() && BO->hasOneUse()) {
3092 if (!BO0->isExact() || !BO1->isExact())
H A DInstCombineSelect.cpp262 BO->setIsExact(TVI_BO->isExact());
297 BO->setIsExact(FVI_BO->isExact());
/external/smack/src/org/xbill/DNS/
H A DZone.java348 boolean isExact = (tlabels == labels);
352 else if (isExact)
370 if (isExact && type == Type.ANY) {
382 if (isExact) {
401 if (isExact)
H A DCache.java416 boolean isExact = (tlabels == labels);
420 else if (isExact)
434 if (isExact && type == Type.ANY) {
454 } else if (isExact) {
491 if (isExact) {
/external/llvm/unittests/Transforms/Utils/
H A DCloning.cpp150 EXPECT_FALSE(this->clone(SDiv)->isExact());
153 EXPECT_TRUE(this->clone(SDiv)->isExact());
/external/llvm/lib/Analysis/
H A DInstructionSimplify.cpp1294 static Value *SimplifyLShrInst(Value *Op0, Value *Op1, bool isExact, argument
1316 Value *llvm::SimplifyLShrInst(Value *Op0, Value *Op1, bool isExact, argument
1320 return ::SimplifyLShrInst(Op0, Op1, isExact, Query (DL, TLI, DT),
1326 static Value *SimplifyAShrInst(Value *Op0, Value *Op1, bool isExact, argument
1352 Value *llvm::SimplifyAShrInst(Value *Op0, Value *Op1, bool isExact, argument
1356 return ::SimplifyAShrInst(Op0, Op1, isExact, Query (DL, TLI, DT),
1977 if (!CI2->isZero() && cast<BinaryOperator>(LHS)->isExact())
1991 if (!CI2->isZero() && cast<BinaryOperator>(LHS)->isExact())
2359 if (!LBO->isExact() || !RBO->isExact())
[all...]
H A DConstantFolding.cpp1384 bool isExact = false; local
1389 &isExact);
/external/llvm/unittests/ADT/
H A DAPFloatTest.cpp877 bool isExact = false; local
882 .convertToInteger(result, APFloat::rmTowardZero, &isExact));
883 EXPECT_TRUE(isExact);
888 .convertToInteger(result, APFloat::rmTowardZero, &isExact));
889 EXPECT_FALSE(isExact);
894 .convertToInteger(result, APFloat::rmTowardZero, &isExact));
895 EXPECT_FALSE(isExact);
900 .convertToInteger(result, APFloat::rmTowardZero, &isExact));
901 EXPECT_FALSE(isExact);
907 .convertToInteger(result, APFloat::rmTowardZero, &isExact));
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp215 bool isExact; local
217 APFloat::rmTowardZero, &isExact);
218 if (isExact) {
414 cast<BinaryOperator>(I)->isExact() &&
/external/llvm/lib/IR/
H A DConstants.cpp2135 Constant *ConstantExpr::getUDiv(Constant *C1, Constant *C2, bool isExact) { argument
2137 isExact ? PossiblyExactOperator::IsExact : 0);
2140 Constant *ConstantExpr::getSDiv(Constant *C1, Constant *C2, bool isExact) { argument
2142 isExact ? PossiblyExactOperator::IsExact : 0);
2180 Constant *ConstantExpr::getLShr(Constant *C1, Constant *C2, bool isExact) { argument
2182 isExact ? PossiblyExactOperator::IsExact : 0);
2185 Constant *ConstantExpr::getAShr(Constant *C1, Constant *C2, bool isExact) { argument
2187 isExact ? PossiblyExactOperator::IsExact : 0);
/external/llvm/lib/Support/
H A DAPFloat.cpp2068 bool *isExact) const
2074 *isExact = false;
2085 *isExact = !sign;
2161 *isExact = true;
2171 The *isExact output tells whether the result is exact, in the sense
2179 roundingMode rounding_mode, bool *isExact) const
2184 isExact);
2212 roundingMode rounding_mode, bool *isExact) const
2217 parts.data(), bitWidth, result.isSigned(), rounding_mode, isExact);
/external/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp226 bool isExact = false; local
230 &isExact) != APFloat::opOK || !isExact)
/external/chromium_org/third_party/sqlite/src/ext/fts3/
H A Dfts3.c1607 int isExact, /* If *pp1 is exactly nTokens before *pp2 */
1617 /* Never set both isSaveLeft and isExact for the same invocation. */
1618 assert( isSaveLeft==0 || isExact==0 );
1649 || (isExact==0 && iPos2>iPos1 && iPos2<=iPos1+nToken)
1603 fts3PoslistPhraseMerge( char **pp, int nToken, int isSaveLeft, int isExact, char **pp1, char **pp2 ) argument

Completed in 1496 milliseconds

12