llvm.org GIT mirror llvm / 7030368
Add mips64 & mips64el to Triple. Patch by Liu with modifications. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140157 91177308-0d34-0410-b5e6-96231b3b80d8 Akira Hatanaka 8 years ago
2 changed file(s) with 12 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
4848 cellspu, // CellSPU: spu, cellspu
4949 mips, // MIPS: mips, mipsallegrex
5050 mipsel, // MIPSEL: mipsel, mipsallegrexel, psp
51 mips64, // MIPS64: mips64
52 mips64el,// MIPS64EL: mips64el
5153 msp430, // MSP430: msp430
5254 ppc, // PPC: powerpc
5355 ppc64, // PPC64: powerpc64, ppu
2323 case cellspu: return "cellspu";
2424 case mips: return "mips";
2525 case mipsel: return "mipsel";
26 case mips64: return "mips64";
27 case mips64el:return "mips64el";
2628 case msp430: return "msp430";
2729 case ppc64: return "powerpc64";
2830 case ppc: return "powerpc";
144146 return mips;
145147 if (Name == "mipsel")
146148 return mipsel;
149 if (Name == "mips64")
150 return mips64;
151 if (Name == "mips64el")
152 return mips64el;
147153 if (Name == "msp430")
148154 return msp430;
149155 if (Name == "ppc64")
301307 else if (ArchName == "mipsel" || ArchName == "mipsallegrexel" ||
302308 ArchName == "psp")
303309 return mipsel;
310 else if (ArchName == "mips64" || ArchName == "mips64eb")
311 return mips64;
312 else if (ArchName == "mips64el")
313 return mips64el;
304314 else if (ArchName == "sparc")
305315 return sparc;
306316 else if (ArchName == "sparcv9")