Lines Matching full:triple

57                                     const llvm::Triple &Triple,  in getRISCFeaturesFromMcpu()  argument
60 bool Is64Bit = Triple.isRISCV64(); in getRISCFeaturesFromMcpu()
72 void riscv::getRISCVTargetFeatures(const Driver &D, const llvm::Triple &Triple, in getRISCVTargetFeatures() argument
75 std::string MArch = getRISCVArch(Args, Triple); in getRISCVTargetFeatures()
90 getRISCFeaturesFromMcpu(D, A, Triple, CPU, Features); in getRISCVTargetFeatures()
189 } else if (CPUFastScalarUnaligned || Triple.isAndroid()) { in getRISCVTargetFeatures()
206 } else if (CPUFastVectorUnaligned || Triple.isAndroid()) { in getRISCVTargetFeatures()
212 handleTargetFeaturesGroup(D, Triple, Args, Features, in getRISCVTargetFeatures()
216 StringRef riscv::getRISCVABI(const ArgList &Args, const llvm::Triple &Triple) { in getRISCVABI() argument
217 assert(Triple.isRISCV() && "Unexpected triple"); in getRISCVABI()
226 // 3. A default based on the target triple's arch in getRISCVABI()
237 // 3. Choose a default based on the triple in getRISCVABI()
251 std::string Arch = getRISCVArch(Args, Triple); in getRISCVABI()
259 // 3. Choose a default based on the triple in getRISCVABI()
264 if (Triple.isRISCV32()) { in getRISCVABI()
265 if (Triple.getOS() == llvm::Triple::UnknownOS) in getRISCVABI()
270 if (Triple.getOS() == llvm::Triple::UnknownOS) in getRISCVABI()
278 const llvm::Triple &Triple) { in getRISCVArch() argument
279 assert(Triple.isRISCV() && "Unexpected triple"); in getRISCVArch()
291 // 3. A default based on the target triple's arch in getRISCVArch()
302 // 4. A default based on the target triple's arch in getRISCVArch()
325 Triple.isRISCV32() ? 32 : 64, Features); in getRISCVArch()
354 if (Triple.isAndroid()) in getRISCVArch()
361 // 4. Choose a default based on the triple in getRISCVArch()
366 if (Triple.isRISCV32()) { in getRISCVArch()
367 if (Triple.getOS() == llvm::Triple::UnknownOS) in getRISCVArch()
372 if (Triple.getOS() == llvm::Triple::UnknownOS) in getRISCVArch()
374 else if (Triple.isAndroid()) in getRISCVArch()
382 const llvm::Triple &Triple) { in getRISCVTargetCPU() argument
395 return Triple.isRISCV64() ? "generic-rv64" : "generic-rv32"; in getRISCVTargetCPU()