Lines Matching defs:TT
201 const Triple &TT) {
205 if (TT.getArch() == Triple::ppc64 || TT.getArch() == Triple::ppc64le) {
226 if (TT.isOSAIX()) {
236 static std::unique_ptr<TargetLoweringObjectFile> createTLOF(const Triple &TT) {
237 if (TT.isOSAIX())
243 static PPCTargetMachine::PPCABI computeTargetABI(const Triple &TT,
253 switch (TT.getArch()) {
257 if (TT.isPPC64ELFv2ABI())
266 static Reloc::Model getEffectiveRelocModel(const Triple &TT,
268 if (TT.isOSAIX() && RM && *RM != Reloc::PIC_)
276 if (TT.getArch() == Triple::ppc64 || TT.isOSAIX())
284 getEffectivePPCCodeModel(const Triple &TT, std::optional<CodeModel::Model> CM,
296 if (TT.isOSAIX())
299 assert(TT.isOSBinFormatELF() && "All remaining PPC OSes are ELF based.");
301 if (TT.isArch32Bit())
304 assert(TT.isArch64Bit() && "Unsupported PPC architecture.");
344 PPCTargetMachine::PPCTargetMachine(const Target &T, const Triple &TT,
350 : LLVMTargetMachine(T, getDataLayoutString(TT), TT, CPU,
351 computeFSAdditions(FS, OL, TT), Options,
352 getEffectiveRelocModel(TT, RM),
353 getEffectivePPCCodeModel(TT, CM, JIT), OL),
355 TargetABI(computeTargetABI(TT, Options)),
356 Endianness(isLittleEndianTriple(TT) ? Endian::LITTLE : Endian::BIG) {