Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp158 const APInt *ConstA = nullptr, *ConstB = nullptr, *ConstC = nullptr; in getMaskedICmpType() local
159 match(A, m_APInt(ConstA)); in getMaskedICmpType()
163 bool IsAPow2 = ConstA && ConstA->isPowerOf2(); in getMaskedICmpType()
185 } else if (ConstA && ConstC && ConstC->isSubsetOf(*ConstA)) { in getMaskedICmpType()
H A DInstructionCombining.cpp1144 Constant *ConstA, *ConstB; in FoldOpIntoSelect() local
1145 if (!match(A, m_Constant(ConstA)) || !match(B, m_Constant(ConstB))) in FoldOpIntoSelect()
1153 auto *Cmp = ConstantExpr::getCompare(ICmpInst::ICMP_EQ, ConstA, ConstB); in FoldOpIntoSelect()