• Home
  • Raw
  • Download

Lines Matching refs:TT

40 std::string ARM_MC::ParseARMTriple(StringRef TT, StringRef CPU) {  in ParseARMTriple()  argument
41 Triple triple(TT); in ParseARMTriple()
45 unsigned Len = TT.size(); in ParseARMTriple()
50 if (Len >= 5 && TT.substr(0, 4) == "armv") in ParseARMTriple()
52 else if (Len >= 6 && TT.substr(0, 5) == "thumb") { in ParseARMTriple()
54 if (Len >= 7 && TT[5] == 'v') in ParseARMTriple()
61 unsigned SubVer = TT[Idx]; in ParseARMTriple()
66 if (Len >= Idx+2 && TT[Idx+1] == 'm') { in ParseARMTriple()
74 } else if (Len >= Idx+3 && TT[Idx+1] == 'e'&& TT[Idx+2] == 'm') { in ParseARMTriple()
82 } else if (Len >= Idx+2 && TT[Idx+1] == 's') { in ParseARMTriple()
103 if (Len >= Idx+3 && TT[Idx+1] == 't' && TT[Idx+2] == '2') in ParseARMTriple()
105 else if (Len >= Idx+2 && TT[Idx+1] == 'm') { in ParseARMTriple()
115 if (Len >= Idx+3 && TT[Idx+1] == 't' && TT[Idx+2] == 'e') in ParseARMTriple()
119 } else if (SubVer == '4' && Len >= Idx+2 && TT[Idx+1] == 't') in ParseARMTriple()
140 MCSubtargetInfo *ARM_MC::createARMMCSubtargetInfo(StringRef TT, StringRef CPU, in createARMMCSubtargetInfo() argument
142 std::string ArchFS = ARM_MC::ParseARMTriple(TT, CPU); in createARMMCSubtargetInfo()
151 InitARMMCSubtargetInfo(X, TT, CPU, ArchFS); in createARMMCSubtargetInfo()
167 static MCAsmInfo *createARMMCAsmInfo(const MCRegisterInfo &MRI, StringRef TT) { in createARMMCAsmInfo() argument
168 Triple TheTriple(TT); in createARMMCAsmInfo()
176 static MCCodeGenInfo *createARMMCCodeGenInfo(StringRef TT, Reloc::Model RM, in createARMMCCodeGenInfo() argument
181 Triple TheTriple(TT); in createARMMCCodeGenInfo()
190 static MCStreamer *createMCStreamer(const Target &T, StringRef TT, in createMCStreamer() argument
196 Triple TheTriple(TT); in createMCStreamer()
220 static MCRelocationInfo *createARMMCRelocationInfo(StringRef TT, in createARMMCRelocationInfo() argument
222 Triple TheTriple(TT); in createARMMCRelocationInfo()
226 return llvm::createMCRelocationInfo(TT, Ctx); in createARMMCRelocationInfo()