Searched refs:COp (Results 1 – 5 of 5) sorted by relevance
325 Constant *COp = C->getAggregateElement(i); in DecodePSHUFBMask() local326 if (!COp) { in DecodePSHUFBMask()329 } else if (isa<UndefValue>(COp)) { in DecodePSHUFBMask()333 uint64_t Element = cast<ConstantInt>(COp)->getZExtValue(); in DecodePSHUFBMask()418 Constant *COp = CV->getOperand(i); in DecodeVPERMILPMask() local419 if (isa<UndefValue>(COp)) { in DecodeVPERMILPMask()423 uint64_t Element = cast<ConstantInt>(COp)->getZExtValue(); in DecodeVPERMILPMask()560 Constant *COp = C->getAggregateElement(i); in DecodeVPERMVMask() local561 if (!COp || (!isa<UndefValue>(COp) && !isa<ConstantInt>(COp))) { in DecodeVPERMVMask()565 if (isa<UndefValue>(COp)) in DecodeVPERMVMask()[all …]
386 Constant *COp = dyn_cast<Constant>(I.getOperand(0)); in visitBitCast() local387 if (!COp) in visitBitCast()388 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitBitCast()389 if (COp) in visitBitCast()390 if (Constant *C = ConstantExpr::getBitCast(COp, I.getType())) { in visitBitCast()414 Constant *COp = dyn_cast<Constant>(I.getOperand(0)); in visitPtrToInt() local415 if (!COp) in visitPtrToInt()416 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitPtrToInt()417 if (COp) in visitPtrToInt()418 if (Constant *C = ConstantExpr::getPtrToInt(COp, I.getType())) { in visitPtrToInt()[all …]
3290 else if (Constant *COp = dyn_cast<Constant>(I->getOperand(i))) in SimplifyWithOpReplaced() local3291 ConstOps.push_back(COp); in SimplifyWithOpReplaced()
443 Constant *COp = dyn_cast<Constant>(I.getOperand(0)); in visitCastInst() local444 if (!COp) in visitCastInst()445 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitCastInst()446 if (COp) in visitCastInst()448 ConstantExpr::getCast(I.getOpcode(), COp, I.getType())) { in visitCastInst()
1375 Constant *COp = CV->getOperand(i); in EmitInstruction() local1376 if (isa<UndefValue>(COp)) { in EmitInstruction()1378 } else if (auto *CI = dyn_cast<ConstantInt>(COp)) { in EmitInstruction()1392 } else if (auto *CF = dyn_cast<ConstantFP>(COp)) { in EmitInstruction()