Lines Matching refs:CSrc
293 if (CastInst *CSrc = dyn_cast<CastInst>(Src)) { // A->B->C cast
295 isEliminableCastPair(CSrc, CI.getOpcode(), CI.getType(), DL)) {
296 // The first cast (CSrc) is eliminable so we need to fix up or replace
297 // the second cast (CI). CSrc will then have a good chance of being dead.
298 return CastInst::Create(opc, CSrc->getOperand(0), CI.getType());
886 if (TruncInst *CSrc = dyn_cast<TruncInst>(Src)) { // A->B->C cast
891 Value *A = CSrc->getOperand(0);
893 unsigned MidSize = CSrc->getType()->getScalarSizeInBits();
902 Value *And = Builder->CreateAnd(A, AndConst, CSrc->getName()+".mask");