Searched refs:SrcTriple (Results 1 – 1 of 1) sorted by relevance
1457 static std::string mergeTriples(const Triple &SrcTriple, const Triple &DstTriple) { in mergeTriples() argument1459 if (SrcTriple.getVendor() == Triple::Apple) in mergeTriples()1460 if (DstTriple.isOSVersionLT(SrcTriple)) in mergeTriples()1461 return SrcTriple.str(); in mergeTriples()1487 Triple SrcTriple(SrcM->getTargetTriple()), DstTriple(DstM->getTargetTriple()); in run() local1489 if (!SrcM->getTargetTriple().empty() && !triplesMatch(SrcTriple, DstTriple)) in run()1496 DstM->setTargetTriple(mergeTriples(SrcTriple, DstTriple)); in run()