Home
last modified time | relevance | path

Searched refs:CSrc (Results 1 – 2 of 2) sorted by relevance

/freebsd-9-stable/contrib/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp296 if (CastInst *CSrc = dyn_cast<CastInst>(Src)) { // A->B->C cast in commonCastTransforms() local
298 isEliminableCastPair(CSrc, CI.getOpcode(), CI.getType(), TD)) { in commonCastTransforms()
301 return CastInst::Create(opc, CSrc->getOperand(0), CI.getType()); in commonCastTransforms()
809 if (TruncInst *CSrc = dyn_cast<TruncInst>(Src)) { // A->B->C cast in visitZExt() local
814 Value *A = CSrc->getOperand(0); in visitZExt()
816 unsigned MidSize = CSrc->getType()->getScalarSizeInBits(); in visitZExt()
825 Value *And = Builder->CreateAnd(A, AndConst, CSrc->getName()+".mask"); in visitZExt()
DInstCombineLoadStoreAlloca.cpp304 if (Constant *CSrc = dyn_cast<Constant>(CastOp)) in InstCombineLoadCast() local
311 CastOp = ConstantExpr::getGetElementPtr(CSrc, Idxs); in InstCombineLoadCast()