Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp734 Instruction *InsertionPt = findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
753 Mat->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
755 Value *Opnd = ConstUser.Inst->getOperand(ConstUser.OpndIdx); in emitBaseConstants()
759 LLVM_DEBUG(dbgs() << "Update: " << *ConstUser.Inst << '\n'); in emitBaseConstants()
760 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, Mat) && Offset) in emitBaseConstants()
762 LLVM_DEBUG(dbgs() << "To : " << *ConstUser.Inst << '\n'); in emitBaseConstants()
783 updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ClonedCastInst); in emitBaseConstants()
792 updateOperand(ConstUser.Inst, ConstUser.OpndIdx, Mat); in emitBaseConstants()
800 ConstExprInst->insertBefore(findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
804 ConstExprInst->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Transforms/Scalar/
H A DConstantHoisting.h192 const consthoist::ConstantUser &ConstUser);