Lines Matching defs:LSRInstance

508   /// However, every formula inserted into the LSRInstance must be in canonical
2141 class LSRInstance {
2292 LSRInstance(Loop *L, IVUsers &IU, ScalarEvolution &SE, DominatorTree &DT,
2312 void LSRInstance::OptimizeShadowIV() {
2432 bool LSRInstance::FindIVUserForCond(ICmpInst *Cond, IVStrideUse *&CondUse) {
2492 ICmpInst *LSRInstance::OptimizeMax(ICmpInst *Cond, IVStrideUse* &CondUse) {
2604 LSRInstance::OptimizeLoopTermCond() {
2755 bool LSRInstance::reconcileNewOffset(LSRUse &LU, Immediate NewOffset,
2808 std::pair<size_t, Immediate> LSRInstance::getUse(const SCEV *&Expr,
2844 void LSRInstance::DeleteUse(LSRUse &LU, size_t LUIdx) {
2856 LSRInstance::FindUseWithSimilarFormula(const Formula &OrigF,
2894 void LSRInstance::CollectInterestingTypesAndFactors() {
3144 void LSRInstance::ChainInstruction(Instruction *UserInst, Instruction *IVOper,
3277 void LSRInstance::CollectChains() {
3345 void LSRInstance::FinalizeChain(IVChain &Chain) {
3391 void LSRInstance::GenerateIVChain(const IVChain &Chain,
3520 void LSRInstance::CollectFixupsAndInitialFormulae() {
3653 void LSRInstance::InsertInitialFormula(const SCEV *S, LSRUse &LU,
3668 LSRInstance::InsertSupplementalFormula(const SCEV *S,
3678 void LSRInstance::CountRegisters(const Formula &F, size_t LUIdx) {
3687 bool LSRInstance::InsertFormula(LSRUse &LU, unsigned LUIdx, const Formula &F) {
3705 LSRInstance::CollectLoopInvariantFixupsAndFormulae() {
3914 /// Helper function for LSRInstance::GenerateReassociations.
3915 void LSRInstance::GenerateReassociationsImpl(LSRUse &LU, unsigned LUIdx,
4013 void LSRInstance::GenerateReassociations(LSRUse &LU, unsigned LUIdx,
4030 void LSRInstance::GenerateCombinations(LSRUse &LU, unsigned LUIdx,
4093 /// Helper function for LSRInstance::GenerateSymbolicOffsets.
4094 void LSRInstance::GenerateSymbolicOffsetsImpl(LSRUse &LU, unsigned LUIdx,
4113 void LSRInstance::GenerateSymbolicOffsets(LSRUse &LU, unsigned LUIdx,
4125 /// Helper function for LSRInstance::GenerateConstantOffsets.
4126 void LSRInstance::GenerateConstantOffsetsImpl(
4207 void LSRInstance::GenerateConstantOffsets(LSRUse &LU, unsigned LUIdx,
4225 void LSRInstance::GenerateICmpZeroScales(LSRUse &LU, unsigned LUIdx,
4326 void LSRInstance::GenerateScales(LSRUse &LU, unsigned LUIdx, Formula Base) {
4416 void LSRInstance::GenerateTruncates(LSRUse &LU, unsigned LUIdx, Formula Base) {
4509 void LSRInstance::GenerateCrossUseConstantOffsets() {
4712 LSRInstance::GenerateAllReuseFormulae() {
4748 void LSRInstance::FilterOutUndesirableDedicatedRegisters() {
4850 size_t LSRInstance::EstimateSearchSpaceComplexity() const {
4868 void LSRInstance::NarrowSearchSpaceByDetectingSupersets() {
4936 void LSRInstance::NarrowSearchSpaceByCollapsingUnrolledCode() {
5003 void LSRInstance::NarrowSearchSpaceByRefilteringUndesirableDedicatedRegisters(){
5025 void LSRInstance::NarrowSearchSpaceByFilterFormulaWithSameScaledReg() {
5120 void LSRInstance::NarrowSearchSpaceByFilterPostInc() {
5208 void LSRInstance::NarrowSearchSpaceByDeletingCostlyFormulas() {
5331 void LSRInstance::NarrowSearchSpaceByPickingWinnerRegs() {
5409 void LSRInstance::NarrowSearchSpaceUsingHeuristics() {
5423 void LSRInstance::SolveRecurse(SmallVectorImpl<const Formula *> &Solution,
5505 void LSRInstance::Solve(SmallVectorImpl<const Formula *> &Solution) const {
5566 LSRInstance::HoistInsertPosition(BasicBlock::iterator IP,
5622 BasicBlock::iterator LSRInstance::AdjustInsertPositionForExpand(
5684 Value *LSRInstance::Expand(const LSRUse &LU, const LSRFixup &LF,
5868 void LSRInstance::RewriteForPHI(
6000 void LSRInstance::Rewrite(const LSRUse &LU, const LSRFixup &LF,
6066 void LSRInstance::ImplementSolution(
6151 LSRInstance::LSRInstance(Loop *L, IVUsers &IU, ScalarEvolution &SE,
6268 void LSRInstance::print_factors_and_types(raw_ostream &OS) const {
6288 void LSRInstance::print_fixups(raw_ostream &OS) const {
6298 void LSRInstance::print_uses(raw_ostream &OS) const {
6312 void LSRInstance::print(raw_ostream &OS) const {
6318 LLVM_DUMP_METHOD void LSRInstance::dump() const {
7034 const LSRInstance &LSR) {
7263 const LSRInstance &Reducer =
7264 LSRInstance(L, IU, SE, DT, LI, TTI, AC, TLI, MSSAU.get());