HomeSort by: relevance | last modified time | path
    Searched refs:CSrc (Results 1 - 2 of 2) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineCasts.cpp 282 if (auto *CSrc = dyn_cast<CastInst>(Src)) { // A->B->C cast
283 if (Instruction::CastOps NewOpc = isEliminableCastPair(CSrc, &CI)) {
284 // The first cast (CSrc) is eliminable so we need to fix up or replace
285 // the second cast (CI). CSrc will then have a good chance of being dead.
287 auto *Res = CastInst::Create(NewOpc, CSrc->getOperand(0), Ty);
289 if (CSrc->hasOneUse())
290 replaceAllDbgUsesWith(*CSrc, *Res, CI, DT);
1233 if (TruncInst *CSrc = dyn_cast<TruncInst>(Src)) { // A->B->C cast
1238 Value *A = CSrc->getOperand(0);
1240 unsigned MidSize = CSrc->getType()->getScalarSizeInBits()
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
SIISelLowering.cpp 10810 ConstantFPSDNode *CSrc = dyn_cast<ConstantFPSDNode>(N->getOperand(0));
10811 if (!CSrc)
10815 const APFloat &F = CSrc->getValueAPF();
10826 return SDValue(CSrc, 0);

Completed in 87 milliseconds