HomeSort by relevance Sort by last modified time
    Searched refs:isExact (Results 1 - 25 of 37) sorted by null

1 2

  /external/llvm/include/llvm/Support/
ConstantFolder.h 56 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);
NoFolder.h 89 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)
TargetFolder.h 71 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));
IRBuilder.h 590 bool isExact = false) {
593 return Insert(Folder.CreateUDiv(LC, RC, isExact), Name);
594 if (!isExact)
602 bool isExact = false) {
605 return Insert(Folder.CreateSDiv(LC, RC, isExact), Name);
606 if (!isExact)
662 bool isExact = false) {
665 return Insert(Folder.CreateLShr(LC, RC, isExact), Name);
666 if (!isExact)
671 bool isExact = false)
    [all...]
PatternMatch.h 477 return PEO->isExact() && SubPattern.match(V);
  /external/llvm/lib/Transforms/InstCombine/
InstCombinePHI.cpp 34 bool isNUW = false, isNSW = false, isExact = false;
41 isExact = PEO->isExact();
62 if (isExact)
63 isExact = cast<PossiblyExactOperator>(I)->isExact();
125 if (isExact) NewBinOp->setIsExact();
405 bool isNUW = false, isNSW = false, isExact = false;
429 isExact = PEO->isExact();
    [all...]
InstCombineMulDivRem.cpp 45 // (PowerOfTwo >>u B) --> isExact since shifting out the result would make it
57 if (I->getOpcode() == Instruction::LShr && !I->isExact()) {
199 if (SDiv->isExact()) {
451 if (I.isExact()) LShr->setIsExact();
470 if (I.isExact())
482 I.isExact());
486 I.isExact());
497 I.isExact()),
519 if (I.isExact() && RHS->getValue().isNonNegative() &&
InstCombineShifts.cpp 580 if (ShiftOp->isExact()) {
603 NewLShr->setIsExact(I.isExact());
622 NewAShr->setIsExact(I.isExact());
634 if (ShiftOp->isExact()) {
724 I.isExact(), TD))
752 if (!I.isExact() &&
764 I.isExact(), TD))
    [all...]
InstCombineSimplifyDemanded.cpp 614 if (cast<LShrOperator>(I)->isExact())
659 if (cast<AShrOperator>(I)->isExact())
683 NewVal->setIsExact(cast<BinaryOperator>(I)->isExact());
    [all...]
InstCombineCompares.cpp     [all...]
InstCombineSelect.cpp 231 BO->setIsExact(TVI_BO->isExact());
266 BO->setIsExact(FVI_BO->isExact());
    [all...]
  /external/llvm/unittests/Transforms/Utils/
Cloning.cpp 140 EXPECT_FALSE(this->clone(SDiv)->isExact());
143 EXPECT_TRUE(this->clone(SDiv)->isExact());
  /external/llvm/unittests/ADT/
APFloatTest.cpp 351 bool isExact = false;
356 .convertToInteger(result, APFloat::rmTowardZero, &isExact));
357 EXPECT_TRUE(isExact);
362 .convertToInteger(result, APFloat::rmTowardZero, &isExact));
363 EXPECT_FALSE(isExact);
368 .convertToInteger(result, APFloat::rmTowardZero, &isExact));
369 EXPECT_FALSE(isExact);
374 .convertToInteger(result, APFloat::rmTowardZero, &isExact));
375 EXPECT_FALSE(isExact);
381 .convertToInteger(result, APFloat::rmTowardZero, &isExact));
    [all...]
  /external/llvm/include/llvm/Analysis/
InstructionSimplify.h 97 Value *SimplifyLShrInst(Value *Op0, Value *Op1, bool isExact,
104 Value *SimplifyAShrInst(Value *Op0, Value *Op1, bool isExact,
  /external/llvm/include/llvm/
Constants.h     [all...]
Operator.h 130 IsExact = (1 << 0)
139 SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact);
143 /// isExact - Test whether this division is known to be exact, with
145 bool isExact() const {
146 return SubclassOptionalData & IsExact;
InstrTypes.h 360 /// isExact - Determine whether the exact flag is set.
361 bool isExact() const;
    [all...]
  /external/llvm/lib/Support/
APFloat.cpp     [all...]
  /external/llvm/lib/Analysis/
InstructionSimplify.cpp     [all...]
ConstantFolding.cpp     [all...]
  /external/llvm/lib/CodeGen/SelectionDAG/
FastISel.cpp 193 bool isExact;
195 APFloat::rmTowardZero, &isExact);
196 if (isExact) {
392 cast<BinaryOperator>(I)->isExact() &&
    [all...]
  /external/llvm/lib/VMCore/
Constants.cpp     [all...]
  /external/llvm/lib/Transforms/Scalar/
IndVarSimplify.cpp 220 bool isExact = false;
226 &isExact) != APFloat::opOK || !isExact)
    [all...]
  /external/clang/lib/AST/
StmtProfile.cpp 278 ID.AddBoolean(S->isExact());
  /external/clang/lib/Sema/
SemaChecking.cpp     [all...]

Completed in 216 milliseconds

1 2