Displaying 2 results from an estimated 2 matches for "geteffectivecodemodel".
2017 Aug 22
2
Subtarget Initialization in <ARCH>TargetMachine constructor
...Optional<Reloc::Model> RM,
Optional<CodeModel::Model> CM,
CodeGenOpt::Level OL, bool JIT)
: LLVMTargetMachine(T, computeDataLayout(TT), TT, CPU, FS, Options,
getEffectiveRelocModel(RM),
getEffectiveCodeModel(CM),
OL),
TLOF(make_unique<TargetLoweringObjectFileELF>()),
Subtarget(TT, CPU, FS, *this) {
initAsmInfo();
}
LanaiTargetMachine::LanaiTargetMachine(const Target &T, const Triple &TT,
StringRef Cpu, StringRef...
2017 Aug 23
2
Subtarget Initialization in <ARCH>TargetMachine constructor
...CodeGenOpt::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 Subtarg...