| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 81 if (CGM.getCodeGenOpts().NoNaNsFPMath) { in CodeGenFunction() 84 if (CGM.getCodeGenOpts().NoSignedZeros) { in CodeGenFunction() 87 if (CGM.getCodeGenOpts().ReciprocalMath) { in CodeGenFunction() 90 if (CGM.getCodeGenOpts().Reassociate) { in CodeGenFunction() 345 if (CGM.getCodeGenOpts().InstrumentFunctions) in FinishFunction() 409 if (CGM.getCodeGenOpts().EmitDeclMetadata) in FinishFunction() 719 if (CGM.getCodeGenOpts().EmitOpenCLArgMetadata) in GenOpenCLArgMetadata() 1001 CGM.getCodeGenOpts().StackAlignment) in StartFunction() 1060 if (CGM.getCodeGenOpts().CallFEntry) in StartFunction() 1386 CGM.getCodeGenOpts().StrictReturn || in GenerateCode() [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 | CGClass.cpp | 1280 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitCtorPrologue() 1297 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitCtorPrologue() 2151 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCXXConstructorCall() 2154 CGM.getCodeGenOpts().StrictVTablePointers) in EmitCXXConstructorCall() 2474 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in InitializeVTablePointer() 2475 CGM.getCodeGenOpts().StrictVTablePointers) in InitializeVTablePointer() 2570 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in GetVTablePtr() 2571 CGM.getCodeGenOpts().StrictVTablePointers) in GetVTablePtr() 2692 if (!CGM.getCodeGenOpts().SanitizeCfiCrossDso && in EmitVTablePtrCheck() 2748 if (CGM.getCodeGenOpts().SanitizeTrap.has(M)) { in EmitVTablePtrCheck() [all …]
|
| H A D | CodeGenAction.cpp | 864 CI.getCodeGenOpts().LinkBitcodeFiles) { in CreateASTConsumer() 889 if (CI.getCodeGenOpts().CoverageMapping) { in CreateASTConsumer() 897 CI.getPreprocessorOpts(), CI.getCodeGenOpts(), CI.getTargetOpts(), in CreateASTConsumer() 904 if (CI.getCodeGenOpts().getDebugInfo() != codegenoptions::NoDebugInfo && in CreateASTConsumer() 905 CI.getCodeGenOpts().MacroDebugInfo) { in CreateASTConsumer() 946 if (!CI.getCodeGenOpts().ThinLTOIndexFile.empty()) { in loadModule() 1033 EmbedBitcode(TheModule.get(), CI.getCodeGenOpts(), in ExecuteAction() 1041 CI.getCodeGenOpts(), TargetOpts, CI.getLangOpts(), in ExecuteAction()
|
| H A D | CGDeclCXX.cpp | 116 bool UsingExternalHelper = !CGM.getCodeGenOpts().CXAAtExit; in EmitDeclDestroy() 146 if (!CGM.getCodeGenOpts().OptimizationLevel) in EmitInvariantStart() 279 if (CGM.getCodeGenOpts().ForbidGuardVariables) in EmitCXXGuardedInit() 379 auto RASignKind = getCodeGenOpts().getSignReturnAddress(); in CreateGlobalInitOrDestructFunction() 385 auto RASignKey = getCodeGenOpts().getSignReturnAddressKey(); in CreateGlobalInitOrDestructFunction() 392 if (getCodeGenOpts().BranchTargetEnforcement) in CreateGlobalInitOrDestructFunction()
|
| H A D | CGDebugInfo.cpp | 234 if (CGM.getCodeGenOpts().EmitCodeView) in getPrintingPolicy() 331 if (CGM.getCodeGenOpts().EmitCodeView) { in getClassName() 370 if (!CGM.getCodeGenOpts().EmitCodeView && in computeChecksum() 371 CGM.getCodeGenOpts().DwarfVersion < 5) in computeChecksum() 392 if (!CGM.getCodeGenOpts().EmbedSource) in getSource() 598 auto &CGOpts = CGM.getCodeGenOpts(); in CreateCompileUnit() 905 if (CGM.getCodeGenOpts().EmitCodeView) in needsTypeIdentifier() 1393 if (CGM.getCodeGenOpts().EmitCodeView && in CollectRecordFields() 1649 if (CGM.getCodeGenOpts().EmitCodeView) { in CollectCXXBases() 3483 if (CGM.getCodeGenOpts().DwarfVersion >= 5) { in EmitFunctionStart() [all …]
|
| H A D | CodeGenPGO.cpp | 37 Name, Linkage, CGM.getCodeGenOpts().MainFileName, in setFuncName() 41 if (CGM.getCodeGenOpts().hasProfileClangInstr()) in setFuncName() 765 bool InstrumentRegions = CGM.getCodeGenOpts().hasProfileClangInstr(); in assignRegionCounters() 787 if (CGM.getCodeGenOpts().CoverageMapping) in assignRegionCounters() 895 if (!CGM.getCodeGenOpts().hasProfileClangInstr() || !RegionCounterMap) in emitCounterIncrement() 930 bool InstrumentValueSites = CGM.getCodeGenOpts().hasProfileClangInstr(); in valueProfile()
|
| H A D | ABIInfo.h | 69 const CodeGenOptions &getCodeGenOpts() const;
|
| H A D | ObjectFilePCHContainerOperations.cpp | 157 CodeGenOpts.setDebuggerTuning(CI.getCodeGenOpts().getDebuggerTuning()); in PCHContainerGenerator() 159 CI.getInvocation().getCodeGenOpts().DebugPrefixMap; in PCHContainerGenerator()
|
| H A D | CodeGenModule.cpp | 562 if (getCodeGenOpts().CodeModel.size() > 0) { in Release() 581 if (getCodeGenOpts().EmitDeclMetadata) in Release() 584 if (getCodeGenOpts().EmitGcovArcs || getCodeGenOpts().EmitGcovNotes) in Release() 590 if (getCodeGenOpts().EmitVersionIdentMetadata) in Release() 593 if (!getCodeGenOpts().RecordCommandLine.empty()) in Release() 774 const auto &CGOpts = CGM.getCodeGenOpts(); in shouldAssumeDSOLocal() 1199 if (!CGM.getCodeGenOpts().LTOUnit || in requiresMemberFunctionPointerTypeMetadata() 1587 if (getCodeGenOpts().AssumeSaneOperatorNew && in SetFunctionAttributes() 2970 !getCodeGenOpts().LTOVisibilityPublicStd && in CreateRuntimeFunction() 5263 if (getCodeGenOpts().CoverageDataFile.empty() && in EmitCoverageFile() [all …]
|
| H A D | CGExpr.cpp | 383 if (CGF.CGM.getCodeGenOpts().MergeAllConstants && in createReferenceTemporary() 526 !CGM.getCodeGenOpts().SanitizeAddressUseAfterScope) { in EmitMaterializeTemporaryExpr() 1626 if (!CGM.getCodeGenOpts().PreserveVec3Type) { in EmitLoadOfScalar() 1670 } else if (CGM.getCodeGenOpts().OptimizationLevel > 0) in EmitLoadOfScalar() 1707 if (!CGM.getCodeGenOpts().PreserveVec3Type) { in EmitStoreOfScalar() 2800 CGM.getCodeGenOpts().EmitCheckPathComponentsToStrip; in EmitCheckSourceLocation() 2989 if (!CGM.getCodeGenOpts().SanitizeMinimalRuntime) { in EmitCheck() 3208 if (!CGM.getCodeGenOpts().OptimizationLevel || !TrapBB) { in EmitTrapCheck() 3226 if (!CGM.getCodeGenOpts().TrapFuncName.empty()) { in EmitTrapCall() 3925 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitLValueForField() [all …]
|
| H A D | CGVTables.cpp | 468 return CGM.getCodeGenOpts().OptimizationLevel && !IsUnprototyped; in shouldEmitVTableThunk() 784 return CGM.getCodeGenOpts().OptimizationLevel > 0 && in shouldEmitAvailableExternallyVTable() 990 if (getCodeGenOpts().LTOVisibilityPublicStd) { in HasHiddenLTOVisibility() 1010 if (!getCodeGenOpts().LTOUnit) in EmitVTableTypeMetadata()
|
| H A D | CGBlocks.cpp | 131 if (CGM.getCodeGenOpts().ObjCAutoRefCountExceptions) in getBlockDescriptorName() 830 CGF.CGM.getCodeGenOpts().OptimizationLevel != 0) { in enterBlockScope() 1126 CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitBlockLiteral() 1494 if (CGM.getCodeGenOpts().getDebugInfo() >= in setBlockContextParameter() 1605 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateBlockFunction() 1668 if (CGM.getCodeGenOpts().getDebugInfo() >= in GenerateBlockFunction() 1926 if (CGM.getCodeGenOpts().ObjCAutoRefCountExceptions) in getCopyDestroyHelperFuncName() 2090 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateCopyHelperFunction() 2343 if (CGF.CGM.getCodeGenOpts().OptimizationLevel == 0) { in emitCopy()
|
| H A D | CodeGenTypes.h | 178 const CodeGenOptions &getCodeGenOpts() const;
|
| H A D | CodeGenTypes.cpp | 47 const CodeGenOptions &CodeGenTypes::getCodeGenOpts() const { in getCodeGenOpts() function in CodeGenTypes 48 return CGM.getCodeGenOpts(); in getCodeGenOpts()
|
| H A D | CGDecl.cpp | 446 CGM.getCodeGenOpts().getDebugInfo() >= codegenoptions::LimitedDebugInfo) { in EmitStaticVarDecl() 1316 bool EmitDebugInfo = DI && CGM.getCodeGenOpts().getDebugInfo() >= in EmitAutoVarAlloca() 1346 (CGM.getCodeGenOpts().MergeAllConstants && !NRVO && in EmitAutoVarAlloca() 2351 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in EmitParmDecl() 2394 if (CGM.getCodeGenOpts().getDebugInfo() >= in EmitParmDecl()
|
| H A D | ItaniumCXXABI.cpp | 653 if (CGM.getCodeGenOpts().SanitizeTrap.has(SanitizerKind::CFIMFCall)) { in EmitLoadOfMemberFunctionPointer() 1744 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in getVirtualFunctionPointer() 1745 CGM.getCodeGenOpts().StrictVTablePointers) in getVirtualFunctionPointer() 1793 if (CGM.getCodeGenOpts().ForceEmitVTables) in canSpeculativelyEmitVTableAsBaseClass() 1956 CGM.getCodeGenOpts().SanitizeAddressPoisonCustomArrayCookie)) { in InitializeArrayCookie() 2368 if (getCodeGenOpts().CXAAtExit) in registerGlobalDtorsWithAtExit() 2388 if (CGM.getCodeGenOpts().CXAAtExit) in registerGlobalDtor() 3783 if (!CGM.getCodeGenOpts().CXXCtorDtorAliases) in getCodegenToUse()
|
| H A D | CGStmt.cpp | 1243 if (!CGM.getCodeGenOpts().hasProfileClangInstr() && in EmitCaseStmt() 1244 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCaseStmt() 1290 if (CGM.getCodeGenOpts().hasProfileClangInstr()) { in EmitCaseStmt() 1678 if (Call && CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitSwitchStmt()
|
| H A D | CGExprScalar.cpp | 2002 if (CGF.CGM.getCodeGenOpts().StrictVTablePointers) { in VisitCastExpr() 2157 if (CGF.CGM.getCodeGenOpts().StrictVTablePointers) { in VisitCastExpr() 2169 if (CGF.CGM.getCodeGenOpts().StrictVTablePointers) { in VisitCastExpr() 2983 !CGF.CGM.getCodeGenOpts().CorrectlyRoundedDivSqrt) { in EmitDiv() 3680 if (CGF.CGM.getCodeGenOpts().StrictVTablePointers && in EmitCompare() 4252 if (!CGF.CGM.getCodeGenOpts().PreserveVec3Type) { in VisitAsTypeExpr() 4265 if (!CGF.CGM.getCodeGenOpts().PreserveVec3Type) { in VisitAsTypeExpr()
|
| H A D | CGObjC.cpp | 156 CGM.getCodeGenOpts().OptimizationLevel != 0); in EmitObjCCollectionLiteral() 376 if (!CGM.getCodeGenOpts().ObjCConvertMessagesToRuntimeCalls) in tryGenerateSpecializedMessageSend() 2115 } else if (CGF.CGM.getCodeGenOpts().OptimizationLevel == 0) { in emitAutoreleasedReturnValueMarker() 2205 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in EmitARCDestroyStrong() 2365 CGM.getCodeGenOpts().OptimizationLevel == 0) { in EmitARCInitWeak()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/ |
| H A D | CompilerInvocation.h | 195 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; } in getCodeGenOpts() function 196 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts() function
|
| H A D | CompilerInstance.h | 265 CodeGenOptions &getCodeGenOpts() { in getCodeGenOpts() function 266 return Invocation->getCodeGenOpts(); in getCodeGenOpts() 268 const CodeGenOptions &getCodeGenOpts() const { in getCodeGenOpts() function 269 return Invocation->getCodeGenOpts(); in getCodeGenOpts()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangExpressionParser.cpp | 458 m_compiler->getCodeGenOpts().EmitDeclMetadata = true; in ClangExpressionParser() 459 m_compiler->getCodeGenOpts().InstrumentFunctions = false; in ClangExpressionParser() 460 m_compiler->getCodeGenOpts().DisableFPElim = true; in ClangExpressionParser() 461 m_compiler->getCodeGenOpts().OmitLeafFramePointer = false; in ClangExpressionParser() 463 m_compiler->getCodeGenOpts().setDebugInfo(codegenoptions::FullDebugInfo); in ClangExpressionParser() 465 m_compiler->getCodeGenOpts().setDebugInfo(codegenoptions::NoDebugInfo); in ClangExpressionParser() 541 m_compiler->getCodeGenOpts(), *m_llvm_context)); in ClangExpressionParser() 830 should_create_file |= m_compiler->getCodeGenOpts().getDebugInfo() == in ParseInternal()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/ |
| H A D | FrontendActions.cpp | 167 (CI.getCodeGenOpts().getDebugInfo() != codegenoptions::NoDebugInfo)); in CreateASTConsumer()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | FrontendAction.cpp | 567 ASTDiags, CI.getFileSystemOpts(), CI.getCodeGenOpts().DebugTypeExtRefs); in BeginSourceFile() 633 CI.getFileSystemOpts(), CI.getCodeGenOpts().DebugTypeExtRefs); in BeginSourceFile()
|