Lines Matching refs:ToolChain
40 static ToolChain::RTTIMode CalculateRTTIMode(const ArgList &Args, in CalculateRTTIMode()
46 return ToolChain::RM_EnabledExplicitly; in CalculateRTTIMode()
48 return ToolChain::RM_DisabledExplicitly; in CalculateRTTIMode()
53 return ToolChain::RM_EnabledImplicitly; in CalculateRTTIMode()
63 return ToolChain::RM_EnabledImplicitly; in CalculateRTTIMode()
65 return ToolChain::RM_DisabledImplicitly; in CalculateRTTIMode()
68 ToolChain::ToolChain(const Driver &D, const llvm::Triple &T, in ToolChain() function in ToolChain
78 ToolChain::~ToolChain() { in ~ToolChain()
81 vfs::FileSystem &ToolChain::getVFS() const { return getDriver().getVFS(); } in getVFS()
83 bool ToolChain::useIntegratedAs() const { in useIntegratedAs()
89 const SanitizerArgs& ToolChain::getSanitizerArgs() const { in getSanitizerArgs()
165 ToolChain::getTargetAndModeFromProgramName(StringRef PN) { in getTargetAndModeFromProgramName()
188 StringRef ToolChain::getDefaultUniversalArchName() const { in getDefaultUniversalArchName()
205 bool ToolChain::IsUnwindTablesDefault() const { in IsUnwindTablesDefault()
209 Tool *ToolChain::getClang() const { in getClang()
215 Tool *ToolChain::buildAssembler() const { in buildAssembler()
219 Tool *ToolChain::buildLinker() const { in buildLinker()
223 Tool *ToolChain::getAssemble() const { in getAssemble()
229 Tool *ToolChain::getClangAs() const { in getClangAs()
235 Tool *ToolChain::getLink() const { in getLink()
241 Tool *ToolChain::getTool(Action::ActionClass AC) const { in getTool()
271 static StringRef getArchNameForCompilerRTLib(const ToolChain &TC, in getArchNameForCompilerRTLib()
287 std::string ToolChain::getCompilerRT(const ArgList &Args, StringRef Component, in getCompilerRT()
307 const char *ToolChain::getCompilerRTArgString(const llvm::opt::ArgList &Args, in getCompilerRTArgString()
313 bool ToolChain::needsProfileRT(const ArgList &Args) { in needsProfileRT()
327 Tool *ToolChain::SelectTool(const JobAction &JA) const { in SelectTool()
335 std::string ToolChain::GetFilePath(const char *Name) const { in GetFilePath()
339 std::string ToolChain::GetProgramPath(const char *Name) const { in GetProgramPath()
343 std::string ToolChain::GetLinkerPath() const { in GetLinkerPath()
373 types::ID ToolChain::LookupTypeForExtension(const char *Ext) const { in LookupTypeForExtension()
377 bool ToolChain::HasNativeLLVMSupport() const { in HasNativeLLVMSupport()
381 bool ToolChain::isCrossCompiling() const { in isCrossCompiling()
397 ObjCRuntime ToolChain::getDefaultObjCRuntime(bool isNonFragile) const { in getDefaultObjCRuntime()
402 bool ToolChain::isThreadModelSupported(const StringRef Model) const { in isThreadModelSupported()
417 std::string ToolChain::ComputeLLVMTriple(const ArgList &Args, in ComputeLLVMTriple()
505 std::string ToolChain::ComputeEffectiveClangTriple(const ArgList &Args, in ComputeEffectiveClangTriple()
510 void ToolChain::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs()
515 void ToolChain::addClangTargetOptions(const ArgList &DriverArgs, in addClangTargetOptions()
519 void ToolChain::addClangWarningOptions(ArgStringList &CC1Args) const {} in addClangWarningOptions()
521 void ToolChain::addProfileRTLibs(const llvm::opt::ArgList &Args, in addProfileRTLibs()
528 ToolChain::RuntimeLibType ToolChain::GetRuntimeLibType( in GetRuntimeLibType()
533 return ToolChain::RLT_CompilerRT; in GetRuntimeLibType()
535 return ToolChain::RLT_Libgcc; in GetRuntimeLibType()
544 ToolChain::CXXStdlibType& Type) { in ParseCXXStdlibType()
546 Type = ToolChain::CST_Libcxx; in ParseCXXStdlibType()
548 Type = ToolChain::CST_Libstdcxx; in ParseCXXStdlibType()
555 ToolChain::CXXStdlibType ToolChain::GetCXXStdlibType(const ArgList &Args) const{ in GetCXXStdlibType()
556 ToolChain::CXXStdlibType Type; in GetCXXStdlibType()
581 /*static*/ void ToolChain::addSystemInclude(const ArgList &DriverArgs, in addSystemInclude()
596 /*static*/ void ToolChain::addExternCSystemInclude(const ArgList &DriverArgs, in addExternCSystemInclude()
603 void ToolChain::addExternCSystemIncludeIfExists(const ArgList &DriverArgs, in addExternCSystemIncludeIfExists()
611 /*static*/ void ToolChain::addSystemIncludes(const ArgList &DriverArgs, in addSystemIncludes()
620 void ToolChain::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs()
634 void ToolChain::AddCXXStdlibLibArgs(const ArgList &Args, in AddCXXStdlibLibArgs()
639 case ToolChain::CST_Libcxx: in AddCXXStdlibLibArgs()
643 case ToolChain::CST_Libstdcxx: in AddCXXStdlibLibArgs()
649 void ToolChain::AddFilePathLibArgs(const ArgList &Args, in AddFilePathLibArgs()
656 void ToolChain::AddCCKextLibArgs(const ArgList &Args, in AddCCKextLibArgs()
661 bool ToolChain::AddFastMathRuntimeIfAvailable(const ArgList &Args, in AddFastMathRuntimeIfAvailable()
685 SanitizerMask ToolChain::getSupportedSanitizers() const { in getSupportedSanitizers()
697 void ToolChain::AddCudaIncludeArgs(const ArgList &DriverArgs, in AddCudaIncludeArgs()
700 void ToolChain::AddIAMCUIncludeArgs(const ArgList &DriverArgs, in AddIAMCUIncludeArgs()