search for: setfunctionattribut

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

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_ASSERT...
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 = &objoutstr...
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...
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&quo...
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...
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 fil...
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() << &...
2014 Nov 18
3
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...s: 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 (these options are declared as CodeGenOpt, which is a subclass of cl::opt) are saved to Function or ModuleIntAttrs in CodeGenOptions.cpp. 2. setFunctionAttribute is called to move the function and module options saved in step 1 to the bitcode. Also, options stored in TargetOptions are moved to the bitcode too. Pre-existing attributes in the bitcode are overwritten by the options in the command line. 3. The backend passes and subtarget classes call getFunct...
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: ig...
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) >>>>>>>>> e...
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) >>>>>>>>&g...
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) >>>>>&g...
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) >>&g...
2014 Nov 20
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...all cl::ParseCommandLineOptions. Any of >> the options that should be written to the bitcode as function or module >> attributes (these options are declared as CodeGenOpt, which is a subclass >> of cl::opt) are saved to Function or ModuleIntAttrs in CodeGenOptions.cpp. >> 2. setFunctionAttribute is called to move the function and module options >> saved in step 1 to the bitcode. Also, options stored in TargetOptions are >> moved to the bitcode too. Pre-existing attributes in the bitcode are >> overwritten by the options in the command line. >> 3. The backend passes...
2014 Nov 20
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
.... 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 (these options are declared as CodeGenOpt, which is a subclass of cl::opt) are saved to Function or ModuleIntAttrs in CodeGenOptions.cpp. > 2. setFunctionAttribute is called to move the function and module options saved in step 1 to the bitcode. Also, options stored in TargetOptions are moved to the bitcode too. Pre-existing attributes in the bitcode are overwritten by the options in the command line. > 3. The backend passes and subtarget classes call ge...
2014 Dec 02
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...ols such as clang and llc call cl::ParseCommandLineOptions. Any of the options that should be written to the bitcode as function or module attributes (these options are declared as CodeGenOpt, which is a subclass of cl::opt) are saved to Function or ModuleIntAttrs in CodeGenOptions.cpp. >> 2. setFunctionAttribute is called to move the function and module options saved in step 1 to the bitcode. Also, options stored in TargetOptions are moved to the bitcode too. Pre-existing attributes in the bitcode are overwritten by the options in the command line. >> 3. The backend passes and subtarget classes cal...
2014 Dec 03
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...the options that should be written to the bitcode as function or module >>>>>> attributes (these options are declared as CodeGenOpt, which is a subclass >>>>>> of cl::opt) are saved to Function or ModuleIntAttrs in CodeGenOptions.cpp. >>>>>> 2. setFunctionAttribute is called to move the function and module >>>>>> options saved in step 1 to the bitcode. Also, options stored in >>>>>> TargetOptions are moved to the bitcode too. Pre-existing attributes in the >>>>>> bitcode are overwritten by the options in...
2014 Dec 03
2
[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)
...ction or >>>>>>>> module attributes (these options are declared as CodeGenOpt, which is a >>>>>>>> subclass of cl::opt) are saved to Function or ModuleIntAttrs in >>>>>>>> CodeGenOptions.cpp. >>>>>>>> 2. setFunctionAttribute is called to move the function and module >>>>>>>> options saved in step 1 to the bitcode. Also, options stored in >>>>>>>> TargetOptions are moved to the bitcode too. Pre-existing attributes in the >>>>>>>> bitcode are overwr...