Home
last modified time | relevance | path

Searched refs:ConstD (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DBranchProbability.cpp68 template <uint32_t ConstD>
70 if (ConstD > 0) in scale()
71 D = ConstD; in scale()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp603 const APInt *ConstB, *ConstD; in foldLogOpOfMaskedICmps() local
604 if (match(B, m_APInt(ConstB)) && match(D, m_APInt(ConstD))) { in foldLogOpOfMaskedICmps()
611 APInt NewMask = *ConstB & *ConstD; in foldLogOpOfMaskedICmps()
614 if (NewMask == *ConstD) { in foldLogOpOfMaskedICmps()
628 APInt NewMask = *ConstB | *ConstD; in foldLogOpOfMaskedICmps()
631 if (NewMask == *ConstD) in foldLogOpOfMaskedICmps()
665 const APInt ConstE = PredR != CC ? *ConstD ^ *OldConstE : *OldConstE; in foldLogOpOfMaskedICmps()
667 if (((*ConstB & *ConstD) & (ConstC ^ ConstE)).getBoolValue()) in foldLogOpOfMaskedICmps()
670 if (IsNot && !ConstB->isSubsetOf(*ConstD) && in foldLogOpOfMaskedICmps()
671 !ConstD->isSubsetOf(*ConstB)) in foldLogOpOfMaskedICmps()
[all …]