Searched refs:InC (Results 1 – 3 of 3) sorted by relevance
1039 if (auto *InC = dyn_cast<Constant>(InV)) { in foldOperationIntoPhiValue() local1041 return ConstantExpr::get(I->getOpcode(), InC, C); in foldOperationIntoPhiValue()1042 return ConstantExpr::get(I->getOpcode(), C, InC); in foldOperationIntoPhiValue()1140 Constant *InC = dyn_cast<Constant>(PN->getIncomingValue(i)); in foldOpIntoPhi() local1145 if (InC && isa<ConstantInt>(InC)) in foldOpIntoPhi()1146 InV = InC->isNullValue() ? FalseVInPred : TrueVInPred; in foldOpIntoPhi()1166 if (auto *InC = dyn_cast<Constant>(PN->getIncomingValue(i))) in foldOpIntoPhi() local1167 InV = ConstantExpr::getCompare(CI->getPredicate(), InC, C); in foldOpIntoPhi()1193 if (Constant *InC = dyn_cast<Constant>(PN->getIncomingValue(i))) in foldOpIntoPhi() local1194 InV = ConstantExpr::getCast(CI->getOpcode(), InC, RetTy); in foldOpIntoPhi()
955 if (auto *InC = dyn_cast<ConstantInt>(II.getArgOperand(0))) { in instCombineIntrinsic() local956 uint64_t Result = InC->getZExtValue() >> Shift; in instCombineIntrinsic()981 if (auto *InC = dyn_cast<ConstantInt>(II.getArgOperand(0))) { in instCombineIntrinsic() local982 uint64_t Result = InC->getZExtValue(); in instCombineIntrinsic()
9186 if (auto *InC = dyn_cast<ConstantSDNode>(In)) { in LowerBUILD_VECTORvXi1() local9187 Immediate |= (InC->getZExtValue() & 0x1) << idx; in LowerBUILD_VECTORvXi1()