reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1695 if (CodeGenOpts.OptimizeSize) 1697 if (CodeGenOpts.OptimizeSize == 2) 1701 if (CodeGenOpts.DisableRedZone) 1703 if (CodeGenOpts.IndirectTlsSegRefs) 1705 if (CodeGenOpts.NoImplicitFloat) 1710 if (!CodeGenOpts.SimplifyLibCalls || 1711 CodeGenOpts.isNoBuiltinFunc(Name.data())) 1713 if (!CodeGenOpts.TrapFuncName.empty()) 1714 FuncAttrs.addAttribute("trap-func-name", CodeGenOpts.TrapFuncName); 1717 switch (CodeGenOpts.getFramePointer()) { 1731 llvm::toStringRef(CodeGenOpts.LessPreciseFPMAD)); 1733 if (CodeGenOpts.NullPointerIsValid) 1735 if (!CodeGenOpts.FPDenormalMode.empty()) 1736 FuncAttrs.addAttribute("denormal-fp-math", CodeGenOpts.FPDenormalMode); 1739 llvm::toStringRef(CodeGenOpts.NoTrappingMath)); 1743 if (!CodeGenOpts.StrictFloatCastOverflow) 1749 llvm::toStringRef(CodeGenOpts.NoInfsFPMath)); 1751 llvm::toStringRef(CodeGenOpts.NoNaNsFPMath)); 1753 llvm::toStringRef(CodeGenOpts.UnsafeFPMath)); 1755 llvm::toStringRef(CodeGenOpts.SoftFloat)); 1757 llvm::utostr(CodeGenOpts.SSPBufferSize)); 1759 llvm::toStringRef(CodeGenOpts.NoSignedZeros)); 1762 llvm::toStringRef(CodeGenOpts.CorrectlyRoundedDivSqrt)); 1766 llvm::toStringRef(CodeGenOpts.FlushDenorm)); 1769 const std::vector<std::string> &Recips = CodeGenOpts.Reciprocals; 1774 if (!CodeGenOpts.PreferVectorWidth.empty() && 1775 CodeGenOpts.PreferVectorWidth != "none") 1777 CodeGenOpts.PreferVectorWidth); 1779 if (CodeGenOpts.StackRealignment) 1781 if (CodeGenOpts.Backchain) 1784 if (CodeGenOpts.SpeculativeLoadHardening) 1802 if (CodeGenOpts.FlushDenorm) 1806 for (StringRef Attr : CodeGenOpts.DefaultFunctionAttrs) { 1877 !CodeGenOpts.NullPointerIsValid) 1906 if (CodeGenOpts.EnableSegmentedStacks && 1912 if (TargetDecl && CodeGenOpts.NoPLT) { 1931 llvm::toStringRef(CodeGenOpts.UniformWGSize)); 1938 if (CodeGenOpts.DisableTailCalls) 1944 else if (CodeGenOpts.NoEscapingBlockTailCalls) { 1995 !CodeGenOpts.NullPointerIsValid) 2105 !CodeGenOpts.NullPointerIsValid)tools/clang/lib/CodeGen/CGVTables.cpp
843 assert((def || CodeGenOpts.OptimizationLevel > 0 || 844 CodeGenOpts.getDebugInfo() != codegenoptions::NoDebugInfo) && 847 if (!def && CodeGenOpts.OptimizationLevel > 0)tools/clang/lib/CodeGen/CodeGenModule.cpp
141 (!CodeGenOpts.RelaxedAliasing && CodeGenOpts.OptimizationLevel > 0)) 141 (!CodeGenOpts.RelaxedAliasing && CodeGenOpts.OptimizationLevel > 0)) 142 TBAA.reset(new CodeGenTBAA(Context, TheModule, CodeGenOpts, getLangOpts(), 147 if (CodeGenOpts.getDebugInfo() != codegenoptions::NoDebugInfo || 148 CodeGenOpts.EmitGcovArcs || CodeGenOpts.EmitGcovNotes) 148 CodeGenOpts.EmitGcovArcs || CodeGenOpts.EmitGcovNotes) 156 if (CodeGenOpts.hasProfileClangUse()) { 158 CodeGenOpts.ProfileInstrumentUsePath, CodeGenOpts.ProfileRemappingFile); 158 CodeGenOpts.ProfileInstrumentUsePath, CodeGenOpts.ProfileRemappingFile); 163 getDiags().Report(DiagID) << CodeGenOpts.ProfileInstrumentUsePath 172 if (CodeGenOpts.CoverageMapping) 434 if (CodeGenOpts.SanitizeCfiCrossDso) { 443 if (CodeGenOpts.Autolink && 469 CodeGenOpts.NumRegisterParameters); 471 if (CodeGenOpts.DwarfVersion) { 475 CodeGenOpts.DwarfVersion); 477 if (CodeGenOpts.EmitCodeView) { 481 if (CodeGenOpts.CodeViewGHash) { 484 if (CodeGenOpts.ControlFlowGuard) { 487 } else if (CodeGenOpts.ControlFlowGuardNoChecks) { 491 if (CodeGenOpts.OptimizationLevel > 0 && CodeGenOpts.StrictVTablePointers) { 491 if (CodeGenOpts.OptimizationLevel > 0 && CodeGenOpts.StrictVTablePointers) { 531 if (CodeGenOpts.SanitizeCfiCrossDso) { 539 CodeGenOpts.SanitizeCfiCanonicalJumpTables); 542 if (CodeGenOpts.CFProtectionReturn && 549 if (CodeGenOpts.CFProtectionBranch && 561 CodeGenOpts.FlushDenorm ? 1 : 0); 606 if (CodeGenOpts.NoPLT) 895 GV->setPartition(CodeGenOpts.SymbolPartition); 925 TLM = GetLLVMTLSModel(CodeGenOpts.getDefaultTLSModel()); 1141 if (CodeGenOpts.RegisterGlobalDtorsWithAtExit) { 1484 if (CodeGenOpts.UnwindTables) 1504 CodeGenOpts.getInlining() == CodeGenOptions::OnlyAlwaysInlining) 1514 !CodeGenOpts.DisableO0ImplyOptNone && CodeGenOpts.OptimizationLevel == 0; 1514 !CodeGenOpts.DisableO0ImplyOptNone && CodeGenOpts.OptimizationLevel == 0; 1548 } else if (CodeGenOpts.getInlining() == CodeGenOptions::OnlyAlwaysInlining) { 1571 } else if (CodeGenOpts.getInlining() == 1614 if (CodeGenOpts.SanitizeCfiCrossDso && 1615 CodeGenOpts.SanitizeCfiCanonicalJumpTables) { 1648 if (CodeGenOpts.KeepStaticConsts && D && isa<VarDecl>(D)) { 1786 if (CodeGenOpts.SanitizeCfiCrossDso) 1860 if (!CodeGenOpts.SanitizeCfiCrossDso || 1861 !CodeGenOpts.SanitizeCfiCanonicalJumpTables) 2314 if (CodeGenOpts.KeepStaticConsts) { 2697 if (CodeGenOpts.OptimizationLevel == 0 && !F->hasAttr<AlwaysInlineAttr>()) 2729 return CodeGenOpts.OptimizationLevel > 0; 4232 CodeGenOpts.NoCommon)) 4808 return !CodeGenOpts.EmitCodeView || CodeGenOpts.DebugColumnInfo; 4808 return !CodeGenOpts.EmitCodeView || CodeGenOpts.DebugColumnInfo; 5473 if (!CodeGenOpts.CoverageMapping) 5499 if (!CodeGenOpts.CoverageMapping) 5836 !CodeGenOpts.SanitizeTrap.has(SanitizerKind::CFIVCall)) || 5838 !CodeGenOpts.SanitizeTrap.has(SanitizerKind::CFINVCall)) || 5840 !CodeGenOpts.SanitizeTrap.has(SanitizerKind::CFIDerivedCast)) || 5842 !CodeGenOpts.SanitizeTrap.has(SanitizerKind::CFIUnrelatedCast))); 5852 if (CodeGenOpts.SanitizeCfiCrossDso)tools/clang/lib/CodeGen/CodeGenModule.h
673 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; }
tools/clang/lib/CodeGen/TargetInfo.cpp9762 else if (CodeGenOpts.FloatABI == "hard" || 9763 (CodeGenOpts.FloatABI != "soft" && 9774 new PPC32TargetCodeGenInfo(Types, CodeGenOpts.FloatABI == "soft" || 9782 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft"; 9794 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft"; 9831 X86_32TargetCodeGenInfo::isStructReturnInRegABI(Triple, CodeGenOpts); 9837 IsWin32FloatStructABI, CodeGenOpts.NumRegisterParameters)); 9841 IsWin32FloatStructABI, CodeGenOpts.NumRegisterParameters, 9842 CodeGenOpts.FloatABI == "soft"));