| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 78 shouldEmitLifetimeMarkers(CGM.getCodeGenOpts(), CGM.getLangOpts())) { in CodeGenFunction() 385 if (CGM.getCodeGenOpts().InstrumentFunctions) in FinishFunction() 387 if (CGM.getCodeGenOpts().InstrumentFunctionsAfterInlining) in FinishFunction() 457 if (CGM.getCodeGenOpts().EmitDeclMetadata) in FinishFunction() 533 if (!CGM.getCodeGenOpts().InstrumentFunctions && in ShouldInstrumentFunction() 534 !CGM.getCodeGenOpts().InstrumentFunctionsAfterInlining && in ShouldInstrumentFunction() 535 !CGM.getCodeGenOpts().InstrumentFunctionEntryBare) in ShouldInstrumentFunction() 551 return CGM.getCodeGenOpts().XRayInstrumentFunctions; in ShouldXRayInstrumentFunction() 557 return CGM.getCodeGenOpts().XRayInstrumentFunctions && in AlwaysEmitXRayCustomEvents() 558 (CGM.getCodeGenOpts().XRayAlwaysEmitCustomEvents || in AlwaysEmitXRayCustomEvents() [all …]
|
| H A D | CGDebugInfo.cpp | 72 : CGM(CGM), DebugKind(CGM.getCodeGenOpts().getDebugInfo()), in CGDebugInfo() 73 DebugTypeExtRefs(CGM.getCodeGenOpts().DebugTypeExtRefs), in CGDebugInfo() 75 for (const auto &KV : CGM.getCodeGenOpts().DebugPrefixMap) in CGDebugInfo() 242 if (CGM.getCodeGenOpts().EmitCodeView) { in getPrintingPolicy() 308 if (CGM.getCodeGenOpts().EmitCodeView) { in getClassName() 353 if (!CGM.getCodeGenOpts().EmitCodeView && in computeChecksum() 354 CGM.getCodeGenOpts().DwarfVersion < 5) in computeChecksum() 363 switch (CGM.getCodeGenOpts().getDebugSrcHash()) { in computeChecksum() 379 if (!CGM.getCodeGenOpts().EmbedSource) in getSource() 491 if (!Force && !CGM.getCodeGenOpts().DebugColumnInfo) in getColumnNumber() [all …]
|
| H A D | CodeGenAction.cpp | 1047 VMContext->setOpaquePointers(CI.getCodeGenOpts().OpaquePointers); in CreateASTConsumer() 1052 CI.getCodeGenOpts().LinkBitcodeFiles) { in CreateASTConsumer() 1077 if (CI.getCodeGenOpts().CoverageMapping) in CreateASTConsumer() 1083 CI.getHeaderSearchOpts(), CI.getPreprocessorOpts(), CI.getCodeGenOpts(), in CreateASTConsumer() 1090 if (CI.getCodeGenOpts().getDebugInfo() != codegenoptions::NoDebugInfo && in CreateASTConsumer() 1091 CI.getCodeGenOpts().MacroDebugInfo) { in CreateASTConsumer() 1106 VMContext->setOpaquePointers(CI.getCodeGenOpts().OpaquePointers); in loadModule() 1111 if (!CI.getCodeGenOpts().ThinLTOIndexFile.empty()) { in loadModule() 1178 auto &CodeGenOpts = CI.getCodeGenOpts(); in ExecuteAction() 1219 CI.getCodeGenOpts(), CI.getTargetOpts(), in ExecuteAction()
|
| H A D | CGCXX.cpp | 35 if (!getCodeGenOpts().CXXCtorDtorAliases) in TryEmitBaseDestructorAsAlias() 40 if (getCodeGenOpts().OptimizationLevel == 0) in TryEmitBaseDestructorAsAlias() 45 if (getCodeGenOpts().SanitizeMemoryUseAfterDtor && in TryEmitBaseDestructorAsAlias()
|
| H A D | CGClass.cpp | 1307 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitCtorPrologue() 1308 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCtorPrologue() 1324 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitCtorPrologue() 1325 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCtorPrologue() 1521 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitDestructorBody() 1522 CGM.getCodeGenOpts().OptimizationLevel > 0) in EmitDestructorBody() 1888 if (CGM.getCodeGenOpts().SanitizeMemoryUseAfterDtor && in EnterDtorCleanups() 1903 if (CGM.getCodeGenOpts().SanitizeMemoryUseAfterDtor && in EnterDtorCleanups() 1920 if (CGM.getCodeGenOpts().SanitizeMemoryUseAfterDtor && in EnterDtorCleanups() 1934 if (CGM.getCodeGenOpts().SanitizeMemoryUseAfterDtor && in EnterDtorCleanups() [all …]
|
| H A D | CGStmt.cpp | 655 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) { in EmitLabel() 831 CGM.getCodeGenOpts().OptimizationLevel) in EmitIfStmt() 903 LoopStack.push(LoopHeader.getBlock(), CGM.getContext(), CGM.getCodeGenOpts(), in EmitWhileStmt() 916 if (!Weights && CGM.getCodeGenOpts().OptimizationLevel) in EmitWhileStmt() 1002 LoopStack.push(LoopBody, CGM.getContext(), CGM.getCodeGenOpts(), DoAttrs, in EmitDoStmt() 1048 LoopStack.push(CondBlock, CGM.getContext(), CGM.getCodeGenOpts(), ForAttrs, in EmitForStmt() 1096 if (!Weights && CGM.getCodeGenOpts().OptimizationLevel) in EmitForStmt() 1163 LoopStack.push(CondBlock, CGM.getContext(), CGM.getCodeGenOpts(), ForAttrs, in EmitCXXForRangeStmt() 1181 if (!Weights && CGM.getCodeGenOpts().OptimizationLevel) in EmitCXXForRangeStmt() 1533 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) in EmitCaseStmt() [all …]
|
| H A D | ObjectFilePCHContainerOperations.cpp | 162 CodeGenOpts.setDebuggerTuning(CI.getCodeGenOpts().getDebuggerTuning()); in PCHContainerGenerator() 164 CI.getInvocation().getCodeGenOpts().DebugPrefixMap; in PCHContainerGenerator() 165 CodeGenOpts.DebugStrictDwarf = CI.getCodeGenOpts().DebugStrictDwarf; in PCHContainerGenerator()
|
| H A D | CodeGenPGO.cpp | 38 Name, Linkage, CGM.getCodeGenOpts().MainFileName, in setFuncName() 42 if (CGM.getCodeGenOpts().hasProfileClangInstr()) in setFuncName() 805 bool InstrumentRegions = CGM.getCodeGenOpts().hasProfileClangInstr(); in assignRegionCounters() 832 if (CGM.getCodeGenOpts().CoverageMapping) in assignRegionCounters() 955 if (!CGM.getCodeGenOpts().hasProfileClangInstr() || !RegionCounterMap) in emitCounterIncrement() 977 if (CGM.getCodeGenOpts().hasProfileClangInstr()) in setValueProfilingFlag() 996 bool InstrumentValueSites = CGM.getCodeGenOpts().hasProfileClangInstr(); in valueProfile()
|
| H A D | CodeGenModule.cpp | 557 PGOStats.reportDiagnostics(getDiags(), getCodeGenOpts().MainFileName); in Release() 885 if (getCodeGenOpts().CodeModel.size() > 0) { in Release() 886 unsigned CM = llvm::StringSwitch<unsigned>(getCodeGenOpts().CodeModel) in Release() 918 if (getCodeGenOpts().EmitDeclMetadata) in Release() 921 if (getCodeGenOpts().EmitGcovArcs || getCodeGenOpts().EmitGcovNotes) in Release() 927 if (getCodeGenOpts().EmitVersionIdentMetadata) in Release() 930 if (!getCodeGenOpts().RecordCommandLine.empty()) in Release() 933 if (!getCodeGenOpts().StackProtectorGuard.empty()) in Release() 934 getModule().setStackProtectorGuard(getCodeGenOpts().StackProtectorGuard); in Release() 935 if (!getCodeGenOpts().StackProtectorGuardReg.empty()) in Release() [all …]
|
| H A D | ABIInfo.h | 62 const CodeGenOptions &getCodeGenOpts() const;
|
| H A D | CGVTables.cpp | 488 return CGM.getCodeGenOpts().OptimizationLevel && !IsUnprototyped; in shouldEmitVTableThunk() 1023 return CGM.getCodeGenOpts().OptimizationLevel > 0 && in shouldEmitAvailableExternallyVTable() 1217 if (!getCodeGenOpts().LTOVisibilityPublicStd) in AlwaysHasLTOVisibilityPublic() 1289 if (!getCodeGenOpts().LTOUnit) in EmitVTableTypeMetadata() 1347 if (getCodeGenOpts().VirtualFunctionElimination || in EmitVTableTypeMetadata() 1348 getCodeGenOpts().WholeProgramVTables) { in EmitVTableTypeMetadata()
|
| H A D | CGExpr.cpp | 402 if (CGF.CGM.getCodeGenOpts().MergeAllConstants && in createReferenceTemporary() 550 !CGM.getCodeGenOpts().SanitizeAddressUseAfterScope) { in EmitMaterializeTemporaryExpr() 1631 if (!getRangeForType(*this, Ty, Min, End, CGM.getCodeGenOpts().StrictEnums, in getRangeForLoadFromType() 1720 if (!CGM.getCodeGenOpts().PreserveVec3Type && VTy->getNumElements() == 3) { in EmitLoadOfScalar() 1754 } else if (CGM.getCodeGenOpts().OptimizationLevel > 0) in EmitLoadOfScalar() 1855 } else if (!CGM.getCodeGenOpts().PreserveVec3Type) { in EmitStoreOfScalar() 1963 if (CGM.getCodeGenOpts().OptimizationLevel > 0) { in EmitLoadOfLValue() 2120 if (CGM.getCodeGenOpts().OptimizationLevel > 0) { in EmitStoreThroughLValue() 2224 CGM.getCodeGenOpts().AAPCSBitfieldWidth && Dst.isVolatileQualified() && in EmitStoreThroughBitfieldLValue() 2260 CGM.getCodeGenOpts().ForceAAPCSBitfieldLoad) in EmitStoreThroughBitfieldLValue() [all …]
|
| H A D | CGBlocks.cpp | 115 if (CGM.getCodeGenOpts().ObjCAutoRefCountExceptions) in getBlockDescriptorName() 995 CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitBlockLiteral() 1062 CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitBlockLiteral() 1415 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) { in setBlockContextParameter() 1522 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateBlockFunction() 1584 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) { in GenerateBlockFunction() 1818 if (CGM.getCodeGenOpts().ObjCAutoRefCountExceptions) in getCopyDestroyHelperFuncName() 1980 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateCopyHelperFunction() 2227 if (CGF.CGM.getCodeGenOpts().OptimizationLevel == 0) { in emitCopy()
|
| H A D | CGHLSLRuntime.cpp | 130 if (CGM.getCodeGenOpts().getDebugInfo() >= in addConstant() 170 if (CGM.getCodeGenOpts().OptimizationLevel == 0) in finishCodeGen()
|
| H A D | ItaniumCXXABI.cpp | 655 bool ShouldEmitVFEInfo = CGM.getCodeGenOpts().VirtualFunctionElimination && in EmitLoadOfMemberFunctionPointer() 658 CGM.getCodeGenOpts().WholeProgramVTables && in EmitLoadOfMemberFunctionPointer() 738 if (CGM.getCodeGenOpts().SanitizeTrap.has(SanitizerKind::CFIMFCall)) { in EmitLoadOfMemberFunctionPointer() 1750 CGM.getCodeGenOpts().WholeProgramVTables) { in emitVTableDefinitions() 1756 assert(CGM.getCodeGenOpts().WholeProgramVTables); in emitVTableDefinitions() 1956 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in getVirtualFunctionPointer() 1957 CGM.getCodeGenOpts().StrictVTablePointers) { in getVirtualFunctionPointer() 2017 if (CGM.getCodeGenOpts().ForceEmitVTables) in canSpeculativelyEmitVTableAsBaseClass() 2190 CGM.getCodeGenOpts().SanitizeAddressPoisonCustomArrayCookie)) { in InitializeArrayCookie() 2557 assert((TLS || CGF.getTypes().getCodeGenOpts().CXAAtExit) && in emitGlobalDtorWithCXAAtExit() [all …]
|
| H A D | CodeGenTypes.h | 118 const CodeGenOptions &getCodeGenOpts() const;
|
| H A D | CGDeclCXX.cpp | 116 bool UsingExternalHelper = !CGM.getCodeGenOpts().CXAAtExit; in EmitDeclDestroy() 160 if (!CGM.getCodeGenOpts().OptimizationLevel) in EmitInvariantStart() 382 if (CGM.getCodeGenOpts().ForbidGuardVariables) in EmitCXXGuardedInit()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Frontend/ |
| H A D | CompilerInstance.h | 256 CodeGenOptions &getCodeGenOpts() { in getCodeGenOpts() function 257 return Invocation->getCodeGenOpts(); in getCodeGenOpts() 259 const CodeGenOptions &getCodeGenOpts() const { in getCodeGenOpts() function 260 return Invocation->getCodeGenOpts(); in getCodeGenOpts()
|
| H A D | CompilerInvocation.h | 159 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; } in getCodeGenOpts() function 160 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts() function
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangExpressionParser.cpp | 634 m_compiler->getCodeGenOpts().EmitDeclMetadata = true; in ClangExpressionParser() 635 m_compiler->getCodeGenOpts().InstrumentFunctions = false; in ClangExpressionParser() 636 m_compiler->getCodeGenOpts().setFramePointer( in ClangExpressionParser() 639 m_compiler->getCodeGenOpts().setDebugInfo(codegenoptions::FullDebugInfo); in ClangExpressionParser() 641 m_compiler->getCodeGenOpts().setDebugInfo(codegenoptions::NoDebugInfo); in ClangExpressionParser() 714 m_compiler->getPreprocessorOpts(), m_compiler->getCodeGenOpts(), in ClangExpressionParser() 1048 should_create_file |= m_compiler->getCodeGenOpts().getDebugInfo() == in ParseInternal()
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/DependencyScanning/ |
| H A D | ModuleDepCollector.cpp | 98 CI.getCodeGenOpts().MainFileName.clear(); in makeInvocationForModuleBuildWithoutOutputs() 99 CI.getCodeGenOpts().DwarfDebugFlags.clear(); in makeInvocationForModuleBuildWithoutOutputs() 101 CI.getCodeGenOpts().DebugCompilationDir.clear(); in makeInvocationForModuleBuildWithoutOutputs() 102 CI.getCodeGenOpts().CoverageCompilationDir.clear(); in makeInvocationForModuleBuildWithoutOutputs()
|
| /openbsd-src/gnu/llvm/clang/lib/Interpreter/ |
| H A D | Interpreter.cpp | 116 Clang->getCodeGenOpts().ClearASTBeforeBackend = false; in CreateCI() 119 Clang->getCodeGenOpts().DisableFree = false; in CreateCI()
|
| /openbsd-src/gnu/llvm/clang/tools/clang-import-test/ |
| H A D | clang-import-test.cpp | 203 Inv->getCodeGenOpts().setDebugInfo(codegenoptions::FullDebugInfo); in BuildCompilerInstance() 234 CI.getHeaderSearchOpts(), CI.getPreprocessorOpts(), CI.getCodeGenOpts(), in BuildCodeGen()
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | FrontendAction.cpp | 229 CI.getCodeGenOpts().ClearASTBeforeBackend = false; in CreateWrappedASTConsumer() 617 CI.getCodeGenOpts().DebugTypeExtRefs); in BeginSourceFile() 685 CI.getCodeGenOpts().DebugTypeExtRefs); in BeginSourceFile()
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/ |
| H A D | FrontendActions.cpp | 171 (CI.getCodeGenOpts().getDebugInfo() != codegenoptions::NoDebugInfo)); in CreateASTConsumer()
|