Home | History | Annotate | Download | only in Expression

Lines Matching defs:triple

213     // Sometimes this will be ok to just use the host target triple (when we
216 // using the host triple. This needs to be fixed in a better way.
219 std::string triple = target_sp->GetArchitecture().GetTriple().str();
222 for (size_t i = 0; i < triple.size(); ++i)
224 if (triple[i] == '-')
228 triple.resize(i);
233 m_compiler->getTargetOpts().Triple = triple;
237 m_compiler->getTargetOpts().Triple = llvm::sys::getDefaultTargetTriple();
240 if (target_sp->GetArchitecture().GetMachine() == llvm::Triple::x86 ||
241 target_sp->GetArchitecture().GetMachine() == llvm::Triple::x86_64)
247 if (m_compiler->getTargetOpts().Triple.find("ios") != std::string::npos)