Lines Matching refs:COp
386 Constant *COp = dyn_cast<Constant>(I.getOperand(0)); in visitBitCast() local
387 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() local
415 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()
451 Constant *COp = dyn_cast<Constant>(I.getOperand(0)); in visitIntToPtr() local
452 if (!COp) in visitIntToPtr()
453 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitIntToPtr()
454 if (COp) in visitIntToPtr()
455 if (Constant *C = ConstantExpr::getIntToPtr(COp, I.getType())) { in visitIntToPtr()
482 Constant *COp = dyn_cast<Constant>(I.getOperand(0)); in visitCastInst() local
483 if (!COp) in visitCastInst()
484 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitCastInst()
485 if (COp) in visitCastInst()
486 if (Constant *C = ConstantExpr::getCast(I.getOpcode(), COp, I.getType())) { in visitCastInst()
499 Constant *COp = dyn_cast<Constant>(Operand); in visitUnaryInstruction() local
500 if (!COp) in visitUnaryInstruction()
501 COp = SimplifiedValues.lookup(Operand); in visitUnaryInstruction()
502 if (COp) { in visitUnaryInstruction()
505 COp, DL)) { in visitUnaryInstruction()