Home
last modified time | relevance | path

Searched refs:HadTrunc (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1127 bool HadTrunc = I.getType() != XTy; in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract() local
1131 if (HadTrunc && !match(&I, m_c_BinOp(m_OneUse(m_Value()), m_Value()))) in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract()
1198 if (!HadTrunc) in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract()
1785 bool HadTrunc = Op1Wide != Op1; in visitSub() local
1786 bool NoTruncOrTruncIsOneUse = !HadTrunc || Op1->hasOneUse(); in visitSub()
1798 if (!HadTrunc) in visitSub()
1810 if (!HadTrunc) in visitSub()
1816 if (!HadTrunc && Op1->hasOneUse()) { in visitSub()
DInstCombineShifts.cpp197 bool HadTrunc = WidestTy != NarrowestTy; in dropRedundantMaskingOfLeftShiftInput() local
305 if (HadTrunc) in dropRedundantMaskingOfLeftShiftInput()
1207 bool HadTrunc = MaybeTrunc != HighBitExtract; in foldVariableSignZeroExtensionOfVariableHighBitExtract() local
1230 if (HadTrunc && !match(&OldAShr, m_c_BinOp(m_OneUse(m_Value()), m_Value()))) in foldVariableSignZeroExtensionOfVariableHighBitExtract()
1238 if (!HadTrunc) in foldVariableSignZeroExtensionOfVariableHighBitExtract()
DInstCombineCompares.cpp3500 bool HadTrunc = WidestTy != I.getOperand(0)->getType(); in foldShiftIntoShiftInAnotherHandOfAndInICmp() local
3523 if (HadTrunc) { in foldShiftIntoShiftInAnotherHandOfAndInICmp()
3571 if (HadTrunc && match(WidestShift, m_LShr(m_Value(), m_Value()))) { in foldShiftIntoShiftInAnotherHandOfAndInICmp()