Home
last modified time | relevance | path

Searched refs:isExact (Results 1 – 25 of 46) sorted by relevance

12

/external/llvm/include/llvm/IR/
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);
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)
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 = false) {
[all …]
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);
DOperator.h147 bool isExact() const { in isExact() function
DInstrTypes.h359 bool isExact() const;
/external/llvm/include/llvm/Analysis/
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));
DInstructionSimplify.h141 Value *SimplifyLShrInst(Value *Op0, Value *Op1, bool isExact,
148 Value *SimplifyAShrInst(Value *Op0, Value *Op1, bool isExact,
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp36 bool isNUW = false, isNSW = false, isExact = false; in FoldPHIArgBinOpIntoPHI() local
43 isExact = PEO->isExact(); in FoldPHIArgBinOpIntoPHI()
64 if (isExact) in FoldPHIArgBinOpIntoPHI()
65 isExact = cast<PossiblyExactOperator>(I)->isExact(); in FoldPHIArgBinOpIntoPHI()
127 if (isExact) NewBinOp->setIsExact(); in FoldPHIArgBinOpIntoPHI()
405 bool isNUW = false, isNSW = false, isExact = false; in FoldPHIArgOpIntoPHI() local
429 isExact = PEO->isExact(); in FoldPHIArgOpIntoPHI()
450 if (isExact) in FoldPHIArgOpIntoPHI()
451 isExact = cast<PossiblyExactOperator>(I)->isExact(); in FoldPHIArgOpIntoPHI()
494 if (isExact) BinOp->setIsExact(); in FoldPHIArgOpIntoPHI()
DInstCombineShifts.cpp593 ShiftOp->isExact()) { in FoldShiftByConstant()
612 NewLShr->setIsExact(I.isExact()); in FoldShiftByConstant()
631 NewAShr->setIsExact(I.isExact()); in FoldShiftByConstant()
644 ShiftOp->isExact()) { in FoldShiftByConstant()
734 I.isExact(), DL)) in visitLShr()
762 if (!I.isExact() && in visitLShr()
777 I.isExact(), DL)) in visitAShr()
806 if (!I.isExact() && in visitAShr()
DInstCombineMulDivRem.cpp58 if (I->getOpcode() == Instruction::LShr && !I->isExact()) { in simplifyValueKnownNonZero()
239 if (SDiv->isExact()) { in visitMul()
831 if (I.isExact()) LShr->setIsExact(); in foldUDivPow2Cst()
859 if (I.isExact()) LShr->setIsExact(); in foldUDivShl()
931 I.isExact()), in visitUDiv()
987 if (I.isExact() && RHS->getValue().isNonNegative() && in visitSDiv()
DInstCombineSimplifyDemanded.cpp640 if (cast<LShrOperator>(I)->isExact()) in SimplifyDemandedUseBits()
685 if (cast<AShrOperator>(I)->isExact()) in SimplifyDemandedUseBits()
709 NewVal->setIsExact(cast<BinaryOperator>(I)->isExact()); in SimplifyDemandedUseBits()
899 if (cast<BinaryOperator>(Shr)->isExact()) in SimplifyShrShlDemandedBits()
DInstCombineCompares.cpp847 ConstantInt *RangeSize = DivI->isExact() ? getOne(Prod) : DivRHS; in FoldICmpDivCst()
889 if (DivI->isExact()) in FoldICmpDivCst()
983 (!Shr->isExact() || ShAmtVal == TypeBits - 1)) in FoldICmpShrCst()
994 Builder->CreateSDiv(Shr->getOperand(0), DivCst, "", Shr->isExact()) : in FoldICmpShrCst()
995 Builder->CreateUDiv(Shr->getOperand(0), DivCst, "", Shr->isExact()); in FoldICmpShrCst()
1032 if (Shr->hasOneUse() && Shr->isExact()) in FoldICmpShrCst()
1531 if (ICI.isEquality() && BO->isExact() && BO->hasOneUse()) { in visitICmpInstWithInstAndIntCst()
3092 if (!BO0->isExact() || !BO1->isExact()) in visitICmpInst()
DInstCombineSelect.cpp262 BO->setIsExact(TVI_BO->isExact()); in FoldSelectIntoOp()
297 BO->setIsExact(FVI_BO->isExact()); in FoldSelectIntoOp()
/external/smack/src/org/xbill/DNS/
DZone.java348 boolean isExact = (tlabels == labels); in lookup()
352 else if (isExact) in lookup()
370 if (isExact && type == Type.ANY) { in lookup()
382 if (isExact) { in lookup()
401 if (isExact) in lookup()
DCache.java416 boolean isExact = (tlabels == labels); in lookup()
420 else if (isExact) in lookup()
434 if (isExact && type == Type.ANY) { in lookup()
454 } else if (isExact) { in lookup()
491 if (isExact) { in lookup()
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp150 EXPECT_FALSE(this->clone(SDiv)->isExact()); in TEST_F()
153 EXPECT_TRUE(this->clone(SDiv)->isExact()); in TEST_F()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1294 static Value *SimplifyLShrInst(Value *Op0, Value *Op1, bool isExact, in SimplifyLShrInst() argument
1316 Value *llvm::SimplifyLShrInst(Value *Op0, Value *Op1, bool isExact, in SimplifyLShrInst() argument
1320 return ::SimplifyLShrInst(Op0, Op1, isExact, Query (DL, TLI, DT), in SimplifyLShrInst()
1326 static Value *SimplifyAShrInst(Value *Op0, Value *Op1, bool isExact, in SimplifyAShrInst() argument
1352 Value *llvm::SimplifyAShrInst(Value *Op0, Value *Op1, bool isExact, in SimplifyAShrInst() argument
1356 return ::SimplifyAShrInst(Op0, Op1, isExact, Query (DL, TLI, DT), in SimplifyAShrInst()
1977 if (!CI2->isZero() && cast<BinaryOperator>(LHS)->isExact()) in SimplifyICmpInst()
1991 if (!CI2->isZero() && cast<BinaryOperator>(LHS)->isExact()) in SimplifyICmpInst()
2359 if (!LBO->isExact() || !RBO->isExact()) in SimplifyICmpInst()
3120 cast<BinaryOperator>(I)->isExact(), in SimplifyInstruction()
[all …]
DConstantFolding.cpp1384 bool isExact = false; in ConstantFoldConvertToInt() local
1389 &isExact); in ConstantFoldConvertToInt()
/external/llvm/unittests/ADT/
DAPFloatTest.cpp877 bool isExact = false; in TEST() local
882 .convertToInteger(result, APFloat::rmTowardZero, &isExact)); in TEST()
883 EXPECT_TRUE(isExact); in TEST()
888 .convertToInteger(result, APFloat::rmTowardZero, &isExact)); in TEST()
889 EXPECT_FALSE(isExact); in TEST()
894 .convertToInteger(result, APFloat::rmTowardZero, &isExact)); in TEST()
895 EXPECT_FALSE(isExact); in TEST()
900 .convertToInteger(result, APFloat::rmTowardZero, &isExact)); in TEST()
901 EXPECT_FALSE(isExact); in TEST()
907 .convertToInteger(result, APFloat::rmTowardZero, &isExact)); in TEST()
[all …]
/external/llvm/lib/Support/
DAPFloat.cpp2068 bool *isExact) const in convertToSignExtendedInteger()
2074 *isExact = false; in convertToSignExtendedInteger()
2085 *isExact = !sign; in convertToSignExtendedInteger()
2161 *isExact = true; in convertToSignExtendedInteger()
2179 roundingMode rounding_mode, bool *isExact) const in convertToInteger()
2184 isExact); in convertToInteger()
2212 roundingMode rounding_mode, bool *isExact) const in convertToInteger()
2217 parts.data(), bitWidth, result.isSigned(), rounding_mode, isExact); in convertToInteger()
/external/llvm/lib/IR/
DConstants.cpp2135 Constant *ConstantExpr::getUDiv(Constant *C1, Constant *C2, bool isExact) { in getUDiv() argument
2137 isExact ? PossiblyExactOperator::IsExact : 0); in getUDiv()
2140 Constant *ConstantExpr::getSDiv(Constant *C1, Constant *C2, bool isExact) { in getSDiv() argument
2142 isExact ? PossiblyExactOperator::IsExact : 0); in getSDiv()
2180 Constant *ConstantExpr::getLShr(Constant *C1, Constant *C2, bool isExact) { in getLShr() argument
2182 isExact ? PossiblyExactOperator::IsExact : 0); in getLShr()
2185 Constant *ConstantExpr::getAShr(Constant *C1, Constant *C2, bool isExact) { in getAShr() argument
2187 isExact ? PossiblyExactOperator::IsExact : 0); in getAShr()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp215 bool isExact; in materializeRegForValue() local
217 APFloat::rmTowardZero, &isExact); in materializeRegForValue()
218 if (isExact) { in materializeRegForValue()
414 cast<BinaryOperator>(I)->isExact() && in SelectBinaryOp()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp226 bool isExact = false; in ConvertToSInt() local
230 &isExact) != APFloat::opOK || !isExact) in ConvertToSInt()
/external/chromium_org/third_party/sqlite/src/ext/fts3/
Dfts3.c1607 int isExact, /* If *pp1 is exactly nTokens before *pp2 */ in fts3PoslistPhraseMerge() argument
1618 assert( isSaveLeft==0 || isExact==0 ); in fts3PoslistPhraseMerge()
1649 || (isExact==0 && iPos2>iPos1 && iPos2<=iPos1+nToken) in fts3PoslistPhraseMerge()

12