Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp758 Instruction *InsertionPt = findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
777 Mat->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
779 Value *Opnd = ConstUser.Inst->getOperand(ConstUser.OpndIdx); in emitBaseConstants()
783 LLVM_DEBUG(dbgs() << "Update: " << *ConstUser.Inst << '\n'); in emitBaseConstants()
784 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, Mat) && Offset) in emitBaseConstants()
786 LLVM_DEBUG(dbgs() << "To : " << *ConstUser.Inst << '\n'); in emitBaseConstants()
807 updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ClonedCastInst); in emitBaseConstants()
816 updateOperand(ConstUser.Inst, ConstUser.OpndIdx, Mat); in emitBaseConstants()
824 ConstExprInst->insertBefore(findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
828 ConstExprInst->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DConstantHoisting.h196 const consthoist::ConstantUser &ConstUser);