reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/Instruction.h
  339   void setHasNoSignedWrap(bool b = true);

References

include/llvm/IR/IRBuilder.h
 1079     if (HasNSW) BO->setHasNoSignedWrap();
 1508     if (HasNSW) BO->setHasNoSignedWrap();
include/llvm/IR/InstrTypes.h
  292     BO->setHasNoSignedWrap(true);
  298     BO->setHasNoSignedWrap(true);
  304     BO->setHasNoSignedWrap(true);
include/llvm/IR/NoFolder.h
   45     if (HasNSW) BO->setHasNoSignedWrap();
   65     if (HasNSW) BO->setHasNoSignedWrap();
   85     if (HasNSW) BO->setHasNoSignedWrap();
  143     if (HasNSW) BO->setHasNoSignedWrap();
  186     if (HasNSW) BO->setHasNoSignedWrap();
lib/Analysis/ScalarEvolutionExpander.cpp
  233     BO->setHasNoSignedWrap();
 1322         cast<BinaryOperator>(IncV)->setHasNoSignedWrap();
lib/AsmParser/LLParser.cpp
 5736     if (NSW) cast<BinaryOperator>(Inst)->setHasNoSignedWrap(true);
lib/Bitcode/Reader/BitcodeReader.cpp
 3905             cast<BinaryOperator>(I)->setHasNoSignedWrap(true);
lib/IR/Constants.cpp
 3040       BO->setHasNoSignedWrap(SubclassOptionalData &
lib/IR/Instruction.cpp
  247       setHasNoSignedWrap(OB->hasNoSignedWrap());
  270       setHasNoSignedWrap(hasNoSignedWrap() & OB->hasNoSignedWrap());
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  313       Inst->setHasNoSignedWrap();
lib/Transforms/InstCombine/InstCombineAddSub.cpp
 1071     BOp->setHasNoSignedWrap();
 1276     Shl->setHasNoSignedWrap(I.hasNoSignedWrap());
 1396     I.setHasNoSignedWrap(true);
 1694         Res->setHasNoSignedWrap(true);
 1697         Res->setHasNoSignedWrap(true);
 1921       Add->setHasNoSignedWrap(I.hasNoSignedWrap());
 2018     I.setHasNoSignedWrap(true);
lib/Transforms/InstCombine/InstCombineCompares.cpp
 4503           Inst->setHasNoSignedWrap();
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  190       BO->setHasNoSignedWrap();
  210         BO->setHasNoSignedWrap();
  224             Shl->setHasNoSignedWrap();
  289       NewMul->setHasNoSignedWrap();
  352         BO->setHasNoSignedWrap();
  382     I.setHasNoSignedWrap(true);
  728         Mul->setHasNoSignedWrap(OBO->hasNoSignedWrap());
  754         Mul->setHasNoSignedWrap(OBO->hasNoSignedWrap());
lib/Transforms/InstCombine/InstCombineShifts.cpp
  125       NewShift->setHasNoSignedWrap(Sh0->hasNoSignedWrap() &&
  485       InnerShift->setHasNoSignedWrap(false);
  895         NewShl->setHasNoSignedWrap(I.hasNoSignedWrap());
  925       I.setHasNoSignedWrap();
 1208         NewShl->setHasNoSignedWrap(true);
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  442         BinOP.setHasNoSignedWrap(false);
  951       New->setHasNoSignedWrap(Orig->hasNoSignedWrap());
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
 1242         New->setHasNoSignedWrap(BO->hasNoSignedWrap());
 1675     NewBO->setHasNoSignedWrap(false);
lib/Transforms/InstCombine/InstructionCombining.cpp
  354             I.setHasNoSignedWrap(true);
  629               BO->setHasNoSignedWrap(HasNSW);
 1380         BO->setHasNoSignedWrap(NoSignedWrap);
 1611       NewBinOp->setHasNoSignedWrap();
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  479       Inst->setHasNoSignedWrap();
lib/Transforms/Scalar/IndVarSimplify.cpp
 2469       BO->setHasNoSignedWrap(AR->hasNoSignedWrap());
lib/Transforms/Scalar/Reassociate.cpp
  837       I->setHasNoSignedWrap(false);
  906       TheNeg->setHasNoSignedWrap(false);
  994     Mul->setHasNoSignedWrap(true);
lib/Transforms/Utils/SimplifyIndVar.cpp
  454     NewResult->setHasNoSignedWrap(true);
  490     BO->setHasNoSignedWrap();
  753     BO->setHasNoSignedWrap();
unittests/Analysis/ScalarEvolutionTest.cpp
 1289   S2->setHasNoSignedWrap(true);
 1382   S2->setHasNoSignedWrap(true);
unittests/Transforms/Utils/CloningTest.cpp
  104   Add->setHasNoSignedWrap();
  105   Sub->setHasNoSignedWrap();
  106   Mul->setHasNoSignedWrap();