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

Declarations

include/llvm/IR/Instruction.h
  335   void setHasNoUnsignedWrap(bool b = true);

References

include/llvm/IR/IRBuilder.h
 1078     if (HasNUW) BO->setHasNoUnsignedWrap();
 1507     if (HasNUW) BO->setHasNoUnsignedWrap();
include/llvm/IR/InstrTypes.h
  311     BO->setHasNoUnsignedWrap(true);
  317     BO->setHasNoUnsignedWrap(true);
  323     BO->setHasNoUnsignedWrap(true);
include/llvm/IR/NoFolder.h
   44     if (HasNUW) BO->setHasNoUnsignedWrap();
   64     if (HasNUW) BO->setHasNoUnsignedWrap();
   84     if (HasNUW) BO->setHasNoUnsignedWrap();
  142     if (HasNUW) BO->setHasNoUnsignedWrap();
  185     if (HasNUW) BO->setHasNoUnsignedWrap();
lib/Analysis/ScalarEvolutionExpander.cpp
  231     BO->setHasNoUnsignedWrap();
 1320         cast<BinaryOperator>(IncV)->setHasNoUnsignedWrap();
lib/AsmParser/LLParser.cpp
 5735     if (NUW) cast<BinaryOperator>(Inst)->setHasNoUnsignedWrap(true);
lib/Bitcode/Reader/BitcodeReader.cpp
 3907             cast<BinaryOperator>(I)->setHasNoUnsignedWrap(true);
lib/IR/Constants.cpp
 3038       BO->setHasNoUnsignedWrap(SubclassOptionalData &
lib/IR/Instruction.cpp
  248       setHasNoUnsignedWrap(OB->hasNoUnsignedWrap());
  271       setHasNoUnsignedWrap(hasNoUnsignedWrap() & OB->hasNoUnsignedWrap());
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  316       Inst->setHasNoUnsignedWrap();
lib/Transforms/InstCombine/InstCombineAddSub.cpp
 1072     BOp->setHasNoUnsignedWrap(I.hasNoUnsignedWrap());
 1277     Shl->setHasNoUnsignedWrap(I.hasNoUnsignedWrap());
 1400     I.setHasNoUnsignedWrap(true);
 2022     I.setHasNoUnsignedWrap(true);
lib/Transforms/InstCombine/InstCombineCompares.cpp
 4505           Inst->setHasNoUnsignedWrap();
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
   85       I->setHasNoUnsignedWrap();
  207         BO->setHasNoUnsignedWrap();
  220           Shl->setHasNoUnsignedWrap();
  350         BO->setHasNoUnsignedWrap();
  387     I.setHasNoUnsignedWrap(true);
  727         Mul->setHasNoUnsignedWrap(!IsSigned && OBO->hasNoUnsignedWrap());
  753         Mul->setHasNoUnsignedWrap(!IsSigned && OBO->hasNoUnsignedWrap());
lib/Transforms/InstCombine/InstCombineShifts.cpp
  123       NewShift->setHasNoUnsignedWrap(Sh0->hasNoUnsignedWrap() &&
  484       InnerShift->setHasNoUnsignedWrap(false);
  894         NewShl->setHasNoUnsignedWrap(I.hasNoUnsignedWrap());
  919       I.setHasNoUnsignedWrap();
 1021           NewShl->setHasNoUnsignedWrap(true);
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  443         BinOP.setHasNoUnsignedWrap(false);
  952       New->setHasNoUnsignedWrap(Orig->hasNoUnsignedWrap());
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
 1241         New->setHasNoUnsignedWrap(BO->hasNoUnsignedWrap());
lib/Transforms/InstCombine/InstructionCombining.cpp
  351             I.setHasNoUnsignedWrap(true);
  459           I.setHasNoUnsignedWrap(true);
  633           BO->setHasNoUnsignedWrap(HasNUW);
 1613       NewBinOp->setHasNoUnsignedWrap();
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  487       Inst->setHasNoUnsignedWrap();
lib/Transforms/Scalar/IndVarSimplify.cpp
 2467       BO->setHasNoUnsignedWrap(AR->hasNoUnsignedWrap());
lib/Transforms/Scalar/Reassociate.cpp
  836       I->setHasNoUnsignedWrap(false);
  905       TheNeg->setHasNoUnsignedWrap(false);
  995   Mul->setHasNoUnsignedWrap(NUW);
lib/Transforms/Utils/SimplifyIndVar.cpp
  456     NewResult->setHasNoUnsignedWrap(true);
  492     BO->setHasNoUnsignedWrap();
  746     BO->setHasNoUnsignedWrap();
unittests/Analysis/ScalarEvolutionTest.cpp
 1237   S2->setHasNoUnsignedWrap(true);
 1331   S2->setHasNoUnsignedWrap(true);
unittests/Transforms/Utils/CloningTest.cpp
   87   Add->setHasNoUnsignedWrap();
   88   Sub->setHasNoUnsignedWrap();
   89   Mul->setHasNoUnsignedWrap();
  121   Add->setHasNoUnsignedWrap(false);
  122   Sub->setHasNoUnsignedWrap(false);
  123   Mul->setHasNoUnsignedWrap(false);