search for: x86_32targetmachin

Displaying 5 results from an estimated 5 matches for "x86_32targetmachin".

Did you mean: x86_32targetmachine
2014 Jan 06
2
[LLVMdev] Why do X86_32TargetMachine and X86_64TargetMachine classes exist?
...ctually* identical. Can we just ditch the subclasses, move the fields and methods that they share into the X86TargetMachine class, and use that instead? Or am I missing something? In the patch I'm about to post to llvm-commits, I *stop* using the X86_64TargetMachine subclass entirely, and use X86_32TargetMachine for the 64-bit target. And the 16-bit target too. And nothing seems to have broken AFAICT... --- a/lib/Target/X86/X86TargetMachine.cpp +++ b/lib/Target/X86/X86TargetMachine.cpp @@ -24,8 +24,9 @@ using namespace llvm; extern "C" void LLVMInitializeX86Target() { // Register the targ...
2014 Jan 06
3
[LLVMdev] Why do X86_32TargetMachine and X86_64TargetMachine classes exist?
...ere some things that were different (data layout > string and such), but that could also be parameterized if it hasn’t > been already by the recent refactorings, I suppose. It is *all* now parameterized. The classes are identical apart from that one true/false... > > @@ -74,7 +75,7 @@ X86_32TargetMachine::X86_32TargetMachine(const Target &T, Stri > > const TargetOptions &Options, > > Reloc::Model RM, CodeModel::Model CM, > > CodeGenOpt::Level OL) >...
2008 Feb 21
3
[LLVMdev] LLVM Win32 Issue
...; > I had trouble convincing VStudio's linker to keep the relevant code > around, so did this in the app I work on: > > void > LLVMCompiledProgram::linkerTrick() > { > llvm::Module staticModule("staticModule"); > std::string staticString; > llvm::X86_32TargetMachine staticMachine(staticModule, staticString); > } > > Which I called from somewhere real. > > Chuck.
2008 Feb 21
0
[LLVMdev] LLVM Win32 Issue
...; > I had trouble convincing VStudio's linker to keep the relevant code > around, so did this in the app I work on: > > void > LLVMCompiledProgram::linkerTrick() > { > llvm::Module staticModule("staticModule"); > std::string staticString; > llvm::X86_32TargetMachine staticMachine(staticModule, staticString); > } > > Which I called from somewhere real. > > Chuck. _______________________________________________ LLVM Developers mailing list LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
2008 Feb 21
3
[LLVMdev] LLVM Win32 Issue
Hello all, I'm trying to bring an LLVM-based project that is working on Linux up on Win32. I am having problems with llvm::ExecutionEngine::create returning a NULL. I traced it to these lines: // Unless the interpreter was explicitly selected, try making a JIT. if (!ForceInterpreter && JITCtor) EE = JITCtor(MP, ErrorStr); // If we can't make a JIT, make an