reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Driver/ToolChains/Clang.cpp
 3374   const llvm::Triple &RawTriple = TC.getTriple();
 3375   const llvm::Triple &Triple = TC.getEffectiveTriple();
 3380   const Driver &D = TC.getDriver();
 3430   const llvm::Triple *AuxTriple = IsCuda ? TC.getAuxTriple() : nullptr;
 3518   TC.addClangWarningOptions(CmdArgs);
 3533     if (TC.useIntegratedAs()) {
 3660     TC.addClangTargetOptions(Args, CmdArgs, JA.getOffloadingDeviceKind());
 3712     RenderFloatingPointOptions(TC, D, isOptimizationLevelFast(Args), Args,
 3716     switch (TC.getArch()) {
 3826   unsigned FunctionAlignment = ParseFunctionAlignment(TC, Args);
 3836   std::tie(RelocationModel, PICLevel, IsPIE) = ParsePICArgs(TC, Args);
 3871     if (!TC.isThreadModelSupported(A->getValue()))
 3877     CmdArgs.push_back(Args.MakeArgString(TC.getThreadModel()));
 3932     if (TC.getArch() != llvm::Triple::x86) {
 4012   RenderFloatingPointOptions(TC, D, OFastEnabled, Args, CmdArgs);
 4015     if (TC.getArch() == llvm::Triple::x86 ||
 4016         TC.getArch() == llvm::Triple::x86_64)
 4018     else if ((TC.getArch() == llvm::Triple::ppc || TC.getTriple().isPPC64()) &&
 4018     else if ((TC.getArch() == llvm::Triple::ppc || TC.getTriple().isPPC64()) &&
 4028   bool IsIntegratedAssemblerDefault = TC.IsIntegratedAssemblerDefault();
 4033   if (!TC.useIntegratedAs())
 4086                    (TC.IsUnwindTablesDefault(Args) ||
 4087                     TC.getSanitizerArgs().needsUnwindTables()) &&
 4093   TC.addClangTargetOptions(Args, CmdArgs, JA.getOffloadingDeviceKind());
 4122   RenderDebugOptions(TC, D, RawTriple, Args, EmitCodeView, IsWindowsMSVC,
 4128                     TC.getTriple().isOSBinFormatELF() &&
 4152         TC.getArch() == llvm::Triple::x86) {
 4208     addPGOAndCoverageFlags(TC, C, D, Output, Args, CmdArgs);
 4215     PS4cpu::addProfileRTArgs(TC, Args, CmdArgs);
 4216     PS4cpu::addSanitizerArgs(TC, CmdArgs);
 4365   if (ShouldDisableDwarfDirectory(Args, TC))
 4368   if (ShouldDisableAutolink(Args, TC))
 4576   const SanitizerArgs &Sanitize = TC.getSanitizerArgs();
 4577   Sanitize.addArgs(TC, Args, CmdArgs, InputType);
 4579   const XRayArgs &XRay = TC.getXRayArgs();
 4580   XRay.addArgs(TC, Args, CmdArgs, InputType);
 4582   if (TC.SupportsProfiling())
 4585   if (TC.SupportsProfiling())
 4635   RenderSSPOptions(TC, Args, CmdArgs, KernelOrKext);
 4636   RenderTrivialAutoVarInitOptions(D, TC, Args, CmdArgs);
 4709   RenderBuiltinOptions(TC, RawTriple, Args, CmdArgs);
 4717                    TC.IsBlocksDefault()) ||
 4723     if (!Args.hasArg(options::OPT_fgnu_runtime) && !TC.hasBlocksRuntime())
 4728   if (TC.IsEncodeExtendedBlockSignatureDefault())
 4750   ToolChain::RTTIMode RTTIMode = TC.getRTTIMode();
 4758                    TC.getArch() == llvm::Triple::hexagon))
 4767               TC.getArch() != llvm::Triple::xcore &&
 4819   VersionTuple MSVT = TC.computeMSVCVersion(&D, Args);
 4906   RenderObjCOptions(TC, D, RawTriple, Args, Runtime, rewriteKind != RK_None,
 4915     addExceptionArgs(Args, InputType, TC, KernelOrKext, Runtime, CmdArgs);
 4932     switch (TC.GetExceptionModel(Args)) {
 5298   if (TC.UseDwarfDebugFlags() || GRecordSwitches || FRecordSwitches) {
 5312     if (TC.UseDwarfDebugFlags() || GRecordSwitches) {
 5406       (D.getLTOMode() == LTOK_Full || TC.canSplitThinLTOUnit());
 5492                    (TC.getTriple().isOSBinFormatELF() ||
 5493                     TC.getTriple().isOSBinFormatCOFF()) &&
 5494                       !TC.getTriple().isPS4() &&
 5495                       !TC.getTriple().isOSNetBSD() &&
 5497                       !TC.getTriple().isAndroid() &&
 5498                        TC.useIntegratedAs()))
 5503     if (!TC.getTriple().isOSBinFormatELF())
 5505           << Str << TC.getTripleString();