Lines Matching refs:files
65 static void checkFlags(ArrayRef<FileFlags> files) { in checkFlags() argument
66 assert(!files.empty() && "expected non-empty file list"); in checkFlags()
68 uint32_t abi = files[0].flags & (EF_MIPS_ABI | EF_MIPS_ABI2); in checkFlags()
69 bool nan = files[0].flags & EF_MIPS_NAN2008; in checkFlags()
70 bool fp = files[0].flags & EF_MIPS_FP64; in checkFlags()
72 for (const FileFlags &f : files) { in checkFlags()
93 static uint32_t getMiscFlags(ArrayRef<FileFlags> files) { in getMiscFlags() argument
95 for (const FileFlags &f : files) in getMiscFlags()
102 static uint32_t getPicFlags(ArrayRef<FileFlags> files) { in getPicFlags() argument
104 bool isPic = files[0].flags & (EF_MIPS_PIC | EF_MIPS_CPIC); in getPicFlags()
105 for (const FileFlags &f : files.slice(1)) { in getPicFlags()
110 toString(files[0].file)); in getPicFlags()
114 toString(files[0].file)); in getPicFlags()
118 uint32_t ret = files[0].flags & (EF_MIPS_PIC | EF_MIPS_CPIC); in getPicFlags()
119 for (const FileFlags &f : files.slice(1)) in getPicFlags()
276 static uint32_t getArchFlags(ArrayRef<FileFlags> files) { in getArchFlags() argument
277 uint32_t ret = files[0].flags & (EF_MIPS_ARCH | EF_MIPS_MACH); in getArchFlags()
279 for (const FileFlags &f : files.slice(1)) { in getArchFlags()
286 error("incompatible target ISA:\n>>> " + toString(files[0].file) + ": " + in getArchFlags()