Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp298 if (auto *CSrc = dyn_cast<CastInst>(Src)) { // A->B->C cast in commonCastTransforms() local
299 if (Instruction::CastOps NewOpc = isEliminableCastPair(CSrc, &CI)) { in commonCastTransforms()
302 auto *Res = CastInst::Create(NewOpc, CSrc->getOperand(0), Ty); in commonCastTransforms()
304 if (CSrc->hasOneUse()) in commonCastTransforms()
305 replaceAllDbgUsesWith(*CSrc, *Res, CI, DT); in commonCastTransforms()
1279 if (auto *CSrc = dyn_cast<TruncInst>(Src)) { // A->B->C cast in visitZExt() local
1284 Value *A = CSrc->getOperand(0); in visitZExt()
1286 unsigned MidSize = CSrc->getType()->getScalarSizeInBits(); in visitZExt()
1295 Value *And = Builder.CreateAnd(A, AndConst, CSrc->getName() + ".mask"); in visitZExt()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp11573 ConstantFPSDNode *CSrc = dyn_cast<ConstantFPSDNode>(N->getOperand(0)); in performClampCombine() local
11574 if (!CSrc) in performClampCombine()
11578 const APFloat &F = CSrc->getValueAPF(); in performClampCombine()
11589 return SDValue(CSrc, 0); in performClampCombine()