Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp766 Instruction *InsertionPt = findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
785 Mat->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
787 Value *Opnd = ConstUser.Inst->getOperand(ConstUser.OpndIdx); in emitBaseConstants()
791 LLVM_DEBUG(dbgs() << "Update: " << *ConstUser.Inst << '\n'); in emitBaseConstants()
792 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, Mat) && Offset) in emitBaseConstants()
794 LLVM_DEBUG(dbgs() << "To : " << *ConstUser.Inst << '\n'); in emitBaseConstants()
815 updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ClonedCastInst); in emitBaseConstants()
824 updateOperand(ConstUser.Inst, ConstUser.OpndIdx, Mat); in emitBaseConstants()
831 findMatInsertPt(ConstUser.Inst, ConstUser.OpndIdx)); in emitBaseConstants()
835 ConstExprInst->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Scalar/
H A DConstantHoisting.h195 const consthoist::ConstantUser &ConstUser);