Displaying 2 results from an estimated 2 matches for "thex86_64target".
2014 Jan 06
2
[LLVMdev] Why do X86_32TargetMachine and X86_64TargetMachine classes exist?
...g namespace llvm;
extern "C" void LLVMInitializeX86Target() {
// Register the target.
+ RegisterTargetMachine<X86_32TargetMachine> W(TheX86_16Target);
RegisterTargetMachine<X86_32TargetMachine> X(TheX86_32Target);
- RegisterTargetMachine<X86_64TargetMachine> Y(TheX86_64Target);
+ RegisterTargetMachine<X86_32TargetMachine> Y(TheX86_64Target);
}
@@ -74,7 +75,7 @@ X86_32TargetMachine::X86_32TargetMachine(const Target &T, Stri
const TargetOptions &Options,
Reloc::Model RM, Co...
2010 Jun 21
2
[LLVMdev] MC: Object file specific parsing
...(T, Src, Ctx, Out, MAI);
+ }
+}
extern "C" void LLVMInitializeX86AsmLexer();
// Force static initialization.
extern "C" void LLVMInitializeX86AsmParser() {
- RegisterAsmParser<X86_32ATTAsmParser> X(TheX86_32Target);
- RegisterAsmParser<X86_64ATTAsmParser> Y(TheX86_64Target);
+ // Register the asm parser.
+ TargetRegistry::RegisterAsmParser(TheX86_32Target, createX86_32AsmParser);
+ TargetRegistry::RegisterAsmParser(TheX86_64Target, createX86_64AsmParser);
LLVMInitializeX86AsmLexer();
}
diff --git a/tools/edis/EDDisassembler.cpp b/tools/edis/EDDisassembler.cp...