llvm.org GIT mirror llvm / 3a64202
ARM: rename ARMle/ARMbe with ARMLE/ARMBE, and Thumble/Thumbbe with ThumbLE/ThumbBE git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205317 91177308-0d34-0410-b5e6-96231b3b80d8 Christian Pirker 6 years ago
10 changed file(s) with 119 addition(s) and 119 deletion(s). Raw diff Collapse all Expand all
17181718
17191719 // Force static initialization.
17201720 extern "C" void LLVMInitializeARMAsmPrinter() {
1721 RegisterAsmPrinter X(TheARMleTarget);
1722 RegisterAsmPrinter Y(TheARMbeTarget);
1723 RegisterAsmPrinter A(TheThumbleTarget);
1724 RegisterAsmPrinter B(TheThumbbeTarget);
1725 }
1721 RegisterAsmPrinter X(TheARMLETarget);
1722 RegisterAsmPrinter Y(TheARMBETarget);
1723 RegisterAsmPrinter A(TheThumbLETarget);
1724 RegisterAsmPrinter B(TheThumbBETarget);
1725 }
2929
3030 extern "C" void LLVMInitializeARMTarget() {
3131 // Register the target.
32 RegisterTargetMachine X(TheARMleTarget);
33 RegisterTargetMachine Y(TheARMbeTarget);
34 RegisterTargetMachine A(TheThumbleTarget);
35 RegisterTargetMachine<ThumbbeTargetMachine> B(TheThumbbeTarget);
32 RegisterTargetMachine<ARMLETargetMachine> X(TheARMLETarget);
33 RegisterTargetMachine Y(TheARMBETarget);
34 RegisterTargetMachine A(TheThumbLETarget);
35 RegisterTargetMachine B(TheThumbBETarget);
3636 }
3737
3838
140140 "support ARM mode execution!");
141141 }
142142
143 void ARMleTargetMachine::anchor() { }
144
145 ARMleTargetMachine::
146 ARMleTargetMachine(const Target &T, StringRef TT,
143 void ARMLETargetMachine::anchor() { }
144
145 ARMLETargetMachine::
146 ARMLETargetMachine(const Target &T, StringRef TT,
147147 StringRef CPU, StringRef FS, const TargetOptions &Options,
148148 Reloc::Model RM, CodeModel::Model CM,
149149 CodeGenOpt::Level OL)
150150 : ARMTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, true) {}
151151
152 void ARMbeTargetMachine::anchor() { }
153
154 ARMbeTargetMachine::
155 ARMbeTargetMachine(const Target &T, StringRef TT,
152 void ARMBETargetMachine::anchor() { }
153
154 ARMBETargetMachine::
155 ARMBETargetMachine(const Target &T, StringRef TT,
156156 StringRef CPU, StringRef FS, const TargetOptions &Options,
157157 Reloc::Model RM, CodeModel::Model CM,
158158 CodeGenOpt::Level OL)
179179 initAsmInfo();
180180 }
181181
182 void ThumbleTargetMachine::anchor() { }
183
184 ThumbleTargetMachine::
185 ThumbleTargetMachine(const Target &T, StringRef TT,
182 void ThumbLETargetMachine::anchor() { }
183
184 ThumbLETargetMachine::
185 ThumbLETargetMachine(const Target &T, StringRef TT,
186186 StringRef CPU, StringRef FS, const TargetOptions &Options,
187187 Reloc::Model RM, CodeModel::Model CM,
188188 CodeGenOpt::Level OL)
189189 : ThumbTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, true) {}
190190
191 void ThumbbeTargetMachine::anchor() { }
192
193 ThumbbeTargetMachine::
194 ThumbbeTargetMachine(const Target &T, StringRef TT,
191 void ThumbBETargetMachine::anchor() { }
192
193 ThumbBETargetMachine::
194 ThumbBETargetMachine(const Target &T, StringRef TT,
195195 StringRef CPU, StringRef FS, const TargetOptions &Options,
196196 Reloc::Model RM, CodeModel::Model CM,
197197 CodeGenOpt::Level OL)
9898 const DataLayout *getDataLayout() const override { return &DL; }
9999 };
100100
101 /// ARMleTargetMachine - ARM little endian target machine.
101 /// ARMLETargetMachine - ARM little endian target machine.
102102 ///
103 class ARMleTargetMachine : public ARMTargetMachine {
103 class ARMLETargetMachine : public ARMTargetMachine {
104104 virtual void anchor();
105105 public:
106 ARMleTargetMachine(const Target &T, StringRef TT,
106 ARMLETargetMachine(const Target &T, StringRef TT,
107107 StringRef CPU, StringRef FS, const TargetOptions &Options,
108108 Reloc::Model RM, CodeModel::Model CM,
109109 CodeGenOpt::Level OL);
110110 };
111111
112 /// ARMbeTargetMachine - ARM big endian target machine.
112 /// ARMBETargetMachine - ARM big endian target machine.
113113 ///
114 class ARMbeTargetMachine : public ARMTargetMachine {
114 class ARMBETargetMachine : public ARMTargetMachine {
115115 virtual void anchor();
116116 public:
117 ARMbeTargetMachine(const Target &T, StringRef TT,
117 ARMBETargetMachine(const Target &T, StringRef TT,
118118 StringRef CPU, StringRef FS, const TargetOptions &Options,
119119 Reloc::Model RM, CodeModel::Model CM,
120120 CodeGenOpt::Level OL);
165165 const DataLayout *getDataLayout() const override { return &DL; }
166166 };
167167
168 /// ThumbleTargetMachine - Thumb little endian target machine.
168 /// ThumbLETargetMachine - Thumb little endian target machine.
169169 ///
170 class ThumbleTargetMachine : public ThumbTargetMachine {
170 class ThumbLETargetMachine : public ThumbTargetMachine {
171171 virtual void anchor();
172172 public:
173 ThumbleTargetMachine(const Target &T, StringRef TT,
173 ThumbLETargetMachine(const Target &T, StringRef TT,
174174 StringRef CPU, StringRef FS, const TargetOptions &Options,
175175 Reloc::Model RM, CodeModel::Model CM,
176176 CodeGenOpt::Level OL);
177177 };
178178
179 /// ThumbbeTargetMachine - Thumb big endian target machine.
179 /// ThumbBETargetMachine - Thumb big endian target machine.
180180 ///
181 class ThumbbeTargetMachine : public ThumbTargetMachine {
181 class ThumbBETargetMachine : public ThumbTargetMachine {
182182 virtual void anchor();
183183 public:
184 ThumbbeTargetMachine(const Target &T, StringRef TT,
184 ThumbBETargetMachine(const Target &T, StringRef TT,
185185 StringRef CPU, StringRef FS, const TargetOptions &Options,
186186 Reloc::Model RM, CodeModel::Model CM,
187187 CodeGenOpt::Level OL);
92509250
92519251 /// Force static initialization.
92529252 extern "C" void LLVMInitializeARMAsmParser() {
9253 RegisterMCAsmParser X(TheARMleTarget);
9254 RegisterMCAsmParser Y(TheARMbeTarget);
9255 RegisterMCAsmParser A(TheThumbleTarget);
9256 RegisterMCAsmParser B(TheThumbbeTarget);
9253 RegisterMCAsmParser X(TheARMLETarget);
9254 RegisterMCAsmParser Y(TheARMBETarget);
9255 RegisterMCAsmParser A(TheThumbLETarget);
9256 RegisterMCAsmParser B(TheThumbBETarget);
92579257 }
92589258
92599259 #define GET_REGISTER_MATCHER
855855
856856
857857 extern "C" void LLVMInitializeARMDisassembler() {
858 TargetRegistry::RegisterMCDisassembler(TheARMleTarget,
858 TargetRegistry::RegisterMCDisassembler(TheARMLETarget,
859859 createARMDisassembler);
860 TargetRegistry::RegisterMCDisassembler(TheARMbeTarget,
860 TargetRegistry::RegisterMCDisassembler(TheARMBETarget,
861861 createARMDisassembler);
862 TargetRegistry::RegisterMCDisassembler(TheThumbleTarget,
862 TargetRegistry::RegisterMCDisassembler(TheThumbLETarget,
863863 createThumbDisassembler);
864 TargetRegistry::RegisterMCDisassembler(TheThumbbeTarget,
864 TargetRegistry::RegisterMCDisassembler(TheThumbBETarget,
865865 createThumbDisassembler);
866866 }
867867
802802 return new ELFARMAsmBackend(T, TT, OSABI, isLittle);
803803 }
804804
805 MCAsmBackend *llvm::createARMleAsmBackend(const Target &T,
805 MCAsmBackend *llvm::createARMLEAsmBackend(const Target &T,
806806 const MCRegisterInfo &MRI,
807807 StringRef TT, StringRef CPU) {
808808 return createARMAsmBackend(T, MRI, TT, CPU, true);
809809 }
810810
811 MCAsmBackend *llvm::createARMbeAsmBackend(const Target &T,
811 MCAsmBackend *llvm::createARMBEAsmBackend(const Target &T,
812812 const MCRegisterInfo &MRI,
813813 StringRef TT, StringRef CPU) {
814814 return createARMAsmBackend(T, MRI, TT, CPU, false);
815815 }
816816
817 MCAsmBackend *llvm::createThumbleAsmBackend(const Target &T,
817 MCAsmBackend *llvm::createThumbLEAsmBackend(const Target &T,
818818 const MCRegisterInfo &MRI,
819819 StringRef TT, StringRef CPU) {
820820 return createARMAsmBackend(T, MRI, TT, CPU, true);
821821 }
822822
823 MCAsmBackend *llvm::createThumbbeAsmBackend(const Target &T,
823 MCAsmBackend *llvm::createThumbBEAsmBackend(const Target &T,
824824 const MCRegisterInfo &MRI,
825825 StringRef TT, StringRef CPU) {
826826 return createARMAsmBackend(T, MRI, TT, CPU, false);
415415
416416 } // end anonymous namespace
417417
418 MCCodeEmitter *llvm::createARMleMCCodeEmitter(const MCInstrInfo &MCII,
418 MCCodeEmitter *llvm::createARMLEMCCodeEmitter(const MCInstrInfo &MCII,
419419 const MCRegisterInfo &MRI,
420420 const MCSubtargetInfo &STI,
421421 MCContext &Ctx) {
422422 return new ARMMCCodeEmitter(MCII, Ctx, true);
423423 }
424424
425 MCCodeEmitter *llvm::createARMbeMCCodeEmitter(const MCInstrInfo &MCII,
425 MCCodeEmitter *llvm::createARMBEMCCodeEmitter(const MCInstrInfo &MCII,
426426 const MCRegisterInfo &MRI,
427427 const MCSubtargetInfo &STI,
428428 MCContext &Ctx) {
327327 // Force static initialization.
328328 extern "C" void LLVMInitializeARMTargetMC() {
329329 // Register the MC asm info.
330 RegisterMCAsmInfoFn X(TheARMleTarget, createARMMCAsmInfo);
331 RegisterMCAsmInfoFn Y(TheARMbeTarget, createARMMCAsmInfo);
332 RegisterMCAsmInfoFn A(TheThumbleTarget, createARMMCAsmInfo);
333 RegisterMCAsmInfoFn B(TheThumbbeTarget, createARMMCAsmInfo);
330 RegisterMCAsmInfoFn X(TheARMLETarget, createARMMCAsmInfo);
331 RegisterMCAsmInfoFn Y(TheARMBETarget, createARMMCAsmInfo);
332 RegisterMCAsmInfoFn A(TheThumbLETarget, createARMMCAsmInfo);
333 RegisterMCAsmInfoFn B(TheThumbBETarget, createARMMCAsmInfo);
334334
335335 // Register the MC codegen info.
336 TargetRegistry::RegisterMCCodeGenInfo(TheARMleTarget, createARMMCCodeGenInfo);
337 TargetRegistry::RegisterMCCodeGenInfo(TheARMbeTarget, createARMMCCodeGenInfo);
338 TargetRegistry::RegisterMCCodeGenInfo(TheThumbleTarget, createARMMCCodeGenInfo);
339 TargetRegistry::RegisterMCCodeGenInfo(TheThumbbeTarget, createARMMCCodeGenInfo);
336 TargetRegistry::RegisterMCCodeGenInfo(TheARMLETarget, createARMMCCodeGenInfo);
337 TargetRegistry::RegisterMCCodeGenInfo(TheARMBETarget, createARMMCCodeGenInfo);
338 TargetRegistry::RegisterMCCodeGenInfo(TheThumbLETarget, createARMMCCodeGenInfo);
339 TargetRegistry::RegisterMCCodeGenInfo(TheThumbBETarget, createARMMCCodeGenInfo);
340340
341341 // Register the MC instruction info.
342 TargetRegistry::RegisterMCInstrInfo(TheARMleTarget, createARMMCInstrInfo);
343 TargetRegistry::RegisterMCInstrInfo(TheARMbeTarget, createARMMCInstrInfo);
344 TargetRegistry::RegisterMCInstrInfo(TheThumbleTarget, createARMMCInstrInfo);
345 TargetRegistry::RegisterMCInstrInfo(TheThumbbeTarget, createARMMCInstrInfo);
342 TargetRegistry::RegisterMCInstrInfo(TheARMLETarget, createARMMCInstrInfo);
343 TargetRegistry::RegisterMCInstrInfo(TheARMBETarget, createARMMCInstrInfo);
344 TargetRegistry::RegisterMCInstrInfo(TheThumbLETarget, createARMMCInstrInfo);
345 TargetRegistry::RegisterMCInstrInfo(TheThumbBETarget, createARMMCInstrInfo);
346346
347347 // Register the MC register info.
348 TargetRegistry::RegisterMCRegInfo(TheARMleTarget, createARMMCRegisterInfo);
349 TargetRegistry::RegisterMCRegInfo(TheARMbeTarget, createARMMCRegisterInfo);
350 TargetRegistry::RegisterMCRegInfo(TheThumbleTarget, createARMMCRegisterInfo);
351 TargetRegistry::RegisterMCRegInfo(TheThumbbeTarget, createARMMCRegisterInfo);
348 TargetRegistry::RegisterMCRegInfo(TheARMLETarget, createARMMCRegisterInfo);
349 TargetRegistry::RegisterMCRegInfo(TheARMBETarget, createARMMCRegisterInfo);
350 TargetRegistry::RegisterMCRegInfo(TheThumbLETarget, createARMMCRegisterInfo);
351 TargetRegistry::RegisterMCRegInfo(TheThumbBETarget, createARMMCRegisterInfo);
352352
353353 // Register the MC subtarget info.
354 TargetRegistry::RegisterMCSubtargetInfo(TheARMleTarget,
354 TargetRegistry::RegisterMCSubtargetInfo(TheARMLETarget,
355355 ARM_MC::createARMMCSubtargetInfo);
356 TargetRegistry::RegisterMCSubtargetInfo(TheARMbeTarget,
356 TargetRegistry::RegisterMCSubtargetInfo(TheARMBETarget,
357357 ARM_MC::createARMMCSubtargetInfo);
358 TargetRegistry::RegisterMCSubtargetInfo(TheThumbleTarget,
358 TargetRegistry::RegisterMCSubtargetInfo(TheThumbLETarget,
359359 ARM_MC::createARMMCSubtargetInfo);
360 TargetRegistry::RegisterMCSubtargetInfo(TheThumbbeTarget,
360 TargetRegistry::RegisterMCSubtargetInfo(TheThumbBETarget,
361361 ARM_MC::createARMMCSubtargetInfo);
362362
363363 // Register the MC instruction analyzer.
364 TargetRegistry::RegisterMCInstrAnalysis(TheARMleTarget,
364 TargetRegistry::RegisterMCInstrAnalysis(TheARMLETarget,
365365 createARMMCInstrAnalysis);
366 TargetRegistry::RegisterMCInstrAnalysis(TheARMbeTarget,
366 TargetRegistry::RegisterMCInstrAnalysis(TheARMBETarget,
367367 createARMMCInstrAnalysis);
368 TargetRegistry::RegisterMCInstrAnalysis(TheThumbleTarget,
368 TargetRegistry::RegisterMCInstrAnalysis(TheThumbLETarget,
369369 createARMMCInstrAnalysis);
370 TargetRegistry::RegisterMCInstrAnalysis(TheThumbbeTarget,
370 TargetRegistry::RegisterMCInstrAnalysis(TheThumbBETarget,
371371 createARMMCInstrAnalysis);
372372
373373 // Register the MC Code Emitter
374 TargetRegistry::RegisterMCCodeEmitter(TheARMleTarget,
375 createARMleMCCodeEmitter);
376 TargetRegistry::RegisterMCCodeEmitter(TheARMbeTarget,
377 createARMbeMCCodeEmitter);
378 TargetRegistry::RegisterMCCodeEmitter(TheThumbleTarget,
379 createARMleMCCodeEmitter);
380 TargetRegistry::RegisterMCCodeEmitter(TheThumbbeTarget,
381 createARMbeMCCodeEmitter);
374 TargetRegistry::RegisterMCCodeEmitter(TheARMLETarget,
375 createARMLEMCCodeEmitter);
376 TargetRegistry::RegisterMCCodeEmitter(TheARMBETarget,
377 createARMBEMCCodeEmitter);
378 TargetRegistry::RegisterMCCodeEmitter(TheThumbLETarget,
379 createARMLEMCCodeEmitter);
380 TargetRegistry::RegisterMCCodeEmitter(TheThumbBETarget,
381 createARMBEMCCodeEmitter);
382382
383383 // Register the asm backend.
384 TargetRegistry::RegisterMCAsmBackend(TheARMleTarget, createARMleAsmBackend);
385 TargetRegistry::RegisterMCAsmBackend(TheARMbeTarget, createARMbeAsmBackend);
386 TargetRegistry::RegisterMCAsmBackend(TheThumbleTarget,
387 createThumbleAsmBackend);
388 TargetRegistry::RegisterMCAsmBackend(TheThumbbeTarget,
389 createThumbbeAsmBackend);
384 TargetRegistry::RegisterMCAsmBackend(TheARMLETarget, createARMLEAsmBackend);
385 TargetRegistry::RegisterMCAsmBackend(TheARMBETarget, createARMBEAsmBackend);
386 TargetRegistry::RegisterMCAsmBackend(TheThumbLETarget,
387 createThumbLEAsmBackend);
388 TargetRegistry::RegisterMCAsmBackend(TheThumbBETarget,
389 createThumbBEAsmBackend);
390390
391391 // Register the object streamer.
392 TargetRegistry::RegisterMCObjectStreamer(TheARMleTarget, createMCStreamer);
393 TargetRegistry::RegisterMCObjectStreamer(TheARMbeTarget, createMCStreamer);
394 TargetRegistry::RegisterMCObjectStreamer(TheThumbleTarget, createMCStreamer);
395 TargetRegistry::RegisterMCObjectStreamer(TheThumbbeTarget, createMCStreamer);
392 TargetRegistry::RegisterMCObjectStreamer(TheARMLETarget, createMCStreamer);
393 TargetRegistry::RegisterMCObjectStreamer(TheARMBETarget, createMCStreamer);
394 TargetRegistry::RegisterMCObjectStreamer(TheThumbLETarget, createMCStreamer);
395 TargetRegistry::RegisterMCObjectStreamer(TheThumbBETarget, createMCStreamer);
396396
397397 // Register the asm streamer.
398 TargetRegistry::RegisterAsmStreamer(TheARMleTarget, createMCAsmStreamer);
399 TargetRegistry::RegisterAsmStreamer(TheARMbeTarget, createMCAsmStreamer);
400 TargetRegistry::RegisterAsmStreamer(TheThumbleTarget, createMCAsmStreamer);
401 TargetRegistry::RegisterAsmStreamer(TheThumbbeTarget, createMCAsmStreamer);
398 TargetRegistry::RegisterAsmStreamer(TheARMLETarget, createMCAsmStreamer);
399 TargetRegistry::RegisterAsmStreamer(TheARMBETarget, createMCAsmStreamer);
400 TargetRegistry::RegisterAsmStreamer(TheThumbLETarget, createMCAsmStreamer);
401 TargetRegistry::RegisterAsmStreamer(TheThumbBETarget, createMCAsmStreamer);
402402
403403 // Register the MCInstPrinter.
404 TargetRegistry::RegisterMCInstPrinter(TheARMleTarget, createARMMCInstPrinter);
405 TargetRegistry::RegisterMCInstPrinter(TheARMbeTarget, createARMMCInstPrinter);
406 TargetRegistry::RegisterMCInstPrinter(TheThumbleTarget,
404 TargetRegistry::RegisterMCInstPrinter(TheARMLETarget, createARMMCInstPrinter);
405 TargetRegistry::RegisterMCInstPrinter(TheARMBETarget, createARMMCInstPrinter);
406 TargetRegistry::RegisterMCInstPrinter(TheThumbLETarget,
407407 createARMMCInstPrinter);
408 TargetRegistry::RegisterMCInstPrinter(TheThumbbeTarget,
408 TargetRegistry::RegisterMCInstPrinter(TheThumbBETarget,
409409 createARMMCInstPrinter);
410410
411411 // Register the MC relocation info.
412 TargetRegistry::RegisterMCRelocationInfo(TheARMleTarget,
412 TargetRegistry::RegisterMCRelocationInfo(TheARMLETarget,
413413 createARMMCRelocationInfo);
414 TargetRegistry::RegisterMCRelocationInfo(TheARMbeTarget,
414 TargetRegistry::RegisterMCRelocationInfo(TheARMBETarget,
415415 createARMMCRelocationInfo);
416 TargetRegistry::RegisterMCRelocationInfo(TheThumbleTarget,
416 TargetRegistry::RegisterMCRelocationInfo(TheThumbLETarget,
417417 createARMMCRelocationInfo);
418 TargetRegistry::RegisterMCRelocationInfo(TheThumbbeTarget,
418 TargetRegistry::RegisterMCRelocationInfo(TheThumbBETarget,
419419 createARMMCRelocationInfo);
420420 }
3232 class Target;
3333 class raw_ostream;
3434
35 extern Target TheARMleTarget, TheThumbleTarget;
36 extern Target TheARMbeTarget, TheThumbbeTarget;
35 extern Target TheARMLETarget, TheThumbLETarget;
36 extern Target TheARMBETarget, TheThumbBETarget;
3737
3838 namespace ARM_MC {
3939 std::string ParseARMTriple(StringRef TT, StringRef CPU);
5151 MCInstPrinter *InstPrint, MCCodeEmitter *CE,
5252 MCAsmBackend *TAB, bool ShowInst);
5353
54 MCCodeEmitter *createARMleMCCodeEmitter(const MCInstrInfo &MCII,
54 MCCodeEmitter *createARMLEMCCodeEmitter(const MCInstrInfo &MCII,
5555 const MCRegisterInfo &MRI,
5656 const MCSubtargetInfo &STI,
5757 MCContext &Ctx);
5858
59 MCCodeEmitter *createARMbeMCCodeEmitter(const MCInstrInfo &MCII,
59 MCCodeEmitter *createARMBEMCCodeEmitter(const MCInstrInfo &MCII,
6060 const MCRegisterInfo &MRI,
6161 const MCSubtargetInfo &STI,
6262 MCContext &Ctx);
6565 StringRef TT, StringRef CPU,
6666 bool IsLittleEndian);
6767
68 MCAsmBackend *createARMleAsmBackend(const Target &T, const MCRegisterInfo &MRI,
68 MCAsmBackend *createARMLEAsmBackend(const Target &T, const MCRegisterInfo &MRI,
6969 StringRef TT, StringRef CPU);
7070
71 MCAsmBackend *createARMbeAsmBackend(const Target &T, const MCRegisterInfo &MRI,
71 MCAsmBackend *createARMBEAsmBackend(const Target &T, const MCRegisterInfo &MRI,
7272 StringRef TT, StringRef CPU);
7373
74 MCAsmBackend *createThumbleAsmBackend(const Target &T, const MCRegisterInfo &MRI,
74 MCAsmBackend *createThumbLEAsmBackend(const Target &T, const MCRegisterInfo &MRI,
7575 StringRef TT, StringRef CPU);
7676
77 MCAsmBackend *createThumbbeAsmBackend(const Target &T, const MCRegisterInfo &MRI,
77 MCAsmBackend *createThumbBEAsmBackend(const Target &T, const MCRegisterInfo &MRI,
7878 StringRef TT, StringRef CPU);
7979
8080 /// createARMELFObjectWriter - Construct an ELF Mach-O object writer.
1111 #include "llvm/Support/TargetRegistry.h"
1212 using namespace llvm;
1313
14 Target llvm::TheARMleTarget, llvm::TheARMbeTarget;
15 Target llvm::TheThumbleTarget, llvm::TheThumbbeTarget;
14 Target llvm::TheARMLETarget, llvm::TheARMBETarget;
15 Target llvm::TheThumbLETarget, llvm::TheThumbBETarget;
1616
1717 extern "C" void LLVMInitializeARMTargetInfo() {
1818 RegisterTarget
19 X(TheARMleTarget, "arm", "ARM");
19 X(TheARMLETarget, "arm", "ARM");
2020 RegisterTarget
21 Y(TheARMbeTarget, "armeb", "ARM (big endian)");
21 Y(TheARMBETarget, "armeb", "ARM (big endian)");
2222
2323 RegisterTarget
24 A(TheThumbleTarget, "thumb", "Thumb");
24 A(TheThumbLETarget, "thumb", "Thumb");
2525 RegisterTarget
26 B(TheThumbbeTarget, "thumbeb", "Thumb (big endian)");
26 B(TheThumbBETarget, "thumbeb", "Thumb (big endian)");
2727 }