search for: relaxall

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

Did you mean: relaxable
2012 Jan 09
1
[LLVMdev] FW: generating ELF files on non-ELF platforms with MC
...treamer *createMCStreamer(const Target &T, StringRef TT, MCContext &Ctx, MCAsmBackend &MAB, raw_ostream &_OS, MCCodeEmitter *_Emitter, bool RelaxAll, bool NoExecStack) { Triple TheTriple(TT); if (TheTriple.isOSDarwin() || TheTriple.getEnvironment() == Triple::MachO) return createMachOStreamer(Ctx, MAB, _OS, _Emitter, RelaxAll); if (TheTriple.isOSWindows()) return createWinCOFFStreamer(Ctx, MAB...
2014 Mar 10
2
[LLVMdev] A bug or a feature?
...amer *createMCStreamer(const Target &T, StringRef TT, MCContext &Context, MCAsmBackend &MAB, raw_ostream &OS, MCCodeEmitter *Emitter, const MCSubtargetInfo &STI, bool RelaxAll, bool NoExecStack) { MCStreamer *S = createELFStreamer(Context, MAB, OS, Emitter, RelaxAll, NoExecStack); new SparcTargetELFStreamer(*S); 1 Memory is allocated ? return S; 2 ? Potential memory leak } Have not...
2012 Jan 04
4
[LLVMdev] generating ELF files on non-ELF platforms with MC
Hello, We're currently working on MC-JIT, focusing on runtime generation and loading of ELF object files, even on non-ELF platforms (i.e. Windows). However, we run into a problem with MC insisting to generate COFF objects on Windows, MachO on Macs and ELF only otherwise, based on the triple. Is there an existing method to generate ELF objects with MC on Windows, without modifying MC? Thanks
2012 Jan 09
0
[LLVMdev] generating ELF files on non-ELF platforms with MC
...treamer *createMCStreamer(const Target &T, StringRef TT, MCContext &Ctx, MCAsmBackend &MAB, raw_ostream &_OS, MCCodeEmitter *_Emitter, bool RelaxAll, bool NoExecStack) { Triple TheTriple(TT); if (TheTriple.isOSDarwin() || TheTriple.getEnvironment() == Triple::MachO) return createMachOStreamer(Ctx, MAB, _OS, _Emitter, RelaxAll); if (TheTriple.isOSWindows()) return createWinCOFFStreamer(Ctx, MAB...
2015 Dec 17
2
llvm-3.6 MCAsmParser x64 Error "invalid operand for instruction" when msb set
...add rax, 0x80000000", "add rax, 0xffffffff", ... "imul rbx, rsi, 0x80000000", "imul rbx, rsi, 0xffffffff", ... The Error Message I receive is the following: "Instruction:1:1: error: invalid operand for instruction" I was using the MCAsmParser, with the RelaxAll Flag set to true, for the MCStreamer. Can someone clarify, as to why this is happening, or what I am missing? Thank you in advance. Kind regards Roman ________________________________ ________________________________________________ SFNT Germany GmbH Registered office: Gabriele-Muenter-Str. 1...
2016 Mar 23
2
Help with pass manager
...rgetLibraryInfoImpl 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 = &objoutstream->os(); SmallVector<char,...
2014 Mar 10
3
[LLVMdev] MCJIT problem on native 'ppc64' target
I am having an issue with MCJIT on the ppc64 machine architecture. The symptom is that for a particular IR function the target machine won't emit neither an object nor an assembly file and subsequent calling the pointer to function results in a segfault. My application generates on the fly several functions with the builder and executes them with the MCJIT engine. I came across this
2016 Mar 24
2
Help with pass manager
...rPass *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 = &objoutstream-&gt...
2016 Mar 24
0
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"; > > { > raw_pwrite_stream *outstream = &objoutstream->os(); >...
2016 Mar 24
2
Help with pass manager
...gt;> >>>> 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
0
Help with pass manager
...InfoWrapperPass(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 = &...
2016 Mar 24
2
Help with pass manager
...d(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"; >>>>>> >>>>>> { >&...
2012 Feb 20
1
[LLVMdev] ARM opcode format
...ata from the target machine, if it exists, or the module. //if (const TargetData *TD = Target.getTargetData()) // PM.add(new TargetData(*TD)); //else // PM.add(new TargetData(&mod)); // Override default to generate verbose assembly. //Target.setAsmVerbosityDefault(true); //if (RelaxAll) { // if (FileType != TargetMachine::CGFT_ObjectFile) // errs() << argv[0] // << ": warning: ignoring -mc-relax-all because filetype != obj"; // else // Target.setMCRelaxAll(true); //} //{ // formatted_raw_ostream FOS(Out->os()); //...
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) >>>>> errs() << "warning: ignoring -mc-relax-all because filetype != obj"; >>>>> >>>>> { >>>>>...
2016 Mar 24
2
Help with pass manager
...>>>>>>>> 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
...t;>>> >>>>>>> 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
...>>>> 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
...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"; >>>>>>>>&g...
2016 Mar 24
0
Help with pass manager
...setDataLayout(tmachine->createDataLayout()); >>>>>>>>>>> >>>>>>>>>>> setFunctionAttributes(cpuname, ftrlist, *module); >>>>>>>>>>> >>>>>>>>>>> if (RelaxAll.getNumOccurrences() > 0 && >>>>>>>>>>> FileType != TargetMachine::CGFT_ObjectFile) >>>>>>>>>>> errs() << "warning: ignoring -mc-relax-all because filetype != obj"; >>>>>>&g...
2016 Mar 30
1
Help with pass manager
...achine->createDataLayout()); >>>>>>>>>>>> >>>>>>>>>>>> setFunctionAttributes(cpuname, ftrlist, *module); >>>>>>>>>>>> >>>>>>>>>>>> if (RelaxAll.getNumOccurrences() > 0 && >>>>>>>>>>>> FileType != TargetMachine::CGFT_ObjectFile) >>>>>>>>>>>> errs() << "warning: ignoring -mc-relax-all because filetype != obj"; >>>>&g...