search for: floatabitype

Displaying 20 results from an estimated 20 matches for "floatabitype".

2011 Dec 02
2
[LLVMdev] deglobalizing TargetOptions
...r (http://code.google.com/p/data-race-test/) to find and remove races in a larger program that uses LLVM as a library. One of the things that I found is that the TargetOptions are all global; you could create a TargetMachine targeting ARM and X86 in two threads, but they both have to share the sameĀ FloatABIType setting. This is silly, and I plan to fix it by moving all the globals in TargetOptions into getters and setters on TargetMachine. This means that the TargetMachine object is going to get a bit bigger to accommodate, but at least two users of llvm linked into one program won't step on each oth...
2012 Dec 30
2
[LLVMdev] Targetting the raspberry pi
Targetting the raspberry pi, what triple/flags should I set? I tried triple: armv4t-unknown-linux-gnueabi and ld fails with: a.out uses VFP register arguments if i set hardfloat (using optdata.FloatABIType = FloatABI::Hard), ld fails with an assertion: 2.22 assertion fail ../../bfd/elf32-arm.c:11477 what am I missing?
2011 Dec 02
0
[LLVMdev] deglobalizing TargetOptions
...e.com/p/data-race-test/) to find and remove races in > a larger program that uses LLVM as a library. One of the things that I > found is that the TargetOptions are all global; you could create a > TargetMachine targeting ARM and X86 in two threads, but they both have > to share the same FloatABIType setting. > > This is silly, and I plan to fix it by moving all the globals in > TargetOptions into getters and setters on TargetMachine. This means > that the TargetMachine object is going to get a bit bigger to > accommodate, but at least two users of llvm linked into one program &...
2016 Mar 23
2
Help with pass manager
...opts, Reloc::Default, CodeModel::Default, OLvl)); assert(tmachine && "Could not allocate target machine!"); assert(module && "Should have exited if we didn't have a module!"); if (FloatABIForCalls != FloatABI::Default) targetopts.FloatABIType = FloatABIForCalls; std::unique_ptr<tool_output_file> objoutstream = getOutputFileStream(module, srcname); if (!objoutstream) return 1; legacy::PassManager passmanager; TargetLibraryInfoImpl TLII(moduletriple); TargetLibraryInfoWrapperPass *tliwp =...
2016 Mar 24
2
Help with pass manager
...> >> assert(tmachine && "Could not allocate target machine!"); >> >> assert(module && "Should have exited if we didn't have a module!"); >> if (FloatABIForCalls != FloatABI::Default) >> targetopts.FloatABIType = FloatABIForCalls; >> >> >> std::unique_ptr<tool_output_file> objoutstream = getOutputFileStream(module, srcname); >> if (!objoutstream) return 1; >> >> legacy::PassManager passmanager; >> >> TargetLibraryInf...
2016 Mar 24
0
Help with pass manager
...l::Default, OLvl)); > > assert(tmachine && "Could not allocate target machine!"); > > assert(module && "Should have exited if we didn't have a module!"); > if (FloatABIForCalls != FloatABI::Default) > targetopts.FloatABIType = FloatABIForCalls; > > > std::unique_ptr<tool_output_file> objoutstream = getOutputFileStream(module, srcname); > if (!objoutstream) return 1; > > legacy::PassManager passmanager; > > TargetLibraryInfoImpl TLII(moduletriple); >...
2016 Mar 24
2
Help with pass manager
...achine && "Could not allocate target machine!"); >>>> >>>> assert(module && "Should have exited if we didn't have a module!"); >>>> if (FloatABIForCalls != FloatABI::Default) >>>> targetopts.FloatABIType = FloatABIForCalls; >>>> >>>> >>>> std::unique_ptr<tool_output_file> objoutstream = getOutputFileStream(module, srcname); >>>> if (!objoutstream) return 1; >>>> >>>> legacy::PassManager passmana...
2016 Mar 24
0
Help with pass manager
...t; assert(tmachine && "Could not allocate target machine!"); >>> >>> assert(module && "Should have exited if we didn't have a module!"); >>> if (FloatABIForCalls != FloatABI::Default) >>> targetopts.FloatABIType = FloatABIForCalls; >>> >>> >>> std::unique_ptr<tool_output_file> objoutstream = getOutputFileStream(module, srcname); >>> if (!objoutstream) return 1; >>> >>> legacy::PassManager passmanager; >>> &...
2016 Mar 24
2
Help with pass manager
...t allocate target machine!"); >>>>>> >>>>>> assert(module && "Should have exited if we didn't have a module!"); >>>>>> if (FloatABIForCalls != FloatABI::Default) >>>>>> targetopts.FloatABIType = FloatABIForCalls; >>>>>> >>>>>> >>>>>> std::unique_ptr<tool_output_file> objoutstream = getOutputFileStream(module, srcname); >>>>>> if (!objoutstream) return 1; >>>>>> >>&...
2016 Mar 24
0
Help with pass manager
...; "Could not allocate target machine!"); >>>>> >>>>> assert(module && "Should have exited if we didn't have a module!"); >>>>> if (FloatABIForCalls != FloatABI::Default) >>>>> targetopts.FloatABIType = FloatABIForCalls; >>>>> >>>>> >>>>> std::unique_ptr<tool_output_file> objoutstream = getOutputFileStream(module, srcname); >>>>> if (!objoutstream) return 1; >>>>> >>>>> lega...
2012 Dec 30
0
[LLVMdev] Targetting the raspberry pi
...inly have a mismatch. David On 30 Dec 2012, at 10:42, Carlo Kok wrote: > Targetting the raspberry pi, what triple/flags should I set? > > I tried triple: armv4t-unknown-linux-gnueabi and ld fails with: > a.out uses VFP register arguments > > if i set hardfloat (using optdata.FloatABIType = FloatABI::Hard), ld fails with an assertion: > 2.22 assertion fail ../../bfd/elf32-arm.c:11477 > > what am I missing? > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.u...
2013 Feb 08
0
[LLVMdev] JIT on armhf
Hi David, For ARM, you will need to use the MCJIT ExecutionEngine as the legacy one is broken for ARM. (call EngineBuilder::setUseMCJIT()). When creating your TargetOptions, setting FloatABIType to FloatABI::Hard should trigger codegen for the correct ABI. Amara
2016 Mar 24
2
Help with pass manager
...); >>>>>>>> >>>>>>>> assert(module && "Should have exited if we didn't have a module!"); >>>>>>>> if (FloatABIForCalls != FloatABI::Default) >>>>>>>> targetopts.FloatABIType = FloatABIForCalls; >>>>>>>> >>>>>>>> >>>>>>>> std::unique_ptr<tool_output_file> objoutstream = getOutputFileStream(module, srcname); >>>>>>>> if (!objoutstream) return 1; >&gt...
2016 Mar 24
0
Help with pass manager
...t machine!"); >>>>>>> >>>>>>> assert(module && "Should have exited if we didn't have a module!"); >>>>>>> if (FloatABIForCalls != FloatABI::Default) >>>>>>> targetopts.FloatABIType = FloatABIForCalls; >>>>>>> >>>>>>> >>>>>>> std::unique_ptr<tool_output_file> objoutstream = getOutputFileStream(module, srcname); >>>>>>> if (!objoutstream) return 1; >>>>>&gt...
2016 Mar 24
0
Help with pass manager
...gt;>>>>> >>>>>>>>> assert(module && "Should have exited if we didn't have a module!"); >>>>>>>>> if (FloatABIForCalls != FloatABI::Default) >>>>>>>>> targetopts.FloatABIType = FloatABIForCalls; >>>>>>>>> >>>>>>>>> >>>>>>>>> std::unique_ptr<tool_output_file> objoutstream = getOutputFileStream(module, srcname); >>>>>>>>> if (!objoutstream) r...
2016 Mar 24
2
Help with pass manager
...gt;>> >>>>>>>>>> assert(module && "Should have exited if we didn't have a module!"); >>>>>>>>>> if (FloatABIForCalls != FloatABI::Default) >>>>>>>>>> targetopts.FloatABIType = FloatABIForCalls; >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> std::unique_ptr<tool_output_file> objoutstream = getOutputFileStream(module, srcname); >>>>>>>>>> if (...
2011 Dec 02
2
[LLVMdev] deglobalizing TargetOptions
...e-test/) to find and remove races in >> a larger program that uses LLVM as a library. One of the things that I >> found is that the TargetOptions are all global; you could create a >> TargetMachine targeting ARM and X86 in two threads, but they both have >> to share the same FloatABIType setting. >> >> This is silly, and I plan to fix it by moving all the globals in >> TargetOptions into getters and setters on TargetMachine. This means >> that the TargetMachine object is going to get a bit bigger to >> accommodate, but at least two users of llvm linked...
2016 Mar 24
0
Help with pass manager
...>>>>>>>>>>> assert(module && "Should have exited if we didn't have a module!"); >>>>>>>>>>> if (FloatABIForCalls != FloatABI::Default) >>>>>>>>>>> targetopts.FloatABIType = FloatABIForCalls; >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> std::unique_ptr<tool_output_file> objoutstream = getOutputFileStream(module, srcname); >>>>>>>>>&...
2016 Mar 30
1
Help with pass manager
...;>>>>>>>>>> assert(module && "Should have exited if we didn't have a module!"); >>>>>>>>>>>> if (FloatABIForCalls != FloatABI::Default) >>>>>>>>>>>> targetopts.FloatABIType = FloatABIForCalls; >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> std::unique_ptr<tool_output_file> objoutstream = getOutputFileStream(module, srcname); >>>>>>&...
2013 Feb 08
6
[LLVMdev] JIT on armhf
Renato Golin wrote: [...] > Try setting armv7a-unknown-linux-gnueabihf and see if it works better. No, that doesn't work either. [...] > JIT was never the forte of ARM and I haven't tried yet, but I doubt > it'll be any Debian misconfiguration. The whole architecture > configuration is a bit odd... Debian's clang packages are totally broken on armhf --- the compiler