search for: createtlof

Displaying 6 results from an estimated 6 matches for "createtlof".

2013 Jan 31
2
[LLVMdev] RFC: Promote AArch64 to be built by default
On 31 January 2013 12:45, Chandler Carruth <chandlerc at google.com> wrote: > This to me says that the concerns and protections of the experimental > backend aren't needed, and are more likely to impede progress than help it > -- specifically, we won't get good build bot coverage and diverse host > compiler coverage until it's enabled. > +1 --renato
2013 Jan 31
0
[LLVMdev] RFC: Promote AArch64 to be built by default
Just FYI: the AArch64 tests fail on non-Linux platforms. On my Mac, I get 75 failures running 'ninja check', since the tests do not specify a triple and defaults to Darwin, which the backend rejects in createTLOF. I would expect the same behavior on Windows. On Thu, Jan 31, 2013 at 8:01 AM, Renato Golin <renato.golin at linaro.org>wrote: > On 31 January 2013 12:45, Chandler Carruth <chandlerc at google.com> wrote: > >> This to me says that the concerns and protections of the expe...
2017 Aug 22
2
Subtarget Initialization in <ARCH>TargetMachine constructor
...t::Level OL, bool isLittle) : LLVMTargetMachine(T, computeDataLayout(TT, CPU, Options, isLittle), TT, CPU, FS, Options, getEffectiveRelocModel(TT, RM), getEffectiveCodeModel(CM), OL), TargetABI(computeTargetABI(TT, CPU, Options)), TLOF(createTLOF(getTargetTriple())), isLittle(isLittle) { ... } It does not create a separate Subtarget, and its getSubtargetImpl() tries to get the value from SubtargetMap. Is there any downside to keep BPFTargetMachine as is? Or it is worthwhile to implement it in a similar way to X86/ARM? Thanks! Yonghong --...
2017 Aug 23
2
Subtarget Initialization in <ARCH>TargetMachine constructor
...achine(T, computeDataLayout(TT, CPU, Options, isLittle), >> TT, >> CPU, FS, Options, getEffectiveRelocModel(TT, RM), >> getEffectiveCodeModel(CM), OL), >> TargetABI(computeTargetABI(TT, CPU, Options)), >> TLOF(createTLOF(getTargetTriple())), isLittle(isLittle) { >> ... >> } >> It does not create a separate Subtarget, and its getSubtargetImpl() tries to >> get the value >> from SubtargetMap. >> >> Is there any downside to keep BPFTargetMachine as is? Or it is worthwhile to &...
2013 Sep 25
1
[LLVMdev] arm64 / iOS support
...f --git a/lib/Target/AArch64/AArch64ISelLowering.cpp b/lib/Target/AArch64/AArch64ISelLowering.cpp index 48f34c0..0feaa0d 100644 --- a/lib/Target/AArch64/AArch64ISelLowering.cpp +++ b/lib/Target/AArch64/AArch64ISelLowering.cpp @@ -32,6 +32,8 @@ using namespace llvm; static TargetLoweringObjectFile *createTLOF(AArch64TargetMachine &TM) { const AArch64Subtarget *Subtarget = &TM.getSubtarget<AArch64Subtarget>(); + if (Subtarget->isTargetDarwin()) + return new AArch64MachOTargetObjectFile(); if (Subtarget->isTargetLinux()) return new AArch64LinuxTargetObjectFile(); if...
2015 Jan 27
7
[LLVMdev] Embedding cpu and feature strings into IR and enabling switching subtarget on a per function basis
I've been investigating what is needed to ensure command line options are passed to the backend codegen passes during LTO and enable compiling different functions in a module with different command line options (see the links below for previous discussions). http://thread.gmane.org/gmane.comp.compilers.llvm.devel/78855 http://thread.gmane.org/gmane.comp.compilers.llvm.devel/80456 The command