Lines Matching defs:TT
193 static std::unique_ptr<TargetLoweringObjectFile> createTLOF(const Triple &TT) {
194 if (TT.isOSBinFormatMachO())
196 if (TT.isOSBinFormatCOFF())
203 static std::string computeDataLayout(const Triple &TT,
208 if (TT.isOSBinFormatMachO()) {
209 if (TT.getArch() == Triple::aarch64_32)
213 if (TT.isOSBinFormatCOFF())
220 static Reloc::Model getEffectiveRelocModel(const Triple &TT,
223 if (TT.isOSDarwin() || TT.isOSWindows())
234 getEffectiveAArch64CodeModel(const Triple &TT, Optional<CodeModel::Model> CM,
239 if (!TT.isOSFuchsia())
245 } else if (*CM == CodeModel::Tiny && !TT.isOSBinFormatELF())
255 if (JIT && !TT.isOSWindows())
262 AArch64TargetMachine::AArch64TargetMachine(const Target &T, const Triple &TT,
270 computeDataLayout(TT, Options.MCOptions, LittleEndian),
271 TT, CPU, FS, Options, getEffectiveRelocModel(TT, RM),
272 getEffectiveAArch64CodeModel(TT, CM, JIT), OL),
276 if (TT.isOSBinFormatMachO()) {
305 TT.getArch() != Triple::aarch64_32 &&
306 !(getCodeModel() == CodeModel::Large && TT.isOSBinFormatMachO())) {
347 const Target &T, const Triple &TT, StringRef CPU, StringRef FS,
350 : AArch64TargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, true) {}
355 const Target &T, const Triple &TT, StringRef CPU, StringRef FS,
358 : AArch64TargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, false) {}