/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CodeGenFunction.cpp | 75 shouldEmitLifetimeMarkers(CGM.getCodeGenOpts(), CGM.getLangOpts())) { in CodeGenFunction() 389 if (CGM.getCodeGenOpts().InstrumentFunctions) in FinishFunction() 391 if (CGM.getCodeGenOpts().InstrumentFunctionsAfterInlining) in FinishFunction() 453 if (CGM.getCodeGenOpts().EmitDeclMetadata) in FinishFunction() 523 if (!CGM.getCodeGenOpts().InstrumentFunctions && in ShouldInstrumentFunction() 524 !CGM.getCodeGenOpts().InstrumentFunctionsAfterInlining && in ShouldInstrumentFunction() 525 !CGM.getCodeGenOpts().InstrumentFunctionEntryBare) in ShouldInstrumentFunction() 535 return CGM.getCodeGenOpts().XRayInstrumentFunctions; in ShouldXRayInstrumentFunction() 541 return CGM.getCodeGenOpts().XRayInstrumentFunctions && in AlwaysEmitXRayCustomEvents() 542 (CGM.getCodeGenOpts().XRayAlwaysEmitCustomEvents || in AlwaysEmitXRayCustomEvents() [all …]
|
H A D | CGDebugInfo.cpp | 67 : CGM(CGM), DebugKind(CGM.getCodeGenOpts().getDebugInfo()), in CGDebugInfo() 68 DebugTypeExtRefs(CGM.getCodeGenOpts().DebugTypeExtRefs), in CGDebugInfo() 70 for (const auto &KV : CGM.getCodeGenOpts().DebugPrefixMap) in CGDebugInfo() 237 if (CGM.getCodeGenOpts().EmitCodeView) { in getPrintingPolicy() 324 if (CGM.getCodeGenOpts().EmitCodeView) { in getClassName() 369 if (!CGM.getCodeGenOpts().EmitCodeView && in computeChecksum() 370 CGM.getCodeGenOpts().DwarfVersion < 5) in computeChecksum() 390 if (!CGM.getCodeGenOpts().EmbedSource) in getSource() 500 if (!Force && !CGM.getCodeGenOpts().DebugColumnInfo) in getColumnNumber() 512 if (!CGM.getCodeGenOpts().DebugCompilationDir.empty()) in getCurrentDirname() [all …]
|
H A D | CGClass.cpp | 1316 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitCtorPrologue() 1317 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCtorPrologue() 1333 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitCtorPrologue() 1334 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCtorPrologue() 1525 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitDestructorBody() 1526 CGM.getCodeGenOpts().OptimizationLevel > 0) in EmitDestructorBody() 1837 if (CGM.getCodeGenOpts().SanitizeMemoryUseAfterDtor && in EnterDtorCleanups() 1863 if (CGM.getCodeGenOpts().SanitizeMemoryUseAfterDtor && in EnterDtorCleanups() 1887 if (CGM.getCodeGenOpts().SanitizeMemoryUseAfterDtor && in EnterDtorCleanups() 2198 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCXXConstructorCall() [all …]
|
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 | CodeGenAction.cpp | 925 CI.getCodeGenOpts().LinkBitcodeFiles) { in CreateASTConsumer() 950 if (CI.getCodeGenOpts().CoverageMapping) in CreateASTConsumer() 956 CI.getPreprocessorOpts(), CI.getCodeGenOpts(), CI.getTargetOpts(), in CreateASTConsumer() 963 if (CI.getCodeGenOpts().getDebugInfo() != codegenoptions::NoDebugInfo && in CreateASTConsumer() 964 CI.getCodeGenOpts().MacroDebugInfo) { in CreateASTConsumer() 982 if (!CI.getCodeGenOpts().ThinLTOIndexFile.empty()) { in loadModule() 1049 auto &CodeGenOpts = CI.getCodeGenOpts(); in ExecuteAction() 1088 CI.getPreprocessorOpts(), CI.getCodeGenOpts(), in ExecuteAction()
|
H A D | CodeGenPGO.cpp | 37 Name, Linkage, CGM.getCodeGenOpts().MainFileName, in setFuncName() 41 if (CGM.getCodeGenOpts().hasProfileClangInstr()) in setFuncName() 796 bool InstrumentRegions = CGM.getCodeGenOpts().hasProfileClangInstr(); in assignRegionCounters() 821 if (CGM.getCodeGenOpts().CoverageMapping) in assignRegionCounters() 944 if (!CGM.getCodeGenOpts().hasProfileClangInstr() || !RegionCounterMap) in emitCounterIncrement() 966 if (CGM.getCodeGenOpts().hasProfileClangInstr()) in setValueProfilingFlag() 985 bool InstrumentValueSites = CGM.getCodeGenOpts().hasProfileClangInstr(); in valueProfile()
|
H A D | CGStmt.cpp | 614 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) { in EmitLabel() 756 if (!Count && CGM.getCodeGenOpts().OptimizationLevel) in EmitIfStmt() 828 LoopStack.push(LoopHeader.getBlock(), CGM.getContext(), CGM.getCodeGenOpts(), in EmitWhileStmt() 841 if (!Weights && CGM.getCodeGenOpts().OptimizationLevel) in EmitWhileStmt() 927 LoopStack.push(LoopBody, CGM.getContext(), CGM.getCodeGenOpts(), DoAttrs, in EmitDoStmt() 973 LoopStack.push(CondBlock, CGM.getContext(), CGM.getCodeGenOpts(), ForAttrs, in EmitForStmt() 1021 if (!Weights && CGM.getCodeGenOpts().OptimizationLevel) in EmitForStmt() 1088 LoopStack.push(CondBlock, CGM.getContext(), CGM.getCodeGenOpts(), ForAttrs, in EmitCXXForRangeStmt() 1106 if (!Weights && CGM.getCodeGenOpts().OptimizationLevel) in EmitCXXForRangeStmt() 1419 if (!CGM.getCodeGenOpts().hasProfileClangInstr() && in EmitCaseStmt() [all …]
|
H A D | CodeGenModule.cpp | 507 PGOStats.reportDiagnostics(getDiags(), getCodeGenOpts().MainFileName); in Release() 732 if (getCodeGenOpts().CodeModel.size() > 0) { in Release() 733 unsigned CM = llvm::StringSwitch<unsigned>(getCodeGenOpts().CodeModel) in Release() 765 if (getCodeGenOpts().EmitDeclMetadata) in Release() 768 if (getCodeGenOpts().EmitGcovArcs || getCodeGenOpts().EmitGcovNotes) in Release() 774 if (getCodeGenOpts().EmitVersionIdentMetadata) in Release() 777 if (!getCodeGenOpts().RecordCommandLine.empty()) in Release() 780 if (!getCodeGenOpts().StackProtectorGuard.empty()) in Release() 781 getModule().setStackProtectorGuard(getCodeGenOpts().StackProtectorGuard); in Release() 782 if (!getCodeGenOpts().StackProtectorGuardReg.empty()) in Release() [all …]
|
H A D | CGVTables.cpp | 486 return CGM.getCodeGenOpts().OptimizationLevel && !IsUnprototyped; in shouldEmitVTableThunk() 986 return CGM.getCodeGenOpts().OptimizationLevel > 0 && in shouldEmitAvailableExternallyVTable() 1177 if (!getCodeGenOpts().LTOVisibilityPublicStd) in HasLTOVisibilityPublicStd() 1252 if (!getCodeGenOpts().LTOUnit) in EmitVTableTypeMetadata() 1311 if (getCodeGenOpts().VirtualFunctionElimination || in EmitVTableTypeMetadata() 1312 getCodeGenOpts().WholeProgramVTables) { in EmitVTableTypeMetadata()
|
H A D | CGExpr.cpp | 403 if (CGF.CGM.getCodeGenOpts().MergeAllConstants && in createReferenceTemporary() 549 !CGM.getCodeGenOpts().SanitizeAddressUseAfterScope) { in EmitMaterializeTemporaryExpr() 1653 if (!getRangeForType(*this, Ty, Min, End, CGM.getCodeGenOpts().StrictEnums, in getRangeForLoadFromType() 1714 if (!CGM.getCodeGenOpts().PreserveVec3Type) { in EmitLoadOfScalar() 1757 } else if (CGM.getCodeGenOpts().OptimizationLevel > 0) in EmitLoadOfScalar() 1831 if (!CGM.getCodeGenOpts().PreserveVec3Type) { in EmitStoreOfScalar() 2182 CGM.getCodeGenOpts().AAPCSBitfieldWidth && Dst.isVolatileQualified() && in EmitStoreThroughBitfieldLValue() 2218 CGM.getCodeGenOpts().ForceAAPCSBitfieldLoad) in EmitStoreThroughBitfieldLValue() 3074 CGM.getCodeGenOpts().EmitCheckPathComponentsToStrip; in EmitCheckSourceLocation() 3165 bool MinimalRuntime = CGF.CGM.getCodeGenOpts().SanitizeMinimalRuntime; in emitCheckHandlerCall() [all …]
|
H A D | ObjectFilePCHContainerOperations.cpp | 156 CodeGenOpts.setDebuggerTuning(CI.getCodeGenOpts().getDebuggerTuning()); in PCHContainerGenerator() 158 CI.getInvocation().getCodeGenOpts().DebugPrefixMap; in PCHContainerGenerator()
|
H A D | ABIInfo.h | 70 const CodeGenOptions &getCodeGenOpts() const;
|
H A D | ItaniumCXXABI.cpp | 701 bool ShouldEmitVFEInfo = CGM.getCodeGenOpts().VirtualFunctionElimination && in EmitLoadOfMemberFunctionPointer() 704 CGM.getCodeGenOpts().WholeProgramVTables && in EmitLoadOfMemberFunctionPointer() 777 if (CGM.getCodeGenOpts().SanitizeTrap.has(SanitizerKind::CFIMFCall)) { in EmitLoadOfMemberFunctionPointer() 1782 CGM.getCodeGenOpts().WholeProgramVTables) { in emitVTableDefinitions() 1788 assert(CGM.getCodeGenOpts().WholeProgramVTables); in emitVTableDefinitions() 1981 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in getVirtualFunctionPointer() 1982 CGM.getCodeGenOpts().StrictVTablePointers) { in getVirtualFunctionPointer() 2042 if (CGM.getCodeGenOpts().ForceEmitVTables) in canSpeculativelyEmitVTableAsBaseClass() 2215 CGM.getCodeGenOpts().SanitizeAddressPoisonCustomArrayCookie)) { in InitializeArrayCookie() 2554 assert((TLS || CGF.getTypes().getCodeGenOpts().CXAAtExit) && in emitGlobalDtorWithCXAAtExit() [all …]
|
H A D | CGBlocks.cpp | 130 if (CGM.getCodeGenOpts().ObjCAutoRefCountExceptions) in getBlockDescriptorName() 992 CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitBlockLiteral() 1059 CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitBlockLiteral() 1413 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) { in setBlockContextParameter() 1523 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateBlockFunction() 1585 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) { in GenerateBlockFunction() 1842 if (CGM.getCodeGenOpts().ObjCAutoRefCountExceptions) in getCopyDestroyHelperFuncName() 2010 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateCopyHelperFunction() 2266 if (CGF.CGM.getCodeGenOpts().OptimizationLevel == 0) { in emitCopy()
|
H A D | CGDeclCXX.cpp | 115 bool UsingExternalHelper = !CGM.getCodeGenOpts().CXAAtExit; in EmitDeclDestroy() 158 if (!CGM.getCodeGenOpts().OptimizationLevel) in EmitInvariantStart() 326 if (CGM.getCodeGenOpts().ForbidGuardVariables) in EmitCXXGuardedInit()
|
H A D | CodeGenTypes.h | 121 const CodeGenOptions &getCodeGenOpts() const;
|
H A D | CGDecl.cpp | 464 if (DI && CGM.getCodeGenOpts().hasReducedDebugInfo()) { in EmitStaticVarDecl() 999 if (CGM.getCodeGenOpts().OptimizationLevel == 0) in shouldSplitConstantStore() 1427 bool EmitDebugInfo = DI && CGM.getCodeGenOpts().hasReducedDebugInfo(); in EmitAutoVarAlloca() 1466 (CGM.getCodeGenOpts().MergeAllConstants && !NRVO && in EmitAutoVarAlloca() 2530 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in EmitParmDecl() 2573 if (CGM.getCodeGenOpts().hasReducedDebugInfo() && !CurFuncIsThunk) { in EmitParmDecl()
|
H A D | CoverageMappingGen.cpp | 1563 CoveragePrefixMap = CGM.getCodeGenOpts().CoveragePrefixMap; in CoverageMappingModuleGen() 1567 if (!CGM.getCodeGenOpts().CoverageCompilationDir.empty()) in getCurrentDirname() 1568 return CGM.getCodeGenOpts().CoverageCompilationDir; in getCurrentDirname() 1651 if (CGM.getCodeGenOpts().DumpCoverageMapping) { in addFunctionMappingRecord()
|
H A D | CodeGenTypes.cpp | 44 const CodeGenOptions &CodeGenTypes::getCodeGenOpts() const { in getCodeGenOpts() function in CodeGenTypes 45 return CGM.getCodeGenOpts(); in getCodeGenOpts()
|
H A D | CGRecordLayoutBuilder.cpp | 441 if (!Types.getCodeGenOpts().FineGrainedBitfieldAccesses) in accumulateBitFields() 545 if (!isAAPCS() || !Types.getCodeGenOpts().AAPCSBitfieldWidth) in computeVolatileBitfields()
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Frontend/ |
H A D | CompilerInstance.h | 253 CodeGenOptions &getCodeGenOpts() { in getCodeGenOpts() function 254 return Invocation->getCodeGenOpts(); in getCodeGenOpts() 256 const CodeGenOptions &getCodeGenOpts() const { in getCodeGenOpts() function 257 return Invocation->getCodeGenOpts(); in getCodeGenOpts()
|
H A D | CompilerInvocation.h | 154 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; } in getCodeGenOpts() function 155 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts() function
|
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-import-test/ |
H A D | clang-import-test.cpp | 203 Inv->getCodeGenOpts().setDebugInfo(codegenoptions::FullDebugInfo); in BuildCompilerInstance() 233 CI.getPreprocessorOpts(), CI.getCodeGenOpts(), LLVMCtx)); in BuildCodeGen()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/ |
H A D | FrontendActions.cpp | 171 (CI.getCodeGenOpts().getDebugInfo() != codegenoptions::NoDebugInfo)); in CreateASTConsumer()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/ |
H A D | FrontendAction.cpp | 581 CI.getCodeGenOpts().DebugTypeExtRefs); in BeginSourceFile() 649 CI.getCodeGenOpts().DebugTypeExtRefs); in BeginSourceFile()
|