Home
last modified time | relevance | path

Searched refs:OverflowingBinaryOperator (Results 1 – 15 of 15) sorted by relevance

/external/llvm/include/llvm/
DOperator.h71 class OverflowingBinaryOperator : public Operator {
79 ~OverflowingBinaryOperator(); // do not implement
105 static inline bool classof(const OverflowingBinaryOperator *) { return true; } in classof() argument
189 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Add> {
193 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Sub> {
197 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Mul> {
201 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Shl> {
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp35 if (OverflowingBinaryOperator *BO = in FoldPHIArgBinOpIntoPHI()
36 dyn_cast<OverflowingBinaryOperator>(FirstInst)) { in FoldPHIArgBinOpIntoPHI()
59 isNUW = cast<OverflowingBinaryOperator>(I)->hasNoUnsignedWrap(); in FoldPHIArgBinOpIntoPHI()
61 isNSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap(); in FoldPHIArgBinOpIntoPHI()
419 if (OverflowingBinaryOperator *BO = in FoldPHIArgOpIntoPHI()
420 dyn_cast<OverflowingBinaryOperator>(FirstInst)) { in FoldPHIArgOpIntoPHI()
443 isNUW = cast<OverflowingBinaryOperator>(I)->hasNoUnsignedWrap(); in FoldPHIArgOpIntoPHI()
445 isNSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap(); in FoldPHIArgOpIntoPHI()
DInstCombineSelect.cpp232 if (isa<OverflowingBinaryOperator>(BO)) { in FoldSelectIntoOp()
267 if (isa<OverflowingBinaryOperator>(BO)) { in FoldSelectIntoOp()
DInstCombineShifts.cpp717 if (cast<OverflowingBinaryOperator>(Op0)->hasNoSignedWrap()) in visitAShr()
DInstCombineCasts.cpp34 OverflowingBinaryOperator *OBI = dyn_cast<OverflowingBinaryOperator>(Val); in DecomposeSimpleLinearExpr()
DInstCombineCompares.cpp2272 if (BO0 && isa<OverflowingBinaryOperator>(BO0)) in visitICmpInst()
2276 if (BO1 && isa<OverflowingBinaryOperator>(BO1)) in visitICmpInst()
/external/llvm/lib/VMCore/
DConstants.cpp1781 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getAdd()
1782 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getAdd()
1792 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getSub()
1793 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getSub()
1803 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getMul()
1804 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getMul()
1852 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getShl()
1853 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getShl()
DInstructions.cpp1699 cast<OverflowingBinaryOperator>(this)->setHasNoUnsignedWrap(b); in setHasNoUnsignedWrap()
1703 cast<OverflowingBinaryOperator>(this)->setHasNoSignedWrap(b); in setHasNoSignedWrap()
1711 return cast<OverflowingBinaryOperator>(this)->hasNoUnsignedWrap(); in hasNoUnsignedWrap()
1715 return cast<OverflowingBinaryOperator>(this)->hasNoSignedWrap(); in hasNoSignedWrap()
DAsmWriter.cpp663 if (const OverflowingBinaryOperator *OBO = in WriteOptimizationInfo()
664 dyn_cast<OverflowingBinaryOperator>(U)) { in WriteOptimizationInfo()
/external/llvm/lib/Analysis/
DValueTracking.cpp445 OverflowingBinaryOperator *OBO = cast<OverflowingBinaryOperator>(I); in ComputeMaskedBits()
DInstructionSimplify.cpp1092 cast<OverflowingBinaryOperator>(Op0)->hasNoUnsignedWrap()) in SimplifyLShrInst()
1122 cast<OverflowingBinaryOperator>(Op0)->hasNoSignedWrap()) in SimplifyAShrInst()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp921 if (const OverflowingBinaryOperator *OBO = in CloneIVUser()
922 dyn_cast<OverflowingBinaryOperator>(NarrowBO)) { in CloneIVUser()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp499 if (const OverflowingBinaryOperator *OBO = in GetOptimizationFlags()
500 dyn_cast<OverflowingBinaryOperator>(V)) { in GetOptimizationFlags()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1317 Flags |= OverflowingBinaryOperator::NoSignedWrap; in ParseConstants()
1319 Flags |= OverflowingBinaryOperator::NoUnsignedWrap; in ParseConstants()
/external/llvm/lib/AsmParser/
DLLParser.cpp2224 if (NUW) Flags |= OverflowingBinaryOperator::NoUnsignedWrap; in ParseValID()
2225 if (NSW) Flags |= OverflowingBinaryOperator::NoSignedWrap; in ParseValID()