Lines Matching defs:COp
494 auto *COp = dyn_cast_or_null<ConstantInt>(CElt);
495 if (!COp)
501 APInt ShiftVal = COp->getValue();
939 Constant *COp = V->getAggregateElement(I);
940 if (!COp || (!isa<UndefValue>(COp) && !isa<ConstantInt>(COp)))
943 if (isa<UndefValue>(COp)) {
948 int8_t Index = cast<ConstantInt>(COp)->getValue().getZExtValue();
986 Constant *COp = V->getAggregateElement(I);
987 if (!COp || (!isa<UndefValue>(COp) && !isa<ConstantInt>(COp)))
990 if (isa<UndefValue>(COp)) {
995 APInt Index = cast<ConstantInt>(COp)->getValue();
1034 Constant *COp = V->getAggregateElement(I);
1035 if (!COp || (!isa<UndefValue>(COp) && !isa<ConstantInt>(COp)))
1038 if (isa<UndefValue>(COp)) {
1043 uint32_t Index = cast<ConstantInt>(COp)->getZExtValue();
1423 Constant *COp = C->getAggregateElement(I);
1425 if (!COp || !isa<ConstantInt>(COp))
1428 Indexes[I] = cast<ConstantInt>(COp)->getLimitedValue();