Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp518 Instruction *ConstExprInst = ConstExpr->getAsInstruction(); in emitBaseConstants() local
519 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
520 ConstExprInst->insertBefore(findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
524 ConstExprInst->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
526 DEBUG(dbgs() << "Create instruction: " << *ConstExprInst << '\n' in emitBaseConstants()
529 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ConstExprInst)) { in emitBaseConstants()
530 ConstExprInst->eraseFromParent(); in emitBaseConstants()