/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 75 shouldEmitLifetimeMarkers(CGM.getCodeGenOpts(), CGM.getLangOpts())) { in CodeGenFunction() 388 if (CGM.getCodeGenOpts().InstrumentFunctions) in FinishFunction() 390 if (CGM.getCodeGenOpts().InstrumentFunctionsAfterInlining) in FinishFunction() 452 if (CGM.getCodeGenOpts().EmitDeclMetadata) in FinishFunction() 515 if (!CGM.getCodeGenOpts().InstrumentFunctions && in ShouldInstrumentFunction() 516 !CGM.getCodeGenOpts().InstrumentFunctionsAfterInlining && in ShouldInstrumentFunction() 517 !CGM.getCodeGenOpts().InstrumentFunctionEntryBare) in ShouldInstrumentFunction() 527 return CGM.getCodeGenOpts().XRayInstrumentFunctions; in ShouldXRayInstrumentFunction() 533 return CGM.getCodeGenOpts().XRayInstrumentFunctions && in AlwaysEmitXRayCustomEvents() 534 (CGM.getCodeGenOpts().XRayAlwaysEmitCustomEvents || in AlwaysEmitXRayCustomEvents() [all …]
|
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() 236 if (CGM.getCodeGenOpts().EmitCodeView) { in getPrintingPolicy() 263 CGM.getCodeGenOpts().EmitCodeView; in getFunctionName() 333 if (CGM.getCodeGenOpts().EmitCodeView) { in getClassName() 372 if (!CGM.getCodeGenOpts().EmitCodeView && in computeChecksum() 373 CGM.getCodeGenOpts().DwarfVersion < 5) in computeChecksum() 393 if (!CGM.getCodeGenOpts().EmbedSource) in getSource() 499 if (!Force && !CGM.getCodeGenOpts().DebugColumnInfo) in getColumnNumber() [all …]
|
D | CGCXX.cpp | 35 if (!getCodeGenOpts().CXXCtorDtorAliases) in TryEmitBaseDestructorAsAlias() 40 if (getCodeGenOpts().OptimizationLevel == 0) in TryEmitBaseDestructorAsAlias() 45 if (getCodeGenOpts().SanitizeMemoryUseAfterDtor && in TryEmitBaseDestructorAsAlias()
|
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 …]
|
D | CodeGenAction.cpp | 941 CI.getCodeGenOpts().LinkBitcodeFiles) { in CreateASTConsumer() 966 if (CI.getCodeGenOpts().CoverageMapping) in CreateASTConsumer() 972 CI.getPreprocessorOpts(), CI.getCodeGenOpts(), CI.getTargetOpts(), in CreateASTConsumer() 979 if (CI.getCodeGenOpts().getDebugInfo() != codegenoptions::NoDebugInfo && in CreateASTConsumer() 980 CI.getCodeGenOpts().MacroDebugInfo) { in CreateASTConsumer() 1022 if (!CI.getCodeGenOpts().ThinLTOIndexFile.empty()) { in loadModule() 1085 auto &CodeGenOpts = CI.getCodeGenOpts(); in ExecuteAction() 1119 CI.getPreprocessorOpts(), CI.getCodeGenOpts(), in ExecuteAction()
|
D | CodeGenPGO.cpp | 37 Name, Linkage, CGM.getCodeGenOpts().MainFileName, in setFuncName() 41 if (CGM.getCodeGenOpts().hasProfileClangInstr()) in setFuncName() 781 bool InstrumentRegions = CGM.getCodeGenOpts().hasProfileClangInstr(); in assignRegionCounters() 803 if (CGM.getCodeGenOpts().CoverageMapping) in assignRegionCounters() 923 if (!CGM.getCodeGenOpts().hasProfileClangInstr() || !RegionCounterMap) in emitCounterIncrement() 958 bool InstrumentValueSites = CGM.getCodeGenOpts().hasProfileClangInstr(); in valueProfile()
|
D | CGStmt.cpp | 597 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) { in EmitLabel() 726 if (!Count && CGM.getCodeGenOpts().OptimizationLevel) in EmitIfStmt() 805 LoopStack.push(LoopHeader.getBlock(), CGM.getContext(), CGM.getCodeGenOpts(), in EmitWhileStmt() 906 LoopStack.push(LoopBody, CGM.getContext(), CGM.getCodeGenOpts(), DoAttrs, in EmitDoStmt() 957 LoopStack.push(CondBlock, CGM.getContext(), CGM.getCodeGenOpts(), ForAttrs, in EmitForStmt() 1063 LoopStack.push(CondBlock, CGM.getContext(), CGM.getCodeGenOpts(), ForAttrs, in EmitCXXForRangeStmt() 1391 if (!CGM.getCodeGenOpts().hasProfileClangInstr() && in EmitCaseStmt() 1392 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCaseStmt() 1442 if (CGM.getCodeGenOpts().hasProfileClangInstr()) { in EmitCaseStmt() 1848 } else if (CGM.getCodeGenOpts().OptimizationLevel) { in EmitSwitchStmt() [all …]
|
D | ABIInfo.h | 70 const CodeGenOptions &getCodeGenOpts() const;
|
D | CGVTables.cpp | 485 return CGM.getCodeGenOpts().OptimizationLevel && !IsUnprototyped; in shouldEmitVTableThunk() 1000 return CGM.getCodeGenOpts().OptimizationLevel > 0 && in shouldEmitAvailableExternallyVTable() 1191 if (!getCodeGenOpts().LTOVisibilityPublicStd) in HasLTOVisibilityPublicStd() 1266 if (!getCodeGenOpts().LTOUnit) in EmitVTableTypeMetadata() 1325 if (getCodeGenOpts().VirtualFunctionElimination || in EmitVTableTypeMetadata() 1326 getCodeGenOpts().WholeProgramVTables) { in EmitVTableTypeMetadata()
|
D | ObjectFilePCHContainerOperations.cpp | 156 CodeGenOpts.setDebuggerTuning(CI.getCodeGenOpts().getDebuggerTuning()); in PCHContainerGenerator() 158 CI.getInvocation().getCodeGenOpts().DebugPrefixMap; in PCHContainerGenerator()
|
/external/llvm-project/clang/unittests/Frontend/ |
D | CompilerInvocationTest.cpp | 176 ASSERT_FALSE(Invocation.getCodeGenOpts().LessPreciseFPMAD); in TEST_F() 199 ASSERT_TRUE(Invocation.getCodeGenOpts().LessPreciseFPMAD); in TEST_F() 222 ASSERT_TRUE(Invocation.getCodeGenOpts().LessPreciseFPMAD); in TEST_F() 243 ASSERT_TRUE(Invocation.getCodeGenOpts().LessPreciseFPMAD); in TEST_F()
|
/external/clang/lib/CodeGen/ |
D | CGCXX.cpp | 35 if (!getCodeGenOpts().CXXCtorDtorAliases) in TryEmitBaseDestructorAsAlias() 40 if (getCodeGenOpts().OptimizationLevel == 0) in TryEmitBaseDestructorAsAlias() 45 if (getCodeGenOpts().SanitizeMemoryUseAfterDtor && in TryEmitBaseDestructorAsAlias() 123 if (!getCodeGenOpts().CXXCtorDtorAliases) in TryEmitDefinitionAsAlias()
|
D | CodeGenFunction.cpp | 73 if (CGM.getCodeGenOpts().NoNaNsFPMath) { in CodeGenFunction() 76 if (CGM.getCodeGenOpts().NoSignedZeros) { in CodeGenFunction() 79 if (CGM.getCodeGenOpts().ReciprocalMath) { in CodeGenFunction() 378 if (CGM.getCodeGenOpts().EmitDeclMetadata) in FinishFunction() 393 if (!CGM.getCodeGenOpts().InstrumentFunctions) in ShouldInstrumentFunction() 403 return CGM.getCodeGenOpts().XRayInstrumentFunctions; in ShouldXRayInstrumentFunction() 590 if (CGM.getCodeGenOpts().EmitOpenCLArgMetadata) in GenOpenCLArgMetadata() 705 llvm::itostr(CGM.getCodeGenOpts().XRayInstructionThreshold)); in StartFunction() 715 const CodeGenOptions& CodeGenOpts = CGM.getCodeGenOpts(); in StartFunction() 733 llvm::toStringRef(CGM.getCodeGenOpts().NoUseJumpTables)); in StartFunction() [all …]
|
D | CGClass.cpp | 1376 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitCtorPrologue() 1377 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCtorPrologue() 1393 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitCtorPrologue() 1394 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCtorPrologue() 1567 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitDestructorBody() 1568 CGM.getCodeGenOpts().OptimizationLevel > 0) in EmitDestructorBody() 1838 if (CGM.getCodeGenOpts().SanitizeMemoryUseAfterDtor && in EnterDtorCleanups() 1864 if (CGM.getCodeGenOpts().SanitizeMemoryUseAfterDtor && in EnterDtorCleanups() 1888 if (CGM.getCodeGenOpts().SanitizeMemoryUseAfterDtor && in EnterDtorCleanups() 2165 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCXXConstructorCall() [all …]
|
D | CodeGenAction.cpp | 723 for (auto &I : CI.getCodeGenOpts().LinkBitcodeFiles) { in CreateASTConsumer() 747 if (CI.getCodeGenOpts().CoverageMapping) { in CreateASTConsumer() 755 CI.getPreprocessorOpts(), CI.getCodeGenOpts(), CI.getTargetOpts(), in CreateASTConsumer() 802 if (!CI.getCodeGenOpts().ThinLTOIndexFile.empty()) in ExecuteAction() 837 EmbedBitcode(TheModule.get(), CI.getCodeGenOpts(), in ExecuteAction() 844 EmitBackendOutput(CI.getDiagnostics(), CI.getCodeGenOpts(), TargetOpts, in ExecuteAction()
|
D | CodeGenPGO.cpp | 36 Name, Linkage, CGM.getCodeGenOpts().MainFileName, in setFuncName() 40 if (CGM.getCodeGenOpts().hasProfileClangInstr()) in setFuncName() 616 bool InstrumentRegions = CGM.getCodeGenOpts().hasProfileClangInstr(); in assignRegionCounters() 636 if (CGM.getCodeGenOpts().CoverageMapping) in assignRegionCounters() 737 if (!CGM.getCodeGenOpts().hasProfileClangInstr() || !RegionCounterMap) in emitCounterIncrement() 765 bool InstrumentValueSites = CGM.getCodeGenOpts().hasProfileClangInstr(); in valueProfile()
|
D | CGDebugInfo.cpp | 48 : CGM(CGM), DebugKind(CGM.getCodeGenOpts().getDebugInfo()), in CGDebugInfo() 49 DebugTypeExtRefs(CGM.getCodeGenOpts().DebugTypeExtRefs), in CGDebugInfo() 51 for (const auto &KV : CGM.getCodeGenOpts().DebugPrefixMap) in CGDebugInfo() 195 CGM.getCodeGenOpts().EmitCodeView; in getFunctionName() 203 Policy.MSVCFormatting = CGM.getCodeGenOpts().EmitCodeView; in getFunctionName() 277 if (CGM.getCodeGenOpts().EmitCodeView) { in getClassName() 365 if (!Force && !CGM.getCodeGenOpts().DebugColumnInfo) in getColumnNumber() 377 if (!CGM.getCodeGenOpts().DebugCompilationDir.empty()) in getCurrentDirname() 378 return CGM.getCodeGenOpts().DebugCompilationDir; in getCurrentDirname() 398 std::string MainFileName = CGM.getCodeGenOpts().MainFileName; in CreateCompileUnit() [all …]
|
D | CGDeclCXX.cpp | 100 bool UsingExternalHelper = !CGM.getCodeGenOpts().CXAAtExit; in EmitDeclDestroy() 125 if (!CGF.CGM.getCodeGenOpts().OptimizationLevel) in EmitDeclInvariant() 251 if (CGM.getCodeGenOpts().ForbidGuardVariables) in EmitCXXGuardedInit()
|
/external/clang/include/clang/Frontend/ |
D | CompilerInvocation.h | 181 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; } in getCodeGenOpts() function 182 const CodeGenOptions &getCodeGenOpts() const { in getCodeGenOpts() function
|
D | CompilerInstance.h | 252 CodeGenOptions &getCodeGenOpts() { in getCodeGenOpts() function 253 return Invocation->getCodeGenOpts(); in getCodeGenOpts() 255 const CodeGenOptions &getCodeGenOpts() const { in getCodeGenOpts() function 256 return Invocation->getCodeGenOpts(); in getCodeGenOpts()
|
/external/llvm-project/clang/unittests/CodeGen/ |
D | TestCompiler.h | 37 compiler.getCodeGenOpts() = CGO; 63 compiler.getCodeGenOpts(),
|
/external/llvm-project/clang/include/clang/Frontend/ |
D | CompilerInvocation.h | 210 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; } in getCodeGenOpts() function 211 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts() function
|
D | CompilerInstance.h | 257 CodeGenOptions &getCodeGenOpts() { in getCodeGenOpts() function 258 return Invocation->getCodeGenOpts(); in getCodeGenOpts() 260 const CodeGenOptions &getCodeGenOpts() const { in getCodeGenOpts() function 261 return Invocation->getCodeGenOpts(); in getCodeGenOpts()
|
/external/clang/unittests/CodeGen/ |
D | BufferSourceTest.cpp | 68 compiler.getCodeGenOpts(), in TEST()
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | ClangExpressionParser.cpp | 630 m_compiler->getCodeGenOpts().EmitDeclMetadata = true; in ClangExpressionParser() 631 m_compiler->getCodeGenOpts().InstrumentFunctions = false; in ClangExpressionParser() 632 m_compiler->getCodeGenOpts().setFramePointer( in ClangExpressionParser() 635 m_compiler->getCodeGenOpts().setDebugInfo(codegenoptions::FullDebugInfo); in ClangExpressionParser() 637 m_compiler->getCodeGenOpts().setDebugInfo(codegenoptions::NoDebugInfo); in ClangExpressionParser() 714 m_compiler->getCodeGenOpts(), *m_llvm_context)); in ClangExpressionParser() 1046 should_create_file |= m_compiler->getCodeGenOpts().getDebugInfo() == in ParseInternal()
|