Lines Matching defs:COp
557 auto *COp = dyn_cast_or_null<ConstantInt>(CElt);
558 if (!COp)
564 APInt ShiftVal = COp->getValue();
996 Constant *COp = V->getAggregateElement(I);
997 if (!COp || (!isa<UndefValue>(COp) && !isa<ConstantInt>(COp)))
1000 if (isa<UndefValue>(COp)) {
1005 int8_t Index = cast<ConstantInt>(COp)->getValue().getZExtValue();
1041 Constant *COp = V->getAggregateElement(I);
1042 if (!COp || (!isa<UndefValue>(COp) && !isa<ConstantInt>(COp)))
1045 if (isa<UndefValue>(COp)) {
1050 APInt Index = cast<ConstantInt>(COp)->getValue();
1087 Constant *COp = V->getAggregateElement(I);
1088 if (!COp || (!isa<UndefValue>(COp) && !isa<ConstantInt>(COp)))
1091 if (isa<UndefValue>(COp)) {
1096 uint32_t Index = cast<ConstantInt>(COp)->getZExtValue();
1481 Constant *COp = C->getAggregateElement(I);
1483 if (!COp || !isa<ConstantInt>(COp))
1486 Indexes[I] = cast<ConstantInt>(COp)->getLimitedValue();