search for: machineloop

Displaying 6 results from an estimated 6 matches for "machineloop".

2011 Jul 28
1
[LLVMdev] Is MachineLoop Simplify Form?
Is there any reason that we don't have isLoopSimplifyForm method in LoopBase? Can I move it there? -Kuba -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110728/95b007e3/attachment.html>
2019 May 10
2
[Pipeliner] MachinePipeliner TargetInstrInfo hooks need more information?
...oops are a combination of induction variables, comparisons and branches. So when it came to implementing reduceLoopCount for our TargetInstrInfo, we found that we didn't have enough information from analyzeLoop to reduce the loops. Currently the signatures look like this: bool analyzeLoop(MachineLoop &L, MachineInstr *&IndVarInst, MachineInstr *&CmpInst) unsigned TargetInstrInfo::reduceLoopCount(MachineBasicBlock &MBB, MachineInstr *IndVar, MachineInstr &Cmp, SmallVectorImpl<MachineOperand> &Cond, SmallVe...
2010 Mar 09
1
[LLVMdev] Find all backedges of CFG by MachineDominatorTree. please look at my jpg.
Thank you, Nick. Yes, I have add getAnalysisUsage. As I know, some CFG is irreducible. At this time, Dominator Tree can not find some backedge. Is it means some MachineLoop is not be found? dominatorTree.jpg is a previous exmaple. best regards! renkun --- 10年3月9日,周二, Nick Lewycky <nicholas at mxc.ca> 写道: > 发件人: Nick Lewycky <nicholas at mxc.ca> > 主题: Re: [LLVMdev] Find all backedges of CFG by MachineDominatorTree. please look at my jpg. > 收件...
2010 Mar 09
1
[LLVMdev] Find all backedges of CFG by MachineDominatorTree. please look at my jpg.
Hi:    I want to do some optimization on MachineLoop. So I want to get MachineLoopInfo from MachineFunction. I reference MachineLICM.cpp. So I try to write a pass in Target/mytarget directory. I find there is Error. llvm/include/llvm/PassAnalysisSupport.h:198: AnalysisType& llvm::Pass::getAnalysisID(const llvm::PassInfo*) const [with AnalysisT...
2018 Nov 10
2
[RFC] Tablegen-erated GlobalISel Combine Rules
Thanks David! > On Nov 9, 2018, at 08:36, David Greene <dag at cray.com> wrote: > > Daniel Sanders via llvm-dev <llvm-dev at lists.llvm.org> writes: > >> I've been working on the GlobalISel combiner recently and I'd like to >> share the plan for how Combine Rules will be defined in GlobalISel and >> solicit feedback on it. > > This is
2018 Nov 15
2
[RFC] Tablegen-erated GlobalISel Combine Rules
...he escape >> hatches into C++ would need to either have Instruction/MachineInstr >> versions or would need to accept both. > > Yes. I wonder if templates can help with this. I'm thinking of > LoopInfo, which is parameterized with BasicBlock/Loop or > MachineBasicBlock/MachineLoop, as a guide. I don't know if Instruction > and MachineInstr have enough APIs in common, though. Perhaps a > longer-term effort could be made to develop a common API with the same > spellings for both, at least enough for dagcombine purposes. Unfortunately, Instruction is a class-hie...