Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp499 Instruction *&ClonedCastInst = ClonedCastMap[CastInst]; in emitBaseConstants() local
500 if (!ClonedCastInst) { in emitBaseConstants()
501 ClonedCastInst = CastInst->clone(); in emitBaseConstants()
502 ClonedCastInst->setOperand(0, Mat); in emitBaseConstants()
503 ClonedCastInst->insertAfter(CastInst); in emitBaseConstants()
505 ClonedCastInst->setDebugLoc(CastInst->getDebugLoc()); in emitBaseConstants()
507 << "To : " << *ClonedCastInst << '\n'); in emitBaseConstants()
511 updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ClonedCastInst); in emitBaseConstants()