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.cpp561 const APInt *ConstB, *ConstD; in foldLogOpOfMaskedICmps() local
562 if (!match(B, m_APInt(ConstB)) || !match(D, m_APInt(ConstD))) in foldLogOpOfMaskedICmps()
571 APInt NewMask = *ConstB & *ConstD; in foldLogOpOfMaskedICmps()
574 else if (NewMask == *ConstD) in foldLogOpOfMaskedICmps()
583 APInt NewMask = *ConstB | *ConstD; in foldLogOpOfMaskedICmps()
586 else if (NewMask == *ConstD) in foldLogOpOfMaskedICmps()
620 const APInt ConstE = PredR != CC ? *ConstD ^ *OldConstE : *OldConstE; in foldLogOpOfMaskedICmps()
622 if (((*ConstB & *ConstD) & (ConstC ^ ConstE)).getBoolValue()) in foldLogOpOfMaskedICmps()
625 if (IsNot && !ConstB->isSubsetOf(*ConstD) && !ConstD->isSubsetOf(*ConstB)) in foldLogOpOfMaskedICmps()
630 BD = *ConstB & *ConstD; in foldLogOpOfMaskedICmps()
[all …]