Lines Matching defs:triple
83 void AddDefaultCIncludePaths(const llvm::Triple &triple,
88 const llvm::Triple &triple,
93 bool ShouldAddDefaultIncludePaths(const llvm::Triple &triple);
97 const llvm::Triple &triple,
194 void InitHeaderSearch::AddDefaultCIncludePaths(const llvm::Triple &triple,
196 if (!ShouldAddDefaultIncludePaths(triple))
199 llvm::Triple::OSType os = triple.getOS();
204 if (triple.getEnvironment() != llvm::Triple::Cygnus)
241 switch (triple.getEnvironment()) {
258 const LangOptions &LangOpts, const llvm::Triple &triple,
260 if (!ShouldAddDefaultIncludePaths(triple))
264 llvm::Triple::OSType os = triple.getOS();
267 switch (triple.getEnvironment()) {
285 const llvm::Triple &triple) {
286 switch (triple.getOS()) {
310 if (triple.getEnvironment() != llvm::Triple::Cygnus ||
311 triple.isOSBinFormatMachO())
316 if (triple.isWasm() || triple.isAppleMachO())
328 const LangOptions &Lang, const llvm::Triple &triple,
335 if (!ShouldAddDefaultIncludePaths(triple))
340 if (triple.isOSDarwin()) {
343 if (triple.isDriverKit()) {
359 AddDefaultCPlusPlusIncludePaths(Lang, triple, HSOpts);
363 AddDefaultCIncludePaths(triple, HSOpts);