search for: setfunctionattributes

Displaying 20 results from an estimated 23 matches for "setfunctionattributes".

Did you mean: setfunctionattribute
2015 May 23
2
[LLVMdev] Shared libs build failing since yesterday
...th,"\$ORIGIN/../lib" && : lib/ExecutionEngine/CMakeFiles/LLVMExecutionEngine.dir/ExecutionEngineBindings.cpp.o: In function `LLVMCreateMCJITCompilerForModule': /home/rengolin/devel/llvm/src/llvm/lib/ExecutionEngine/ExecutionEngineBindings.cpp:188: undefined reference to `llvm::setFunctionAttributes(llvm::StringRef, llvm::StringRef, llvm::TargetOptions const&, llvm::Module&, bool)' collect2: error: ld returned 1 exit status This is my CMake command line: cmake -G Ninja $LLVM_SRC -DCMAKE_BUILD_TYPE=Debug -DLLVM_BUILD_TESTS=False -DLLVM_INCLUDE_EXAMPLES=False -DLLVM_ENABLE_ASSERTIO...
2016 Mar 23
2
Help with pass manager
...return 1; legacy::PassManager passmanager; TargetLibraryInfoImpl TLII(moduletriple); TargetLibraryInfoWrapperPass *tliwp = new TargetLibraryInfoWrapperPass(TLII); passmanager.add(tliwp); module->setDataLayout(tmachine->createDataLayout()); setFunctionAttributes(cpuname, ftrlist, *module); if (RelaxAll.getNumOccurrences() > 0 && FileType != TargetMachine::CGFT_ObjectFile) errs() << "warning: ignoring -mc-relax-all because filetype != obj"; { raw_pwrite_stream *outstream = &objoutstrea...
2016 Mar 24
2
Help with pass manager
...ryInfoImpl TLII(moduletriple); >> >> TargetLibraryInfoWrapperPass *tliwp = new TargetLibraryInfoWrapperPass(TLII); >> >> passmanager.add(tliwp); >> >> module->setDataLayout(tmachine->createDataLayout()); >> >> setFunctionAttributes(cpuname, ftrlist, *module); >> >> if (RelaxAll.getNumOccurrences() > 0 && >> FileType != TargetMachine::CGFT_ObjectFile) >> errs() << "warning: ignoring -mc-relax-all because filetype != obj"; >> >> { &...
2016 Mar 24
0
Help with pass manager
...; > > TargetLibraryInfoImpl TLII(moduletriple); > > TargetLibraryInfoWrapperPass *tliwp = new TargetLibraryInfoWrapperPass(TLII); > > passmanager.add(tliwp); > > module->setDataLayout(tmachine->createDataLayout()); > > setFunctionAttributes(cpuname, ftrlist, *module); > > if (RelaxAll.getNumOccurrences() > 0 && > FileType != TargetMachine::CGFT_ObjectFile) > errs() << "warning: ignoring -mc-relax-all because filetype != obj"; > > { > raw_pwrite_s...
2016 Mar 24
2
Help with pass manager
...;> TargetLibraryInfoWrapperPass *tliwp = new TargetLibraryInfoWrapperPass(TLII); >>>> >>>> passmanager.add(tliwp); >>>> >>>> module->setDataLayout(tmachine->createDataLayout()); >>>> >>>> setFunctionAttributes(cpuname, ftrlist, *module); >>>> >>>> if (RelaxAll.getNumOccurrences() > 0 && >>>> FileType != TargetMachine::CGFT_ObjectFile) >>>> errs() << "warning: ignoring -mc-relax-all because filetype != obj"...
2016 Mar 24
0
Help with pass manager
...gt;>> >>> TargetLibraryInfoWrapperPass *tliwp = new TargetLibraryInfoWrapperPass(TLII); >>> >>> passmanager.add(tliwp); >>> >>> module->setDataLayout(tmachine->createDataLayout()); >>> >>> setFunctionAttributes(cpuname, ftrlist, *module); >>> >>> if (RelaxAll.getNumOccurrences() > 0 && >>> FileType != TargetMachine::CGFT_ObjectFile) >>> errs() << "warning: ignoring -mc-relax-all because filetype != obj"; >>>...
2016 Mar 24
2
Help with pass manager
...new TargetLibraryInfoWrapperPass(TLII); >>>>>> >>>>>> passmanager.add(tliwp); >>>>>> >>>>>> module->setDataLayout(tmachine->createDataLayout()); >>>>>> >>>>>> setFunctionAttributes(cpuname, ftrlist, *module); >>>>>> >>>>>> if (RelaxAll.getNumOccurrences() > 0 && >>>>>> FileType != TargetMachine::CGFT_ObjectFile) >>>>>> errs() << "warning: ignoring -mc-relax-a...
2016 Mar 24
0
Help with pass manager
...nfoWrapperPass *tliwp = new TargetLibraryInfoWrapperPass(TLII); >>>>> >>>>> passmanager.add(tliwp); >>>>> >>>>> module->setDataLayout(tmachine->createDataLayout()); >>>>> >>>>> setFunctionAttributes(cpuname, ftrlist, *module); >>>>> >>>>> if (RelaxAll.getNumOccurrences() > 0 && >>>>> FileType != TargetMachine::CGFT_ObjectFile) >>>>> errs() << "warning: ignoring -mc-relax-all because filet...
2016 Mar 24
2
Help with pass manager
...>>>>>> >>>>>>>> passmanager.add(tliwp); >>>>>>>> >>>>>>>> module->setDataLayout(tmachine->createDataLayout()); >>>>>>>> >>>>>>>> setFunctionAttributes(cpuname, ftrlist, *module); >>>>>>>> >>>>>>>> if (RelaxAll.getNumOccurrences() > 0 && >>>>>>>> FileType != TargetMachine::CGFT_ObjectFile) >>>>>>>> errs() << &qu...
2014 Nov 18
3
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
Updated patch is attached. Note this is just a work-in-progress patch and I plan to address the feedback comments later if this patch is in the right direction. This is how the command line options are parsed and used by the backend passes: 1. Tools such as clang and llc call cl::ParseCommandLineOptions. Any of the options that should be written to the bitcode as function or module attributes
2016 Mar 24
0
Help with pass manager
...pperPass(TLII); >>>>>>> >>>>>>> passmanager.add(tliwp); >>>>>>> >>>>>>> module->setDataLayout(tmachine->createDataLayout()); >>>>>>> >>>>>>> setFunctionAttributes(cpuname, ftrlist, *module); >>>>>>> >>>>>>> if (RelaxAll.getNumOccurrences() > 0 && >>>>>>> FileType != TargetMachine::CGFT_ObjectFile) >>>>>>> errs() << "warning: igno...
2016 Mar 24
0
Help with pass manager
...> >>>>>>>>> passmanager.add(tliwp); >>>>>>>>> >>>>>>>>> module->setDataLayout(tmachine->createDataLayout()); >>>>>>>>> >>>>>>>>> setFunctionAttributes(cpuname, ftrlist, *module); >>>>>>>>> >>>>>>>>> if (RelaxAll.getNumOccurrences() > 0 && >>>>>>>>> FileType != TargetMachine::CGFT_ObjectFile) >>>>>>>>> err...
2016 Mar 24
2
Help with pass manager
...t;>>>>>>> passmanager.add(tliwp); >>>>>>>>>> >>>>>>>>>> module->setDataLayout(tmachine->createDataLayout()); >>>>>>>>>> >>>>>>>>>> setFunctionAttributes(cpuname, ftrlist, *module); >>>>>>>>>> >>>>>>>>>> if (RelaxAll.getNumOccurrences() > 0 && >>>>>>>>>> FileType != TargetMachine::CGFT_ObjectFile) >>>>>>>>>...
2016 Mar 24
0
Help with pass manager
...t;>>> passmanager.add(tliwp); >>>>>>>>>>> >>>>>>>>>>> module->setDataLayout(tmachine->createDataLayout()); >>>>>>>>>>> >>>>>>>>>>> setFunctionAttributes(cpuname, ftrlist, *module); >>>>>>>>>>> >>>>>>>>>>> if (RelaxAll.getNumOccurrences() > 0 && >>>>>>>>>>> FileType != TargetMachine::CGFT_ObjectFile) >>>>>>...
2016 Mar 30
1
Help with pass manager
...passmanager.add(tliwp); >>>>>>>>>>>> >>>>>>>>>>>> module->setDataLayout(tmachine->createDataLayout()); >>>>>>>>>>>> >>>>>>>>>>>> setFunctionAttributes(cpuname, ftrlist, *module); >>>>>>>>>>>> >>>>>>>>>>>> if (RelaxAll.getNumOccurrences() > 0 && >>>>>>>>>>>> FileType != TargetMachine::CGFT_ObjectFile) >>>...
2014 Nov 20
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
On Wed, Nov 19, 2014 at 3:28 PM, Eric Christopher <echristo at gmail.com> wrote: > So my general concern here is that lots of command line options that don't > need to be or shouldn't be IR level constructs become oddly named string > options. It's bad enough that we're doing that with the target cpu and > target feature string let alone the rest of it. > >
2014 Nov 20
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
> On Nov 19, 2014, at 4:52 PM, Eric Christopher <echristo at gmail.com> wrote: > > > > On Wed Nov 19 2014 at 4:39:42 PM Akira Hatanaka <ahatanak at gmail.com <mailto:ahatanak at gmail.com>> wrote: > On Wed, Nov 19, 2014 at 3:28 PM, Eric Christopher <echristo at gmail.com <mailto:echristo at gmail.com>> wrote: > So my general concern here is
2014 Dec 02
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
Thanks for your feedback, Eric. I still think we may be talking past each other a little bit, but rather than delving further into the details right now, I’ve suggested to Akira that he look into how we should handle other kinds of options. I’m hoping that as we look at more of them, we will gain some insight into the approach that we want to take here. This patch really only deals with the easy
2014 Dec 03
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
On Tue, Dec 2, 2014 at 3:21 PM, Eric Christopher <echristo at gmail.com> wrote: > On Mon Dec 01 2014 at 4:22:15 PM Bob Wilson <bob.wilson at apple.com> wrote: > >> Thanks for your feedback, Eric. >> >> I still think we may be talking past each other a little bit, but rather >> than >> > > Might be, sorry if so :( > > >> delving
2014 Dec 03
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
On Tue, Dec 2, 2014 at 4:38 PM, Eric Christopher <echristo at gmail.com> wrote: > > > On Tue Dec 02 2014 at 4:31:43 PM Akira Hatanaka <ahatanak at gmail.com> > wrote: > >> On Tue, Dec 2, 2014 at 3:21 PM, Eric Christopher <echristo at gmail.com> >> wrote: >> >>> On Mon Dec 01 2014 at 4:22:15 PM Bob Wilson <bob.wilson at apple.com>