Searched refs:CSrc (Results 1 – 5 of 5) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 289 if (CastInst *CSrc = dyn_cast<CastInst>(Src)) { // A->B->C cast in commonCastTransforms() local 291 isEliminableCastPair(CSrc, CI.getOpcode(), CI.getType(), TD)) { in commonCastTransforms() 294 return CastInst::Create(opc, CSrc->getOperand(0), CI.getType()); in commonCastTransforms() 798 if (TruncInst *CSrc = dyn_cast<TruncInst>(Src)) { // A->B->C cast in visitZExt() local 803 Value *A = CSrc->getOperand(0); in visitZExt() 805 unsigned MidSize = CSrc->getType()->getScalarSizeInBits(); in visitZExt() 814 Value *And = Builder->CreateAnd(A, AndConst, CSrc->getName()+".mask"); in visitZExt()
|
D | InstCombineLoadStoreAlloca.cpp | 110 if (Constant *CSrc = dyn_cast<Constant>(CastOp)) in InstCombineLoadCast() local 115 CastOp = ConstantExpr::getGetElementPtr(CSrc, Idxs); in InstCombineLoadCast()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 265 if (auto *CSrc = dyn_cast<CastInst>(Src)) { // A->B->C cast in commonCastTransforms() local 266 if (Instruction::CastOps NewOpc = isEliminableCastPair(CSrc, &CI)) { in commonCastTransforms() 270 auto *Res = CastInst::Create(NewOpc, CSrc->getOperand(0), Ty); in commonCastTransforms() 272 if (CSrc->hasOneUse()) in commonCastTransforms() 273 replaceAllDbgUsesWith(*CSrc, *Res, CI, DT); in commonCastTransforms() 1107 if (TruncInst *CSrc = dyn_cast<TruncInst>(Src)) { // A->B->C cast in visitZExt() local 1112 Value *A = CSrc->getOperand(0); in visitZExt() 1114 unsigned MidSize = CSrc->getType()->getScalarSizeInBits(); in visitZExt() 1123 Value *And = Builder.CreateAnd(A, AndConst, CSrc->getName() + ".mask"); in visitZExt()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 293 if (CastInst *CSrc = dyn_cast<CastInst>(Src)) { // A->B->C cast in commonCastTransforms() local 295 isEliminableCastPair(CSrc, CI.getOpcode(), CI.getType(), DL)) { in commonCastTransforms() 298 return CastInst::Create(opc, CSrc->getOperand(0), CI.getType()); in commonCastTransforms() 886 if (TruncInst *CSrc = dyn_cast<TruncInst>(Src)) { // A->B->C cast in visitZExt() local 891 Value *A = CSrc->getOperand(0); in visitZExt() 893 unsigned MidSize = CSrc->getType()->getScalarSizeInBits(); in visitZExt() 902 Value *And = Builder->CreateAnd(A, AndConst, CSrc->getName()+".mask"); in visitZExt()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | SIISelLowering.cpp | 7771 ConstantFPSDNode *CSrc = dyn_cast<ConstantFPSDNode>(N->getOperand(0)); in performClampCombine() local 7772 if (!CSrc) in performClampCombine() 7775 const APFloat &F = CSrc->getValueAPF(); in performClampCombine() 7788 return SDValue(CSrc, 0); in performClampCombine()
|