Lines Matching refs:CodeGenOpts

103       PreprocessorOpts(PPO), CodeGenOpts(CGO), TheModule(M), Diags(diags),  in CodeGenModule()
150 (!CodeGenOpts.RelaxedAliasing && CodeGenOpts.OptimizationLevel > 0)) in CodeGenModule()
151 TBAA.reset(new CodeGenTBAA(Context, TheModule, CodeGenOpts, getLangOpts(), in CodeGenModule()
156 if (CodeGenOpts.getDebugInfo() != codegenoptions::NoDebugInfo || in CodeGenModule()
157 CodeGenOpts.EmitGcovArcs || CodeGenOpts.EmitGcovNotes) in CodeGenModule()
165 if (CodeGenOpts.hasProfileClangUse()) { in CodeGenModule()
167 CodeGenOpts.ProfileInstrumentUsePath, CodeGenOpts.ProfileRemappingFile); in CodeGenModule()
172 getDiags().Report(DiagID) << CodeGenOpts.ProfileInstrumentUsePath in CodeGenModule()
181 if (CodeGenOpts.CoverageMapping) in CodeGenModule()
185 if (CodeGenOpts.UniqueInternalLinkageNames && in CodeGenModule()
517 if (CodeGenOpts.SanitizeCfiCrossDso) { in Release()
530 if (CodeGenOpts.Autolink && in Release()
556 CodeGenOpts.NumRegisterParameters); in Release()
558 if (CodeGenOpts.DwarfVersion) { in Release()
560 CodeGenOpts.DwarfVersion); in Release()
563 if (CodeGenOpts.Dwarf64) in Release()
570 if (CodeGenOpts.EmitCodeView) { in Release()
574 if (CodeGenOpts.CodeViewGHash) { in Release()
577 if (CodeGenOpts.ControlFlowGuard) { in Release()
580 } else if (CodeGenOpts.ControlFlowGuardNoChecks) { in Release()
584 if (CodeGenOpts.EHContGuard) { in Release()
588 if (CodeGenOpts.OptimizationLevel > 0 && CodeGenOpts.StrictVTablePointers) { in Release()
635 if (CodeGenOpts.SanitizeCfiCrossDso) { in Release()
640 if (CodeGenOpts.WholeProgramVTables) { in Release()
645 CodeGenOpts.VirtualFunctionElimination); in Release()
651 CodeGenOpts.SanitizeCfiCanonicalJumpTables); in Release()
654 if (CodeGenOpts.CFProtectionReturn && in Release()
661 if (CodeGenOpts.CFProtectionBranch && in Release()
685 if (!CodeGenOpts.MemoryProfileOutput.empty()) { in Release()
689 llvm::MDString::get(Ctx, CodeGenOpts.MemoryProfileOutput)); in Release()
697 CodeGenOpts.FP32DenormalMode.Output != in Release()
746 if (CodeGenOpts.NoPLT) in Release()
748 if (CodeGenOpts.UnwindTables) in Release()
751 switch (CodeGenOpts.getFramePointer()) { in Release()
818 const CodeGenOptions CodeGenOpts) { in EmitBackendOptionsMetadata() argument
825 CodeGenOpts.SmallDataLimit); in EmitBackendOptionsMetadata()
1109 GV->setPartition(CodeGenOpts.SymbolPartition); in setGVPropertiesAux()
1122 switch (CodeGenOpts.getDefaultTLSModel()) { in GetDefaultLLVMTLSModel()
1404 if (CodeGenOpts.RegisterGlobalDtorsWithAtExit && in AddGlobalDtor()
1728 if (CodeGenOpts.UnwindTables) in SetLLVMFunctionAttributesForDefinition()
1731 if (CodeGenOpts.StackClashProtector) in SetLLVMFunctionAttributesForDefinition()
1751 CodeGenOpts.getInlining() == CodeGenOptions::OnlyAlwaysInlining) in SetLLVMFunctionAttributesForDefinition()
1761 !CodeGenOpts.DisableO0ImplyOptNone && CodeGenOpts.OptimizationLevel == 0; in SetLLVMFunctionAttributesForDefinition()
1795 } else if (CodeGenOpts.getInlining() == CodeGenOptions::OnlyAlwaysInlining) { in SetLLVMFunctionAttributesForDefinition()
1818 } else if (CodeGenOpts.getInlining() == in SetLLVMFunctionAttributesForDefinition()
1862 if (CodeGenOpts.SanitizeCfiCrossDso && in SetLLVMFunctionAttributesForDefinition()
1863 CodeGenOpts.SanitizeCfiCanonicalJumpTables) { in SetLLVMFunctionAttributesForDefinition()
1905 if (CodeGenOpts.KeepStaticConsts && D && isa<VarDecl>(D)) { in SetCommonAttributes()
2060 if (CodeGenOpts.SanitizeCfiCrossDso) in CreateFunctionTypeMetadataForIcall()
2138 if (!CodeGenOpts.SanitizeCfiCrossDso || in SetFunctionAttributes()
2139 !CodeGenOpts.SanitizeCfiCanonicalJumpTables) in SetFunctionAttributes()
2678 if (CodeGenOpts.KeepStaticConsts) { in MustBeEmitted()
3113 if (CodeGenOpts.OptimizationLevel == 0 && !F->hasAttr<AlwaysInlineAttr>()) in shouldEmitFunction()
3145 return CodeGenOpts.OptimizationLevel > 0; in shouldOpportunisticallyEmitVTables()
4645 CodeGenOpts.NoCommon)) in getLLVMLinkageForDeclarator()
5222 return !CodeGenOpts.EmitCodeView || CodeGenOpts.DebugColumnInfo; in getExpressionLocationsEnabled()
5939 if (!CodeGenOpts.CoverageMapping) in AddDeferredUnusedCoverageMapping()
5965 if (!CodeGenOpts.CoverageMapping) in ClearUnusedCoverageMapping()
6273 !CodeGenOpts.SanitizeTrap.has(SanitizerKind::CFIVCall)) || in NeedAllVtablesTypeId()
6275 !CodeGenOpts.SanitizeTrap.has(SanitizerKind::CFINVCall)) || in NeedAllVtablesTypeId()
6277 !CodeGenOpts.SanitizeTrap.has(SanitizerKind::CFIDerivedCast)) || in NeedAllVtablesTypeId()
6279 !CodeGenOpts.SanitizeTrap.has(SanitizerKind::CFIUnrelatedCast))); in NeedAllVtablesTypeId()
6289 if (CodeGenOpts.SanitizeCfiCrossDso) in AddVTableTypeMetadata()