search for: gettargetiranalysi

Displaying 4 results from an estimated 4 matches for "gettargetiranalysi".

Did you mean: gettargetiranalysis
2016 Feb 19
3
target triple in 3.8
...Frank On 02/19/2016 03:14 PM, Mehdi Amini wrote: > Do you have the TTI in your pass manager? > > Something like: > > // Add the TTI (required to inform the vectorizer about register size for > // instance) > PM.add(createTargetTransformInfoWrapperPass(TM->getTargetIRAnalysis())); > > Also, are you populating the pass manager using the passmanagerbuilder? You still need the TLI: > > // Populate the PassManager > PassManagerBuilder PMB; > PMB.LibraryInfo = new TargetLibraryInfoImpl(TM->getTargetTriple()); > .... > > > Or w...
2018 Sep 12
2
How to make LLVM go faster?
...ionPoints(*PMBuilder); // Set up the per-function pass manager. legacy::FunctionPassManager FPM = legacy::FunctionPassManager(module); auto tliwp = new(std::nothrow) TargetLibraryInfoWrapperPass(tlii); FPM.add(tliwp); FPM.add(createTargetTransformInfoWrapperPass(target_machine->getTargetIRAnalysis())); if (assertions_on) { FPM.add(createVerifierPass()); } PMBuilder->populateFunctionPassManager(FPM); // Set up the per-module pass manager. legacy::PassManager MPM; MPM.add(createTargetTransformInfoWrapperPass(target_machine->getTargetIRAnalysis())); PMBu...
2016 Feb 19
2
target triple in 3.8
I have some trouble making the SIMD vector length visible to the passes. My application is basically on the level of 'opt'. What I did in version 3.6 was functionPassManager->add(new llvm::TargetLibraryInfo(llvm::Triple(Mod->getTargetTriple()))); functionPassManager->add(new llvm::DataLayoutPass()); and then the -basicaa and -loop-vectorizer were able to vectorize the input
2016 Feb 05
6
MCJit Runtine Performance
----- Original Message ----- > From: "Keno Fischer via llvm-dev" <llvm-dev at lists.llvm.org> > To: "Morten Brodersen" <Morten.Brodersen at constrainttec.com> > Cc: "llvm-dev" <llvm-dev at lists.llvm.org> > Sent: Thursday, February 4, 2016 6:05:29 PM > Subject: Re: [llvm-dev] MCJit Runtine Performance > > > > Yes,