Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp163 if (auto *CSrc = dyn_cast<CastInst>(Src)) { // A->B->C cast in commonCastTransforms() local
164 if (Instruction::CastOps NewOpc = isEliminableCastPair(CSrc, &CI)) { in commonCastTransforms()
167 auto *Res = CastInst::Create(NewOpc, CSrc->getOperand(0), Ty); in commonCastTransforms()
169 if (CSrc->hasOneUse()) in commonCastTransforms()
170 replaceAllDbgUsesWith(*CSrc, *Res, CI, DT); in commonCastTransforms()
1196 if (auto *CSrc = dyn_cast<TruncInst>(Src)) { // A->B->C cast in visitZExt() local
1201 Value *A = CSrc->getOperand(0); in visitZExt()
1203 unsigned MidSize = CSrc->getType()->getScalarSizeInBits(); in visitZExt()
1212 Value *And = Builder.CreateAnd(A, AndConst, CSrc->getName() + ".mask"); in visitZExt()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp14655 ConstantFPSDNode *CSrc = dyn_cast<ConstantFPSDNode>(N->getOperand(0)); in performClampCombine() local
14656 if (!CSrc) in performClampCombine()
14660 const APFloat &F = CSrc->getValueAPF(); in performClampCombine()
14671 return SDValue(CSrc, 0); in performClampCombine()