Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp506 Instruction *&ClonedCastInst = ClonedCastMap[CastInst]; in emitBaseConstants() local
507 if (!ClonedCastInst) { in emitBaseConstants()
508 ClonedCastInst = CastInst->clone(); in emitBaseConstants()
509 ClonedCastInst->setOperand(0, Mat); in emitBaseConstants()
510 ClonedCastInst->insertAfter(CastInst); in emitBaseConstants()
512 ClonedCastInst->setDebugLoc(CastInst->getDebugLoc()); in emitBaseConstants()
514 << "To : " << *ClonedCastInst << '\n'); in emitBaseConstants()
518 updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ClonedCastInst); in emitBaseConstants()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp666 Instruction *&ClonedCastInst = ClonedCastMap[CastInst]; in emitBaseConstants() local
667 if (!ClonedCastInst) { in emitBaseConstants()
668 ClonedCastInst = CastInst->clone(); in emitBaseConstants()
669 ClonedCastInst->setOperand(0, Mat); in emitBaseConstants()
670 ClonedCastInst->insertAfter(CastInst); in emitBaseConstants()
672 ClonedCastInst->setDebugLoc(CastInst->getDebugLoc()); in emitBaseConstants()
674 << "To : " << *ClonedCastInst << '\n'); in emitBaseConstants()
678 updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ClonedCastInst); in emitBaseConstants()