From ccd01b67bf2155339545b5b6e2c8c1acb10939f1 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 31 Jul 2023 18:51:26 +0000 Subject: [PATCH 01/34] Support/Threading: Include Support/thread.h before api implementations This header was included after the implementations to work around an issue with FreeBSD, however, this causes some issues when adding dllimport attributes to the headers on Windows. --- llvm/lib/Support/Unix/Threading.inc | 8 ++++++++ llvm/lib/Support/Windows/Threading.inc | 1 + 2 files changed, 9 insertions(+) diff --git a/llvm/lib/Support/Unix/Threading.inc b/llvm/lib/Support/Unix/Threading.inc index 55e7dcfa4678cf..63b6c63908b2b0 100644 --- a/llvm/lib/Support/Unix/Threading.inc +++ b/llvm/lib/Support/Unix/Threading.inc @@ -33,6 +33,14 @@ #include // For pthread_getthreadid_np() / pthread_set_name_np() #endif + +// Must be included after Threading.inc to provide definition for llvm::thread +// because FreeBSD's condvar.h (included by user.h) misuses the "thread" +// keyword. +#ifndef __FreeBSD__ +#include "llvm/Support/thread.h" +#endif + #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) #include #include diff --git a/llvm/lib/Support/Windows/Threading.inc b/llvm/lib/Support/Windows/Threading.inc index 4baf8b8cb82aed..d862dbd7f71c9d 100644 --- a/llvm/lib/Support/Windows/Threading.inc +++ b/llvm/lib/Support/Windows/Threading.inc @@ -12,6 +12,7 @@ #include "llvm/ADT/SmallString.h" #include "llvm/ADT/Twine.h" +#include "llvm/Support/thread.h" #include "llvm/Support/Windows/WindowsSupport.h" #include From c6d7d87b74e535597100da3dd1a550363c98bdb2 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 5 Aug 2023 05:14:04 +0000 Subject: [PATCH 02/34] Passes: Consolidate EnableKnowledgeRetention declarations into a header file --- llvm/include/llvm/Transforms/Utils/AssumeBundleBuilder.h | 3 +++ llvm/lib/Passes/PassBuilderPipelines.cpp | 1 - llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp | 6 ------ llvm/unittests/Analysis/AssumeBundleQueriesTest.cpp | 1 - 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/llvm/include/llvm/Transforms/Utils/AssumeBundleBuilder.h b/llvm/include/llvm/Transforms/Utils/AssumeBundleBuilder.h index 7c3c8eb8d6a44e..85c49d39098bc1 100644 --- a/llvm/include/llvm/Transforms/Utils/AssumeBundleBuilder.h +++ b/llvm/include/llvm/Transforms/Utils/AssumeBundleBuilder.h @@ -18,6 +18,7 @@ #include "llvm/Analysis/AssumeBundleQueries.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/CommandLine.h" namespace llvm { class AssumeInst; @@ -26,6 +27,8 @@ class Instruction; class AssumptionCache; class DominatorTree; +extern cl::opt EnableKnowledgeRetention; + /// Build a call to llvm.assume to preserve informations that can be derived /// from the given instruction. /// If no information derived from \p I, this call returns null. diff --git a/llvm/lib/Passes/PassBuilderPipelines.cpp b/llvm/lib/Passes/PassBuilderPipelines.cpp index f4a4802bcb649f..f3d280316e0407 100644 --- a/llvm/lib/Passes/PassBuilderPipelines.cpp +++ b/llvm/lib/Passes/PassBuilderPipelines.cpp @@ -302,7 +302,6 @@ PipelineTuningOptions::PipelineTuningOptions() { namespace llvm { extern cl::opt MaxDevirtIterations; -extern cl::opt EnableKnowledgeRetention; } // namespace llvm void PassBuilder::invokePeepholeEPCallbacks(FunctionPassManager &FPM, diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp b/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp index b0d31a92464e37..64cbfebf010287 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp @@ -89,12 +89,6 @@ static cl::opt GuardWideningWindow( cl::desc("How wide an instruction window to bypass looking for " "another guard")); -namespace llvm { -/// enable preservation of attributes in assume like: -/// call void @llvm.assume(i1 true) [ "nonnull"(i32* %PTR) ] -extern cl::opt EnableKnowledgeRetention; -} // namespace llvm - /// Return the specified type promoted as it would be to pass though a va_arg /// area. static Type *getPromotedType(Type *Ty) { diff --git a/llvm/unittests/Analysis/AssumeBundleQueriesTest.cpp b/llvm/unittests/Analysis/AssumeBundleQueriesTest.cpp index a8a05e0caeee5d..7a86e28ed59e6a 100644 --- a/llvm/unittests/Analysis/AssumeBundleQueriesTest.cpp +++ b/llvm/unittests/Analysis/AssumeBundleQueriesTest.cpp @@ -22,7 +22,6 @@ using namespace llvm; namespace llvm { extern cl::opt ShouldPreserveAllAttributes; -extern cl::opt EnableKnowledgeRetention; } // namespace llvm static void RunTest( From 62f4a9f5c0b8157fe19952d86666bd89cccb858a Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 12 Oct 2023 05:10:33 +0000 Subject: [PATCH 03/34] Manual: Add missing Passes.h include --- llvm/lib/Analysis/RegionInfo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/Analysis/RegionInfo.cpp b/llvm/lib/Analysis/RegionInfo.cpp index 9be23a374eca5a..5f42343efab263 100644 --- a/llvm/lib/Analysis/RegionInfo.cpp +++ b/llvm/lib/Analysis/RegionInfo.cpp @@ -16,6 +16,7 @@ #include "llvm/Analysis/RegionPrinter.h" #endif #include "llvm/Analysis/RegionInfoImpl.h" +#include "llvm/Analysis/Passes.h" #include "llvm/Config/llvm-config.h" #include "llvm/IR/Function.h" #include "llvm/Support/CommandLine.h" From 9cebda497cc00bebfbe1951d947d1a40f7a6fe9c Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 12 Oct 2023 05:11:32 +0000 Subject: [PATCH 04/34] XXX: Manual add missing Scalar.h header --- llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp b/llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp index 7a5318d4404ca4..2ad57951a4930a 100644 --- a/llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp +++ b/llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp @@ -71,6 +71,7 @@ #include "llvm/InitializePasses.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/Debug.h" +#include "llvm/Transforms/Scalar.h" using namespace llvm; From e2871639ad2d594703223b8759c0b37ade45b54a Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 12 Oct 2023 05:20:48 +0000 Subject: [PATCH 05/34] XXX: Manual: Add missing TargetRegistry.h include --- llvm/lib/MC/MCDisassembler/MCExternalSymbolizer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/MC/MCDisassembler/MCExternalSymbolizer.cpp b/llvm/lib/MC/MCDisassembler/MCExternalSymbolizer.cpp index e3f4cdd21557e2..52cf1ff1376d08 100644 --- a/llvm/lib/MC/MCDisassembler/MCExternalSymbolizer.cpp +++ b/llvm/lib/MC/MCDisassembler/MCExternalSymbolizer.cpp @@ -10,6 +10,7 @@ #include "llvm/MC/MCContext.h" #include "llvm/MC/MCExpr.h" #include "llvm/MC/MCInst.h" +#include "llvm/MC/TargetRegistry.h" #include "llvm/Support/raw_ostream.h" #include From 3d866d7e8c11342a3c63ec29764204b30a60e5b6 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 12 Oct 2023 05:39:35 +0000 Subject: [PATCH 06/34] XXX: Manual add missing Passes.h header --- llvm/lib/Analysis/LazyValueInfo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/Analysis/LazyValueInfo.cpp b/llvm/lib/Analysis/LazyValueInfo.cpp index 5cb207c8036d40..d51117ad1573fd 100644 --- a/llvm/lib/Analysis/LazyValueInfo.cpp +++ b/llvm/lib/Analysis/LazyValueInfo.cpp @@ -17,6 +17,7 @@ #include "llvm/Analysis/AssumptionCache.h" #include "llvm/Analysis/ConstantFolding.h" #include "llvm/Analysis/InstructionSimplify.h" +#include "llvm/Analysis/Passes.h" #include "llvm/Analysis/TargetLibraryInfo.h" #include "llvm/Analysis/ValueLattice.h" #include "llvm/Analysis/ValueTracking.h" From 95f5a2cde2b19757f48e635f717cbfc76d1e6cb3 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 10 Oct 2023 00:11:37 +0000 Subject: [PATCH 07/34] Fix up for AssumeBundleBuilder.h header --- llvm/include/llvm/Transforms/Utils/AssumeBundleBuilder.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/include/llvm/Transforms/Utils/AssumeBundleBuilder.h b/llvm/include/llvm/Transforms/Utils/AssumeBundleBuilder.h index 85c49d39098bc1..9eb806501a77a6 100644 --- a/llvm/include/llvm/Transforms/Utils/AssumeBundleBuilder.h +++ b/llvm/include/llvm/Transforms/Utils/AssumeBundleBuilder.h @@ -19,6 +19,7 @@ #include "llvm/Analysis/AssumeBundleQueries.h" #include "llvm/IR/PassManager.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" namespace llvm { class AssumeInst; @@ -28,6 +29,7 @@ class AssumptionCache; class DominatorTree; extern cl::opt EnableKnowledgeRetention; +extern cl::opt ShouldPreserveAllAttributes; /// Build a call to llvm.assume to preserve informations that can be derived /// from the given instruction. From 54648cee00f674193479f4bb430982f60ae81d2f Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 11 Jul 2023 13:32:19 +0000 Subject: [PATCH 08/34] Add llvm/Support/Compiler.h include to all files --- llvm/include/llvm-c/Analysis.h | 1 + llvm/include/llvm-c/BitReader.h | 1 + llvm/include/llvm-c/BitWriter.h | 1 + llvm/include/llvm-c/Comdat.h | 1 + llvm/include/llvm-c/Core.h | 1 + llvm/include/llvm-c/DebugInfo.h | 1 + llvm/include/llvm-c/Disassembler.h | 1 + llvm/include/llvm-c/DisassemblerTypes.h | 1 + llvm/include/llvm-c/Error.h | 1 + llvm/include/llvm-c/ExecutionEngine.h | 1 + llvm/include/llvm-c/IRReader.h | 1 + llvm/include/llvm-c/LLJIT.h | 1 + llvm/include/llvm-c/Linker.h | 1 + llvm/include/llvm-c/Object.h | 1 + llvm/include/llvm-c/Orc.h | 1 + llvm/include/llvm-c/OrcEE.h | 1 + llvm/include/llvm-c/Remarks.h | 1 + llvm/include/llvm-c/Support.h | 1 + llvm/include/llvm-c/Target.h | 1 + llvm/include/llvm-c/TargetMachine.h | 1 + llvm/include/llvm-c/Transforms/PassBuilder.h | 1 + llvm/include/llvm-c/blake3.h | 1 + llvm/include/llvm-c/lto.h | 1 + llvm/include/llvm/ADT/APFixedPoint.h | 1 + llvm/include/llvm/ADT/APFloat.h | 1 + llvm/include/llvm/ADT/APSInt.h | 1 + llvm/include/llvm/ADT/AddressRanges.h | 1 + llvm/include/llvm/ADT/AllocatorList.h | 1 + llvm/include/llvm/ADT/BitVector.h | 1 + llvm/include/llvm/ADT/Bitfields.h | 1 + llvm/include/llvm/ADT/BitmaskEnum.h | 1 + llvm/include/llvm/ADT/BreadthFirstIterator.h | 1 + llvm/include/llvm/ADT/CachedHashString.h | 1 + llvm/include/llvm/ADT/CoalescingBitVector.h | 1 + llvm/include/llvm/ADT/ConcurrentHashtable.h | 1 + llvm/include/llvm/ADT/DAGDeltaAlgorithm.h | 1 + llvm/include/llvm/ADT/DeltaAlgorithm.h | 1 + llvm/include/llvm/ADT/DenseMapInfo.h | 1 + llvm/include/llvm/ADT/DenseSet.h | 1 + llvm/include/llvm/ADT/DepthFirstIterator.h | 1 + llvm/include/llvm/ADT/DirectedGraph.h | 1 + llvm/include/llvm/ADT/EnumeratedArray.h | 1 + llvm/include/llvm/ADT/EpochTracker.h | 1 + llvm/include/llvm/ADT/EquivalenceClasses.h | 1 + llvm/include/llvm/ADT/FloatingPointMode.h | 1 + llvm/include/llvm/ADT/FoldingSet.h | 1 + llvm/include/llvm/ADT/FunctionExtras.h | 1 + llvm/include/llvm/ADT/GenericCycleImpl.h | 1 + llvm/include/llvm/ADT/GenericCycleInfo.h | 1 + llvm/include/llvm/ADT/GenericSSAContext.h | 1 + llvm/include/llvm/ADT/GenericUniformityImpl.h | 1 + llvm/include/llvm/ADT/GenericUniformityInfo.h | 1 + llvm/include/llvm/ADT/GraphTraits.h | 1 + llvm/include/llvm/ADT/Hashing.h | 1 + llvm/include/llvm/ADT/IndexedMap.h | 1 + llvm/include/llvm/ADT/IntEqClasses.h | 1 + llvm/include/llvm/ADT/IntervalMap.h | 1 + llvm/include/llvm/ADT/IntervalTree.h | 1 + llvm/include/llvm/ADT/IntrusiveRefCntPtr.h | 1 + llvm/include/llvm/ADT/MapVector.h | 1 + llvm/include/llvm/ADT/PointerEmbeddedInt.h | 1 + llvm/include/llvm/ADT/PointerSumType.h | 1 + llvm/include/llvm/ADT/PointerUnion.h | 1 + llvm/include/llvm/ADT/PostOrderIterator.h | 1 + llvm/include/llvm/ADT/PriorityQueue.h | 1 + llvm/include/llvm/ADT/SCCIterator.h | 1 + llvm/include/llvm/ADT/STLExtras.h | 1 + llvm/include/llvm/ADT/STLForwardCompat.h | 1 + llvm/include/llvm/ADT/ScopedHashTable.h | 1 + llvm/include/llvm/ADT/Sequence.h | 1 + llvm/include/llvm/ADT/SmallBitVector.h | 1 + llvm/include/llvm/ADT/SmallString.h | 1 + llvm/include/llvm/ADT/SparseBitVector.h | 1 + llvm/include/llvm/ADT/SparseMultiSet.h | 1 + llvm/include/llvm/ADT/SparseSet.h | 1 + llvm/include/llvm/ADT/StringExtras.h | 1 + llvm/include/llvm/ADT/StringMap.h | 1 + llvm/include/llvm/ADT/StringMapEntry.h | 1 + llvm/include/llvm/ADT/StringSet.h | 1 + llvm/include/llvm/ADT/TinyPtrVector.h | 1 + llvm/include/llvm/ADT/Twine.h | 1 + llvm/include/llvm/ADT/UniqueVector.h | 1 + llvm/include/llvm/ADT/fallible_iterator.h | 1 + llvm/include/llvm/ADT/identity.h | 1 + llvm/include/llvm/ADT/ilist.h | 1 + llvm/include/llvm/ADT/ilist_base.h | 1 + llvm/include/llvm/ADT/ilist_iterator.h | 1 + llvm/include/llvm/ADT/ilist_node.h | 1 + llvm/include/llvm/ADT/ilist_node_base.h | 1 + llvm/include/llvm/ADT/ilist_node_options.h | 1 + llvm/include/llvm/ADT/iterator.h | 1 + llvm/include/llvm/ADT/iterator_range.h | 1 + llvm/include/llvm/Analysis/AliasAnalysis.h | 1 + llvm/include/llvm/Analysis/AliasAnalysisEvaluator.h | 1 + llvm/include/llvm/Analysis/AliasSetTracker.h | 1 + llvm/include/llvm/Analysis/AssumeBundleQueries.h | 1 + llvm/include/llvm/Analysis/AssumptionCache.h | 1 + llvm/include/llvm/Analysis/BasicAliasAnalysis.h | 1 + llvm/include/llvm/Analysis/BlockFrequencyInfo.h | 1 + llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h | 1 + llvm/include/llvm/Analysis/BranchProbabilityInfo.h | 1 + llvm/include/llvm/Analysis/CFG.h | 1 + llvm/include/llvm/Analysis/CFGPrinter.h | 1 + llvm/include/llvm/Analysis/CFGSCCPrinter.h | 1 + llvm/include/llvm/Analysis/CGSCCPassManager.h | 1 + llvm/include/llvm/Analysis/CallGraph.h | 1 + llvm/include/llvm/Analysis/CallGraphSCCPass.h | 1 + llvm/include/llvm/Analysis/CallPrinter.h | 1 + llvm/include/llvm/Analysis/CaptureTracking.h | 1 + llvm/include/llvm/Analysis/CmpInstAnalysis.h | 1 + llvm/include/llvm/Analysis/CodeMetrics.h | 1 + llvm/include/llvm/Analysis/ConstantFolding.h | 1 + llvm/include/llvm/Analysis/ConstraintSystem.h | 1 + llvm/include/llvm/Analysis/CostModel.h | 1 + llvm/include/llvm/Analysis/CycleAnalysis.h | 1 + llvm/include/llvm/Analysis/DDG.h | 1 + llvm/include/llvm/Analysis/DDGPrinter.h | 1 + llvm/include/llvm/Analysis/DOTGraphTraitsPass.h | 1 + llvm/include/llvm/Analysis/Delinearization.h | 1 + llvm/include/llvm/Analysis/DemandedBits.h | 1 + llvm/include/llvm/Analysis/DependenceAnalysis.h | 1 + llvm/include/llvm/Analysis/DependenceGraphBuilder.h | 1 + llvm/include/llvm/Analysis/DomPrinter.h | 1 + llvm/include/llvm/Analysis/DominanceFrontier.h | 1 + llvm/include/llvm/Analysis/DominanceFrontierImpl.h | 1 + llvm/include/llvm/Analysis/FunctionPropertiesAnalysis.h | 1 + llvm/include/llvm/Analysis/GlobalsModRef.h | 1 + llvm/include/llvm/Analysis/GuardUtils.h | 2 ++ llvm/include/llvm/Analysis/HeatUtils.h | 1 + llvm/include/llvm/Analysis/IRSimilarityIdentifier.h | 1 + llvm/include/llvm/Analysis/IVDescriptors.h | 1 + llvm/include/llvm/Analysis/IVUsers.h | 1 + llvm/include/llvm/Analysis/IndirectCallPromotionAnalysis.h | 1 + llvm/include/llvm/Analysis/IndirectCallVisitor.h | 1 + llvm/include/llvm/Analysis/InlineAdvisor.h | 1 + llvm/include/llvm/Analysis/InlineCost.h | 1 + llvm/include/llvm/Analysis/InlineOrder.h | 1 + llvm/include/llvm/Analysis/InlineSizeEstimatorAnalysis.h | 1 + llvm/include/llvm/Analysis/InstCount.h | 1 + llvm/include/llvm/Analysis/InstSimplifyFolder.h | 1 + llvm/include/llvm/Analysis/InstructionPrecedenceTracking.h | 1 + llvm/include/llvm/Analysis/InstructionSimplify.h | 1 + llvm/include/llvm/Analysis/InteractiveModelRunner.h | 1 + llvm/include/llvm/Analysis/Interval.h | 1 + llvm/include/llvm/Analysis/IntervalIterator.h | 1 + llvm/include/llvm/Analysis/IntervalPartition.h | 1 + llvm/include/llvm/Analysis/IteratedDominanceFrontier.h | 1 + llvm/include/llvm/Analysis/LazyBlockFrequencyInfo.h | 1 + llvm/include/llvm/Analysis/LazyBranchProbabilityInfo.h | 1 + llvm/include/llvm/Analysis/LazyCallGraph.h | 1 + llvm/include/llvm/Analysis/LazyValueInfo.h | 1 + llvm/include/llvm/Analysis/Lint.h | 1 + llvm/include/llvm/Analysis/Loads.h | 1 + llvm/include/llvm/Analysis/LoopAccessAnalysis.h | 2 ++ llvm/include/llvm/Analysis/LoopAnalysisManager.h | 1 + llvm/include/llvm/Analysis/LoopCacheAnalysis.h | 1 + llvm/include/llvm/Analysis/LoopInfo.h | 1 + llvm/include/llvm/Analysis/LoopIterator.h | 1 + llvm/include/llvm/Analysis/LoopNestAnalysis.h | 1 + llvm/include/llvm/Analysis/LoopPass.h | 1 + llvm/include/llvm/Analysis/LoopUnrollAnalyzer.h | 1 + llvm/include/llvm/Analysis/MLInlineAdvisor.h | 1 + llvm/include/llvm/Analysis/MLModelRunner.h | 1 + llvm/include/llvm/Analysis/MemDerefPrinter.h | 1 + llvm/include/llvm/Analysis/MemoryBuiltins.h | 1 + llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h | 1 + llvm/include/llvm/Analysis/MemoryLocation.h | 1 + llvm/include/llvm/Analysis/MemorySSA.h | 1 + llvm/include/llvm/Analysis/MemorySSAUpdater.h | 1 + llvm/include/llvm/Analysis/ModuleDebugInfoPrinter.h | 1 + llvm/include/llvm/Analysis/ModuleSummaryAnalysis.h | 1 + llvm/include/llvm/Analysis/MustExecute.h | 1 + llvm/include/llvm/Analysis/NoInferenceModelRunner.h | 1 + llvm/include/llvm/Analysis/ObjCARCAliasAnalysis.h | 1 + llvm/include/llvm/Analysis/ObjCARCAnalysisUtils.h | 1 + llvm/include/llvm/Analysis/ObjCARCInstKind.h | 1 + llvm/include/llvm/Analysis/OptimizationRemarkEmitter.h | 1 + llvm/include/llvm/Analysis/OverflowInstAnalysis.h | 2 ++ llvm/include/llvm/Analysis/PHITransAddr.h | 1 + llvm/include/llvm/Analysis/Passes.h | 2 ++ llvm/include/llvm/Analysis/PhiValues.h | 1 + llvm/include/llvm/Analysis/PostDominators.h | 1 + llvm/include/llvm/Analysis/PtrUseVisitor.h | 1 + llvm/include/llvm/Analysis/RegionInfo.h | 1 + llvm/include/llvm/Analysis/RegionIterator.h | 1 + llvm/include/llvm/Analysis/RegionPass.h | 1 + llvm/include/llvm/Analysis/RegionPrinter.h | 1 + llvm/include/llvm/Analysis/ReleaseModeModelRunner.h | 1 + llvm/include/llvm/Analysis/ReplayInlineAdvisor.h | 1 + llvm/include/llvm/Analysis/ScalarEvolution.h | 1 + llvm/include/llvm/Analysis/ScalarEvolutionAliasAnalysis.h | 1 + llvm/include/llvm/Analysis/ScalarEvolutionDivision.h | 1 + llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h | 1 + llvm/include/llvm/Analysis/ScalarEvolutionNormalization.h | 1 + llvm/include/llvm/Analysis/ScopedNoAliasAA.h | 1 + llvm/include/llvm/Analysis/SparsePropagation.h | 1 + llvm/include/llvm/Analysis/StackLifetime.h | 1 + llvm/include/llvm/Analysis/StackSafetyAnalysis.h | 1 + llvm/include/llvm/Analysis/SyntheticCountsUtils.h | 1 + llvm/include/llvm/Analysis/TargetFolder.h | 1 + llvm/include/llvm/Analysis/TargetLibraryInfo.h | 1 + llvm/include/llvm/Analysis/TargetTransformInfo.h | 1 + llvm/include/llvm/Analysis/TargetTransformInfoImpl.h | 1 + llvm/include/llvm/Analysis/TensorSpec.h | 1 + llvm/include/llvm/Analysis/Trace.h | 1 + llvm/include/llvm/Analysis/TypeBasedAliasAnalysis.h | 1 + llvm/include/llvm/Analysis/TypeMetadataUtils.h | 1 + llvm/include/llvm/Analysis/UniformityAnalysis.h | 1 + .../llvm/Analysis/Utils/ImportedFunctionsInliningStatistics.h | 1 + llvm/include/llvm/Analysis/Utils/Local.h | 2 ++ llvm/include/llvm/Analysis/Utils/TrainingLogger.h | 1 + llvm/include/llvm/Analysis/ValueLattice.h | 1 + llvm/include/llvm/Analysis/ValueLatticeUtils.h | 2 ++ llvm/include/llvm/Analysis/ValueTracking.h | 1 + llvm/include/llvm/Analysis/VectorUtils.h | 1 + llvm/include/llvm/AsmParser/LLLexer.h | 1 + llvm/include/llvm/AsmParser/LLParser.h | 1 + llvm/include/llvm/AsmParser/Parser.h | 1 + llvm/include/llvm/AsmParser/SlotMapping.h | 1 + llvm/include/llvm/BinaryFormat/AMDGPUMetadataVerifier.h | 1 + llvm/include/llvm/BinaryFormat/COFF.h | 1 + llvm/include/llvm/BinaryFormat/DXContainer.h | 1 + llvm/include/llvm/BinaryFormat/ELF.h | 1 + llvm/include/llvm/BinaryFormat/Magic.h | 1 + llvm/include/llvm/BinaryFormat/Minidump.h | 1 + llvm/include/llvm/BinaryFormat/MsgPackDocument.h | 1 + llvm/include/llvm/BinaryFormat/MsgPackReader.h | 1 + llvm/include/llvm/BinaryFormat/MsgPackWriter.h | 1 + llvm/include/llvm/BinaryFormat/Wasm.h | 1 + llvm/include/llvm/BinaryFormat/WasmTraits.h | 1 + llvm/include/llvm/BinaryFormat/XCOFF.h | 1 + llvm/include/llvm/Bitcode/BitcodeAnalyzer.h | 1 + llvm/include/llvm/Bitcode/BitcodeCommon.h | 1 + llvm/include/llvm/Bitcode/BitcodeReader.h | 1 + llvm/include/llvm/Bitcode/BitcodeWriter.h | 1 + llvm/include/llvm/Bitcode/BitcodeWriterPass.h | 1 + llvm/include/llvm/Bitstream/BitCodes.h | 1 + llvm/include/llvm/Bitstream/BitstreamReader.h | 1 + llvm/include/llvm/Bitstream/BitstreamWriter.h | 1 + llvm/include/llvm/CodeGen/AccelTable.h | 1 + llvm/include/llvm/CodeGen/Analysis.h | 1 + llvm/include/llvm/CodeGen/AsmPrinter.h | 1 + llvm/include/llvm/CodeGen/AsmPrinterHandler.h | 1 + llvm/include/llvm/CodeGen/AssignmentTrackingAnalysis.h | 1 + llvm/include/llvm/CodeGen/AtomicExpandUtils.h | 1 + llvm/include/llvm/CodeGen/BasicBlockSectionUtils.h | 1 + llvm/include/llvm/CodeGen/BasicBlockSectionsProfileReader.h | 1 + llvm/include/llvm/CodeGen/BasicTTIImpl.h | 1 + llvm/include/llvm/CodeGen/ByteProvider.h | 1 + llvm/include/llvm/CodeGen/CFIFixup.h | 1 + llvm/include/llvm/CodeGen/CSEConfigBase.h | 2 ++ llvm/include/llvm/CodeGen/CalcSpillWeights.h | 1 + llvm/include/llvm/CodeGen/CallingConvLower.h | 1 + llvm/include/llvm/CodeGen/CodeGenCommonISel.h | 1 + llvm/include/llvm/CodeGen/CodeGenPassBuilder.h | 1 + llvm/include/llvm/CodeGen/CommandFlags.h | 1 + llvm/include/llvm/CodeGen/ComplexDeinterleavingPass.h | 1 + llvm/include/llvm/CodeGen/CostTable.h | 1 + llvm/include/llvm/CodeGen/DFAPacketizer.h | 1 + llvm/include/llvm/CodeGen/DIE.h | 1 + llvm/include/llvm/CodeGen/DbgEntityHistoryCalculator.h | 1 + llvm/include/llvm/CodeGen/DebugHandlerBase.h | 1 + llvm/include/llvm/CodeGen/DetectDeadLanes.h | 1 + llvm/include/llvm/CodeGen/DwarfStringPoolEntry.h | 1 + llvm/include/llvm/CodeGen/EdgeBundles.h | 1 + llvm/include/llvm/CodeGen/ExecutionDomainFix.h | 1 + llvm/include/llvm/CodeGen/ExpandReductions.h | 1 + llvm/include/llvm/CodeGen/ExpandVectorPredication.h | 1 + llvm/include/llvm/CodeGen/FastISel.h | 1 + llvm/include/llvm/CodeGen/FaultMaps.h | 1 + llvm/include/llvm/CodeGen/FunctionLoweringInfo.h | 1 + llvm/include/llvm/CodeGen/GCMetadata.h | 1 + llvm/include/llvm/CodeGen/GCMetadataPrinter.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/CSEInfo.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/CSEMIRBuilder.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/Combiner.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/CombinerInfo.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/GISelChangeObserver.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/GISelKnownBits.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/GISelWorkList.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/InlineAsmLowering.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/InstructionSelect.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/LegacyLegalizerInfo.h | 1 + .../llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/Legalizer.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/LoadStoreOpt.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/Localizer.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/LostDebugLocObserver.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/RegBankSelect.h | 1 + llvm/include/llvm/CodeGen/GlobalISel/Utils.h | 1 + llvm/include/llvm/CodeGen/HardwareLoops.h | 1 + llvm/include/llvm/CodeGen/ISDOpcodes.h | 1 + llvm/include/llvm/CodeGen/IndirectThunks.h | 1 + llvm/include/llvm/CodeGen/IntrinsicLowering.h | 2 ++ llvm/include/llvm/CodeGen/LatencyPriorityQueue.h | 1 + llvm/include/llvm/CodeGen/LazyMachineBlockFrequencyInfo.h | 1 + llvm/include/llvm/CodeGen/LexicalScopes.h | 1 + llvm/include/llvm/CodeGen/LiveInterval.h | 1 + llvm/include/llvm/CodeGen/LiveIntervalCalc.h | 1 + llvm/include/llvm/CodeGen/LiveIntervalUnion.h | 1 + llvm/include/llvm/CodeGen/LivePhysRegs.h | 1 + llvm/include/llvm/CodeGen/LiveRangeCalc.h | 1 + llvm/include/llvm/CodeGen/LiveRangeEdit.h | 1 + llvm/include/llvm/CodeGen/LiveRegMatrix.h | 1 + llvm/include/llvm/CodeGen/LiveRegUnits.h | 1 + llvm/include/llvm/CodeGen/LiveStacks.h | 1 + llvm/include/llvm/CodeGen/LiveVariables.h | 1 + llvm/include/llvm/CodeGen/LoopTraversal.h | 1 + llvm/include/llvm/CodeGen/LowLevelType.h | 1 + llvm/include/llvm/CodeGen/LowLevelTypeUtils.h | 1 + llvm/include/llvm/CodeGen/MBFIWrapper.h | 1 + llvm/include/llvm/CodeGen/MIRFSDiscriminator.h | 1 + llvm/include/llvm/CodeGen/MIRFormatter.h | 1 + llvm/include/llvm/CodeGen/MIRParser/MIParser.h | 1 + llvm/include/llvm/CodeGen/MIRParser/MIRParser.h | 1 + llvm/include/llvm/CodeGen/MIRPrinter.h | 2 ++ llvm/include/llvm/CodeGen/MIRSampleProfile.h | 1 + llvm/include/llvm/CodeGen/MIRYamlMapping.h | 1 + llvm/include/llvm/CodeGen/MachineBasicBlock.h | 1 + llvm/include/llvm/CodeGen/MachineBlockFrequencyInfo.h | 1 + llvm/include/llvm/CodeGen/MachineBranchProbabilityInfo.h | 1 + llvm/include/llvm/CodeGen/MachineCFGPrinter.h | 1 + llvm/include/llvm/CodeGen/MachineConstantPool.h | 1 + llvm/include/llvm/CodeGen/MachineCycleAnalysis.h | 1 + llvm/include/llvm/CodeGen/MachineDominanceFrontier.h | 1 + llvm/include/llvm/CodeGen/MachineDominators.h | 1 + llvm/include/llvm/CodeGen/MachineFrameInfo.h | 1 + llvm/include/llvm/CodeGen/MachineFunctionPass.h | 1 + llvm/include/llvm/CodeGen/MachineInstr.h | 1 + llvm/include/llvm/CodeGen/MachineInstrBuilder.h | 1 + llvm/include/llvm/CodeGen/MachineInstrBundle.h | 1 + llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h | 1 + llvm/include/llvm/CodeGen/MachineJumpTableInfo.h | 1 + llvm/include/llvm/CodeGen/MachineLoopInfo.h | 1 + llvm/include/llvm/CodeGen/MachineLoopUtils.h | 2 ++ llvm/include/llvm/CodeGen/MachineMemOperand.h | 1 + llvm/include/llvm/CodeGen/MachineModuleInfo.h | 1 + llvm/include/llvm/CodeGen/MachineModuleInfoImpls.h | 1 + llvm/include/llvm/CodeGen/MachineModuleSlotTracker.h | 1 + llvm/include/llvm/CodeGen/MachineOperand.h | 1 + llvm/include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h | 1 + llvm/include/llvm/CodeGen/MachineOutliner.h | 1 + llvm/include/llvm/CodeGen/MachinePassManager.h | 1 + llvm/include/llvm/CodeGen/MachinePassRegistry.h | 1 + llvm/include/llvm/CodeGen/MachinePipeliner.h | 1 + llvm/include/llvm/CodeGen/MachinePostDominators.h | 1 + llvm/include/llvm/CodeGen/MachineRegionInfo.h | 1 + llvm/include/llvm/CodeGen/MachineRegisterInfo.h | 1 + llvm/include/llvm/CodeGen/MachineSSAContext.h | 1 + llvm/include/llvm/CodeGen/MachineSSAUpdater.h | 1 + llvm/include/llvm/CodeGen/MachineScheduler.h | 1 + llvm/include/llvm/CodeGen/MachineSizeOpts.h | 1 + llvm/include/llvm/CodeGen/MachineStableHash.h | 1 + llvm/include/llvm/CodeGen/MachineTraceMetrics.h | 1 + llvm/include/llvm/CodeGen/MachineUniformityAnalysis.h | 1 + llvm/include/llvm/CodeGen/MachineValueType.h | 1 + llvm/include/llvm/CodeGen/MacroFusion.h | 1 + llvm/include/llvm/CodeGen/ModuloSchedule.h | 1 + llvm/include/llvm/CodeGen/MultiHazardRecognizer.h | 1 + llvm/include/llvm/CodeGen/NonRelocatableStringpool.h | 1 + llvm/include/llvm/CodeGen/PBQP/CostAllocator.h | 1 + llvm/include/llvm/CodeGen/PBQP/Graph.h | 1 + llvm/include/llvm/CodeGen/PBQP/Math.h | 1 + llvm/include/llvm/CodeGen/PBQP/Solution.h | 1 + llvm/include/llvm/CodeGen/PBQPRAConstraint.h | 1 + llvm/include/llvm/CodeGen/ParallelCG.h | 1 + llvm/include/llvm/CodeGen/Passes.h | 1 + llvm/include/llvm/CodeGen/PreISelIntrinsicLowering.h | 1 + llvm/include/llvm/CodeGen/PseudoSourceValue.h | 1 + llvm/include/llvm/CodeGen/RDFGraph.h | 1 + llvm/include/llvm/CodeGen/RDFLiveness.h | 1 + llvm/include/llvm/CodeGen/RDFRegisters.h | 1 + llvm/include/llvm/CodeGen/ReachingDefAnalysis.h | 1 + llvm/include/llvm/CodeGen/RegAllocPBQP.h | 1 + llvm/include/llvm/CodeGen/RegAllocRegistry.h | 1 + llvm/include/llvm/CodeGen/Register.h | 1 + llvm/include/llvm/CodeGen/RegisterBank.h | 1 + llvm/include/llvm/CodeGen/RegisterBankInfo.h | 1 + llvm/include/llvm/CodeGen/RegisterClassInfo.h | 1 + llvm/include/llvm/CodeGen/RegisterPressure.h | 1 + llvm/include/llvm/CodeGen/RegisterScavenging.h | 1 + llvm/include/llvm/CodeGen/RegisterUsageInfo.h | 1 + llvm/include/llvm/CodeGen/ReplaceWithVeclib.h | 1 + llvm/include/llvm/CodeGen/ResourcePriorityQueue.h | 1 + llvm/include/llvm/CodeGen/RuntimeLibcalls.h | 1 + llvm/include/llvm/CodeGen/ScheduleDAG.h | 1 + llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h | 1 + llvm/include/llvm/CodeGen/ScheduleDAGMutation.h | 2 ++ llvm/include/llvm/CodeGen/ScheduleDFS.h | 1 + llvm/include/llvm/CodeGen/ScheduleHazardRecognizer.h | 2 ++ llvm/include/llvm/CodeGen/SchedulerRegistry.h | 1 + llvm/include/llvm/CodeGen/ScoreboardHazardRecognizer.h | 1 + llvm/include/llvm/CodeGen/SelectionDAG.h | 1 + llvm/include/llvm/CodeGen/SelectionDAGAddressAnalysis.h | 1 + llvm/include/llvm/CodeGen/SelectionDAGISel.h | 1 + llvm/include/llvm/CodeGen/SelectionDAGNodes.h | 1 + llvm/include/llvm/CodeGen/SelectionDAGTargetInfo.h | 1 + llvm/include/llvm/CodeGen/SlotIndexes.h | 1 + llvm/include/llvm/CodeGen/Spiller.h | 2 ++ llvm/include/llvm/CodeGen/StackMaps.h | 1 + llvm/include/llvm/CodeGen/StackProtector.h | 1 + llvm/include/llvm/CodeGen/SwiftErrorValueTracking.h | 1 + llvm/include/llvm/CodeGen/SwitchLoweringUtils.h | 1 + llvm/include/llvm/CodeGen/TailDuplicator.h | 1 + llvm/include/llvm/CodeGen/TargetCallingConv.h | 1 + llvm/include/llvm/CodeGen/TargetFrameLowering.h | 1 + llvm/include/llvm/CodeGen/TargetInstrInfo.h | 1 + llvm/include/llvm/CodeGen/TargetLowering.h | 1 + llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h | 1 + llvm/include/llvm/CodeGen/TargetPassConfig.h | 1 + llvm/include/llvm/CodeGen/TargetRegisterInfo.h | 1 + llvm/include/llvm/CodeGen/TargetSchedule.h | 1 + llvm/include/llvm/CodeGen/TargetSubtargetInfo.h | 1 + llvm/include/llvm/CodeGen/TileShapeInfo.h | 1 + llvm/include/llvm/CodeGen/TypePromotion.h | 1 + llvm/include/llvm/CodeGen/UnreachableBlockElim.h | 1 + llvm/include/llvm/CodeGen/VLIWMachineScheduler.h | 1 + llvm/include/llvm/CodeGen/VirtRegMap.h | 1 + llvm/include/llvm/CodeGen/WasmEHFuncInfo.h | 1 + llvm/include/llvm/CodeGen/WinEHFuncInfo.h | 1 + llvm/include/llvm/Config/abi-breaking.h.cmake | 2 ++ llvm/include/llvm/DWARFLinker/DWARFLinker.h | 1 + llvm/include/llvm/DWARFLinker/DWARFLinkerCompileUnit.h | 1 + llvm/include/llvm/DWARFLinker/DWARFLinkerDeclContext.h | 1 + llvm/include/llvm/DWARFLinker/DWARFStreamer.h | 1 + llvm/include/llvm/DWARFLinkerParallel/AddressesMap.h | 1 + llvm/include/llvm/DWARFLinkerParallel/DWARFFile.h | 1 + llvm/include/llvm/DWARFLinkerParallel/DWARFLinker.h | 1 + llvm/include/llvm/DWARFLinkerParallel/StringPool.h | 1 + llvm/include/llvm/DWP/DWP.h | 1 + llvm/include/llvm/DWP/DWPError.h | 1 + llvm/include/llvm/DWP/DWPStringPool.h | 1 + .../llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h | 1 + llvm/include/llvm/DebugInfo/CodeView/CVRecord.h | 1 + llvm/include/llvm/DebugInfo/CodeView/CVSymbolVisitor.h | 1 + llvm/include/llvm/DebugInfo/CodeView/CVTypeVisitor.h | 1 + llvm/include/llvm/DebugInfo/CodeView/CodeView.h | 1 + llvm/include/llvm/DebugInfo/CodeView/CodeViewError.h | 1 + llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h | 1 + .../llvm/DebugInfo/CodeView/ContinuationRecordBuilder.h | 1 + .../include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h | 1 + llvm/include/llvm/DebugInfo/CodeView/DebugCrossExSubsection.h | 1 + llvm/include/llvm/DebugInfo/CodeView/DebugCrossImpSubsection.h | 1 + .../include/llvm/DebugInfo/CodeView/DebugFrameDataSubsection.h | 1 + .../llvm/DebugInfo/CodeView/DebugInlineeLinesSubsection.h | 1 + llvm/include/llvm/DebugInfo/CodeView/DebugLinesSubsection.h | 1 + .../llvm/DebugInfo/CodeView/DebugStringTableSubsection.h | 1 + llvm/include/llvm/DebugInfo/CodeView/DebugSubsection.h | 1 + llvm/include/llvm/DebugInfo/CodeView/DebugSubsectionRecord.h | 1 + llvm/include/llvm/DebugInfo/CodeView/DebugSubsectionVisitor.h | 1 + .../include/llvm/DebugInfo/CodeView/DebugSymbolRVASubsection.h | 1 + llvm/include/llvm/DebugInfo/CodeView/DebugSymbolsSubsection.h | 1 + llvm/include/llvm/DebugInfo/CodeView/DebugUnknownSubsection.h | 1 + llvm/include/llvm/DebugInfo/CodeView/EnumTables.h | 1 + llvm/include/llvm/DebugInfo/CodeView/Formatters.h | 1 + llvm/include/llvm/DebugInfo/CodeView/GUID.h | 1 + llvm/include/llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h | 1 + .../include/llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h | 1 + llvm/include/llvm/DebugInfo/CodeView/Line.h | 1 + llvm/include/llvm/DebugInfo/CodeView/MergingTypeTableBuilder.h | 1 + llvm/include/llvm/DebugInfo/CodeView/RecordName.h | 1 + llvm/include/llvm/DebugInfo/CodeView/RecordSerialization.h | 1 + llvm/include/llvm/DebugInfo/CodeView/SimpleTypeSerializer.h | 1 + llvm/include/llvm/DebugInfo/CodeView/StringsAndChecksums.h | 1 + llvm/include/llvm/DebugInfo/CodeView/SymbolDeserializer.h | 1 + llvm/include/llvm/DebugInfo/CodeView/SymbolDumpDelegate.h | 1 + llvm/include/llvm/DebugInfo/CodeView/SymbolDumper.h | 1 + llvm/include/llvm/DebugInfo/CodeView/SymbolRecord.h | 1 + llvm/include/llvm/DebugInfo/CodeView/SymbolRecordHelpers.h | 1 + llvm/include/llvm/DebugInfo/CodeView/SymbolRecordMapping.h | 1 + llvm/include/llvm/DebugInfo/CodeView/SymbolSerializer.h | 1 + .../llvm/DebugInfo/CodeView/SymbolVisitorCallbackPipeline.h | 1 + llvm/include/llvm/DebugInfo/CodeView/SymbolVisitorCallbacks.h | 1 + llvm/include/llvm/DebugInfo/CodeView/SymbolVisitorDelegate.h | 1 + llvm/include/llvm/DebugInfo/CodeView/TypeCollection.h | 1 + llvm/include/llvm/DebugInfo/CodeView/TypeDeserializer.h | 1 + llvm/include/llvm/DebugInfo/CodeView/TypeDumpVisitor.h | 1 + llvm/include/llvm/DebugInfo/CodeView/TypeHashing.h | 1 + llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h | 1 + llvm/include/llvm/DebugInfo/CodeView/TypeIndexDiscovery.h | 1 + llvm/include/llvm/DebugInfo/CodeView/TypeRecord.h | 1 + llvm/include/llvm/DebugInfo/CodeView/TypeRecordHelpers.h | 1 + llvm/include/llvm/DebugInfo/CodeView/TypeRecordMapping.h | 1 + llvm/include/llvm/DebugInfo/CodeView/TypeStreamMerger.h | 1 + llvm/include/llvm/DebugInfo/CodeView/TypeTableCollection.h | 1 + .../llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h | 1 + llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h | 1 + llvm/include/llvm/DebugInfo/DIContext.h | 1 + .../llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFAddressRange.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFAttribute.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFDataExtractor.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAddr.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFDebugPubTable.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFDebugRnglists.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFDie.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFGdbIndex.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFLocationExpression.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFObject.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFRelocMap.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFSection.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFTypePrinter.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h | 1 + llvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h | 1 + llvm/include/llvm/DebugInfo/GSYM/DwarfTransformer.h | 1 + llvm/include/llvm/DebugInfo/GSYM/ExtractRanges.h | 1 + llvm/include/llvm/DebugInfo/GSYM/FileEntry.h | 1 + llvm/include/llvm/DebugInfo/GSYM/FileWriter.h | 1 + llvm/include/llvm/DebugInfo/GSYM/FunctionInfo.h | 1 + llvm/include/llvm/DebugInfo/GSYM/GsymCreator.h | 1 + llvm/include/llvm/DebugInfo/GSYM/GsymReader.h | 1 + llvm/include/llvm/DebugInfo/GSYM/Header.h | 1 + llvm/include/llvm/DebugInfo/GSYM/InlineInfo.h | 1 + llvm/include/llvm/DebugInfo/GSYM/LineEntry.h | 1 + llvm/include/llvm/DebugInfo/GSYM/LineTable.h | 1 + llvm/include/llvm/DebugInfo/GSYM/LookupResult.h | 1 + llvm/include/llvm/DebugInfo/GSYM/ObjectFileTransformer.h | 1 + llvm/include/llvm/DebugInfo/GSYM/StringTable.h | 1 + llvm/include/llvm/DebugInfo/LogicalView/Core/LVCompare.h | 1 + llvm/include/llvm/DebugInfo/LogicalView/Core/LVElement.h | 1 + llvm/include/llvm/DebugInfo/LogicalView/Core/LVLine.h | 1 + llvm/include/llvm/DebugInfo/LogicalView/Core/LVLocation.h | 1 + llvm/include/llvm/DebugInfo/LogicalView/Core/LVObject.h | 1 + llvm/include/llvm/DebugInfo/LogicalView/Core/LVOptions.h | 1 + llvm/include/llvm/DebugInfo/LogicalView/Core/LVRange.h | 1 + llvm/include/llvm/DebugInfo/LogicalView/Core/LVReader.h | 1 + llvm/include/llvm/DebugInfo/LogicalView/Core/LVScope.h | 1 + llvm/include/llvm/DebugInfo/LogicalView/Core/LVSort.h | 2 ++ llvm/include/llvm/DebugInfo/LogicalView/Core/LVStringPool.h | 1 + llvm/include/llvm/DebugInfo/LogicalView/Core/LVSupport.h | 1 + llvm/include/llvm/DebugInfo/LogicalView/Core/LVSymbol.h | 1 + llvm/include/llvm/DebugInfo/LogicalView/Core/LVType.h | 1 + llvm/include/llvm/DebugInfo/LogicalView/LVReaderHandler.h | 1 + .../llvm/DebugInfo/LogicalView/Readers/LVBinaryReader.h | 1 + .../llvm/DebugInfo/LogicalView/Readers/LVCodeViewReader.h | 1 + .../llvm/DebugInfo/LogicalView/Readers/LVCodeViewVisitor.h | 1 + llvm/include/llvm/DebugInfo/LogicalView/Readers/LVELFReader.h | 1 + llvm/include/llvm/DebugInfo/MSF/IMSFFile.h | 1 + llvm/include/llvm/DebugInfo/MSF/MSFBuilder.h | 1 + llvm/include/llvm/DebugInfo/MSF/MSFCommon.h | 1 + llvm/include/llvm/DebugInfo/MSF/MSFError.h | 1 + llvm/include/llvm/DebugInfo/MSF/MappedBlockStream.h | 1 + llvm/include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h | 1 + llvm/include/llvm/DebugInfo/PDB/DIA/DIAError.h | 1 + llvm/include/llvm/DebugInfo/PDB/GenericError.h | 1 + llvm/include/llvm/DebugInfo/PDB/IPDBDataStream.h | 1 + llvm/include/llvm/DebugInfo/PDB/IPDBEnumChildren.h | 1 + llvm/include/llvm/DebugInfo/PDB/IPDBFrameData.h | 1 + llvm/include/llvm/DebugInfo/PDB/IPDBInjectedSource.h | 1 + llvm/include/llvm/DebugInfo/PDB/IPDBLineNumber.h | 1 + llvm/include/llvm/DebugInfo/PDB/IPDBRawSymbol.h | 1 + llvm/include/llvm/DebugInfo/PDB/IPDBSectionContrib.h | 1 + llvm/include/llvm/DebugInfo/PDB/IPDBSession.h | 1 + llvm/include/llvm/DebugInfo/PDB/IPDBSourceFile.h | 1 + llvm/include/llvm/DebugInfo/PDB/IPDBTable.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h | 1 + .../llvm/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/DbiModuleList.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/DbiStreamBuilder.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/EnumTables.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/FormatUtil.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/GlobalsStream.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/Hash.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/HashTable.h | 1 + .../include/llvm/DebugInfo/PDB/Native/ISectionContribVisitor.h | 2 ++ llvm/include/llvm/DebugInfo/PDB/Native/InfoStream.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/InfoStreamBuilder.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/InjectedSourceStream.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/ModuleDebugStream.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/NamedStreamMap.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/NativeCompilandSymbol.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumGlobals.h | 1 + .../llvm/DebugInfo/PDB/Native/NativeEnumInjectedSources.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumLineNumbers.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumModules.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumSymbols.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/NativeExeSymbol.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/NativeFunctionSymbol.h | 1 + .../include/llvm/DebugInfo/PDB/Native/NativeInlineSiteSymbol.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/NativeLineNumber.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/NativePublicSymbol.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/NativeSession.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/NativeSourceFile.h | 1 + .../include/llvm/DebugInfo/PDB/Native/NativeSymbolEnumerator.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeArray.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeBuiltin.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeEnum.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeFunctionSig.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/NativeTypePointer.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeTypedef.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeUDT.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeVTShape.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/PDBFile.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/PDBFileBuilder.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/PDBStringTable.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/PDBStringTableBuilder.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/PublicsStream.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/RawError.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/RawTypes.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/SymbolCache.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/SymbolStream.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/TpiHashing.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h | 1 + llvm/include/llvm/DebugInfo/PDB/Native/TpiStreamBuilder.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDB.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBContext.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBExtras.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymDumper.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbol.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolAnnotation.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolBlock.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompilandDetails.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolCustom.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolData.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolExe.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolFunc.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugEnd.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugStart.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolLabel.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolPublicSymbol.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolThunk.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeArray.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeBaseClass.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeCustom.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeDimension.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFriend.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionArg.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionSig.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeManaged.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypePointer.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeTypedef.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTable.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTableShape.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolUnknown.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBSymbolUsingNamespace.h | 1 + llvm/include/llvm/DebugInfo/PDB/PDBTypes.h | 1 + llvm/include/llvm/DebugInfo/PDB/UDTLayout.h | 1 + llvm/include/llvm/DebugInfo/Symbolize/DIPrinter.h | 1 + llvm/include/llvm/DebugInfo/Symbolize/Markup.h | 1 + llvm/include/llvm/DebugInfo/Symbolize/MarkupFilter.h | 1 + llvm/include/llvm/DebugInfo/Symbolize/SymbolizableModule.h | 1 + llvm/include/llvm/DebugInfo/Symbolize/SymbolizableObjectFile.h | 1 + llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h | 1 + llvm/include/llvm/Debuginfod/BuildIDFetcher.h | 1 + llvm/include/llvm/Debuginfod/Debuginfod.h | 1 + llvm/include/llvm/Debuginfod/HTTPClient.h | 1 + llvm/include/llvm/Debuginfod/HTTPServer.h | 1 + llvm/include/llvm/Demangle/Demangle.h | 1 + llvm/include/llvm/Demangle/ItaniumDemangle.h | 1 + llvm/include/llvm/Demangle/MicrosoftDemangle.h | 1 + llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h | 1 + llvm/include/llvm/Demangle/Utility.h | 1 + llvm/include/llvm/ExecutionEngine/ExecutionEngine.h | 1 + llvm/include/llvm/ExecutionEngine/GenericValue.h | 1 + llvm/include/llvm/ExecutionEngine/JITEventListener.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/COFF.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/COFF_x86_64.h | 1 + .../llvm/ExecutionEngine/JITLink/DWARFRecordSectionSplitter.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/EHFrameSupport.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/ELF.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/ELF_aarch32.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/ELF_aarch64.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/ELF_i386.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/ELF_loongarch.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/ELF_ppc64.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/ELF_riscv.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/ELF_x86_64.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/JITLinkDylib.h | 1 + .../llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/MachO.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/MachO_arm64.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/MachO_x86_64.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/TableManager.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/aarch32.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/aarch64.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/i386.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/loongarch.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/ppc64.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/riscv.h | 1 + llvm/include/llvm/ExecutionEngine/JITLink/x86_64.h | 1 + llvm/include/llvm/ExecutionEngine/JITSymbol.h | 1 + llvm/include/llvm/ExecutionEngine/MCJIT.h | 1 + llvm/include/llvm/ExecutionEngine/ObjectCache.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/COFFPlatform.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/COFFVCRuntimeSupport.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/CompileUtils.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/Core.h | 1 + .../llvm/ExecutionEngine/Orc/DebugObjectManagerPlugin.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/DebugUtils.h | 1 + .../llvm/ExecutionEngine/Orc/Debugging/DebuggerSupportPlugin.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/ELFNixPlatform.h | 1 + .../include/llvm/ExecutionEngine/Orc/EPCDebugObjectRegistrar.h | 1 + .../ExecutionEngine/Orc/EPCDynamicLibrarySearchGenerator.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/EPCEHFrameRegistrar.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/EPCGenericDylibManager.h | 1 + .../llvm/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/EPCGenericMemoryAccess.h | 1 + .../llvm/ExecutionEngine/Orc/EPCGenericRTDyldMemoryManager.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/EPCIndirectionUtils.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/ExecutionUtils.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/ExecutorProcessControl.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/IRCompileLayer.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/IRTransformLayer.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h | 1 + .../include/llvm/ExecutionEngine/Orc/JITTargetMachineBuilder.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/Layer.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/LazyReexports.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/LookupAndRecordAddrs.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/Mangling.h | 1 + .../llvm/ExecutionEngine/Orc/MapperJITLinkMemoryManager.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/MemoryMapper.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/ObjectFileInterface.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/OrcABISupport.h | 1 + .../llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h | 1 + .../llvm/ExecutionEngine/Orc/Shared/AllocationActions.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h | 1 + .../llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/Shared/MemoryFlags.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/Shared/ObjectFormats.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/Shared/OrcError.h | 1 + .../ExecutionEngine/Orc/Shared/SimplePackedSerialization.h | 1 + .../llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h | 1 + .../ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h | 1 + .../llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/SimpleRemoteEPC.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/SpeculateAnalyses.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/Speculation.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h | 1 + .../Orc/TargetProcess/ExecutorBootstrapService.h | 1 + .../Orc/TargetProcess/ExecutorSharedMemoryMapperService.h | 1 + .../llvm/ExecutionEngine/Orc/TargetProcess/JITLoaderGDB.h | 1 + .../llvm/ExecutionEngine/Orc/TargetProcess/RegisterEHFrames.h | 1 + .../Orc/TargetProcess/SimpleExecutorDylibManager.h | 1 + .../Orc/TargetProcess/SimpleExecutorMemoryManager.h | 1 + .../ExecutionEngine/Orc/TargetProcess/SimpleRemoteEPCServer.h | 1 + .../ExecutionEngine/Orc/TargetProcess/TargetExecutionUtils.h | 1 + llvm/include/llvm/ExecutionEngine/Orc/TaskDispatch.h | 1 + llvm/include/llvm/ExecutionEngine/RTDyldMemoryManager.h | 1 + llvm/include/llvm/ExecutionEngine/RuntimeDyld.h | 1 + llvm/include/llvm/ExecutionEngine/RuntimeDyldChecker.h | 1 + llvm/include/llvm/ExecutionEngine/SectionMemoryManager.h | 1 + llvm/include/llvm/FileCheck/FileCheck.h | 1 + llvm/include/llvm/Frontend/HLSL/HLSLResource.h | 1 + llvm/include/llvm/Frontend/OpenMP/OMPContext.h | 1 + llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h | 1 + llvm/include/llvm/FuzzMutate/FuzzerCLI.h | 1 + llvm/include/llvm/FuzzMutate/IRMutator.h | 1 + llvm/include/llvm/FuzzMutate/OpDescriptor.h | 1 + llvm/include/llvm/FuzzMutate/Operations.h | 1 + llvm/include/llvm/FuzzMutate/Random.h | 1 + llvm/include/llvm/FuzzMutate/RandomIRBuilder.h | 1 + llvm/include/llvm/IR/AbstractCallSite.h | 1 + llvm/include/llvm/IR/Argument.h | 1 + llvm/include/llvm/IR/AssemblyAnnotationWriter.h | 2 ++ llvm/include/llvm/IR/Assumptions.h | 1 + llvm/include/llvm/IR/AttributeMask.h | 1 + llvm/include/llvm/IR/Attributes.h | 1 + llvm/include/llvm/IR/AutoUpgrade.h | 1 + llvm/include/llvm/IR/BasicBlock.h | 1 + llvm/include/llvm/IR/BuiltinGCs.h | 2 ++ llvm/include/llvm/IR/CFG.h | 1 + llvm/include/llvm/IR/Comdat.h | 1 + llvm/include/llvm/IR/Constant.h | 1 + llvm/include/llvm/IR/ConstantFold.h | 1 + llvm/include/llvm/IR/ConstantFolder.h | 1 + llvm/include/llvm/IR/DIBuilder.h | 1 + llvm/include/llvm/IR/DebugInfo.h | 1 + llvm/include/llvm/IR/DebugInfoMetadata.h | 1 + llvm/include/llvm/IR/DebugLoc.h | 1 + llvm/include/llvm/IR/DerivedUser.h | 1 + llvm/include/llvm/IR/DiagnosticHandler.h | 1 + llvm/include/llvm/IR/DiagnosticInfo.h | 1 + llvm/include/llvm/IR/DiagnosticPrinter.h | 1 + llvm/include/llvm/IR/Dominators.h | 1 + llvm/include/llvm/IR/EHPersonalities.h | 1 + llvm/include/llvm/IR/FMF.h | 2 ++ llvm/include/llvm/IR/FPEnv.h | 1 + llvm/include/llvm/IR/Function.h | 1 + llvm/include/llvm/IR/GCStrategy.h | 1 + llvm/include/llvm/IR/GVMaterializer.h | 1 + llvm/include/llvm/IR/GetElementPtrTypeIterator.h | 1 + llvm/include/llvm/IR/GlobalAlias.h | 1 + llvm/include/llvm/IR/GlobalIFunc.h | 1 + llvm/include/llvm/IR/GlobalObject.h | 1 + llvm/include/llvm/IR/GlobalValue.h | 1 + llvm/include/llvm/IR/GlobalVariable.h | 1 + llvm/include/llvm/IR/IRBuilder.h | 1 + llvm/include/llvm/IR/IRBuilderFolder.h | 1 + llvm/include/llvm/IR/IRPrintingPasses.h | 1 + llvm/include/llvm/IR/InlineAsm.h | 1 + llvm/include/llvm/IR/InstIterator.h | 1 + llvm/include/llvm/IR/InstVisitor.h | 1 + llvm/include/llvm/IR/InstrTypes.h | 1 + llvm/include/llvm/IR/Instruction.h | 1 + llvm/include/llvm/IR/Instructions.h | 1 + llvm/include/llvm/IR/IntrinsicInst.h | 1 + llvm/include/llvm/IR/Intrinsics.h | 1 + llvm/include/llvm/IR/LLVMContext.h | 1 + llvm/include/llvm/IR/LLVMRemarkStreamer.h | 1 + llvm/include/llvm/IR/LegacyPassManager.h | 1 + llvm/include/llvm/IR/LegacyPassManagers.h | 1 + llvm/include/llvm/IR/LegacyPassNameParser.h | 1 + llvm/include/llvm/IR/MDBuilder.h | 1 + llvm/include/llvm/IR/Mangler.h | 1 + llvm/include/llvm/IR/MatrixBuilder.h | 1 + llvm/include/llvm/IR/Metadata.h | 1 + llvm/include/llvm/IR/Module.h | 1 + llvm/include/llvm/IR/ModuleSlotTracker.h | 1 + llvm/include/llvm/IR/ModuleSummaryIndex.h | 1 + llvm/include/llvm/IR/ModuleSummaryIndexYAML.h | 1 + llvm/include/llvm/IR/NoFolder.h | 1 + llvm/include/llvm/IR/OperandTraits.h | 1 + llvm/include/llvm/IR/Operator.h | 1 + llvm/include/llvm/IR/OptBisect.h | 1 + llvm/include/llvm/IR/PassInstrumentation.h | 1 + llvm/include/llvm/IR/PassManager.h | 1 + llvm/include/llvm/IR/PassManagerInternal.h | 1 + llvm/include/llvm/IR/PassTimingInfo.h | 1 + llvm/include/llvm/IR/PatternMatch.h | 1 + llvm/include/llvm/IR/PredIteratorCache.h | 1 + llvm/include/llvm/IR/PrintPasses.h | 1 + llvm/include/llvm/IR/ProfDataUtils.h | 1 + llvm/include/llvm/IR/ProfileSummary.h | 1 + llvm/include/llvm/IR/PseudoProbe.h | 1 + llvm/include/llvm/IR/ReplaceConstant.h | 1 + llvm/include/llvm/IR/SSAContext.h | 1 + llvm/include/llvm/IR/SafepointIRVerifier.h | 1 + llvm/include/llvm/IR/Statepoint.h | 1 + llvm/include/llvm/IR/StructuralHash.h | 1 + llvm/include/llvm/IR/SymbolTableListTraits.h | 1 + llvm/include/llvm/IR/TrackingMDRef.h | 1 + llvm/include/llvm/IR/TypeFinder.h | 1 + llvm/include/llvm/IR/TypedPointerType.h | 1 + llvm/include/llvm/IR/UseListOrder.h | 1 + llvm/include/llvm/IR/Value.h | 1 + llvm/include/llvm/IR/ValueHandle.h | 1 + llvm/include/llvm/IR/ValueMap.h | 1 + llvm/include/llvm/IR/ValueSymbolTable.h | 1 + llvm/include/llvm/IR/VectorBuilder.h | 1 + llvm/include/llvm/IR/Verifier.h | 1 + llvm/include/llvm/IRPrinter/IRPrintingPasses.h | 1 + llvm/include/llvm/IRReader/IRReader.h | 1 + llvm/include/llvm/InitializePasses.h | 2 ++ llvm/include/llvm/InterfaceStub/ELFObjHandler.h | 1 + llvm/include/llvm/InterfaceStub/IFSHandler.h | 1 + llvm/include/llvm/InterfaceStub/IFSStub.h | 1 + llvm/include/llvm/LTO/Config.h | 1 + llvm/include/llvm/LTO/LTO.h | 1 + llvm/include/llvm/LTO/LTOBackend.h | 1 + llvm/include/llvm/LTO/SummaryBasedOptimizations.h | 3 +++ llvm/include/llvm/LTO/legacy/LTOCodeGenerator.h | 1 + llvm/include/llvm/LTO/legacy/LTOModule.h | 1 + llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h | 1 + llvm/include/llvm/LTO/legacy/UpdateCompilerUsed.h | 1 + llvm/include/llvm/Linker/IRMover.h | 1 + llvm/include/llvm/Linker/Linker.h | 1 + llvm/include/llvm/MC/ConstantPools.h | 1 + llvm/include/llvm/MC/DXContainerPSVInfo.h | 1 + llvm/include/llvm/MC/MCAsmBackend.h | 1 + llvm/include/llvm/MC/MCAsmInfo.h | 1 + llvm/include/llvm/MC/MCAsmInfoCOFF.h | 1 + llvm/include/llvm/MC/MCAsmInfoDarwin.h | 1 + llvm/include/llvm/MC/MCAsmInfoELF.h | 1 + llvm/include/llvm/MC/MCAsmInfoGOFF.h | 1 + llvm/include/llvm/MC/MCAsmInfoWasm.h | 1 + llvm/include/llvm/MC/MCAsmInfoXCOFF.h | 1 + llvm/include/llvm/MC/MCAsmLayout.h | 1 + llvm/include/llvm/MC/MCAsmMacro.h | 1 + llvm/include/llvm/MC/MCAssembler.h | 1 + llvm/include/llvm/MC/MCCodeEmitter.h | 2 ++ llvm/include/llvm/MC/MCCodeView.h | 1 + llvm/include/llvm/MC/MCDXContainerStreamer.h | 1 + llvm/include/llvm/MC/MCDXContainerWriter.h | 1 + llvm/include/llvm/MC/MCDisassembler/MCDisassembler.h | 1 + llvm/include/llvm/MC/MCDisassembler/MCExternalSymbolizer.h | 1 + llvm/include/llvm/MC/MCDisassembler/MCRelocationInfo.h | 2 ++ llvm/include/llvm/MC/MCDisassembler/MCSymbolizer.h | 1 + llvm/include/llvm/MC/MCDwarf.h | 1 + llvm/include/llvm/MC/MCELFObjectWriter.h | 1 + llvm/include/llvm/MC/MCELFStreamer.h | 1 + llvm/include/llvm/MC/MCExpr.h | 1 + llvm/include/llvm/MC/MCFixup.h | 1 + llvm/include/llvm/MC/MCFixupKindInfo.h | 2 ++ llvm/include/llvm/MC/MCFragment.h | 1 + llvm/include/llvm/MC/MCInst.h | 1 + llvm/include/llvm/MC/MCInstBuilder.h | 1 + llvm/include/llvm/MC/MCInstrAnalysis.h | 1 + llvm/include/llvm/MC/MCInstrDesc.h | 1 + llvm/include/llvm/MC/MCInstrInfo.h | 1 + llvm/include/llvm/MC/MCInstrItineraries.h | 1 + llvm/include/llvm/MC/MCLabel.h | 2 ++ llvm/include/llvm/MC/MCLinkerOptimizationHint.h | 1 + llvm/include/llvm/MC/MCMachObjectWriter.h | 1 + llvm/include/llvm/MC/MCObjectFileInfo.h | 1 + llvm/include/llvm/MC/MCObjectStreamer.h | 1 + llvm/include/llvm/MC/MCObjectWriter.h | 1 + llvm/include/llvm/MC/MCParser/AsmCond.h | 2 ++ llvm/include/llvm/MC/MCParser/AsmLexer.h | 1 + llvm/include/llvm/MC/MCParser/MCAsmLexer.h | 1 + llvm/include/llvm/MC/MCParser/MCAsmParser.h | 1 + llvm/include/llvm/MC/MCParser/MCAsmParserExtension.h | 1 + llvm/include/llvm/MC/MCParser/MCAsmParserUtils.h | 2 ++ llvm/include/llvm/MC/MCParser/MCParsedAsmOperand.h | 1 + llvm/include/llvm/MC/MCParser/MCTargetAsmParser.h | 1 + llvm/include/llvm/MC/MCPseudoProbe.h | 1 + llvm/include/llvm/MC/MCRegister.h | 1 + llvm/include/llvm/MC/MCRegisterInfo.h | 1 + llvm/include/llvm/MC/MCSPIRVObjectWriter.h | 1 + llvm/include/llvm/MC/MCSPIRVStreamer.h | 1 + llvm/include/llvm/MC/MCSchedule.h | 1 + llvm/include/llvm/MC/MCSection.h | 1 + llvm/include/llvm/MC/MCSectionCOFF.h | 1 + llvm/include/llvm/MC/MCSectionDXContainer.h | 1 + llvm/include/llvm/MC/MCSectionELF.h | 1 + llvm/include/llvm/MC/MCSectionGOFF.h | 1 + llvm/include/llvm/MC/MCSectionMachO.h | 1 + llvm/include/llvm/MC/MCSectionSPIRV.h | 1 + llvm/include/llvm/MC/MCSectionWasm.h | 1 + llvm/include/llvm/MC/MCSectionXCOFF.h | 1 + llvm/include/llvm/MC/MCStreamer.h | 1 + llvm/include/llvm/MC/MCSubtargetInfo.h | 1 + llvm/include/llvm/MC/MCSymbol.h | 1 + llvm/include/llvm/MC/MCSymbolCOFF.h | 1 + llvm/include/llvm/MC/MCSymbolELF.h | 1 + llvm/include/llvm/MC/MCSymbolGOFF.h | 1 + llvm/include/llvm/MC/MCSymbolMachO.h | 1 + llvm/include/llvm/MC/MCSymbolWasm.h | 1 + llvm/include/llvm/MC/MCSymbolXCOFF.h | 1 + llvm/include/llvm/MC/MCTargetOptions.h | 1 + llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h | 1 + llvm/include/llvm/MC/MCValue.h | 1 + llvm/include/llvm/MC/MCWasmObjectWriter.h | 1 + llvm/include/llvm/MC/MCWasmStreamer.h | 1 + llvm/include/llvm/MC/MCWin64EH.h | 1 + llvm/include/llvm/MC/MCWinCOFFObjectWriter.h | 1 + llvm/include/llvm/MC/MCWinCOFFStreamer.h | 1 + llvm/include/llvm/MC/MCWinEH.h | 1 + llvm/include/llvm/MC/MCXCOFFObjectWriter.h | 1 + llvm/include/llvm/MC/MCXCOFFStreamer.h | 1 + llvm/include/llvm/MC/MachineLocation.h | 1 + llvm/include/llvm/MC/SectionKind.h | 2 ++ llvm/include/llvm/MC/StringTableBuilder.h | 1 + llvm/include/llvm/MC/TargetRegistry.h | 1 + llvm/include/llvm/MCA/CodeEmitter.h | 1 + llvm/include/llvm/MCA/Context.h | 1 + llvm/include/llvm/MCA/CustomBehaviour.h | 1 + llvm/include/llvm/MCA/HWEventListener.h | 1 + llvm/include/llvm/MCA/HardwareUnits/HardwareUnit.h | 2 ++ llvm/include/llvm/MCA/HardwareUnits/LSUnit.h | 1 + llvm/include/llvm/MCA/HardwareUnits/RegisterFile.h | 1 + llvm/include/llvm/MCA/HardwareUnits/ResourceManager.h | 1 + llvm/include/llvm/MCA/HardwareUnits/RetireControlUnit.h | 1 + llvm/include/llvm/MCA/HardwareUnits/Scheduler.h | 1 + llvm/include/llvm/MCA/IncrementalSourceMgr.h | 1 + llvm/include/llvm/MCA/InstrBuilder.h | 1 + llvm/include/llvm/MCA/Instruction.h | 1 + llvm/include/llvm/MCA/Pipeline.h | 1 + llvm/include/llvm/MCA/SourceMgr.h | 1 + llvm/include/llvm/MCA/Stages/DispatchStage.h | 1 + llvm/include/llvm/MCA/Stages/EntryStage.h | 1 + llvm/include/llvm/MCA/Stages/ExecuteStage.h | 1 + llvm/include/llvm/MCA/Stages/InOrderIssueStage.h | 1 + llvm/include/llvm/MCA/Stages/InstructionTables.h | 1 + llvm/include/llvm/MCA/Stages/MicroOpQueueStage.h | 1 + llvm/include/llvm/MCA/Stages/RetireStage.h | 1 + llvm/include/llvm/MCA/Stages/Stage.h | 1 + llvm/include/llvm/MCA/Support.h | 1 + llvm/include/llvm/MCA/View.h | 1 + llvm/include/llvm/ObjCopy/COFF/COFFConfig.h | 1 + llvm/include/llvm/ObjCopy/COFF/COFFObjcopy.h | 2 ++ llvm/include/llvm/ObjCopy/CommonConfig.h | 1 + llvm/include/llvm/ObjCopy/ConfigManager.h | 1 + llvm/include/llvm/ObjCopy/ELF/ELFConfig.h | 1 + llvm/include/llvm/ObjCopy/ELF/ELFObjcopy.h | 2 ++ llvm/include/llvm/ObjCopy/MachO/MachOConfig.h | 1 + llvm/include/llvm/ObjCopy/MachO/MachOObjcopy.h | 2 ++ llvm/include/llvm/ObjCopy/MultiFormatConfig.h | 1 + llvm/include/llvm/ObjCopy/ObjCopy.h | 1 + llvm/include/llvm/ObjCopy/XCOFF/XCOFFConfig.h | 2 ++ llvm/include/llvm/ObjCopy/XCOFF/XCOFFObjcopy.h | 2 ++ llvm/include/llvm/ObjCopy/wasm/WasmConfig.h | 2 ++ llvm/include/llvm/ObjCopy/wasm/WasmObjcopy.h | 2 ++ llvm/include/llvm/Object/Archive.h | 1 + llvm/include/llvm/Object/ArchiveWriter.h | 1 + llvm/include/llvm/Object/Binary.h | 1 + llvm/include/llvm/Object/BuildID.h | 1 + llvm/include/llvm/Object/COFF.h | 1 + llvm/include/llvm/Object/COFFImportFile.h | 1 + llvm/include/llvm/Object/COFFModuleDefinition.h | 1 + llvm/include/llvm/Object/CVDebugRecord.h | 1 + llvm/include/llvm/Object/DXContainer.h | 1 + llvm/include/llvm/Object/Decompressor.h | 1 + llvm/include/llvm/Object/ELF.h | 1 + llvm/include/llvm/Object/ELFObjectFile.h | 1 + llvm/include/llvm/Object/ELFTypes.h | 1 + llvm/include/llvm/Object/Error.h | 1 + llvm/include/llvm/Object/FaultMapParser.h | 1 + llvm/include/llvm/Object/GOFF.h | 1 + llvm/include/llvm/Object/GOFFObjectFile.h | 1 + llvm/include/llvm/Object/IRObjectFile.h | 1 + llvm/include/llvm/Object/IRSymtab.h | 1 + llvm/include/llvm/Object/MachO.h | 1 + llvm/include/llvm/Object/MachOUniversal.h | 1 + llvm/include/llvm/Object/MachOUniversalWriter.h | 1 + llvm/include/llvm/Object/Minidump.h | 1 + llvm/include/llvm/Object/ModuleSymbolTable.h | 1 + llvm/include/llvm/Object/ObjectFile.h | 1 + llvm/include/llvm/Object/OffloadBinary.h | 1 + llvm/include/llvm/Object/RelocationResolver.h | 1 + llvm/include/llvm/Object/SymbolSize.h | 1 + llvm/include/llvm/Object/SymbolicFile.h | 1 + llvm/include/llvm/Object/TapiFile.h | 1 + llvm/include/llvm/Object/TapiUniversal.h | 1 + llvm/include/llvm/Object/Wasm.h | 1 + llvm/include/llvm/Object/WindowsMachineFlag.h | 2 ++ llvm/include/llvm/Object/WindowsResource.h | 1 + llvm/include/llvm/Object/XCOFFObjectFile.h | 1 + llvm/include/llvm/ObjectYAML/ArchiveYAML.h | 1 + llvm/include/llvm/ObjectYAML/COFFYAML.h | 1 + llvm/include/llvm/ObjectYAML/CodeViewYAMLDebugSections.h | 1 + llvm/include/llvm/ObjectYAML/CodeViewYAMLSymbols.h | 1 + llvm/include/llvm/ObjectYAML/CodeViewYAMLTypeHashing.h | 1 + llvm/include/llvm/ObjectYAML/CodeViewYAMLTypes.h | 1 + llvm/include/llvm/ObjectYAML/DWARFEmitter.h | 1 + llvm/include/llvm/ObjectYAML/DWARFYAML.h | 1 + llvm/include/llvm/ObjectYAML/DXContainerYAML.h | 1 + llvm/include/llvm/ObjectYAML/ELFYAML.h | 1 + llvm/include/llvm/ObjectYAML/MachOYAML.h | 1 + llvm/include/llvm/ObjectYAML/MinidumpYAML.h | 1 + llvm/include/llvm/ObjectYAML/ObjectYAML.h | 1 + llvm/include/llvm/ObjectYAML/OffloadYAML.h | 1 + llvm/include/llvm/ObjectYAML/WasmYAML.h | 1 + llvm/include/llvm/ObjectYAML/XCOFFYAML.h | 1 + llvm/include/llvm/ObjectYAML/YAML.h | 1 + llvm/include/llvm/ObjectYAML/yaml2obj.h | 1 + llvm/include/llvm/Option/Arg.h | 1 + llvm/include/llvm/Option/ArgList.h | 1 + llvm/include/llvm/Option/OptSpecifier.h | 2 ++ llvm/include/llvm/Option/OptTable.h | 1 + llvm/include/llvm/Option/Option.h | 1 + llvm/include/llvm/Pass.h | 1 + llvm/include/llvm/PassAnalysisSupport.h | 1 + llvm/include/llvm/PassInfo.h | 1 + llvm/include/llvm/PassRegistry.h | 1 + llvm/include/llvm/PassSupport.h | 1 + llvm/include/llvm/Passes/OptimizationLevel.h | 1 + llvm/include/llvm/Passes/PassBuilder.h | 1 + llvm/include/llvm/Passes/StandardInstrumentations.h | 1 + llvm/include/llvm/ProfileData/Coverage/CoverageMappingReader.h | 1 + llvm/include/llvm/ProfileData/Coverage/CoverageMappingWriter.h | 1 + llvm/include/llvm/ProfileData/GCOV.h | 1 + llvm/include/llvm/ProfileData/InstrProfCorrelator.h | 1 + llvm/include/llvm/ProfileData/InstrProfReader.h | 1 + llvm/include/llvm/ProfileData/InstrProfWriter.h | 1 + llvm/include/llvm/ProfileData/ItaniumManglingCanonicalizer.h | 1 + llvm/include/llvm/ProfileData/MemProf.h | 1 + llvm/include/llvm/ProfileData/ProfileCommon.h | 1 + llvm/include/llvm/ProfileData/RawMemProfReader.h | 1 + llvm/include/llvm/ProfileData/SampleProf.h | 1 + llvm/include/llvm/ProfileData/SampleProfReader.h | 1 + llvm/include/llvm/ProfileData/SampleProfWriter.h | 1 + llvm/include/llvm/ProfileData/SymbolRemappingReader.h | 1 + llvm/include/llvm/Remarks/BitstreamRemarkParser.h | 1 + llvm/include/llvm/Remarks/BitstreamRemarkSerializer.h | 1 + llvm/include/llvm/Remarks/HotnessThresholdParser.h | 1 + llvm/include/llvm/Remarks/Remark.h | 1 + llvm/include/llvm/Remarks/RemarkFormat.h | 1 + llvm/include/llvm/Remarks/RemarkLinker.h | 1 + llvm/include/llvm/Remarks/RemarkParser.h | 1 + llvm/include/llvm/Remarks/RemarkSerializer.h | 1 + llvm/include/llvm/Remarks/RemarkStreamer.h | 1 + llvm/include/llvm/Remarks/RemarkStringTable.h | 1 + llvm/include/llvm/Remarks/YAMLRemarkSerializer.h | 1 + llvm/include/llvm/Support/AMDGPUMetadata.h | 1 + llvm/include/llvm/Support/ARMAttributeParser.h | 1 + llvm/include/llvm/Support/ARMBuildAttributes.h | 1 + llvm/include/llvm/Support/ARMWinEH.h | 1 + llvm/include/llvm/Support/AlignOf.h | 1 + llvm/include/llvm/Support/Alignment.h | 1 + llvm/include/llvm/Support/ArrayRecycler.h | 1 + llvm/include/llvm/Support/Atomic.h | 1 + llvm/include/llvm/Support/Automaton.h | 1 + llvm/include/llvm/Support/BLAKE3.h | 1 + llvm/include/llvm/Support/BalancedPartitioning.h | 1 + llvm/include/llvm/Support/Base64.h | 1 + llvm/include/llvm/Support/BinaryByteStream.h | 1 + llvm/include/llvm/Support/BinaryItemStream.h | 1 + llvm/include/llvm/Support/BinaryStream.h | 1 + llvm/include/llvm/Support/BinaryStreamArray.h | 1 + llvm/include/llvm/Support/BinaryStreamError.h | 1 + llvm/include/llvm/Support/BinaryStreamReader.h | 1 + llvm/include/llvm/Support/BinaryStreamRef.h | 1 + llvm/include/llvm/Support/BinaryStreamWriter.h | 1 + llvm/include/llvm/Support/BlockFrequency.h | 1 + llvm/include/llvm/Support/BranchProbability.h | 1 + llvm/include/llvm/Support/BuryPointer.h | 1 + llvm/include/llvm/Support/CFGDiff.h | 1 + llvm/include/llvm/Support/COM.h | 2 ++ llvm/include/llvm/Support/CRC.h | 1 + llvm/include/llvm/Support/CSKYAttributeParser.h | 1 + llvm/include/llvm/Support/CSKYAttributes.h | 1 + llvm/include/llvm/Support/CachePruning.h | 1 + llvm/include/llvm/Support/Caching.h | 1 + llvm/include/llvm/Support/CodeGenCoverage.h | 1 + llvm/include/llvm/Support/CommandLine.h | 1 + llvm/include/llvm/Support/Compression.h | 1 + llvm/include/llvm/Support/ConvertEBCDIC.h | 1 + llvm/include/llvm/Support/ConvertUTF.h | 1 + llvm/include/llvm/Support/CrashRecoveryContext.h | 1 + llvm/include/llvm/Support/DJB.h | 1 + llvm/include/llvm/Support/DOTGraphTraits.h | 1 + llvm/include/llvm/Support/DataExtractor.h | 1 + llvm/include/llvm/Support/Debug.h | 2 ++ llvm/include/llvm/Support/DebugCounter.h | 1 + llvm/include/llvm/Support/DivisionByConstantInfo.h | 1 + llvm/include/llvm/Support/Duration.h | 1 + llvm/include/llvm/Support/DynamicLibrary.h | 1 + llvm/include/llvm/Support/ELFAttributeParser.h | 1 + llvm/include/llvm/Support/ELFAttributes.h | 1 + llvm/include/llvm/Support/EndianStream.h | 1 + llvm/include/llvm/Support/Errc.h | 1 + llvm/include/llvm/Support/Errno.h | 1 + llvm/include/llvm/Support/ErrorOr.h | 1 + llvm/include/llvm/Support/ExtensibleRTTI.h | 2 ++ llvm/include/llvm/Support/FileCollector.h | 1 + llvm/include/llvm/Support/FileOutputBuffer.h | 1 + llvm/include/llvm/Support/FileSystem.h | 1 + llvm/include/llvm/Support/FileSystem/UniqueID.h | 1 + llvm/include/llvm/Support/FileUtilities.h | 1 + llvm/include/llvm/Support/Format.h | 1 + llvm/include/llvm/Support/FormatAdapters.h | 1 + llvm/include/llvm/Support/FormatCommon.h | 1 + llvm/include/llvm/Support/FormatProviders.h | 1 + llvm/include/llvm/Support/FormatVariadic.h | 1 + llvm/include/llvm/Support/FormatVariadicDetails.h | 1 + llvm/include/llvm/Support/FormattedStream.h | 1 + llvm/include/llvm/Support/GenericDomTree.h | 1 + llvm/include/llvm/Support/GenericDomTreeConstruction.h | 1 + llvm/include/llvm/Support/GenericIteratedDominanceFrontier.h | 1 + llvm/include/llvm/Support/GenericLoopInfo.h | 1 + llvm/include/llvm/Support/GenericLoopInfoImpl.h | 1 + llvm/include/llvm/Support/GlobPattern.h | 1 + llvm/include/llvm/Support/GraphWriter.h | 1 + llvm/include/llvm/Support/HashBuilder.h | 1 + llvm/include/llvm/Support/InitLLVM.h | 1 + llvm/include/llvm/Support/InstructionCost.h | 1 + llvm/include/llvm/Support/JSON.h | 1 + llvm/include/llvm/Support/KnownBits.h | 1 + llvm/include/llvm/Support/LEB128.h | 1 + llvm/include/llvm/Support/LineIterator.h | 1 + llvm/include/llvm/Support/Locale.h | 2 ++ llvm/include/llvm/Support/LockFileManager.h | 1 + llvm/include/llvm/Support/MD5.h | 1 + llvm/include/llvm/Support/MSP430AttributeParser.h | 1 + llvm/include/llvm/Support/MSP430Attributes.h | 1 + llvm/include/llvm/Support/MSVCErrorWorkarounds.h | 1 + llvm/include/llvm/Support/ManagedStatic.h | 1 + llvm/include/llvm/Support/Memory.h | 1 + llvm/include/llvm/Support/MemoryBuffer.h | 1 + llvm/include/llvm/Support/MemoryBufferRef.h | 1 + llvm/include/llvm/Support/ModRef.h | 1 + llvm/include/llvm/Support/Mutex.h | 1 + llvm/include/llvm/Support/NativeFormatting.h | 1 + llvm/include/llvm/Support/OnDiskHashTable.h | 1 + llvm/include/llvm/Support/OptimizedStructLayout.h | 1 + llvm/include/llvm/Support/PGOOptions.h | 1 + llvm/include/llvm/Support/Parallel.h | 1 + llvm/include/llvm/Support/Path.h | 1 + llvm/include/llvm/Support/PerThreadBumpPtrAllocator.h | 1 + llvm/include/llvm/Support/PluginLoader.h | 2 ++ llvm/include/llvm/Support/PointerLikeTypeTraits.h | 1 + llvm/include/llvm/Support/Printable.h | 1 + llvm/include/llvm/Support/Process.h | 1 + llvm/include/llvm/Support/Program.h | 1 + llvm/include/llvm/Support/RISCVAttributeParser.h | 1 + llvm/include/llvm/Support/RISCVAttributes.h | 1 + llvm/include/llvm/Support/RISCVISAInfo.h | 1 + llvm/include/llvm/Support/RWMutex.h | 1 + llvm/include/llvm/Support/Recycler.h | 1 + llvm/include/llvm/Support/RecyclingAllocator.h | 1 + llvm/include/llvm/Support/Regex.h | 1 + llvm/include/llvm/Support/SHA1.h | 1 + llvm/include/llvm/Support/SHA256.h | 1 + llvm/include/llvm/Support/SMLoc.h | 1 + llvm/include/llvm/Support/SMTAPI.h | 1 + llvm/include/llvm/Support/SaveAndRestore.h | 1 + llvm/include/llvm/Support/ScaledNumber.h | 1 + llvm/include/llvm/Support/ScopedPrinter.h | 1 + llvm/include/llvm/Support/Signals.h | 1 + llvm/include/llvm/Support/Signposts.h | 1 + llvm/include/llvm/Support/SmallVectorMemoryBuffer.h | 1 + llvm/include/llvm/Support/SourceMgr.h | 1 + llvm/include/llvm/Support/SpecialCaseList.h | 1 + llvm/include/llvm/Support/StringSaver.h | 1 + llvm/include/llvm/Support/SuffixTree.h | 1 + llvm/include/llvm/Support/SuffixTreeNode.h | 1 + llvm/include/llvm/Support/SystemUtils.h | 2 ++ llvm/include/llvm/Support/TarWriter.h | 1 + llvm/include/llvm/Support/ThreadPool.h | 1 + llvm/include/llvm/Support/TimeProfiler.h | 1 + llvm/include/llvm/Support/Timer.h | 1 + llvm/include/llvm/Support/ToolOutputFile.h | 1 + llvm/include/llvm/Support/Unicode.h | 1 + llvm/include/llvm/Support/Valgrind.h | 1 + llvm/include/llvm/Support/VersionTuple.h | 1 + llvm/include/llvm/Support/VirtualFileSystem.h | 1 + llvm/include/llvm/Support/Win64EH.h | 1 + llvm/include/llvm/Support/WindowsError.h | 1 + llvm/include/llvm/Support/X86DisassemblerDecoderCommon.h | 1 + llvm/include/llvm/Support/YAMLParser.h | 1 + llvm/include/llvm/Support/YAMLTraits.h | 1 + llvm/include/llvm/Support/circular_raw_ostream.h | 1 + llvm/include/llvm/Support/raw_os_ostream.h | 1 + llvm/include/llvm/Support/raw_ostream.h | 1 + llvm/include/llvm/Support/thread.h | 1 + llvm/include/llvm/Support/xxhash.h | 1 + llvm/include/llvm/TableGen/Error.h | 1 + llvm/include/llvm/TableGen/Main.h | 1 + llvm/include/llvm/TableGen/Parser.h | 1 + llvm/include/llvm/TableGen/Record.h | 1 + llvm/include/llvm/TableGen/SetTheory.h | 1 + llvm/include/llvm/TableGen/StringMatcher.h | 1 + llvm/include/llvm/TableGen/TableGenBackend.h | 1 + llvm/include/llvm/Target/CGPassBuilderOption.h | 1 + llvm/include/llvm/Target/TargetIntrinsicInfo.h | 1 + llvm/include/llvm/Target/TargetLoweringObjectFile.h | 1 + llvm/include/llvm/Target/TargetMachine.h | 1 + llvm/include/llvm/Target/TargetOptions.h | 1 + llvm/include/llvm/TargetParser/AArch64TargetParser.h | 1 + llvm/include/llvm/TargetParser/ARMTargetParser.h | 1 + llvm/include/llvm/TargetParser/ARMTargetParserCommon.h | 1 + llvm/include/llvm/TargetParser/CSKYTargetParser.h | 1 + llvm/include/llvm/TargetParser/Host.h | 1 + llvm/include/llvm/TargetParser/LoongArchTargetParser.h | 1 + llvm/include/llvm/TargetParser/RISCVTargetParser.h | 1 + llvm/include/llvm/TargetParser/SubtargetFeature.h | 1 + llvm/include/llvm/TargetParser/TargetParser.h | 1 + llvm/include/llvm/TargetParser/Triple.h | 1 + llvm/include/llvm/TargetParser/X86TargetParser.h | 1 + llvm/include/llvm/Testing/Annotations/Annotations.h | 1 + llvm/include/llvm/Testing/Support/Error.h | 1 + llvm/include/llvm/Testing/Support/SupportHelpers.h | 1 + llvm/include/llvm/TextAPI/Architecture.h | 1 + llvm/include/llvm/TextAPI/ArchitectureSet.h | 1 + llvm/include/llvm/TextAPI/InterfaceFile.h | 1 + llvm/include/llvm/TextAPI/PackedVersion.h | 1 + llvm/include/llvm/TextAPI/Platform.h | 1 + llvm/include/llvm/TextAPI/Symbol.h | 1 + llvm/include/llvm/TextAPI/Target.h | 1 + llvm/include/llvm/TextAPI/TextAPIReader.h | 1 + llvm/include/llvm/TextAPI/TextAPIWriter.h | 1 + llvm/include/llvm/ToolDrivers/llvm-dlltool/DlltoolDriver.h | 2 ++ llvm/include/llvm/ToolDrivers/llvm-lib/LibDriver.h | 2 ++ .../Transforms/AggressiveInstCombine/AggressiveInstCombine.h | 1 + llvm/include/llvm/Transforms/CFGuard.h | 2 ++ llvm/include/llvm/Transforms/Coroutines/CoroCleanup.h | 1 + .../llvm/Transforms/Coroutines/CoroConditionalWrapper.h | 1 + llvm/include/llvm/Transforms/Coroutines/CoroEarly.h | 1 + llvm/include/llvm/Transforms/Coroutines/CoroElide.h | 1 + llvm/include/llvm/Transforms/Coroutines/CoroSplit.h | 1 + llvm/include/llvm/Transforms/IPO.h | 1 + llvm/include/llvm/Transforms/IPO/AlwaysInliner.h | 1 + llvm/include/llvm/Transforms/IPO/Annotation2Metadata.h | 1 + llvm/include/llvm/Transforms/IPO/ArgumentPromotion.h | 1 + llvm/include/llvm/Transforms/IPO/Attributor.h | 1 + llvm/include/llvm/Transforms/IPO/BlockExtractor.h | 1 + llvm/include/llvm/Transforms/IPO/CalledValuePropagation.h | 1 + llvm/include/llvm/Transforms/IPO/ConstantMerge.h | 1 + llvm/include/llvm/Transforms/IPO/CrossDSOCFI.h | 1 + llvm/include/llvm/Transforms/IPO/DeadArgumentElimination.h | 1 + llvm/include/llvm/Transforms/IPO/ElimAvailExtern.h | 1 + llvm/include/llvm/Transforms/IPO/EmbedBitcodePass.h | 1 + llvm/include/llvm/Transforms/IPO/ExtractGV.h | 1 + llvm/include/llvm/Transforms/IPO/ForceFunctionAttrs.h | 1 + llvm/include/llvm/Transforms/IPO/FunctionAttrs.h | 1 + llvm/include/llvm/Transforms/IPO/FunctionImport.h | 1 + llvm/include/llvm/Transforms/IPO/FunctionSpecialization.h | 1 + llvm/include/llvm/Transforms/IPO/GlobalDCE.h | 1 + llvm/include/llvm/Transforms/IPO/GlobalOpt.h | 1 + llvm/include/llvm/Transforms/IPO/GlobalSplit.h | 1 + llvm/include/llvm/Transforms/IPO/HotColdSplitting.h | 1 + llvm/include/llvm/Transforms/IPO/IROutliner.h | 1 + llvm/include/llvm/Transforms/IPO/InferFunctionAttrs.h | 1 + llvm/include/llvm/Transforms/IPO/Inliner.h | 1 + llvm/include/llvm/Transforms/IPO/Internalize.h | 1 + llvm/include/llvm/Transforms/IPO/LoopExtractor.h | 1 + llvm/include/llvm/Transforms/IPO/LowerTypeTests.h | 1 + .../include/llvm/Transforms/IPO/MemProfContextDisambiguation.h | 1 + llvm/include/llvm/Transforms/IPO/MergeFunctions.h | 1 + llvm/include/llvm/Transforms/IPO/ModuleInliner.h | 1 + llvm/include/llvm/Transforms/IPO/OpenMPOpt.h | 1 + llvm/include/llvm/Transforms/IPO/PartialInlining.h | 1 + llvm/include/llvm/Transforms/IPO/ProfiledCallGraph.h | 1 + llvm/include/llvm/Transforms/IPO/SCCP.h | 1 + llvm/include/llvm/Transforms/IPO/SampleContextTracker.h | 1 + llvm/include/llvm/Transforms/IPO/SampleProfileProbe.h | 1 + llvm/include/llvm/Transforms/IPO/StripDeadPrototypes.h | 1 + llvm/include/llvm/Transforms/IPO/StripSymbols.h | 1 + llvm/include/llvm/Transforms/IPO/SyntheticCountsPropagation.h | 1 + llvm/include/llvm/Transforms/IPO/ThinLTOBitcodeWriter.h | 1 + llvm/include/llvm/Transforms/IPO/WholeProgramDevirt.h | 1 + llvm/include/llvm/Transforms/InstCombine/InstCombine.h | 1 + llvm/include/llvm/Transforms/Instrumentation.h | 1 + .../include/llvm/Transforms/Instrumentation/AddressSanitizer.h | 1 + .../llvm/Transforms/Instrumentation/AddressSanitizerCommon.h | 1 + .../llvm/Transforms/Instrumentation/BlockCoverageInference.h | 1 + llvm/include/llvm/Transforms/Instrumentation/BoundsChecking.h | 1 + llvm/include/llvm/Transforms/Instrumentation/CFGMST.h | 1 + llvm/include/llvm/Transforms/Instrumentation/CGProfile.h | 1 + .../llvm/Transforms/Instrumentation/ControlHeightReduction.h | 1 + .../llvm/Transforms/Instrumentation/DataFlowSanitizer.h | 1 + llvm/include/llvm/Transforms/Instrumentation/GCOVProfiler.h | 1 + .../llvm/Transforms/Instrumentation/HWAddressSanitizer.h | 1 + llvm/include/llvm/Transforms/Instrumentation/InstrOrderFile.h | 1 + llvm/include/llvm/Transforms/Instrumentation/InstrProfiling.h | 1 + llvm/include/llvm/Transforms/Instrumentation/KCFI.h | 1 + llvm/include/llvm/Transforms/Instrumentation/MemProfiler.h | 1 + llvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h | 1 + .../llvm/Transforms/Instrumentation/PGOInstrumentation.h | 1 + llvm/include/llvm/Transforms/Instrumentation/PoisonChecking.h | 1 + .../llvm/Transforms/Instrumentation/SanitizerBinaryMetadata.h | 1 + .../llvm/Transforms/Instrumentation/SanitizerCoverage.h | 1 + llvm/include/llvm/Transforms/Instrumentation/ThreadSanitizer.h | 1 + llvm/include/llvm/Transforms/ObjCARC.h | 1 + llvm/include/llvm/Transforms/Scalar.h | 1 + llvm/include/llvm/Transforms/Scalar/ADCE.h | 1 + llvm/include/llvm/Transforms/Scalar/AlignmentFromAssumptions.h | 1 + llvm/include/llvm/Transforms/Scalar/AnnotationRemarks.h | 1 + llvm/include/llvm/Transforms/Scalar/BDCE.h | 1 + llvm/include/llvm/Transforms/Scalar/CallSiteSplitting.h | 1 + llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h | 1 + llvm/include/llvm/Transforms/Scalar/ConstraintElimination.h | 1 + .../llvm/Transforms/Scalar/CorrelatedValuePropagation.h | 1 + llvm/include/llvm/Transforms/Scalar/DCE.h | 1 + llvm/include/llvm/Transforms/Scalar/DFAJumpThreading.h | 1 + llvm/include/llvm/Transforms/Scalar/DeadStoreElimination.h | 1 + llvm/include/llvm/Transforms/Scalar/DivRemPairs.h | 1 + llvm/include/llvm/Transforms/Scalar/EarlyCSE.h | 1 + llvm/include/llvm/Transforms/Scalar/FlattenCFG.h | 1 + llvm/include/llvm/Transforms/Scalar/Float2Int.h | 1 + llvm/include/llvm/Transforms/Scalar/GuardWidening.h | 1 + llvm/include/llvm/Transforms/Scalar/IVUsersPrinter.h | 1 + llvm/include/llvm/Transforms/Scalar/IndVarSimplify.h | 1 + .../llvm/Transforms/Scalar/InductiveRangeCheckElimination.h | 1 + llvm/include/llvm/Transforms/Scalar/InferAddressSpaces.h | 1 + llvm/include/llvm/Transforms/Scalar/InstSimplifyPass.h | 1 + llvm/include/llvm/Transforms/Scalar/JumpThreading.h | 1 + llvm/include/llvm/Transforms/Scalar/LICM.h | 1 + .../include/llvm/Transforms/Scalar/LoopAccessAnalysisPrinter.h | 1 + llvm/include/llvm/Transforms/Scalar/LoopBoundSplit.h | 1 + llvm/include/llvm/Transforms/Scalar/LoopDataPrefetch.h | 1 + llvm/include/llvm/Transforms/Scalar/LoopDeletion.h | 1 + llvm/include/llvm/Transforms/Scalar/LoopDistribute.h | 1 + llvm/include/llvm/Transforms/Scalar/LoopFlatten.h | 1 + llvm/include/llvm/Transforms/Scalar/LoopFuse.h | 1 + llvm/include/llvm/Transforms/Scalar/LoopIdiomRecognize.h | 1 + llvm/include/llvm/Transforms/Scalar/LoopInstSimplify.h | 1 + llvm/include/llvm/Transforms/Scalar/LoopInterchange.h | 1 + llvm/include/llvm/Transforms/Scalar/LoopLoadElimination.h | 1 + llvm/include/llvm/Transforms/Scalar/LoopPassManager.h | 1 + llvm/include/llvm/Transforms/Scalar/LoopPredication.h | 1 + llvm/include/llvm/Transforms/Scalar/LoopReroll.h | 1 + llvm/include/llvm/Transforms/Scalar/LoopRotation.h | 1 + llvm/include/llvm/Transforms/Scalar/LoopSimplifyCFG.h | 1 + llvm/include/llvm/Transforms/Scalar/LoopSink.h | 1 + llvm/include/llvm/Transforms/Scalar/LoopStrengthReduce.h | 1 + llvm/include/llvm/Transforms/Scalar/LoopUnrollAndJamPass.h | 1 + llvm/include/llvm/Transforms/Scalar/LoopUnrollPass.h | 1 + llvm/include/llvm/Transforms/Scalar/LoopVersioningLICM.h | 1 + llvm/include/llvm/Transforms/Scalar/LowerAtomicPass.h | 1 + llvm/include/llvm/Transforms/Scalar/LowerConstantIntrinsics.h | 1 + llvm/include/llvm/Transforms/Scalar/LowerExpectIntrinsic.h | 1 + llvm/include/llvm/Transforms/Scalar/LowerGuardIntrinsic.h | 1 + llvm/include/llvm/Transforms/Scalar/LowerMatrixIntrinsics.h | 1 + llvm/include/llvm/Transforms/Scalar/LowerWidenableCondition.h | 1 + llvm/include/llvm/Transforms/Scalar/MakeGuardsExplicit.h | 1 + llvm/include/llvm/Transforms/Scalar/MemCpyOptimizer.h | 1 + llvm/include/llvm/Transforms/Scalar/MergeICmps.h | 1 + llvm/include/llvm/Transforms/Scalar/MergedLoadStoreMotion.h | 1 + llvm/include/llvm/Transforms/Scalar/NaryReassociate.h | 1 + llvm/include/llvm/Transforms/Scalar/NewGVN.h | 1 + llvm/include/llvm/Transforms/Scalar/PartiallyInlineLibCalls.h | 1 + llvm/include/llvm/Transforms/Scalar/PlaceSafepoints.h | 1 + llvm/include/llvm/Transforms/Scalar/Reassociate.h | 1 + llvm/include/llvm/Transforms/Scalar/Reg2Mem.h | 1 + llvm/include/llvm/Transforms/Scalar/RewriteStatepointsForGC.h | 1 + llvm/include/llvm/Transforms/Scalar/SCCP.h | 1 + llvm/include/llvm/Transforms/Scalar/SROA.h | 1 + llvm/include/llvm/Transforms/Scalar/ScalarizeMaskedMemIntrin.h | 1 + llvm/include/llvm/Transforms/Scalar/Scalarizer.h | 1 + .../llvm/Transforms/Scalar/SeparateConstOffsetFromGEP.h | 1 + llvm/include/llvm/Transforms/Scalar/SimpleLoopUnswitch.h | 1 + llvm/include/llvm/Transforms/Scalar/SimplifyCFG.h | 1 + llvm/include/llvm/Transforms/Scalar/Sink.h | 1 + llvm/include/llvm/Transforms/Scalar/SpeculativeExecution.h | 1 + .../llvm/Transforms/Scalar/StraightLineStrengthReduce.h | 1 + llvm/include/llvm/Transforms/Scalar/StructurizeCFG.h | 1 + llvm/include/llvm/Transforms/Scalar/TLSVariableHoist.h | 1 + llvm/include/llvm/Transforms/Scalar/TailRecursionElimination.h | 1 + llvm/include/llvm/Transforms/Scalar/WarnMissedTransforms.h | 1 + llvm/include/llvm/Transforms/Utils.h | 2 ++ llvm/include/llvm/Transforms/Utils/AMDGPUEmitPrintf.h | 1 + llvm/include/llvm/Transforms/Utils/ASanStackFrameLayout.h | 1 + llvm/include/llvm/Transforms/Utils/AddDiscriminators.h | 1 + llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h | 1 + llvm/include/llvm/Transforms/Utils/BreakCriticalEdges.h | 1 + llvm/include/llvm/Transforms/Utils/BuildLibCalls.h | 1 + llvm/include/llvm/Transforms/Utils/BypassSlowDivision.h | 1 + llvm/include/llvm/Transforms/Utils/CallGraphUpdater.h | 1 + llvm/include/llvm/Transforms/Utils/CallPromotionUtils.h | 2 ++ llvm/include/llvm/Transforms/Utils/CanonicalizeAliases.h | 1 + llvm/include/llvm/Transforms/Utils/CanonicalizeFreezeInLoops.h | 1 + llvm/include/llvm/Transforms/Utils/Cloning.h | 1 + llvm/include/llvm/Transforms/Utils/CodeExtractor.h | 1 + llvm/include/llvm/Transforms/Utils/CodeLayout.h | 1 + llvm/include/llvm/Transforms/Utils/CodeMoverUtils.h | 2 ++ llvm/include/llvm/Transforms/Utils/CountVisits.h | 1 + llvm/include/llvm/Transforms/Utils/CtorUtils.h | 1 + llvm/include/llvm/Transforms/Utils/Debugify.h | 1 + llvm/include/llvm/Transforms/Utils/EntryExitInstrumenter.h | 1 + llvm/include/llvm/Transforms/Utils/EscapeEnumerator.h | 1 + llvm/include/llvm/Transforms/Utils/Evaluator.h | 1 + llvm/include/llvm/Transforms/Utils/FixIrreducible.h | 1 + llvm/include/llvm/Transforms/Utils/FunctionComparator.h | 1 + llvm/include/llvm/Transforms/Utils/FunctionImportUtils.h | 1 + llvm/include/llvm/Transforms/Utils/GlobalStatus.h | 1 + llvm/include/llvm/Transforms/Utils/GuardUtils.h | 2 ++ llvm/include/llvm/Transforms/Utils/HelloWorld.h | 1 + llvm/include/llvm/Transforms/Utils/InjectTLIMappings.h | 1 + llvm/include/llvm/Transforms/Utils/InstructionNamer.h | 1 + llvm/include/llvm/Transforms/Utils/IntegerDivision.h | 2 ++ llvm/include/llvm/Transforms/Utils/LCSSA.h | 1 + llvm/include/llvm/Transforms/Utils/LibCallsShrinkWrap.h | 1 + llvm/include/llvm/Transforms/Utils/Local.h | 1 + llvm/include/llvm/Transforms/Utils/LoopPeel.h | 1 + llvm/include/llvm/Transforms/Utils/LoopRotationUtils.h | 2 ++ llvm/include/llvm/Transforms/Utils/LoopSimplify.h | 1 + llvm/include/llvm/Transforms/Utils/LoopUtils.h | 1 + llvm/include/llvm/Transforms/Utils/LoopVersioning.h | 1 + llvm/include/llvm/Transforms/Utils/LowerAtomic.h | 1 + llvm/include/llvm/Transforms/Utils/LowerGlobalDtors.h | 1 + llvm/include/llvm/Transforms/Utils/LowerIFunc.h | 1 + llvm/include/llvm/Transforms/Utils/LowerInvoke.h | 1 + llvm/include/llvm/Transforms/Utils/LowerMemIntrinsics.h | 1 + llvm/include/llvm/Transforms/Utils/LowerSwitch.h | 1 + llvm/include/llvm/Transforms/Utils/MatrixUtils.h | 1 + llvm/include/llvm/Transforms/Utils/Mem2Reg.h | 1 + llvm/include/llvm/Transforms/Utils/MemoryOpRemark.h | 1 + llvm/include/llvm/Transforms/Utils/MemoryTaggingSupport.h | 1 + llvm/include/llvm/Transforms/Utils/MetaRenamer.h | 1 + llvm/include/llvm/Transforms/Utils/MisExpect.h | 1 + llvm/include/llvm/Transforms/Utils/ModuleUtils.h | 1 + llvm/include/llvm/Transforms/Utils/MoveAutoInit.h | 1 + llvm/include/llvm/Transforms/Utils/NameAnonGlobals.h | 1 + llvm/include/llvm/Transforms/Utils/PredicateInfo.h | 1 + llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h | 2 ++ llvm/include/llvm/Transforms/Utils/RelLookupTableConverter.h | 1 + llvm/include/llvm/Transforms/Utils/SCCPSolver.h | 1 + llvm/include/llvm/Transforms/Utils/SSAUpdater.h | 1 + llvm/include/llvm/Transforms/Utils/SSAUpdaterBulk.h | 1 + llvm/include/llvm/Transforms/Utils/SSAUpdaterImpl.h | 1 + llvm/include/llvm/Transforms/Utils/SampleProfileInference.h | 1 + .../llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h | 1 + .../llvm/Transforms/Utils/SampleProfileLoaderBaseUtil.h | 1 + llvm/include/llvm/Transforms/Utils/SanitizerStats.h | 1 + llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h | 1 + llvm/include/llvm/Transforms/Utils/SimplifyCFGOptions.h | 2 ++ llvm/include/llvm/Transforms/Utils/SimplifyIndVar.h | 2 ++ llvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h | 1 + llvm/include/llvm/Transforms/Utils/SizeOpts.h | 1 + llvm/include/llvm/Transforms/Utils/SplitModule.h | 1 + llvm/include/llvm/Transforms/Utils/StripGCRelocates.h | 1 + .../include/llvm/Transforms/Utils/StripNonLineTableDebugInfo.h | 1 + llvm/include/llvm/Transforms/Utils/SymbolRewriter.h | 1 + llvm/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h | 1 + llvm/include/llvm/Transforms/Utils/UnifyLoopExits.h | 1 + llvm/include/llvm/Transforms/Utils/UnrollLoop.h | 1 + llvm/include/llvm/Transforms/Utils/VNCoercion.h | 2 ++ llvm/include/llvm/Transforms/Utils/ValueMapper.h | 1 + llvm/include/llvm/Transforms/Vectorize/LoadStoreVectorizer.h | 1 + .../llvm/Transforms/Vectorize/LoopVectorizationLegality.h | 1 + llvm/include/llvm/Transforms/Vectorize/LoopVectorize.h | 1 + llvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h | 1 + llvm/include/llvm/Transforms/Vectorize/VectorCombine.h | 1 + llvm/include/llvm/WindowsDriver/MSVCPaths.h | 1 + llvm/include/llvm/WindowsManifest/WindowsManifestMerger.h | 1 + llvm/include/llvm/XRay/BlockIndexer.h | 1 + llvm/include/llvm/XRay/BlockPrinter.h | 1 + llvm/include/llvm/XRay/BlockVerifier.h | 1 + llvm/include/llvm/XRay/FDRRecordConsumer.h | 1 + llvm/include/llvm/XRay/FDRRecordProducer.h | 1 + llvm/include/llvm/XRay/FDRRecords.h | 1 + llvm/include/llvm/XRay/FDRTraceExpander.h | 1 + llvm/include/llvm/XRay/FDRTraceWriter.h | 1 + llvm/include/llvm/XRay/FileHeaderReader.h | 1 + llvm/include/llvm/XRay/InstrumentationMap.h | 1 + llvm/include/llvm/XRay/Profile.h | 1 + llvm/include/llvm/XRay/RecordPrinter.h | 1 + llvm/include/llvm/XRay/Trace.h | 1 + llvm/include/llvm/XRay/XRayRecord.h | 1 + llvm/include/llvm/XRay/YAMLXRayRecord.h | 1 + 1544 files changed, 1602 insertions(+) diff --git a/llvm/include/llvm-c/Analysis.h b/llvm/include/llvm-c/Analysis.h index 270b145a4d27e2..e515ef311aee3e 100644 --- a/llvm/include/llvm-c/Analysis.h +++ b/llvm/include/llvm-c/Analysis.h @@ -19,6 +19,7 @@ #ifndef LLVM_C_ANALYSIS_H #define LLVM_C_ANALYSIS_H +#include "llvm/Support/Compiler.h" #include "llvm-c/ExternC.h" #include "llvm-c/Types.h" diff --git a/llvm/include/llvm-c/BitReader.h b/llvm/include/llvm-c/BitReader.h index 088107468d4fbc..1a960118979a22 100644 --- a/llvm/include/llvm-c/BitReader.h +++ b/llvm/include/llvm-c/BitReader.h @@ -19,6 +19,7 @@ #ifndef LLVM_C_BITREADER_H #define LLVM_C_BITREADER_H +#include "llvm/Support/Compiler.h" #include "llvm-c/ExternC.h" #include "llvm-c/Types.h" diff --git a/llvm/include/llvm-c/BitWriter.h b/llvm/include/llvm-c/BitWriter.h index ea84b6593d1261..5baba8cbe7cf45 100644 --- a/llvm/include/llvm-c/BitWriter.h +++ b/llvm/include/llvm-c/BitWriter.h @@ -19,6 +19,7 @@ #ifndef LLVM_C_BITWRITER_H #define LLVM_C_BITWRITER_H +#include "llvm/Support/Compiler.h" #include "llvm-c/ExternC.h" #include "llvm-c/Types.h" diff --git a/llvm/include/llvm-c/Comdat.h b/llvm/include/llvm-c/Comdat.h index 8002bc0581af75..8ef628366cf36e 100644 --- a/llvm/include/llvm-c/Comdat.h +++ b/llvm/include/llvm-c/Comdat.h @@ -16,6 +16,7 @@ #include "llvm-c/ExternC.h" #include "llvm-c/Types.h" +#include "llvm/Support/Compiler.h" LLVM_C_EXTERN_C_BEGIN diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h index ceeb74bd4e6fa9..03395be17481eb 100644 --- a/llvm/include/llvm-c/Core.h +++ b/llvm/include/llvm-c/Core.h @@ -15,6 +15,7 @@ #ifndef LLVM_C_CORE_H #define LLVM_C_CORE_H +#include "llvm/Support/Compiler.h" #include "llvm-c/Deprecated.h" #include "llvm-c/ErrorHandling.h" #include "llvm-c/ExternC.h" diff --git a/llvm/include/llvm-c/DebugInfo.h b/llvm/include/llvm-c/DebugInfo.h index 5924294708cc35..dc0e7432db6f96 100644 --- a/llvm/include/llvm-c/DebugInfo.h +++ b/llvm/include/llvm-c/DebugInfo.h @@ -16,6 +16,7 @@ #ifndef LLVM_C_DEBUGINFO_H #define LLVM_C_DEBUGINFO_H +#include "llvm/Support/Compiler.h" #include "llvm-c/ExternC.h" #include "llvm-c/Types.h" diff --git a/llvm/include/llvm-c/Disassembler.h b/llvm/include/llvm-c/Disassembler.h index b1cb35da6687a8..8f832318f9d167 100644 --- a/llvm/include/llvm-c/Disassembler.h +++ b/llvm/include/llvm-c/Disassembler.h @@ -15,6 +15,7 @@ #ifndef LLVM_C_DISASSEMBLER_H #define LLVM_C_DISASSEMBLER_H +#include "llvm/Support/Compiler.h" #include "llvm-c/DisassemblerTypes.h" #include "llvm-c/ExternC.h" diff --git a/llvm/include/llvm-c/DisassemblerTypes.h b/llvm/include/llvm-c/DisassemblerTypes.h index 6999a350ec918e..06ebfec6c32ba0 100644 --- a/llvm/include/llvm-c/DisassemblerTypes.h +++ b/llvm/include/llvm-c/DisassemblerTypes.h @@ -10,6 +10,7 @@ #ifndef LLVM_C_DISASSEMBLERTYPES_H #define LLVM_C_DISASSEMBLERTYPES_H +#include "llvm/Support/Compiler.h" #include "llvm-c/DataTypes.h" #ifdef __cplusplus #include diff --git a/llvm/include/llvm-c/Error.h b/llvm/include/llvm-c/Error.h index c3baaf65186aac..9f50496bd15fdd 100644 --- a/llvm/include/llvm-c/Error.h +++ b/llvm/include/llvm-c/Error.h @@ -15,6 +15,7 @@ #define LLVM_C_ERROR_H #include "llvm-c/ExternC.h" +#include "llvm/Support/Compiler.h" LLVM_C_EXTERN_C_BEGIN diff --git a/llvm/include/llvm-c/ExecutionEngine.h b/llvm/include/llvm-c/ExecutionEngine.h index c5fc9bdb4d07f6..ba8353b4796f16 100644 --- a/llvm/include/llvm-c/ExecutionEngine.h +++ b/llvm/include/llvm-c/ExecutionEngine.h @@ -19,6 +19,7 @@ #ifndef LLVM_C_EXECUTIONENGINE_H #define LLVM_C_EXECUTIONENGINE_H +#include "llvm/Support/Compiler.h" #include "llvm-c/ExternC.h" #include "llvm-c/Target.h" #include "llvm-c/TargetMachine.h" diff --git a/llvm/include/llvm-c/IRReader.h b/llvm/include/llvm-c/IRReader.h index 905b84fa5a8693..629dce58971572 100644 --- a/llvm/include/llvm-c/IRReader.h +++ b/llvm/include/llvm-c/IRReader.h @@ -14,6 +14,7 @@ #ifndef LLVM_C_IRREADER_H #define LLVM_C_IRREADER_H +#include "llvm/Support/Compiler.h" #include "llvm-c/ExternC.h" #include "llvm-c/Types.h" diff --git a/llvm/include/llvm-c/LLJIT.h b/llvm/include/llvm-c/LLJIT.h index a06133aac4fb06..961bf2daa909f1 100644 --- a/llvm/include/llvm-c/LLJIT.h +++ b/llvm/include/llvm-c/LLJIT.h @@ -24,6 +24,7 @@ #ifndef LLVM_C_LLJIT_H #define LLVM_C_LLJIT_H +#include "llvm/Support/Compiler.h" #include "llvm-c/Error.h" #include "llvm-c/Orc.h" #include "llvm-c/TargetMachine.h" diff --git a/llvm/include/llvm-c/Linker.h b/llvm/include/llvm-c/Linker.h index acff5d5e222531..f13a5fbea67e16 100644 --- a/llvm/include/llvm-c/Linker.h +++ b/llvm/include/llvm-c/Linker.h @@ -14,6 +14,7 @@ #ifndef LLVM_C_LINKER_H #define LLVM_C_LINKER_H +#include "llvm/Support/Compiler.h" #include "llvm-c/ExternC.h" #include "llvm-c/Types.h" diff --git a/llvm/include/llvm-c/Object.h b/llvm/include/llvm-c/Object.h index f422c1ad224d25..709609df2460af 100644 --- a/llvm/include/llvm-c/Object.h +++ b/llvm/include/llvm-c/Object.h @@ -19,6 +19,7 @@ #ifndef LLVM_C_OBJECT_H #define LLVM_C_OBJECT_H +#include "llvm/Support/Compiler.h" #include "llvm-c/ExternC.h" #include "llvm-c/Types.h" #include "llvm/Config/llvm-config.h" diff --git a/llvm/include/llvm-c/Orc.h b/llvm/include/llvm-c/Orc.h index a40b17b712fb3f..d0b4f15d117fb9 100644 --- a/llvm/include/llvm-c/Orc.h +++ b/llvm/include/llvm-c/Orc.h @@ -27,6 +27,7 @@ #ifndef LLVM_C_ORC_H #define LLVM_C_ORC_H +#include "llvm/Support/Compiler.h" #include "llvm-c/Error.h" #include "llvm-c/TargetMachine.h" #include "llvm-c/Types.h" diff --git a/llvm/include/llvm-c/OrcEE.h b/llvm/include/llvm-c/OrcEE.h index d451187aaef59b..1b7a8dbe2bb16a 100644 --- a/llvm/include/llvm-c/OrcEE.h +++ b/llvm/include/llvm-c/OrcEE.h @@ -24,6 +24,7 @@ #ifndef LLVM_C_ORCEE_H #define LLVM_C_ORCEE_H +#include "llvm/Support/Compiler.h" #include "llvm-c/Error.h" #include "llvm-c/ExecutionEngine.h" #include "llvm-c/Orc.h" diff --git a/llvm/include/llvm-c/Remarks.h b/llvm/include/llvm-c/Remarks.h index ffe647a6554aab..e19b604829f271 100644 --- a/llvm/include/llvm-c/Remarks.h +++ b/llvm/include/llvm-c/Remarks.h @@ -15,6 +15,7 @@ #ifndef LLVM_C_REMARKS_H #define LLVM_C_REMARKS_H +#include "llvm/Support/Compiler.h" #include "llvm-c/ExternC.h" #include "llvm-c/Types.h" #ifdef __cplusplus diff --git a/llvm/include/llvm-c/Support.h b/llvm/include/llvm-c/Support.h index 17657861b32b92..41feb25f66b311 100644 --- a/llvm/include/llvm-c/Support.h +++ b/llvm/include/llvm-c/Support.h @@ -14,6 +14,7 @@ #ifndef LLVM_C_SUPPORT_H #define LLVM_C_SUPPORT_H +#include "llvm/Support/Compiler.h" #include "llvm-c/DataTypes.h" #include "llvm-c/ExternC.h" #include "llvm-c/Types.h" diff --git a/llvm/include/llvm-c/Target.h b/llvm/include/llvm-c/Target.h index 518b46d55bc3c9..53baef1da485b6 100644 --- a/llvm/include/llvm-c/Target.h +++ b/llvm/include/llvm-c/Target.h @@ -19,6 +19,7 @@ #ifndef LLVM_C_TARGET_H #define LLVM_C_TARGET_H +#include "llvm/Support/Compiler.h" #include "llvm-c/ExternC.h" #include "llvm-c/Types.h" #include "llvm/Config/llvm-config.h" diff --git a/llvm/include/llvm-c/TargetMachine.h b/llvm/include/llvm-c/TargetMachine.h index cbe8913803e020..84119def3a90b0 100644 --- a/llvm/include/llvm-c/TargetMachine.h +++ b/llvm/include/llvm-c/TargetMachine.h @@ -19,6 +19,7 @@ #ifndef LLVM_C_TARGETMACHINE_H #define LLVM_C_TARGETMACHINE_H +#include "llvm/Support/Compiler.h" #include "llvm-c/ExternC.h" #include "llvm-c/Target.h" #include "llvm-c/Types.h" diff --git a/llvm/include/llvm-c/Transforms/PassBuilder.h b/llvm/include/llvm-c/Transforms/PassBuilder.h index d0466dd7fc0a12..b6055c25c5f115 100644 --- a/llvm/include/llvm-c/Transforms/PassBuilder.h +++ b/llvm/include/llvm-c/Transforms/PassBuilder.h @@ -14,6 +14,7 @@ #ifndef LLVM_C_TRANSFORMS_PASSBUILDER_H #define LLVM_C_TRANSFORMS_PASSBUILDER_H +#include "llvm/Support/Compiler.h" #include "llvm-c/Error.h" #include "llvm-c/TargetMachine.h" #include "llvm-c/Types.h" diff --git a/llvm/include/llvm-c/blake3.h b/llvm/include/llvm-c/blake3.h index 679477c3aa7f08..f4a98b4218f885 100644 --- a/llvm/include/llvm-c/blake3.h +++ b/llvm/include/llvm-c/blake3.h @@ -17,6 +17,7 @@ #ifndef LLVM_C_BLAKE3_H #define LLVM_C_BLAKE3_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm-c/lto.h b/llvm/include/llvm-c/lto.h index 5ceb02224d2bba..087a6bd09a80e2 100644 --- a/llvm/include/llvm-c/lto.h +++ b/llvm/include/llvm-c/lto.h @@ -16,6 +16,7 @@ #ifndef LLVM_C_LTO_H #define LLVM_C_LTO_H +#include "llvm/Support/Compiler.h" #include "llvm-c/ExternC.h" #ifdef __cplusplus diff --git a/llvm/include/llvm/ADT/APFixedPoint.h b/llvm/include/llvm/ADT/APFixedPoint.h index 5442968d20e4af..22a08633a856b5 100644 --- a/llvm/include/llvm/ADT/APFixedPoint.h +++ b/llvm/include/llvm/ADT/APFixedPoint.h @@ -20,6 +20,7 @@ #include "llvm/ADT/DenseMapInfo.h" #include "llvm/ADT/Hashing.h" #include "llvm/ADT/SmallString.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" namespace llvm { diff --git a/llvm/include/llvm/ADT/APFloat.h b/llvm/include/llvm/ADT/APFloat.h index 8c247bbcec90a2..1f629de1361e74 100644 --- a/llvm/include/llvm/ADT/APFloat.h +++ b/llvm/include/llvm/ADT/APFloat.h @@ -18,6 +18,7 @@ #include "llvm/ADT/APInt.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/FloatingPointMode.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include diff --git a/llvm/include/llvm/ADT/APSInt.h b/llvm/include/llvm/ADT/APSInt.h index 90b988875a24dc..a7201cdcb70880 100644 --- a/llvm/include/llvm/ADT/APSInt.h +++ b/llvm/include/llvm/ADT/APSInt.h @@ -16,6 +16,7 @@ #define LLVM_ADT_APSINT_H #include "llvm/ADT/APInt.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/ADT/AddressRanges.h b/llvm/include/llvm/ADT/AddressRanges.h index 415d30bbb5cf9b..3990870cc13a26 100644 --- a/llvm/include/llvm/ADT/AddressRanges.h +++ b/llvm/include/llvm/ADT/AddressRanges.h @@ -11,6 +11,7 @@ #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/ADT/AllocatorList.h b/llvm/include/llvm/ADT/AllocatorList.h index 04d0afc9d076e6..dee561a55b0047 100644 --- a/llvm/include/llvm/ADT/AllocatorList.h +++ b/llvm/include/llvm/ADT/AllocatorList.h @@ -13,6 +13,7 @@ #include "llvm/ADT/iterator.h" #include "llvm/ADT/simple_ilist.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/ADT/BitVector.h b/llvm/include/llvm/ADT/BitVector.h index e0de1afcc94182..21dfc981029ce3 100644 --- a/llvm/include/llvm/ADT/BitVector.h +++ b/llvm/include/llvm/ADT/BitVector.h @@ -17,6 +17,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/DenseMapInfo.h" #include "llvm/ADT/iterator_range.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MathExtras.h" #include #include diff --git a/llvm/include/llvm/ADT/Bitfields.h b/llvm/include/llvm/ADT/Bitfields.h index 4064d716f8a774..6e14208448f484 100644 --- a/llvm/include/llvm/ADT/Bitfields.h +++ b/llvm/include/llvm/ADT/Bitfields.h @@ -79,6 +79,7 @@ #ifndef LLVM_ADT_BITFIELDS_H #define LLVM_ADT_BITFIELDS_H +#include "llvm/Support/Compiler.h" #include #include // CHAR_BIT #include // size_t diff --git a/llvm/include/llvm/ADT/BitmaskEnum.h b/llvm/include/llvm/ADT/BitmaskEnum.h index 5fe724d80c3302..8d07decdde656d 100644 --- a/llvm/include/llvm/ADT/BitmaskEnum.h +++ b/llvm/include/llvm/ADT/BitmaskEnum.h @@ -14,6 +14,7 @@ #include #include "llvm/ADT/STLForwardCompat.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MathExtras.h" /// LLVM_MARK_AS_BITMASK_ENUM lets you opt in an individual enum type so you can diff --git a/llvm/include/llvm/ADT/BreadthFirstIterator.h b/llvm/include/llvm/ADT/BreadthFirstIterator.h index 29e96693c4d1ae..cebaf9eec709a7 100644 --- a/llvm/include/llvm/ADT/BreadthFirstIterator.h +++ b/llvm/include/llvm/ADT/BreadthFirstIterator.h @@ -21,6 +21,7 @@ #include "llvm/ADT/GraphTraits.h" #include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/iterator_range.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/ADT/CachedHashString.h b/llvm/include/llvm/ADT/CachedHashString.h index ebd40e3207156a..ea44cb0cb8784e 100644 --- a/llvm/include/llvm/ADT/CachedHashString.h +++ b/llvm/include/llvm/ADT/CachedHashString.h @@ -22,6 +22,7 @@ #include "llvm/ADT/DenseMapInfo.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/ADT/CoalescingBitVector.h b/llvm/include/llvm/ADT/CoalescingBitVector.h index 4940bc1c2c18b2..0cf1eda9a9259a 100644 --- a/llvm/include/llvm/ADT/CoalescingBitVector.h +++ b/llvm/include/llvm/ADT/CoalescingBitVector.h @@ -19,6 +19,7 @@ #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/iterator_range.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/ADT/ConcurrentHashtable.h b/llvm/include/llvm/ADT/ConcurrentHashtable.h index a07688228da187..e6d506097c38f6 100644 --- a/llvm/include/llvm/ADT/ConcurrentHashtable.h +++ b/llvm/include/llvm/ADT/ConcurrentHashtable.h @@ -15,6 +15,7 @@ #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SmallVector.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include "llvm/Support/Parallel.h" #include "llvm/Support/WithColor.h" diff --git a/llvm/include/llvm/ADT/DAGDeltaAlgorithm.h b/llvm/include/llvm/ADT/DAGDeltaAlgorithm.h index c3872af2a0b4ec..3d733c2a4a62f6 100644 --- a/llvm/include/llvm/ADT/DAGDeltaAlgorithm.h +++ b/llvm/include/llvm/ADT/DAGDeltaAlgorithm.h @@ -8,6 +8,7 @@ #ifndef LLVM_ADT_DAGDELTAALGORITHM_H #define LLVM_ADT_DAGDELTAALGORITHM_H +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/ADT/DeltaAlgorithm.h b/llvm/include/llvm/ADT/DeltaAlgorithm.h index e1743fd001968b..a9843177662d46 100644 --- a/llvm/include/llvm/ADT/DeltaAlgorithm.h +++ b/llvm/include/llvm/ADT/DeltaAlgorithm.h @@ -8,6 +8,7 @@ #ifndef LLVM_ADT_DELTAALGORITHM_H #define LLVM_ADT_DELTAALGORITHM_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/ADT/DenseMapInfo.h b/llvm/include/llvm/ADT/DenseMapInfo.h index 5b7dce7b53c62f..d97ff7ecc985df 100644 --- a/llvm/include/llvm/ADT/DenseMapInfo.h +++ b/llvm/include/llvm/ADT/DenseMapInfo.h @@ -14,6 +14,7 @@ #ifndef LLVM_ADT_DENSEMAPINFO_H #define LLVM_ADT_DENSEMAPINFO_H +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/ADT/DenseSet.h b/llvm/include/llvm/ADT/DenseSet.h index b89c88626e43bb..bd08a419bb7323 100644 --- a/llvm/include/llvm/ADT/DenseSet.h +++ b/llvm/include/llvm/ADT/DenseSet.h @@ -16,6 +16,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/DenseMapInfo.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MathExtras.h" #include "llvm/Support/type_traits.h" #include diff --git a/llvm/include/llvm/ADT/DepthFirstIterator.h b/llvm/include/llvm/ADT/DepthFirstIterator.h index 71053c2d0d8a8e..4f93c91576d38d 100644 --- a/llvm/include/llvm/ADT/DepthFirstIterator.h +++ b/llvm/include/llvm/ADT/DepthFirstIterator.h @@ -37,6 +37,7 @@ #include "llvm/ADT/GraphTraits.h" #include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/iterator_range.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/ADT/DirectedGraph.h b/llvm/include/llvm/ADT/DirectedGraph.h index 83c0bea6393c4d..dd012b8b5df806 100644 --- a/llvm/include/llvm/ADT/DirectedGraph.h +++ b/llvm/include/llvm/ADT/DirectedGraph.h @@ -18,6 +18,7 @@ #include "llvm/ADT/GraphTraits.h" #include "llvm/ADT/SetVector.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/ADT/EnumeratedArray.h b/llvm/include/llvm/ADT/EnumeratedArray.h index fd0700c8e408a0..47921d079e29b6 100644 --- a/llvm/include/llvm/ADT/EnumeratedArray.h +++ b/llvm/include/llvm/ADT/EnumeratedArray.h @@ -15,6 +15,7 @@ #ifndef LLVM_ADT_ENUMERATEDARRAY_H #define LLVM_ADT_ENUMERATEDARRAY_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/ADT/EpochTracker.h b/llvm/include/llvm/ADT/EpochTracker.h index fc41d6f2c92d2f..5efb46f7033981 100644 --- a/llvm/include/llvm/ADT/EpochTracker.h +++ b/llvm/include/llvm/ADT/EpochTracker.h @@ -17,6 +17,7 @@ #define LLVM_ADT_EPOCHTRACKER_H #include "llvm/Config/abi-breaking.h" +#include "llvm/Support/Compiler.h" #include diff --git a/llvm/include/llvm/ADT/EquivalenceClasses.h b/llvm/include/llvm/ADT/EquivalenceClasses.h index 4f98b84cf97d24..4feda9cb4784f7 100644 --- a/llvm/include/llvm/ADT/EquivalenceClasses.h +++ b/llvm/include/llvm/ADT/EquivalenceClasses.h @@ -15,6 +15,7 @@ #ifndef LLVM_ADT_EQUIVALENCECLASSES_H #define LLVM_ADT_EQUIVALENCECLASSES_H +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/ADT/FloatingPointMode.h b/llvm/include/llvm/ADT/FloatingPointMode.h index 468de085d1bede..64ebf0c1a18979 100644 --- a/llvm/include/llvm/ADT/FloatingPointMode.h +++ b/llvm/include/llvm/ADT/FloatingPointMode.h @@ -17,6 +17,7 @@ #include "llvm/ADT/BitmaskEnum.h" #include "llvm/ADT/StringSwitch.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" namespace llvm { diff --git a/llvm/include/llvm/ADT/FoldingSet.h b/llvm/include/llvm/ADT/FoldingSet.h index f82eabd5044b22..6af11c3c652ff7 100644 --- a/llvm/include/llvm/ADT/FoldingSet.h +++ b/llvm/include/llvm/ADT/FoldingSet.h @@ -21,6 +21,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/iterator.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/ADT/FunctionExtras.h b/llvm/include/llvm/ADT/FunctionExtras.h index 4cf1de488c7bde..37d3031cd7064d 100644 --- a/llvm/include/llvm/ADT/FunctionExtras.h +++ b/llvm/include/llvm/ADT/FunctionExtras.h @@ -35,6 +35,7 @@ #include "llvm/ADT/PointerIntPair.h" #include "llvm/ADT/PointerUnion.h" #include "llvm/ADT/STLForwardCompat.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MemAlloc.h" #include "llvm/Support/type_traits.h" #include diff --git a/llvm/include/llvm/ADT/GenericCycleImpl.h b/llvm/include/llvm/ADT/GenericCycleImpl.h index 74faff98b90338..d0799b5cca5ae5 100644 --- a/llvm/include/llvm/ADT/GenericCycleImpl.h +++ b/llvm/include/llvm/ADT/GenericCycleImpl.h @@ -26,6 +26,7 @@ #include "llvm/ADT/DenseSet.h" #include "llvm/ADT/DepthFirstIterator.h" #include "llvm/ADT/GenericCycleInfo.h" +#include "llvm/Support/Compiler.h" #define DEBUG_TYPE "generic-cycle-impl" diff --git a/llvm/include/llvm/ADT/GenericCycleInfo.h b/llvm/include/llvm/ADT/GenericCycleInfo.h index 83c4c2759d4689..9cb8f10736e5b1 100644 --- a/llvm/include/llvm/ADT/GenericCycleInfo.h +++ b/llvm/include/llvm/ADT/GenericCycleInfo.h @@ -32,6 +32,7 @@ #include "llvm/ADT/GenericSSAContext.h" #include "llvm/ADT/GraphTraits.h" #include "llvm/ADT/SetVector.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/ADT/GenericSSAContext.h b/llvm/include/llvm/ADT/GenericSSAContext.h index 6aa3a8b9b6e0b6..839a8585a6f959 100644 --- a/llvm/include/llvm/ADT/GenericSSAContext.h +++ b/llvm/include/llvm/ADT/GenericSSAContext.h @@ -17,6 +17,7 @@ #ifndef LLVM_ADT_GENERICSSACONTEXT_H #define LLVM_ADT_GENERICSSACONTEXT_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Printable.h" namespace llvm { diff --git a/llvm/include/llvm/ADT/GenericUniformityImpl.h b/llvm/include/llvm/ADT/GenericUniformityImpl.h index b7d0a1228ebfc0..1af97cb7ba3ffc 100644 --- a/llvm/include/llvm/ADT/GenericUniformityImpl.h +++ b/llvm/include/llvm/ADT/GenericUniformityImpl.h @@ -43,6 +43,7 @@ #include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/SparseBitVector.h" #include "llvm/ADT/StringExtras.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include diff --git a/llvm/include/llvm/ADT/GenericUniformityInfo.h b/llvm/include/llvm/ADT/GenericUniformityInfo.h index e53afccc020b46..44bcef836acc90 100644 --- a/llvm/include/llvm/ADT/GenericUniformityInfo.h +++ b/llvm/include/llvm/ADT/GenericUniformityInfo.h @@ -10,6 +10,7 @@ #define LLVM_ADT_GENERICUNIFORMITYINFO_H #include "llvm/ADT/GenericCycleInfo.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" namespace llvm { diff --git a/llvm/include/llvm/ADT/GraphTraits.h b/llvm/include/llvm/ADT/GraphTraits.h index 3a7773592af3d4..8c131d60dde220 100644 --- a/llvm/include/llvm/ADT/GraphTraits.h +++ b/llvm/include/llvm/ADT/GraphTraits.h @@ -20,6 +20,7 @@ #define LLVM_ADT_GRAPHTRAITS_H #include "llvm/ADT/iterator_range.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/ADT/Hashing.h b/llvm/include/llvm/ADT/Hashing.h index 4e82ba9a6fba2a..67c6c1ed933092 100644 --- a/llvm/include/llvm/ADT/Hashing.h +++ b/llvm/include/llvm/ADT/Hashing.h @@ -44,6 +44,7 @@ #ifndef LLVM_ADT_HASHING_H #define LLVM_ADT_HASHING_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/SwapByteOrder.h" diff --git a/llvm/include/llvm/ADT/IndexedMap.h b/llvm/include/llvm/ADT/IndexedMap.h index b1ebbdd1bfd542..cf9163cbb167f7 100644 --- a/llvm/include/llvm/ADT/IndexedMap.h +++ b/llvm/include/llvm/ADT/IndexedMap.h @@ -23,6 +23,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/identity.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/ADT/IntEqClasses.h b/llvm/include/llvm/ADT/IntEqClasses.h index 9ee8a46be411ee..82faef8436b1b8 100644 --- a/llvm/include/llvm/ADT/IntEqClasses.h +++ b/llvm/include/llvm/ADT/IntEqClasses.h @@ -22,6 +22,7 @@ #define LLVM_ADT_INTEQCLASSES_H #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/ADT/IntervalMap.h b/llvm/include/llvm/ADT/IntervalMap.h index 99bf3087722337..9d9f3cb5a11268 100644 --- a/llvm/include/llvm/ADT/IntervalMap.h +++ b/llvm/include/llvm/ADT/IntervalMap.h @@ -107,6 +107,7 @@ #include "llvm/ADT/PointerIntPair.h" #include "llvm/ADT/SmallVector.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/RecyclingAllocator.h" #include #include diff --git a/llvm/include/llvm/ADT/IntervalTree.h b/llvm/include/llvm/ADT/IntervalTree.h index cb707bd77a64d9..5c040098a46abd 100644 --- a/llvm/include/llvm/ADT/IntervalTree.h +++ b/llvm/include/llvm/ADT/IntervalTree.h @@ -19,6 +19,7 @@ #include "llvm/ADT/SmallSet.h" #include "llvm/ADT/SmallVector.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Format.h" #include "llvm/Support/raw_ostream.h" #include diff --git a/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h b/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h index 90349e02014dd6..3f1cc43cf20ac0 100644 --- a/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h +++ b/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h @@ -60,6 +60,7 @@ #ifndef LLVM_ADT_INTRUSIVEREFCNTPTR_H #define LLVM_ADT_INTRUSIVEREFCNTPTR_H +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/ADT/MapVector.h b/llvm/include/llvm/ADT/MapVector.h index c45779c0ce8e0c..6aee2596be2e1e 100644 --- a/llvm/include/llvm/ADT/MapVector.h +++ b/llvm/include/llvm/ADT/MapVector.h @@ -19,6 +19,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/ADT/PointerEmbeddedInt.h b/llvm/include/llvm/ADT/PointerEmbeddedInt.h index fbc48af79da1ea..3bdefa24747567 100644 --- a/llvm/include/llvm/ADT/PointerEmbeddedInt.h +++ b/llvm/include/llvm/ADT/PointerEmbeddedInt.h @@ -10,6 +10,7 @@ #define LLVM_ADT_POINTEREMBEDDEDINT_H #include "llvm/ADT/DenseMapInfo.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MathExtras.h" #include "llvm/Support/PointerLikeTypeTraits.h" #include diff --git a/llvm/include/llvm/ADT/PointerSumType.h b/llvm/include/llvm/ADT/PointerSumType.h index 57f045035a7847..43226d41843b79 100644 --- a/llvm/include/llvm/ADT/PointerSumType.h +++ b/llvm/include/llvm/ADT/PointerSumType.h @@ -11,6 +11,7 @@ #include "llvm/ADT/bit.h" #include "llvm/ADT/DenseMapInfo.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/PointerLikeTypeTraits.h" #include #include diff --git a/llvm/include/llvm/ADT/PointerUnion.h b/llvm/include/llvm/ADT/PointerUnion.h index 7d4ed02b622626..63aa0e350387d8 100644 --- a/llvm/include/llvm/ADT/PointerUnion.h +++ b/llvm/include/llvm/ADT/PointerUnion.h @@ -19,6 +19,7 @@ #include "llvm/ADT/PointerIntPair.h" #include "llvm/ADT/STLExtras.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/PointerLikeTypeTraits.h" #include #include diff --git a/llvm/include/llvm/ADT/PostOrderIterator.h b/llvm/include/llvm/ADT/PostOrderIterator.h index 33d3330a40bd3f..abc0510b046c67 100644 --- a/llvm/include/llvm/ADT/PostOrderIterator.h +++ b/llvm/include/llvm/ADT/PostOrderIterator.h @@ -20,6 +20,7 @@ #include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/iterator_range.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/ADT/PriorityQueue.h b/llvm/include/llvm/ADT/PriorityQueue.h index f40c160f0f5e60..7738a48b8c5523 100644 --- a/llvm/include/llvm/ADT/PriorityQueue.h +++ b/llvm/include/llvm/ADT/PriorityQueue.h @@ -14,6 +14,7 @@ #ifndef LLVM_ADT_PRIORITYQUEUE_H #define LLVM_ADT_PRIORITYQUEUE_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/ADT/SCCIterator.h b/llvm/include/llvm/ADT/SCCIterator.h index e743ae7c11edbc..b3012448bda5a9 100644 --- a/llvm/include/llvm/ADT/SCCIterator.h +++ b/llvm/include/llvm/ADT/SCCIterator.h @@ -26,6 +26,7 @@ #include "llvm/ADT/DenseSet.h" #include "llvm/ADT/GraphTraits.h" #include "llvm/ADT/iterator.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/ADT/STLExtras.h b/llvm/include/llvm/ADT/STLExtras.h index 18bc4d108b156b..8d94e1a958919c 100644 --- a/llvm/include/llvm/ADT/STLExtras.h +++ b/llvm/include/llvm/ADT/STLExtras.h @@ -24,6 +24,7 @@ #include "llvm/ADT/iterator.h" #include "llvm/ADT/iterator_range.h" #include "llvm/Config/abi-breaking.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include #include diff --git a/llvm/include/llvm/ADT/STLForwardCompat.h b/llvm/include/llvm/ADT/STLForwardCompat.h index 6afe3610b257fb..4b89c439e3c6af 100644 --- a/llvm/include/llvm/ADT/STLForwardCompat.h +++ b/llvm/include/llvm/ADT/STLForwardCompat.h @@ -17,6 +17,7 @@ #ifndef LLVM_ADT_STLFORWARDCOMPAT_H #define LLVM_ADT_STLFORWARDCOMPAT_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/ADT/ScopedHashTable.h b/llvm/include/llvm/ADT/ScopedHashTable.h index 78d4df7d568452..78fadaf629048a 100644 --- a/llvm/include/llvm/ADT/ScopedHashTable.h +++ b/llvm/include/llvm/ADT/ScopedHashTable.h @@ -33,6 +33,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/DenseMapInfo.h" #include "llvm/Support/AllocatorBase.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/ADT/Sequence.h b/llvm/include/llvm/ADT/Sequence.h index ce969ef280b39a..267b69810f7c9c 100644 --- a/llvm/include/llvm/ADT/Sequence.h +++ b/llvm/include/llvm/ADT/Sequence.h @@ -86,6 +86,7 @@ #include // std::is_integral, std::is_enum, std::underlying_type, // std::enable_if +#include "llvm/Support/Compiler.h" #include "llvm/Support/MathExtras.h" // AddOverflow / SubOverflow namespace llvm { diff --git a/llvm/include/llvm/ADT/SmallBitVector.h b/llvm/include/llvm/ADT/SmallBitVector.h index c538a4d4023b28..3bb300eaac27b3 100644 --- a/llvm/include/llvm/ADT/SmallBitVector.h +++ b/llvm/include/llvm/ADT/SmallBitVector.h @@ -16,6 +16,7 @@ #include "llvm/ADT/BitVector.h" #include "llvm/ADT/iterator_range.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MathExtras.h" #include #include diff --git a/llvm/include/llvm/ADT/SmallString.h b/llvm/include/llvm/ADT/SmallString.h index 0052c86fb37b82..5d63a780d0c690 100644 --- a/llvm/include/llvm/ADT/SmallString.h +++ b/llvm/include/llvm/ADT/SmallString.h @@ -16,6 +16,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/ADT/SparseBitVector.h b/llvm/include/llvm/ADT/SparseBitVector.h index 1e00c138618751..89aa64db20ac94 100644 --- a/llvm/include/llvm/ADT/SparseBitVector.h +++ b/llvm/include/llvm/ADT/SparseBitVector.h @@ -15,6 +15,7 @@ #ifndef LLVM_ADT_SPARSEBITVECTOR_H #define LLVM_ADT_SPARSEBITVECTOR_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/MathExtras.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/ADT/SparseMultiSet.h b/llvm/include/llvm/ADT/SparseMultiSet.h index d8dbe4023ea647..453697b5f1ac6e 100644 --- a/llvm/include/llvm/ADT/SparseMultiSet.h +++ b/llvm/include/llvm/ADT/SparseMultiSet.h @@ -24,6 +24,7 @@ #include "llvm/ADT/identity.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/SparseSet.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/ADT/SparseSet.h b/llvm/include/llvm/ADT/SparseSet.h index c7793117ff5408..f27f97606b2484 100644 --- a/llvm/include/llvm/ADT/SparseSet.h +++ b/llvm/include/llvm/ADT/SparseSet.h @@ -23,6 +23,7 @@ #include "llvm/ADT/identity.h" #include "llvm/ADT/SmallVector.h" #include "llvm/Support/AllocatorBase.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/ADT/StringExtras.h b/llvm/include/llvm/ADT/StringExtras.h index c6fb8b6528089c..534b5e1175eb52 100644 --- a/llvm/include/llvm/ADT/StringExtras.h +++ b/llvm/include/llvm/ADT/StringExtras.h @@ -19,6 +19,7 @@ #include "llvm/ADT/SmallString.h" #include "llvm/ADT/StringRef.h" #include "llvm/ADT/Twine.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/ADT/StringMap.h b/llvm/include/llvm/ADT/StringMap.h index 466f95254d102e..caa37792a1271d 100644 --- a/llvm/include/llvm/ADT/StringMap.h +++ b/llvm/include/llvm/ADT/StringMap.h @@ -17,6 +17,7 @@ #include "llvm/ADT/StringMapEntry.h" #include "llvm/ADT/iterator.h" #include "llvm/Support/AllocatorBase.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/PointerLikeTypeTraits.h" #include #include diff --git a/llvm/include/llvm/ADT/StringMapEntry.h b/llvm/include/llvm/ADT/StringMapEntry.h index 98b51cc1aebd59..393beceeca7da7 100644 --- a/llvm/include/llvm/ADT/StringMapEntry.h +++ b/llvm/include/llvm/ADT/StringMapEntry.h @@ -17,6 +17,7 @@ #define LLVM_ADT_STRINGMAPENTRY_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/ADT/StringSet.h b/llvm/include/llvm/ADT/StringSet.h index d7b63bc9c96852..0dc9c2358bdd60 100644 --- a/llvm/include/llvm/ADT/StringSet.h +++ b/llvm/include/llvm/ADT/StringSet.h @@ -15,6 +15,7 @@ #define LLVM_ADT_STRINGSET_H #include "llvm/ADT/StringMap.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/ADT/TinyPtrVector.h b/llvm/include/llvm/ADT/TinyPtrVector.h index fa2bcd8933a0a2..8309a06ab0a0d4 100644 --- a/llvm/include/llvm/ADT/TinyPtrVector.h +++ b/llvm/include/llvm/ADT/TinyPtrVector.h @@ -12,6 +12,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/PointerUnion.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/ADT/Twine.h b/llvm/include/llvm/ADT/Twine.h index 8dfbe4f72e07de..0139fdc1245867 100644 --- a/llvm/include/llvm/ADT/Twine.h +++ b/llvm/include/llvm/ADT/Twine.h @@ -11,6 +11,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include #include diff --git a/llvm/include/llvm/ADT/UniqueVector.h b/llvm/include/llvm/ADT/UniqueVector.h index bfea988f170270..d1f36d6fde0625 100644 --- a/llvm/include/llvm/ADT/UniqueVector.h +++ b/llvm/include/llvm/ADT/UniqueVector.h @@ -9,6 +9,7 @@ #ifndef LLVM_ADT_UNIQUEVECTOR_H #define LLVM_ADT_UNIQUEVECTOR_H +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/ADT/fallible_iterator.h b/llvm/include/llvm/ADT/fallible_iterator.h index b42f62b67fd665..d24b8644ae26bf 100644 --- a/llvm/include/llvm/ADT/fallible_iterator.h +++ b/llvm/include/llvm/ADT/fallible_iterator.h @@ -11,6 +11,7 @@ #include "llvm/ADT/PointerIntPair.h" #include "llvm/ADT/iterator_range.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/ADT/identity.h b/llvm/include/llvm/ADT/identity.h index 7309032362077e..eecedafbbfe049 100644 --- a/llvm/include/llvm/ADT/identity.h +++ b/llvm/include/llvm/ADT/identity.h @@ -15,6 +15,7 @@ #ifndef LLVM_ADT_IDENTITY_H #define LLVM_ADT_IDENTITY_H +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/ADT/ilist.h b/llvm/include/llvm/ADT/ilist.h index aed19ccbff7f2d..d9adae6038a13e 100644 --- a/llvm/include/llvm/ADT/ilist.h +++ b/llvm/include/llvm/ADT/ilist.h @@ -25,6 +25,7 @@ #define LLVM_ADT_ILIST_H #include "llvm/ADT/simple_ilist.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/ADT/ilist_base.h b/llvm/include/llvm/ADT/ilist_base.h index b8c098b951aded..32e676b2779a89 100644 --- a/llvm/include/llvm/ADT/ilist_base.h +++ b/llvm/include/llvm/ADT/ilist_base.h @@ -10,6 +10,7 @@ #define LLVM_ADT_ILIST_BASE_H #include "llvm/ADT/ilist_node_base.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/ADT/ilist_iterator.h b/llvm/include/llvm/ADT/ilist_iterator.h index 9047b9b73959ee..04936622dacdec 100644 --- a/llvm/include/llvm/ADT/ilist_iterator.h +++ b/llvm/include/llvm/ADT/ilist_iterator.h @@ -10,6 +10,7 @@ #define LLVM_ADT_ILIST_ITERATOR_H #include "llvm/ADT/ilist_node.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/ADT/ilist_node.h b/llvm/include/llvm/ADT/ilist_node.h index 3b6f0dcc7b5e93..0459b9b18f3d00 100644 --- a/llvm/include/llvm/ADT/ilist_node.h +++ b/llvm/include/llvm/ADT/ilist_node.h @@ -17,6 +17,7 @@ #include "llvm/ADT/ilist_node_base.h" #include "llvm/ADT/ilist_node_options.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/ADT/ilist_node_base.h b/llvm/include/llvm/ADT/ilist_node_base.h index f6c518e6eed7a1..04d6ede9c6a69a 100644 --- a/llvm/include/llvm/ADT/ilist_node_base.h +++ b/llvm/include/llvm/ADT/ilist_node_base.h @@ -10,6 +10,7 @@ #define LLVM_ADT_ILIST_NODE_BASE_H #include "llvm/ADT/PointerIntPair.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/ADT/ilist_node_options.h b/llvm/include/llvm/ADT/ilist_node_options.h index e6e1068953e36a..d2292cc244fc15 100644 --- a/llvm/include/llvm/ADT/ilist_node_options.h +++ b/llvm/include/llvm/ADT/ilist_node_options.h @@ -10,6 +10,7 @@ #define LLVM_ADT_ILIST_NODE_OPTIONS_H #include "llvm/Config/abi-breaking.h" +#include "llvm/Support/Compiler.h" #include diff --git a/llvm/include/llvm/ADT/iterator.h b/llvm/include/llvm/ADT/iterator.h index 6f0c42fe08bec0..23065ea71cedad 100644 --- a/llvm/include/llvm/ADT/iterator.h +++ b/llvm/include/llvm/ADT/iterator.h @@ -10,6 +10,7 @@ #define LLVM_ADT_ITERATOR_H #include "llvm/ADT/iterator_range.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/ADT/iterator_range.h b/llvm/include/llvm/ADT/iterator_range.h index 2dc227935984b1..8d77cf64eb15d9 100644 --- a/llvm/include/llvm/ADT/iterator_range.h +++ b/llvm/include/llvm/ADT/iterator_range.h @@ -19,6 +19,7 @@ #define LLVM_ADT_ITERATOR_RANGE_H #include "llvm/ADT/ADL.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Analysis/AliasAnalysis.h b/llvm/include/llvm/Analysis/AliasAnalysis.h index 0d0e94a89976a7..b827f6ecc29d96 100644 --- a/llvm/include/llvm/Analysis/AliasAnalysis.h +++ b/llvm/include/llvm/Analysis/AliasAnalysis.h @@ -43,6 +43,7 @@ #include "llvm/Analysis/MemoryLocation.h" #include "llvm/IR/PassManager.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ModRef.h" #include #include diff --git a/llvm/include/llvm/Analysis/AliasAnalysisEvaluator.h b/llvm/include/llvm/Analysis/AliasAnalysisEvaluator.h index 20bcbc592afbdb..c40e180efe289a 100644 --- a/llvm/include/llvm/Analysis/AliasAnalysisEvaluator.h +++ b/llvm/include/llvm/Analysis/AliasAnalysisEvaluator.h @@ -25,6 +25,7 @@ #define LLVM_ANALYSIS_ALIASANALYSISEVALUATOR_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class AAResults; diff --git a/llvm/include/llvm/Analysis/AliasSetTracker.h b/llvm/include/llvm/Analysis/AliasSetTracker.h index e485e1ff2f4c98..400c573634e008 100644 --- a/llvm/include/llvm/Analysis/AliasSetTracker.h +++ b/llvm/include/llvm/Analysis/AliasSetTracker.h @@ -26,6 +26,7 @@ #include "llvm/IR/Instruction.h" #include "llvm/IR/PassManager.h" #include "llvm/IR/ValueHandle.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Analysis/AssumeBundleQueries.h b/llvm/include/llvm/Analysis/AssumeBundleQueries.h index df54fd2e9d655d..f15e1adaf96e7b 100644 --- a/llvm/include/llvm/Analysis/AssumeBundleQueries.h +++ b/llvm/include/llvm/Analysis/AssumeBundleQueries.h @@ -16,6 +16,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/IR/IntrinsicInst.h" +#include "llvm/Support/Compiler.h" namespace llvm { class AssumptionCache; diff --git a/llvm/include/llvm/Analysis/AssumptionCache.h b/llvm/include/llvm/Analysis/AssumptionCache.h index 12dd9b04c93231..982b2927a5b7e8 100644 --- a/llvm/include/llvm/Analysis/AssumptionCache.h +++ b/llvm/include/llvm/Analysis/AssumptionCache.h @@ -22,6 +22,7 @@ #include "llvm/IR/PassManager.h" #include "llvm/IR/ValueHandle.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Analysis/BasicAliasAnalysis.h b/llvm/include/llvm/Analysis/BasicAliasAnalysis.h index ca67e0905c5f6a..df4b5e533734de 100644 --- a/llvm/include/llvm/Analysis/BasicAliasAnalysis.h +++ b/llvm/include/llvm/Analysis/BasicAliasAnalysis.h @@ -17,6 +17,7 @@ #include "llvm/Analysis/AliasAnalysis.h" #include "llvm/IR/PassManager.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Analysis/BlockFrequencyInfo.h b/llvm/include/llvm/Analysis/BlockFrequencyInfo.h index 95d75b0e1854fd..e51d5d2f0b8e84 100644 --- a/llvm/include/llvm/Analysis/BlockFrequencyInfo.h +++ b/llvm/include/llvm/Analysis/BlockFrequencyInfo.h @@ -16,6 +16,7 @@ #include "llvm/IR/PassManager.h" #include "llvm/Pass.h" #include "llvm/Support/BlockFrequency.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Printable.h" #include #include diff --git a/llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h b/llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h index 0c05be0b9b8cdf..5eca305a39a6e2 100644 --- a/llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h +++ b/llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h @@ -30,6 +30,7 @@ #include "llvm/Support/BlockFrequency.h" #include "llvm/Support/BranchProbability.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DOTGraphTraits.h" #include "llvm/Support/Debug.h" #include "llvm/Support/Format.h" diff --git a/llvm/include/llvm/Analysis/BranchProbabilityInfo.h b/llvm/include/llvm/Analysis/BranchProbabilityInfo.h index fb02997371bfb8..a47fa741155844 100644 --- a/llvm/include/llvm/Analysis/BranchProbabilityInfo.h +++ b/llvm/include/llvm/Analysis/BranchProbabilityInfo.h @@ -22,6 +22,7 @@ #include "llvm/IR/ValueHandle.h" #include "llvm/Pass.h" #include "llvm/Support/BranchProbability.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Analysis/CFG.h b/llvm/include/llvm/Analysis/CFG.h index 86b01c13274fec..3974abaadb8cb1 100644 --- a/llvm/include/llvm/Analysis/CFG.h +++ b/llvm/include/llvm/Analysis/CFG.h @@ -16,6 +16,7 @@ #include "llvm/ADT/GraphTraits.h" #include "llvm/ADT/SmallPtrSet.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Analysis/CFGPrinter.h b/llvm/include/llvm/Analysis/CFGPrinter.h index 884dd857c82b18..d84dee22189f9d 100644 --- a/llvm/include/llvm/Analysis/CFGPrinter.h +++ b/llvm/include/llvm/Analysis/CFGPrinter.h @@ -27,6 +27,7 @@ #include "llvm/IR/Instructions.h" #include "llvm/IR/PassManager.h" #include "llvm/IR/ProfDataUtils.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DOTGraphTraits.h" #include "llvm/Support/FormatVariadic.h" diff --git a/llvm/include/llvm/Analysis/CFGSCCPrinter.h b/llvm/include/llvm/Analysis/CFGSCCPrinter.h index d98071461f5787..58fe717b58b971 100644 --- a/llvm/include/llvm/Analysis/CFGSCCPrinter.h +++ b/llvm/include/llvm/Analysis/CFGSCCPrinter.h @@ -10,6 +10,7 @@ #define LLVM_ANALYSIS_CFGSCCPRINTER_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/CGSCCPassManager.h b/llvm/include/llvm/Analysis/CGSCCPassManager.h index 0264b36a1d12ff..026d48d0130e65 100644 --- a/llvm/include/llvm/Analysis/CGSCCPassManager.h +++ b/llvm/include/llvm/Analysis/CGSCCPassManager.h @@ -92,6 +92,7 @@ #include "llvm/Analysis/LazyCallGraph.h" #include "llvm/IR/PassManager.h" #include "llvm/IR/ValueHandle.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include #include diff --git a/llvm/include/llvm/Analysis/CallGraph.h b/llvm/include/llvm/Analysis/CallGraph.h index 9413b39978e3fb..542df9c7fda98a 100644 --- a/llvm/include/llvm/Analysis/CallGraph.h +++ b/llvm/include/llvm/Analysis/CallGraph.h @@ -49,6 +49,7 @@ #include "llvm/IR/Intrinsics.h" #include "llvm/IR/PassManager.h" #include "llvm/IR/ValueHandle.h" +#include "llvm/Support/Compiler.h" #include "llvm/Pass.h" #include #include diff --git a/llvm/include/llvm/Analysis/CallGraphSCCPass.h b/llvm/include/llvm/Analysis/CallGraphSCCPass.h index d0d81605436ea1..962ff4526afd1a 100644 --- a/llvm/include/llvm/Analysis/CallGraphSCCPass.h +++ b/llvm/include/llvm/Analysis/CallGraphSCCPass.h @@ -22,6 +22,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Analysis/CallPrinter.h b/llvm/include/llvm/Analysis/CallPrinter.h index d325d001037174..d8211fd6d182b4 100644 --- a/llvm/include/llvm/Analysis/CallPrinter.h +++ b/llvm/include/llvm/Analysis/CallPrinter.h @@ -15,6 +15,7 @@ #define LLVM_ANALYSIS_CALLPRINTER_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/CaptureTracking.h b/llvm/include/llvm/Analysis/CaptureTracking.h index 2825399e2cc4dd..0c3568f49b5ace 100644 --- a/llvm/include/llvm/Analysis/CaptureTracking.h +++ b/llvm/include/llvm/Analysis/CaptureTracking.h @@ -15,6 +15,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/STLFunctionalExtras.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/CmpInstAnalysis.h b/llvm/include/llvm/Analysis/CmpInstAnalysis.h index 1d07a0c22887bb..7ed53cd1ef6128 100644 --- a/llvm/include/llvm/Analysis/CmpInstAnalysis.h +++ b/llvm/include/llvm/Analysis/CmpInstAnalysis.h @@ -15,6 +15,7 @@ #define LLVM_ANALYSIS_CMPINSTANALYSIS_H #include "llvm/IR/InstrTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Type; diff --git a/llvm/include/llvm/Analysis/CodeMetrics.h b/llvm/include/llvm/Analysis/CodeMetrics.h index a9431bca11251a..c078fee4c523b5 100644 --- a/llvm/include/llvm/Analysis/CodeMetrics.h +++ b/llvm/include/llvm/Analysis/CodeMetrics.h @@ -15,6 +15,7 @@ #define LLVM_ANALYSIS_CODEMETRICS_H #include "llvm/ADT/DenseMap.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/InstructionCost.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/ConstantFolding.h b/llvm/include/llvm/Analysis/ConstantFolding.h index 1b194b07e86781..f968f6f39221eb 100644 --- a/llvm/include/llvm/Analysis/ConstantFolding.h +++ b/llvm/include/llvm/Analysis/ConstantFolding.h @@ -19,6 +19,7 @@ #ifndef LLVM_ANALYSIS_CONSTANTFOLDING_H #define LLVM_ANALYSIS_CONSTANTFOLDING_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Analysis/ConstraintSystem.h b/llvm/include/llvm/Analysis/ConstraintSystem.h index 5d3bc64bf8b4b2..8d7101b29f9f28 100644 --- a/llvm/include/llvm/Analysis/ConstraintSystem.h +++ b/llvm/include/llvm/Analysis/ConstraintSystem.h @@ -13,6 +13,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MathExtras.h" #include diff --git a/llvm/include/llvm/Analysis/CostModel.h b/llvm/include/llvm/Analysis/CostModel.h index 649168050cec67..063a0337a6c229 100644 --- a/llvm/include/llvm/Analysis/CostModel.h +++ b/llvm/include/llvm/Analysis/CostModel.h @@ -10,6 +10,7 @@ #define LLVM_ANALYSIS_COSTMODEL_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { /// Printer pass for cost modeling results. diff --git a/llvm/include/llvm/Analysis/CycleAnalysis.h b/llvm/include/llvm/Analysis/CycleAnalysis.h index 099d7611dedc48..0b2c8eaebe2fc8 100644 --- a/llvm/include/llvm/Analysis/CycleAnalysis.h +++ b/llvm/include/llvm/Analysis/CycleAnalysis.h @@ -19,6 +19,7 @@ #include "llvm/IR/PassManager.h" #include "llvm/IR/SSAContext.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/DDG.h b/llvm/include/llvm/Analysis/DDG.h index bc599cb1f9a154..45eae936378955 100644 --- a/llvm/include/llvm/Analysis/DDG.h +++ b/llvm/include/llvm/Analysis/DDG.h @@ -18,6 +18,7 @@ #include "llvm/Analysis/DependenceAnalysis.h" #include "llvm/Analysis/DependenceGraphBuilder.h" #include "llvm/Analysis/LoopAnalysisManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Function; diff --git a/llvm/include/llvm/Analysis/DDGPrinter.h b/llvm/include/llvm/Analysis/DDGPrinter.h index d93c28280bac3b..6fd11d0570d7a2 100644 --- a/llvm/include/llvm/Analysis/DDGPrinter.h +++ b/llvm/include/llvm/Analysis/DDGPrinter.h @@ -16,6 +16,7 @@ #define LLVM_ANALYSIS_DDGPRINTER_H #include "llvm/Analysis/DDG.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DOTGraphTraits.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/DOTGraphTraitsPass.h b/llvm/include/llvm/Analysis/DOTGraphTraitsPass.h index 07c08bc1cc3bcb..cae56e6685872e 100644 --- a/llvm/include/llvm/Analysis/DOTGraphTraitsPass.h +++ b/llvm/include/llvm/Analysis/DOTGraphTraitsPass.h @@ -14,6 +14,7 @@ #define LLVM_ANALYSIS_DOTGRAPHTRAITSPASS_H #include "llvm/Analysis/CFGPrinter.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/GraphWriter.h" diff --git a/llvm/include/llvm/Analysis/Delinearization.h b/llvm/include/llvm/Analysis/Delinearization.h index 95a36b8b79a4bf..a20a4742097bfe 100644 --- a/llvm/include/llvm/Analysis/Delinearization.h +++ b/llvm/include/llvm/Analysis/Delinearization.h @@ -17,6 +17,7 @@ #define LLVM_ANALYSIS_DELINEARIZATION_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class raw_ostream; diff --git a/llvm/include/llvm/Analysis/DemandedBits.h b/llvm/include/llvm/Analysis/DemandedBits.h index d7709b7423784a..133aed5bf4aa08 100644 --- a/llvm/include/llvm/Analysis/DemandedBits.h +++ b/llvm/include/llvm/Analysis/DemandedBits.h @@ -25,6 +25,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/SmallPtrSet.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Analysis/DependenceAnalysis.h b/llvm/include/llvm/Analysis/DependenceAnalysis.h index 327315f831e11b..d06b19ab64542b 100644 --- a/llvm/include/llvm/Analysis/DependenceAnalysis.h +++ b/llvm/include/llvm/Analysis/DependenceAnalysis.h @@ -43,6 +43,7 @@ #include "llvm/IR/Instructions.h" #include "llvm/IR/PassManager.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" namespace llvm { class AAResults; diff --git a/llvm/include/llvm/Analysis/DependenceGraphBuilder.h b/llvm/include/llvm/Analysis/DependenceGraphBuilder.h index 98f1764e14b0e9..594c760cb7a117 100644 --- a/llvm/include/llvm/Analysis/DependenceGraphBuilder.h +++ b/llvm/include/llvm/Analysis/DependenceGraphBuilder.h @@ -17,6 +17,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/EquivalenceClasses.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/DomPrinter.h b/llvm/include/llvm/Analysis/DomPrinter.h index 83fe721346ab2e..7d44da544e8b42 100644 --- a/llvm/include/llvm/Analysis/DomPrinter.h +++ b/llvm/include/llvm/Analysis/DomPrinter.h @@ -18,6 +18,7 @@ #include "llvm/Analysis/PostDominators.h" #include "llvm/IR/Dominators.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/DominanceFrontier.h b/llvm/include/llvm/Analysis/DominanceFrontier.h index db0130e4804b80..303abfc30eeaa7 100644 --- a/llvm/include/llvm/Analysis/DominanceFrontier.h +++ b/llvm/include/llvm/Analysis/DominanceFrontier.h @@ -23,6 +23,7 @@ #include "llvm/Config/llvm-config.h" #include "llvm/IR/PassManager.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/GenericDomTree.h" #include #include diff --git a/llvm/include/llvm/Analysis/DominanceFrontierImpl.h b/llvm/include/llvm/Analysis/DominanceFrontierImpl.h index a9c415f4701094..f0f465dd505d8d 100644 --- a/llvm/include/llvm/Analysis/DominanceFrontierImpl.h +++ b/llvm/include/llvm/Analysis/DominanceFrontierImpl.h @@ -20,6 +20,7 @@ #include "llvm/ADT/SmallPtrSet.h" #include "llvm/Analysis/DominanceFrontier.h" #include "llvm/Config/llvm-config.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include "llvm/Support/GenericDomTree.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/Analysis/FunctionPropertiesAnalysis.h b/llvm/include/llvm/Analysis/FunctionPropertiesAnalysis.h index 310c369d9d4811..09aa77fe7cf061 100644 --- a/llvm/include/llvm/Analysis/FunctionPropertiesAnalysis.h +++ b/llvm/include/llvm/Analysis/FunctionPropertiesAnalysis.h @@ -18,6 +18,7 @@ #include "llvm/ADT/iterator_range.h" #include "llvm/IR/InstrTypes.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class DominatorTree; diff --git a/llvm/include/llvm/Analysis/GlobalsModRef.h b/llvm/include/llvm/Analysis/GlobalsModRef.h index ab8ab8295b556c..865fd2f9ebeedf 100644 --- a/llvm/include/llvm/Analysis/GlobalsModRef.h +++ b/llvm/include/llvm/Analysis/GlobalsModRef.h @@ -17,6 +17,7 @@ #include "llvm/IR/PassManager.h" #include "llvm/IR/ValueHandle.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Analysis/GuardUtils.h b/llvm/include/llvm/Analysis/GuardUtils.h index 208f08b82d9873..2388b09207f20d 100644 --- a/llvm/include/llvm/Analysis/GuardUtils.h +++ b/llvm/include/llvm/Analysis/GuardUtils.h @@ -12,6 +12,8 @@ #ifndef LLVM_ANALYSIS_GUARDUTILS_H #define LLVM_ANALYSIS_GUARDUTILS_H +#include "llvm/Support/Compiler.h" + namespace llvm { class BasicBlock; diff --git a/llvm/include/llvm/Analysis/HeatUtils.h b/llvm/include/llvm/Analysis/HeatUtils.h index 9ecbbaf318da9c..2fbc99d4f01ba4 100644 --- a/llvm/include/llvm/Analysis/HeatUtils.h +++ b/llvm/include/llvm/Analysis/HeatUtils.h @@ -13,6 +13,7 @@ #ifndef LLVM_ANALYSIS_HEATUTILS_H #define LLVM_ANALYSIS_HEATUTILS_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Analysis/IRSimilarityIdentifier.h b/llvm/include/llvm/Analysis/IRSimilarityIdentifier.h index ad137baff5d428..bef9da329fe194 100644 --- a/llvm/include/llvm/Analysis/IRSimilarityIdentifier.h +++ b/llvm/include/llvm/Analysis/IRSimilarityIdentifier.h @@ -54,6 +54,7 @@ #include "llvm/IR/PassManager.h" #include "llvm/Pass.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Analysis/IVDescriptors.h b/llvm/include/llvm/Analysis/IVDescriptors.h index 0ee3f4fed8c976..6bc26c9b1bb177 100644 --- a/llvm/include/llvm/Analysis/IVDescriptors.h +++ b/llvm/include/llvm/Analysis/IVDescriptors.h @@ -18,6 +18,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/IR/IntrinsicInst.h" #include "llvm/IR/ValueHandle.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/IVUsers.h b/llvm/include/llvm/Analysis/IVUsers.h index 6b9b6bf190f1c8..e7098b74094b32 100644 --- a/llvm/include/llvm/Analysis/IVUsers.h +++ b/llvm/include/llvm/Analysis/IVUsers.h @@ -18,6 +18,7 @@ #include "llvm/Analysis/LoopPass.h" #include "llvm/Analysis/ScalarEvolutionNormalization.h" #include "llvm/IR/ValueHandle.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/IndirectCallPromotionAnalysis.h b/llvm/include/llvm/Analysis/IndirectCallPromotionAnalysis.h index 8a05e913a91063..3124d3872a53fd 100644 --- a/llvm/include/llvm/Analysis/IndirectCallPromotionAnalysis.h +++ b/llvm/include/llvm/Analysis/IndirectCallPromotionAnalysis.h @@ -14,6 +14,7 @@ #define LLVM_ANALYSIS_INDIRECTCALLPROMOTIONANALYSIS_H #include "llvm/ProfileData/InstrProf.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/IndirectCallVisitor.h b/llvm/include/llvm/Analysis/IndirectCallVisitor.h index 0825e19ecd2d24..d23d95f7dc69b9 100644 --- a/llvm/include/llvm/Analysis/IndirectCallVisitor.h +++ b/llvm/include/llvm/Analysis/IndirectCallVisitor.h @@ -13,6 +13,7 @@ #define LLVM_ANALYSIS_INDIRECTCALLVISITOR_H #include "llvm/IR/InstVisitor.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Analysis/InlineAdvisor.h b/llvm/include/llvm/Analysis/InlineAdvisor.h index 2740106bc7db80..3df3cebfd0a0ee 100644 --- a/llvm/include/llvm/Analysis/InlineAdvisor.h +++ b/llvm/include/llvm/Analysis/InlineAdvisor.h @@ -14,6 +14,7 @@ #include "llvm/Analysis/LazyCallGraph.h" #include "llvm/Config/llvm-config.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Analysis/InlineCost.h b/llvm/include/llvm/Analysis/InlineCost.h index 3f0bb879e021fd..0aca3438a72c5a 100644 --- a/llvm/include/llvm/Analysis/InlineCost.h +++ b/llvm/include/llvm/Analysis/InlineCost.h @@ -17,6 +17,7 @@ #include "llvm/ADT/STLFunctionalExtras.h" #include "llvm/Analysis/InlineModelFeatureMaps.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Analysis/InlineOrder.h b/llvm/include/llvm/Analysis/InlineOrder.h index a1d25a25b8568f..ed3971b5013b76 100644 --- a/llvm/include/llvm/Analysis/InlineOrder.h +++ b/llvm/include/llvm/Analysis/InlineOrder.h @@ -11,6 +11,7 @@ #include "llvm/ADT/STLFunctionalExtras.h" #include "llvm/Analysis/InlineCost.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Analysis/InlineSizeEstimatorAnalysis.h b/llvm/include/llvm/Analysis/InlineSizeEstimatorAnalysis.h index 0aae696a98a928..4981ae646bfc5f 100644 --- a/llvm/include/llvm/Analysis/InlineSizeEstimatorAnalysis.h +++ b/llvm/include/llvm/Analysis/InlineSizeEstimatorAnalysis.h @@ -11,6 +11,7 @@ #define LLVM_ANALYSIS_INLINESIZEESTIMATORANALYSIS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Function; diff --git a/llvm/include/llvm/Analysis/InstCount.h b/llvm/include/llvm/Analysis/InstCount.h index e5ce822caf6efa..44cb9228f4be7f 100644 --- a/llvm/include/llvm/Analysis/InstCount.h +++ b/llvm/include/llvm/Analysis/InstCount.h @@ -14,6 +14,7 @@ #define LLVM_ANALYSIS_INSTCOUNT_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/InstSimplifyFolder.h b/llvm/include/llvm/Analysis/InstSimplifyFolder.h index 23e2ea80e8cbe6..09a197133505a5 100644 --- a/llvm/include/llvm/Analysis/InstSimplifyFolder.h +++ b/llvm/include/llvm/Analysis/InstSimplifyFolder.h @@ -24,6 +24,7 @@ #include "llvm/Analysis/TargetFolder.h" #include "llvm/IR/IRBuilderFolder.h" #include "llvm/IR/Instruction.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Constant; diff --git a/llvm/include/llvm/Analysis/InstructionPrecedenceTracking.h b/llvm/include/llvm/Analysis/InstructionPrecedenceTracking.h index 192630e62a54cf..f42e8799eba6c3 100644 --- a/llvm/include/llvm/Analysis/InstructionPrecedenceTracking.h +++ b/llvm/include/llvm/Analysis/InstructionPrecedenceTracking.h @@ -21,6 +21,7 @@ #define LLVM_ANALYSIS_INSTRUCTIONPRECEDENCETRACKING_H #include "llvm/ADT/DenseMap.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/InstructionSimplify.h b/llvm/include/llvm/Analysis/InstructionSimplify.h index c626a6522d0177..0b639d18824211 100644 --- a/llvm/include/llvm/Analysis/InstructionSimplify.h +++ b/llvm/include/llvm/Analysis/InstructionSimplify.h @@ -32,6 +32,7 @@ #define LLVM_ANALYSIS_INSTRUCTIONSIMPLIFY_H #include "llvm/Analysis/SimplifyQuery.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/InteractiveModelRunner.h b/llvm/include/llvm/Analysis/InteractiveModelRunner.h index 680dc4249d80b1..71346d188fd126 100644 --- a/llvm/include/llvm/Analysis/InteractiveModelRunner.h +++ b/llvm/include/llvm/Analysis/InteractiveModelRunner.h @@ -14,6 +14,7 @@ #include "llvm/Analysis/TensorSpec.h" #include "llvm/Analysis/Utils/TrainingLogger.h" #include "llvm/Config/llvm-config.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/raw_ostream.h" #include diff --git a/llvm/include/llvm/Analysis/Interval.h b/llvm/include/llvm/Analysis/Interval.h index 9afe659d00dd3d..9cfcd32f949fdc 100644 --- a/llvm/include/llvm/Analysis/Interval.h +++ b/llvm/include/llvm/Analysis/Interval.h @@ -20,6 +20,7 @@ #define LLVM_ANALYSIS_INTERVAL_H #include "llvm/ADT/GraphTraits.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Analysis/IntervalIterator.h b/llvm/include/llvm/Analysis/IntervalIterator.h index 30e91f1734b655..cf50dac00a2bd2 100644 --- a/llvm/include/llvm/Analysis/IntervalIterator.h +++ b/llvm/include/llvm/Analysis/IntervalIterator.h @@ -36,6 +36,7 @@ #include "llvm/Analysis/Interval.h" #include "llvm/Analysis/IntervalPartition.h" #include "llvm/IR/CFG.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Analysis/IntervalPartition.h b/llvm/include/llvm/Analysis/IntervalPartition.h index 66a99fb15bfb9f..16bdfb945dc6f9 100644 --- a/llvm/include/llvm/Analysis/IntervalPartition.h +++ b/llvm/include/llvm/Analysis/IntervalPartition.h @@ -23,6 +23,7 @@ #define LLVM_ANALYSIS_INTERVALPARTITION_H #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Analysis/IteratedDominanceFrontier.h b/llvm/include/llvm/Analysis/IteratedDominanceFrontier.h index 542a741ee07ee1..a313bdf87654eb 100644 --- a/llvm/include/llvm/Analysis/IteratedDominanceFrontier.h +++ b/llvm/include/llvm/Analysis/IteratedDominanceFrontier.h @@ -9,6 +9,7 @@ #ifndef LLVM_ANALYSIS_ITERATEDDOMINANCEFRONTIER_H #define LLVM_ANALYSIS_ITERATEDDOMINANCEFRONTIER_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/CFGDiff.h" #include "llvm/Support/GenericIteratedDominanceFrontier.h" diff --git a/llvm/include/llvm/Analysis/LazyBlockFrequencyInfo.h b/llvm/include/llvm/Analysis/LazyBlockFrequencyInfo.h index a6d8b76b12aea2..86cba8a54bea7b 100644 --- a/llvm/include/llvm/Analysis/LazyBlockFrequencyInfo.h +++ b/llvm/include/llvm/Analysis/LazyBlockFrequencyInfo.h @@ -18,6 +18,7 @@ #include "llvm/Analysis/BlockFrequencyInfo.h" #include "llvm/Analysis/LazyBranchProbabilityInfo.h" +#include "llvm/Support/Compiler.h" #include "llvm/Pass.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/LazyBranchProbabilityInfo.h b/llvm/include/llvm/Analysis/LazyBranchProbabilityInfo.h index bad7423616b453..4083389dbcf6cd 100644 --- a/llvm/include/llvm/Analysis/LazyBranchProbabilityInfo.h +++ b/llvm/include/llvm/Analysis/LazyBranchProbabilityInfo.h @@ -17,6 +17,7 @@ #define LLVM_ANALYSIS_LAZYBRANCHPROBABILITYINFO_H #include "llvm/Analysis/BranchProbabilityInfo.h" +#include "llvm/Support/Compiler.h" #include "llvm/Pass.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/LazyCallGraph.h b/llvm/include/llvm/Analysis/LazyCallGraph.h index 211a058aa0173d..a51b169547d057 100644 --- a/llvm/include/llvm/Analysis/LazyCallGraph.h +++ b/llvm/include/llvm/Analysis/LazyCallGraph.h @@ -45,6 +45,7 @@ #include "llvm/Analysis/TargetLibraryInfo.h" #include "llvm/IR/PassManager.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include #include diff --git a/llvm/include/llvm/Analysis/LazyValueInfo.h b/llvm/include/llvm/Analysis/LazyValueInfo.h index f013a4a75d3d6a..425d4daa1ee520 100644 --- a/llvm/include/llvm/Analysis/LazyValueInfo.h +++ b/llvm/include/llvm/Analysis/LazyValueInfo.h @@ -16,6 +16,7 @@ #include "llvm/IR/PassManager.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" namespace llvm { class AssumptionCache; diff --git a/llvm/include/llvm/Analysis/Lint.h b/llvm/include/llvm/Analysis/Lint.h index 8dffa1ecb5f388..bd26851ed9a77c 100644 --- a/llvm/include/llvm/Analysis/Lint.h +++ b/llvm/include/llvm/Analysis/Lint.h @@ -19,6 +19,7 @@ #define LLVM_ANALYSIS_LINT_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/Loads.h b/llvm/include/llvm/Analysis/Loads.h index 2880ed33a34cbc..8520ca0afc3a76 100644 --- a/llvm/include/llvm/Analysis/Loads.h +++ b/llvm/include/llvm/Analysis/Loads.h @@ -15,6 +15,7 @@ #include "llvm/IR/BasicBlock.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/LoopAccessAnalysis.h b/llvm/include/llvm/Analysis/LoopAccessAnalysis.h index 3dc7601b9225c0..4cc9b7e812c7b5 100644 --- a/llvm/include/llvm/Analysis/LoopAccessAnalysis.h +++ b/llvm/include/llvm/Analysis/LoopAccessAnalysis.h @@ -18,6 +18,8 @@ #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/Analysis/ScalarEvolutionExpressions.h" #include "llvm/IR/DiagnosticInfo.h" +#include "llvm/Support/Compiler.h" +#include "llvm/Pass.h" #include namespace llvm { diff --git a/llvm/include/llvm/Analysis/LoopAnalysisManager.h b/llvm/include/llvm/Analysis/LoopAnalysisManager.h index d22675a308aac7..a039e9143a2510 100644 --- a/llvm/include/llvm/Analysis/LoopAnalysisManager.h +++ b/llvm/include/llvm/Analysis/LoopAnalysisManager.h @@ -30,6 +30,7 @@ #define LLVM_ANALYSIS_LOOPANALYSISMANAGER_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/LoopCacheAnalysis.h b/llvm/include/llvm/Analysis/LoopCacheAnalysis.h index c9e853b9be8e69..b2a7c6808f98d9 100644 --- a/llvm/include/llvm/Analysis/LoopCacheAnalysis.h +++ b/llvm/include/llvm/Analysis/LoopCacheAnalysis.h @@ -16,6 +16,7 @@ #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Analysis/LoopInfo.h b/llvm/include/llvm/Analysis/LoopInfo.h index 3434630c27cfe7..52ed6bea3ea40b 100644 --- a/llvm/include/llvm/Analysis/LoopInfo.h +++ b/llvm/include/llvm/Analysis/LoopInfo.h @@ -22,6 +22,7 @@ #include "llvm/IR/Instructions.h" #include "llvm/IR/PassManager.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/GenericLoopInfo.h" #include #include diff --git a/llvm/include/llvm/Analysis/LoopIterator.h b/llvm/include/llvm/Analysis/LoopIterator.h index 523d2a21825d0d..2efe8bebbb9636 100644 --- a/llvm/include/llvm/Analysis/LoopIterator.h +++ b/llvm/include/llvm/Analysis/LoopIterator.h @@ -25,6 +25,7 @@ #include "llvm/ADT/PostOrderIterator.h" #include "llvm/Analysis/LoopInfo.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/LoopNestAnalysis.h b/llvm/include/llvm/Analysis/LoopNestAnalysis.h index 852a6c438d43aa..7751dae96c7cc3 100644 --- a/llvm/include/llvm/Analysis/LoopNestAnalysis.h +++ b/llvm/include/llvm/Analysis/LoopNestAnalysis.h @@ -17,6 +17,7 @@ #include "llvm/ADT/STLExtras.h" #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/Analysis/LoopInfo.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/LoopPass.h b/llvm/include/llvm/Analysis/LoopPass.h index c5f08d0ae8af68..608712ba7f6dd7 100644 --- a/llvm/include/llvm/Analysis/LoopPass.h +++ b/llvm/include/llvm/Analysis/LoopPass.h @@ -16,6 +16,7 @@ #include "llvm/IR/LegacyPassManagers.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Analysis/LoopUnrollAnalyzer.h b/llvm/include/llvm/Analysis/LoopUnrollAnalyzer.h index eada6a647763ba..6014942558e71c 100644 --- a/llvm/include/llvm/Analysis/LoopUnrollAnalyzer.h +++ b/llvm/include/llvm/Analysis/LoopUnrollAnalyzer.h @@ -19,6 +19,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/Analysis/ScalarEvolution.h" #include "llvm/IR/InstVisitor.h" +#include "llvm/Support/Compiler.h" // This class is used to get an estimate of the optimization effects that we // could get from complete loop unrolling. It comes from the fact that some diff --git a/llvm/include/llvm/Analysis/MLInlineAdvisor.h b/llvm/include/llvm/Analysis/MLInlineAdvisor.h index f58862e533529c..8ece7f5343da21 100644 --- a/llvm/include/llvm/Analysis/MLInlineAdvisor.h +++ b/llvm/include/llvm/Analysis/MLInlineAdvisor.h @@ -14,6 +14,7 @@ #include "llvm/Analysis/LazyCallGraph.h" #include "llvm/Analysis/MLModelRunner.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Analysis/MLModelRunner.h b/llvm/include/llvm/Analysis/MLModelRunner.h index 21f155de85aecb..822cd8a9bff1ed 100644 --- a/llvm/include/llvm/Analysis/MLModelRunner.h +++ b/llvm/include/llvm/Analysis/MLModelRunner.h @@ -12,6 +12,7 @@ #include "llvm/Analysis/TensorSpec.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class LLVMContext; diff --git a/llvm/include/llvm/Analysis/MemDerefPrinter.h b/llvm/include/llvm/Analysis/MemDerefPrinter.h index bafdc543eeaf4c..0166c15b6f4222 100644 --- a/llvm/include/llvm/Analysis/MemDerefPrinter.h +++ b/llvm/include/llvm/Analysis/MemDerefPrinter.h @@ -10,6 +10,7 @@ #define LLVM_ANALYSIS_MEMDEREFPRINTER_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class MemDerefPrinterPass : public PassInfoMixin { diff --git a/llvm/include/llvm/Analysis/MemoryBuiltins.h b/llvm/include/llvm/Analysis/MemoryBuiltins.h index 827b5081b2ce75..28fc8280fd473c 100644 --- a/llvm/include/llvm/Analysis/MemoryBuiltins.h +++ b/llvm/include/llvm/Analysis/MemoryBuiltins.h @@ -22,6 +22,7 @@ #include "llvm/IR/IRBuilder.h" #include "llvm/IR/InstVisitor.h" #include "llvm/IR/ValueHandle.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h b/llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h index d5b2eb6253db95..403400e67469ca 100644 --- a/llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h +++ b/llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h @@ -24,6 +24,7 @@ #include "llvm/IR/PredIteratorCache.h" #include "llvm/IR/ValueHandle.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Analysis/MemoryLocation.h b/llvm/include/llvm/Analysis/MemoryLocation.h index b72a27cab86b34..47fd8ed1264732 100644 --- a/llvm/include/llvm/Analysis/MemoryLocation.h +++ b/llvm/include/llvm/Analysis/MemoryLocation.h @@ -17,6 +17,7 @@ #include "llvm/ADT/DenseMapInfo.h" #include "llvm/IR/Metadata.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/TypeSize.h" #include diff --git a/llvm/include/llvm/Analysis/MemorySSA.h b/llvm/include/llvm/Analysis/MemorySSA.h index 94d7f1a78b8470..40b83fb9569abc 100644 --- a/llvm/include/llvm/Analysis/MemorySSA.h +++ b/llvm/include/llvm/Analysis/MemorySSA.h @@ -98,6 +98,7 @@ #include "llvm/IR/Type.h" #include "llvm/IR/User.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Analysis/MemorySSAUpdater.h b/llvm/include/llvm/Analysis/MemorySSAUpdater.h index d4da3ef1146db7..ff6041552fc676 100644 --- a/llvm/include/llvm/Analysis/MemorySSAUpdater.h +++ b/llvm/include/llvm/Analysis/MemorySSAUpdater.h @@ -37,6 +37,7 @@ #include "llvm/Analysis/MemorySSA.h" #include "llvm/IR/ValueHandle.h" #include "llvm/IR/ValueMap.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/CFGDiff.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/ModuleDebugInfoPrinter.h b/llvm/include/llvm/Analysis/ModuleDebugInfoPrinter.h index fa91e4f653d04d..9e9fc1d59320d7 100644 --- a/llvm/include/llvm/Analysis/ModuleDebugInfoPrinter.h +++ b/llvm/include/llvm/Analysis/ModuleDebugInfoPrinter.h @@ -11,6 +11,7 @@ #include "llvm/IR/DebugInfo.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class raw_ostream; diff --git a/llvm/include/llvm/Analysis/ModuleSummaryAnalysis.h b/llvm/include/llvm/Analysis/ModuleSummaryAnalysis.h index e36dea58cec454..f89b396b500e23 100644 --- a/llvm/include/llvm/Analysis/ModuleSummaryAnalysis.h +++ b/llvm/include/llvm/Analysis/ModuleSummaryAnalysis.h @@ -16,6 +16,7 @@ #include "llvm/IR/ModuleSummaryIndex.h" #include "llvm/IR/PassManager.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Analysis/MustExecute.h b/llvm/include/llvm/Analysis/MustExecute.h index 9c97bd1725ac2c..e2cd7349b5dba5 100644 --- a/llvm/include/llvm/Analysis/MustExecute.h +++ b/llvm/include/llvm/Analysis/MustExecute.h @@ -28,6 +28,7 @@ #include "llvm/Analysis/InstructionPrecedenceTracking.h" #include "llvm/IR/EHPersonalities.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/NoInferenceModelRunner.h b/llvm/include/llvm/Analysis/NoInferenceModelRunner.h index 980b40500d7cc3..4a6f0f57f32952 100644 --- a/llvm/include/llvm/Analysis/NoInferenceModelRunner.h +++ b/llvm/include/llvm/Analysis/NoInferenceModelRunner.h @@ -13,6 +13,7 @@ #include "llvm/Analysis/MLModelRunner.h" #include "llvm/Analysis/TensorSpec.h" #include "llvm/Config/llvm-config.h" +#include "llvm/Support/Compiler.h" namespace llvm { /// A pseudo model runner. We use it to store feature values when collecting /// logs for the default policy, in 'development' mode, but never ask it to diff --git a/llvm/include/llvm/Analysis/ObjCARCAliasAnalysis.h b/llvm/include/llvm/Analysis/ObjCARCAliasAnalysis.h index 1a154c648fe611..b56651e84b5963 100644 --- a/llvm/include/llvm/Analysis/ObjCARCAliasAnalysis.h +++ b/llvm/include/llvm/Analysis/ObjCARCAliasAnalysis.h @@ -24,6 +24,7 @@ #include "llvm/Analysis/AliasAnalysis.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace objcarc { diff --git a/llvm/include/llvm/Analysis/ObjCARCAnalysisUtils.h b/llvm/include/llvm/Analysis/ObjCARCAnalysisUtils.h index 20ff5a5bc6e034..c191132ebff7a0 100644 --- a/llvm/include/llvm/Analysis/ObjCARCAnalysisUtils.h +++ b/llvm/include/llvm/Analysis/ObjCARCAnalysisUtils.h @@ -27,6 +27,7 @@ #include "llvm/IR/Constants.h" #include "llvm/IR/Module.h" #include "llvm/IR/ValueHandle.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Analysis/ObjCARCInstKind.h b/llvm/include/llvm/Analysis/ObjCARCInstKind.h index e332bcf88be79b..da27ee752df4a3 100644 --- a/llvm/include/llvm/Analysis/ObjCARCInstKind.h +++ b/llvm/include/llvm/Analysis/ObjCARCInstKind.h @@ -10,6 +10,7 @@ #define LLVM_ANALYSIS_OBJCARCINSTKIND_H #include "llvm/IR/Instructions.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace objcarc { diff --git a/llvm/include/llvm/Analysis/OptimizationRemarkEmitter.h b/llvm/include/llvm/Analysis/OptimizationRemarkEmitter.h index 8aaeaf29910293..64a022fcd317cb 100644 --- a/llvm/include/llvm/Analysis/OptimizationRemarkEmitter.h +++ b/llvm/include/llvm/Analysis/OptimizationRemarkEmitter.h @@ -18,6 +18,7 @@ #include "llvm/IR/DiagnosticInfo.h" #include "llvm/IR/PassManager.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Analysis/OverflowInstAnalysis.h b/llvm/include/llvm/Analysis/OverflowInstAnalysis.h index 761d20f17a8b83..49e0207038cdcd 100644 --- a/llvm/include/llvm/Analysis/OverflowInstAnalysis.h +++ b/llvm/include/llvm/Analysis/OverflowInstAnalysis.h @@ -14,6 +14,8 @@ #ifndef LLVM_ANALYSIS_OVERFLOWINSTANALYSIS_H #define LLVM_ANALYSIS_OVERFLOWINSTANALYSIS_H +#include "llvm/Support/Compiler.h" + namespace llvm { class Use; class Value; diff --git a/llvm/include/llvm/Analysis/PHITransAddr.h b/llvm/include/llvm/Analysis/PHITransAddr.h index de9c3c4fd29213..364fcd82710cb3 100644 --- a/llvm/include/llvm/Analysis/PHITransAddr.h +++ b/llvm/include/llvm/Analysis/PHITransAddr.h @@ -15,6 +15,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/IR/Instruction.h" +#include "llvm/Support/Compiler.h" namespace llvm { class AssumptionCache; diff --git a/llvm/include/llvm/Analysis/Passes.h b/llvm/include/llvm/Analysis/Passes.h index ac1bc3549910c8..63df72c33f8b79 100644 --- a/llvm/include/llvm/Analysis/Passes.h +++ b/llvm/include/llvm/Analysis/Passes.h @@ -14,6 +14,8 @@ #ifndef LLVM_ANALYSIS_PASSES_H #define LLVM_ANALYSIS_PASSES_H +#include "llvm/Support/Compiler.h" + namespace llvm { class FunctionPass; class ImmutablePass; diff --git a/llvm/include/llvm/Analysis/PhiValues.h b/llvm/include/llvm/Analysis/PhiValues.h index ecbb8874b378e2..7ee5dc05bae480 100644 --- a/llvm/include/llvm/Analysis/PhiValues.h +++ b/llvm/include/llvm/Analysis/PhiValues.h @@ -24,6 +24,7 @@ #include "llvm/ADT/SetVector.h" #include "llvm/IR/PassManager.h" #include "llvm/IR/ValueHandle.h" +#include "llvm/Support/Compiler.h" #include "llvm/Pass.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/PostDominators.h b/llvm/include/llvm/Analysis/PostDominators.h index 4383113c8db11e..e2a0e37b1a91f1 100644 --- a/llvm/include/llvm/Analysis/PostDominators.h +++ b/llvm/include/llvm/Analysis/PostDominators.h @@ -16,6 +16,7 @@ #include "llvm/ADT/DepthFirstIterator.h" #include "llvm/IR/Dominators.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include "llvm/Pass.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/PtrUseVisitor.h b/llvm/include/llvm/Analysis/PtrUseVisitor.h index 86206b2d5e9f88..fbac51f1d12aaa 100644 --- a/llvm/include/llvm/Analysis/PtrUseVisitor.h +++ b/llvm/include/llvm/Analysis/PtrUseVisitor.h @@ -29,6 +29,7 @@ #include "llvm/IR/DerivedTypes.h" #include "llvm/IR/InstVisitor.h" #include "llvm/IR/IntrinsicInst.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Analysis/RegionInfo.h b/llvm/include/llvm/Analysis/RegionInfo.h index 612b977f1ffa45..7bbc35a1e65d85 100644 --- a/llvm/include/llvm/Analysis/RegionInfo.h +++ b/llvm/include/llvm/Analysis/RegionInfo.h @@ -45,6 +45,7 @@ #include "llvm/IR/Dominators.h" #include "llvm/IR/PassManager.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Analysis/RegionIterator.h b/llvm/include/llvm/Analysis/RegionIterator.h index ba28b1b902ead2..ee0d857a44b935 100644 --- a/llvm/include/llvm/Analysis/RegionIterator.h +++ b/llvm/include/llvm/Analysis/RegionIterator.h @@ -15,6 +15,7 @@ #include "llvm/ADT/GraphTraits.h" #include "llvm/ADT/PointerIntPair.h" #include "llvm/Analysis/RegionInfo.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Analysis/RegionPass.h b/llvm/include/llvm/Analysis/RegionPass.h index dd5e6a1a3b2493..2b23a20752504a 100644 --- a/llvm/include/llvm/Analysis/RegionPass.h +++ b/llvm/include/llvm/Analysis/RegionPass.h @@ -17,6 +17,7 @@ #include "llvm/IR/LegacyPassManagers.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Analysis/RegionPrinter.h b/llvm/include/llvm/Analysis/RegionPrinter.h index 501a5406236e92..3c38e58b41c56e 100644 --- a/llvm/include/llvm/Analysis/RegionPrinter.h +++ b/llvm/include/llvm/Analysis/RegionPrinter.h @@ -16,6 +16,7 @@ #include "llvm/Analysis/DOTGraphTraitsPass.h" #include "llvm/Analysis/RegionInfo.h" +#include "llvm/Support/Compiler.h" namespace llvm { class FunctionPass; diff --git a/llvm/include/llvm/Analysis/ReleaseModeModelRunner.h b/llvm/include/llvm/Analysis/ReleaseModeModelRunner.h index 91855138fe18e6..c0ce5dfadf6e41 100644 --- a/llvm/include/llvm/Analysis/ReleaseModeModelRunner.h +++ b/llvm/include/llvm/Analysis/ReleaseModeModelRunner.h @@ -16,6 +16,7 @@ #include "llvm/Analysis/MLModelRunner.h" #include "llvm/Analysis/TensorSpec.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include diff --git a/llvm/include/llvm/Analysis/ReplayInlineAdvisor.h b/llvm/include/llvm/Analysis/ReplayInlineAdvisor.h index 0c5b566f60a470..71abd958ee6bd3 100644 --- a/llvm/include/llvm/Analysis/ReplayInlineAdvisor.h +++ b/llvm/include/llvm/Analysis/ReplayInlineAdvisor.h @@ -11,6 +11,7 @@ #include "llvm/ADT/StringSet.h" #include "llvm/Analysis/InlineAdvisor.h" +#include "llvm/Support/Compiler.h" namespace llvm { class CallBase; diff --git a/llvm/include/llvm/Analysis/ScalarEvolution.h b/llvm/include/llvm/Analysis/ScalarEvolution.h index 234c05f48d8edf..fca8961ebe0161 100644 --- a/llvm/include/llvm/Analysis/ScalarEvolution.h +++ b/llvm/include/llvm/Analysis/ScalarEvolution.h @@ -36,6 +36,7 @@ #include "llvm/IR/ValueHandle.h" #include "llvm/IR/ValueMap.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Analysis/ScalarEvolutionAliasAnalysis.h b/llvm/include/llvm/Analysis/ScalarEvolutionAliasAnalysis.h index 53959b6c69ca57..4182091f84f59e 100644 --- a/llvm/include/llvm/Analysis/ScalarEvolutionAliasAnalysis.h +++ b/llvm/include/llvm/Analysis/ScalarEvolutionAliasAnalysis.h @@ -15,6 +15,7 @@ #include "llvm/Analysis/AliasAnalysis.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/ScalarEvolutionDivision.h b/llvm/include/llvm/Analysis/ScalarEvolutionDivision.h index 3283d438ccb515..055e50c415c296 100644 --- a/llvm/include/llvm/Analysis/ScalarEvolutionDivision.h +++ b/llvm/include/llvm/Analysis/ScalarEvolutionDivision.h @@ -14,6 +14,7 @@ #define LLVM_ANALYSIS_SCALAREVOLUTIONDIVISION_H #include "llvm/Analysis/ScalarEvolutionExpressions.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h b/llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h index 91848a91c17e6e..1a53dd54796fc6 100644 --- a/llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h +++ b/llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h @@ -21,6 +21,7 @@ #include "llvm/IR/Constants.h" #include "llvm/IR/ValueHandle.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include #include diff --git a/llvm/include/llvm/Analysis/ScalarEvolutionNormalization.h b/llvm/include/llvm/Analysis/ScalarEvolutionNormalization.h index b34db8f5a03a39..8899e72133b9ae 100644 --- a/llvm/include/llvm/Analysis/ScalarEvolutionNormalization.h +++ b/llvm/include/llvm/Analysis/ScalarEvolutionNormalization.h @@ -37,6 +37,7 @@ #include "llvm/ADT/STLFunctionalExtras.h" #include "llvm/ADT/SmallPtrSet.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/ScopedNoAliasAA.h b/llvm/include/llvm/Analysis/ScopedNoAliasAA.h index f6ade7c83a61af..87b41c4ce10186 100644 --- a/llvm/include/llvm/Analysis/ScopedNoAliasAA.h +++ b/llvm/include/llvm/Analysis/ScopedNoAliasAA.h @@ -17,6 +17,7 @@ #include "llvm/Analysis/AliasAnalysis.h" #include "llvm/IR/PassManager.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Analysis/SparsePropagation.h b/llvm/include/llvm/Analysis/SparsePropagation.h index d5805a7314757f..daacd91fb58b2e 100644 --- a/llvm/include/llvm/Analysis/SparsePropagation.h +++ b/llvm/include/llvm/Analysis/SparsePropagation.h @@ -17,6 +17,7 @@ #include "llvm/ADT/SmallPtrSet.h" #include "llvm/IR/Constants.h" #include "llvm/IR/Instructions.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include diff --git a/llvm/include/llvm/Analysis/StackLifetime.h b/llvm/include/llvm/Analysis/StackLifetime.h index 7fd88362276a19..c95277baf2343a 100644 --- a/llvm/include/llvm/Analysis/StackLifetime.h +++ b/llvm/include/llvm/Analysis/StackLifetime.h @@ -15,6 +15,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringExtras.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include diff --git a/llvm/include/llvm/Analysis/StackSafetyAnalysis.h b/llvm/include/llvm/Analysis/StackSafetyAnalysis.h index 751735f3e59f6e..f8611da024c519 100644 --- a/llvm/include/llvm/Analysis/StackSafetyAnalysis.h +++ b/llvm/include/llvm/Analysis/StackSafetyAnalysis.h @@ -16,6 +16,7 @@ #include "llvm/IR/ModuleSummaryIndex.h" #include "llvm/IR/PassManager.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/SyntheticCountsUtils.h b/llvm/include/llvm/Analysis/SyntheticCountsUtils.h index 5a6c7dd53c7e55..2b630bbd3d4b92 100644 --- a/llvm/include/llvm/Analysis/SyntheticCountsUtils.h +++ b/llvm/include/llvm/Analysis/SyntheticCountsUtils.h @@ -15,6 +15,7 @@ #include "llvm/ADT/STLFunctionalExtras.h" #include "llvm/Analysis/CallGraph.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ScaledNumber.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/TargetFolder.h b/llvm/include/llvm/Analysis/TargetFolder.h index 978e1002515fc0..c79e336843949c 100644 --- a/llvm/include/llvm/Analysis/TargetFolder.h +++ b/llvm/include/llvm/Analysis/TargetFolder.h @@ -23,6 +23,7 @@ #include "llvm/IR/Constants.h" #include "llvm/IR/IRBuilderFolder.h" #include "llvm/IR/Operator.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/TargetLibraryInfo.h b/llvm/include/llvm/Analysis/TargetLibraryInfo.h index 2ffd4d4b714394..410cf83ff6df99 100644 --- a/llvm/include/llvm/Analysis/TargetLibraryInfo.h +++ b/llvm/include/llvm/Analysis/TargetLibraryInfo.h @@ -13,6 +13,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/IR/InstrTypes.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include "llvm/Pass.h" #include "llvm/TargetParser/Triple.h" #include diff --git a/llvm/include/llvm/Analysis/TargetTransformInfo.h b/llvm/include/llvm/Analysis/TargetTransformInfo.h index c18e0acdb759a8..aa3aa3368d615d 100644 --- a/llvm/include/llvm/Analysis/TargetTransformInfo.h +++ b/llvm/include/llvm/Analysis/TargetTransformInfo.h @@ -28,6 +28,7 @@ #include "llvm/Pass.h" #include "llvm/Support/AtomicOrdering.h" #include "llvm/Support/BranchProbability.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/InstructionCost.h" #include #include diff --git a/llvm/include/llvm/Analysis/TargetTransformInfoImpl.h b/llvm/include/llvm/Analysis/TargetTransformInfoImpl.h index 2ccf57c22234f9..88634f2ffebf41 100644 --- a/llvm/include/llvm/Analysis/TargetTransformInfoImpl.h +++ b/llvm/include/llvm/Analysis/TargetTransformInfoImpl.h @@ -22,6 +22,7 @@ #include "llvm/IR/IntrinsicInst.h" #include "llvm/IR/Operator.h" #include "llvm/IR/PatternMatch.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Analysis/TensorSpec.h b/llvm/include/llvm/Analysis/TensorSpec.h index d6b23cf56f6a5f..35b62913e39f85 100644 --- a/llvm/include/llvm/Analysis/TensorSpec.h +++ b/llvm/include/llvm/Analysis/TensorSpec.h @@ -13,6 +13,7 @@ #include "llvm/ADT/StringMap.h" #include "llvm/IR/LLVMContext.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/JSON.h" #include diff --git a/llvm/include/llvm/Analysis/Trace.h b/llvm/include/llvm/Analysis/Trace.h index a1ffd03c405303..acc72812eadbef 100644 --- a/llvm/include/llvm/Analysis/Trace.h +++ b/llvm/include/llvm/Analysis/Trace.h @@ -17,6 +17,7 @@ #ifndef LLVM_ANALYSIS_TRACE_H #define LLVM_ANALYSIS_TRACE_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Analysis/TypeBasedAliasAnalysis.h b/llvm/include/llvm/Analysis/TypeBasedAliasAnalysis.h index 36dd39c033aa63..10f7526518e4ab 100644 --- a/llvm/include/llvm/Analysis/TypeBasedAliasAnalysis.h +++ b/llvm/include/llvm/Analysis/TypeBasedAliasAnalysis.h @@ -18,6 +18,7 @@ #include "llvm/Analysis/AliasAnalysis.h" #include "llvm/IR/PassManager.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Analysis/TypeMetadataUtils.h b/llvm/include/llvm/Analysis/TypeMetadataUtils.h index dab67aad1ab0eb..c334c540e935cf 100644 --- a/llvm/include/llvm/Analysis/TypeMetadataUtils.h +++ b/llvm/include/llvm/Analysis/TypeMetadataUtils.h @@ -14,6 +14,7 @@ #ifndef LLVM_ANALYSIS_TYPEMETADATAUTILS_H #define LLVM_ANALYSIS_TYPEMETADATAUTILS_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Analysis/UniformityAnalysis.h b/llvm/include/llvm/Analysis/UniformityAnalysis.h index f42c4950ed649f..04ba816430b674 100644 --- a/llvm/include/llvm/Analysis/UniformityAnalysis.h +++ b/llvm/include/llvm/Analysis/UniformityAnalysis.h @@ -16,6 +16,7 @@ #include "llvm/ADT/GenericUniformityInfo.h" #include "llvm/Analysis/CycleAnalysis.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Analysis/Utils/ImportedFunctionsInliningStatistics.h b/llvm/include/llvm/Analysis/Utils/ImportedFunctionsInliningStatistics.h index 45ef4dbe2155e3..48497f5543d6ef 100644 --- a/llvm/include/llvm/Analysis/Utils/ImportedFunctionsInliningStatistics.h +++ b/llvm/include/llvm/Analysis/Utils/ImportedFunctionsInliningStatistics.h @@ -15,6 +15,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Analysis/Utils/Local.h b/llvm/include/llvm/Analysis/Utils/Local.h index e1dbfd3e5f37c0..68cbd8907da939 100644 --- a/llvm/include/llvm/Analysis/Utils/Local.h +++ b/llvm/include/llvm/Analysis/Utils/Local.h @@ -14,6 +14,8 @@ #ifndef LLVM_ANALYSIS_UTILS_LOCAL_H #define LLVM_ANALYSIS_UTILS_LOCAL_H +#include "llvm/Support/Compiler.h" + namespace llvm { class DataLayout; diff --git a/llvm/include/llvm/Analysis/Utils/TrainingLogger.h b/llvm/include/llvm/Analysis/Utils/TrainingLogger.h index 8f46779a732d15..d59a3dbe53c9e9 100644 --- a/llvm/include/llvm/Analysis/Utils/TrainingLogger.h +++ b/llvm/include/llvm/Analysis/Utils/TrainingLogger.h @@ -58,6 +58,7 @@ #include "llvm/ADT/StringMap.h" #include "llvm/Analysis/TensorSpec.h" #include "llvm/IR/LLVMContext.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/JSON.h" #include diff --git a/llvm/include/llvm/Analysis/ValueLattice.h b/llvm/include/llvm/Analysis/ValueLattice.h index 5ae32b5e775e5b..1da5eb3c61efbd 100644 --- a/llvm/include/llvm/Analysis/ValueLattice.h +++ b/llvm/include/llvm/Analysis/ValueLattice.h @@ -12,6 +12,7 @@ #include "llvm/IR/Constants.h" #include "llvm/IR/ConstantRange.h" #include "llvm/IR/Instructions.h" +#include "llvm/Support/Compiler.h" //===----------------------------------------------------------------------===// // ValueLatticeElement diff --git a/llvm/include/llvm/Analysis/ValueLatticeUtils.h b/llvm/include/llvm/Analysis/ValueLatticeUtils.h index a3bbb96129bffc..6a1db715b854e5 100644 --- a/llvm/include/llvm/Analysis/ValueLatticeUtils.h +++ b/llvm/include/llvm/Analysis/ValueLatticeUtils.h @@ -14,6 +14,8 @@ #ifndef LLVM_ANALYSIS_VALUELATTICEUTILS_H #define LLVM_ANALYSIS_VALUELATTICEUTILS_H +#include "llvm/Support/Compiler.h" + namespace llvm { class Function; diff --git a/llvm/include/llvm/Analysis/ValueTracking.h b/llvm/include/llvm/Analysis/ValueTracking.h index 0e02d0d5b4865d..c7674783df855f 100644 --- a/llvm/include/llvm/Analysis/ValueTracking.h +++ b/llvm/include/llvm/Analysis/ValueTracking.h @@ -23,6 +23,7 @@ #include "llvm/IR/FMF.h" #include "llvm/IR/InstrTypes.h" #include "llvm/IR/Intrinsics.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Analysis/VectorUtils.h b/llvm/include/llvm/Analysis/VectorUtils.h index 7947648aaddd4e..e663ebf267a2c7 100644 --- a/llvm/include/llvm/Analysis/VectorUtils.h +++ b/llvm/include/llvm/Analysis/VectorUtils.h @@ -17,6 +17,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/Analysis/LoopAccessAnalysis.h" #include "llvm/Support/CheckedArithmetic.h" +#include "llvm/Support/Compiler.h" namespace llvm { class TargetLibraryInfo; diff --git a/llvm/include/llvm/AsmParser/LLLexer.h b/llvm/include/llvm/AsmParser/LLLexer.h index bd929db33c4a2b..a45d1cb885d008 100644 --- a/llvm/include/llvm/AsmParser/LLLexer.h +++ b/llvm/include/llvm/AsmParser/LLLexer.h @@ -16,6 +16,7 @@ #include "LLToken.h" #include "llvm/ADT/APFloat.h" #include "llvm/ADT/APSInt.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/SMLoc.h" #include diff --git a/llvm/include/llvm/AsmParser/LLParser.h b/llvm/include/llvm/AsmParser/LLParser.h index eca908a24aac7b..bb16097caf2cf2 100644 --- a/llvm/include/llvm/AsmParser/LLParser.h +++ b/llvm/include/llvm/AsmParser/LLParser.h @@ -20,6 +20,7 @@ #include "llvm/IR/FMF.h" #include "llvm/IR/Instructions.h" #include "llvm/IR/ModuleSummaryIndex.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ModRef.h" #include #include diff --git a/llvm/include/llvm/AsmParser/Parser.h b/llvm/include/llvm/AsmParser/Parser.h index b3adfd7fd76cfb..f19a804aae55c0 100644 --- a/llvm/include/llvm/AsmParser/Parser.h +++ b/llvm/include/llvm/AsmParser/Parser.h @@ -15,6 +15,7 @@ #include "llvm/ADT/STLFunctionalExtras.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/AsmParser/SlotMapping.h b/llvm/include/llvm/AsmParser/SlotMapping.h index 0e95eb816b4c6c..78208313d97d05 100644 --- a/llvm/include/llvm/AsmParser/SlotMapping.h +++ b/llvm/include/llvm/AsmParser/SlotMapping.h @@ -15,6 +15,7 @@ #include "llvm/ADT/StringMap.h" #include "llvm/IR/TrackingMDRef.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/BinaryFormat/AMDGPUMetadataVerifier.h b/llvm/include/llvm/BinaryFormat/AMDGPUMetadataVerifier.h index f6268b48e6b29a..ca93b57b94e477 100644 --- a/llvm/include/llvm/BinaryFormat/AMDGPUMetadataVerifier.h +++ b/llvm/include/llvm/BinaryFormat/AMDGPUMetadataVerifier.h @@ -19,6 +19,7 @@ #include "llvm/ADT/STLFunctionalExtras.h" #include "llvm/ADT/StringRef.h" #include "llvm/BinaryFormat/MsgPackReader.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/BinaryFormat/COFF.h b/llvm/include/llvm/BinaryFormat/COFF.h index 522ee37da6e830..93a362eff25a33 100644 --- a/llvm/include/llvm/BinaryFormat/COFF.h +++ b/llvm/include/llvm/BinaryFormat/COFF.h @@ -22,6 +22,7 @@ #ifndef LLVM_BINARYFORMAT_COFF_H #define LLVM_BINARYFORMAT_COFF_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" #include diff --git a/llvm/include/llvm/BinaryFormat/DXContainer.h b/llvm/include/llvm/BinaryFormat/DXContainer.h index c3dcd568216b71..f4988c14414a07 100644 --- a/llvm/include/llvm/BinaryFormat/DXContainer.h +++ b/llvm/include/llvm/BinaryFormat/DXContainer.h @@ -14,6 +14,7 @@ #define LLVM_BINARYFORMAT_DXCONTAINER_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/SwapByteOrder.h" #include "llvm/TargetParser/Triple.h" diff --git a/llvm/include/llvm/BinaryFormat/ELF.h b/llvm/include/llvm/BinaryFormat/ELF.h index 3596174f74dde8..8e64954dcb995b 100644 --- a/llvm/include/llvm/BinaryFormat/ELF.h +++ b/llvm/include/llvm/BinaryFormat/ELF.h @@ -20,6 +20,7 @@ #define LLVM_BINARYFORMAT_ELF_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/BinaryFormat/Magic.h b/llvm/include/llvm/BinaryFormat/Magic.h index a28710dcdfaf2c..f7f96ce1cfd0de 100644 --- a/llvm/include/llvm/BinaryFormat/Magic.h +++ b/llvm/include/llvm/BinaryFormat/Magic.h @@ -9,6 +9,7 @@ #ifndef LLVM_BINARYFORMAT_MAGIC_H #define LLVM_BINARYFORMAT_MAGIC_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/BinaryFormat/Minidump.h b/llvm/include/llvm/BinaryFormat/Minidump.h index bc303929498d03..c1bfe9d5b5b89e 100644 --- a/llvm/include/llvm/BinaryFormat/Minidump.h +++ b/llvm/include/llvm/BinaryFormat/Minidump.h @@ -20,6 +20,7 @@ #include "llvm/ADT/BitmaskEnum.h" #include "llvm/ADT/DenseMapInfo.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" namespace llvm { diff --git a/llvm/include/llvm/BinaryFormat/MsgPackDocument.h b/llvm/include/llvm/BinaryFormat/MsgPackDocument.h index 7a181bd9bf8411..15c2e7e2e57000 100644 --- a/llvm/include/llvm/BinaryFormat/MsgPackDocument.h +++ b/llvm/include/llvm/BinaryFormat/MsgPackDocument.h @@ -18,6 +18,7 @@ #define LLVM_BINARYFORMAT_MSGPACKDOCUMENT_H #include "llvm/BinaryFormat/MsgPackReader.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/BinaryFormat/MsgPackReader.h b/llvm/include/llvm/BinaryFormat/MsgPackReader.h index 5123fb65cf0951..ccb4da9d4ed20e 100644 --- a/llvm/include/llvm/BinaryFormat/MsgPackReader.h +++ b/llvm/include/llvm/BinaryFormat/MsgPackReader.h @@ -33,6 +33,7 @@ #ifndef LLVM_BINARYFORMAT_MSGPACKREADER_H #define LLVM_BINARYFORMAT_MSGPACKREADER_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/MemoryBufferRef.h" #include diff --git a/llvm/include/llvm/BinaryFormat/MsgPackWriter.h b/llvm/include/llvm/BinaryFormat/MsgPackWriter.h index b3d3c3bcdef0eb..70b4e2ddf298d6 100644 --- a/llvm/include/llvm/BinaryFormat/MsgPackWriter.h +++ b/llvm/include/llvm/BinaryFormat/MsgPackWriter.h @@ -28,6 +28,7 @@ #ifndef LLVM_BINARYFORMAT_MSGPACKWRITER_H #define LLVM_BINARYFORMAT_MSGPACKWRITER_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/EndianStream.h" #include "llvm/Support/MemoryBufferRef.h" diff --git a/llvm/include/llvm/BinaryFormat/Wasm.h b/llvm/include/llvm/BinaryFormat/Wasm.h index c7658cc7b7432b..9e5c9cfb08e6d9 100644 --- a/llvm/include/llvm/BinaryFormat/Wasm.h +++ b/llvm/include/llvm/BinaryFormat/Wasm.h @@ -17,6 +17,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/BinaryFormat/WasmTraits.h b/llvm/include/llvm/BinaryFormat/WasmTraits.h index bef9dd3291ca76..e39488c213ea90 100644 --- a/llvm/include/llvm/BinaryFormat/WasmTraits.h +++ b/llvm/include/llvm/BinaryFormat/WasmTraits.h @@ -15,6 +15,7 @@ #include "llvm/ADT/Hashing.h" #include "llvm/BinaryFormat/Wasm.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/BinaryFormat/XCOFF.h b/llvm/include/llvm/BinaryFormat/XCOFF.h index 19d44a5ac57f12..a633a0c5637686 100644 --- a/llvm/include/llvm/BinaryFormat/XCOFF.h +++ b/llvm/include/llvm/BinaryFormat/XCOFF.h @@ -13,6 +13,7 @@ #ifndef LLVM_BINARYFORMAT_XCOFF_H #define LLVM_BINARYFORMAT_XCOFF_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Bitcode/BitcodeAnalyzer.h b/llvm/include/llvm/Bitcode/BitcodeAnalyzer.h index c7219a52f976b7..a4a8c4d27ac19f 100644 --- a/llvm/include/llvm/Bitcode/BitcodeAnalyzer.h +++ b/llvm/include/llvm/Bitcode/BitcodeAnalyzer.h @@ -16,6 +16,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" #include "llvm/Bitstream/BitstreamReader.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/Bitcode/BitcodeCommon.h b/llvm/include/llvm/Bitcode/BitcodeCommon.h index 22d1872fe49cc9..59c70818df3302 100644 --- a/llvm/include/llvm/Bitcode/BitcodeCommon.h +++ b/llvm/include/llvm/Bitcode/BitcodeCommon.h @@ -15,6 +15,7 @@ #define LLVM_BITCODE_BITCODECOMMON_H #include "llvm/ADT/Bitfields.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Bitcode/BitcodeReader.h b/llvm/include/llvm/Bitcode/BitcodeReader.h index f204060a3a9787..b5c8129a1cb37f 100644 --- a/llvm/include/llvm/Bitcode/BitcodeReader.h +++ b/llvm/include/llvm/Bitcode/BitcodeReader.h @@ -17,6 +17,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/Bitstream/BitCodeEnums.h" #include "llvm/IR/GlobalValue.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include "llvm/Support/ErrorOr.h" diff --git a/llvm/include/llvm/Bitcode/BitcodeWriter.h b/llvm/include/llvm/Bitcode/BitcodeWriter.h index 248d33f4502ef0..0420621256b6cf 100644 --- a/llvm/include/llvm/Bitcode/BitcodeWriter.h +++ b/llvm/include/llvm/Bitcode/BitcodeWriter.h @@ -17,6 +17,7 @@ #include "llvm/IR/ModuleSummaryIndex.h" #include "llvm/MC/StringTableBuilder.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MemoryBufferRef.h" #include #include diff --git a/llvm/include/llvm/Bitcode/BitcodeWriterPass.h b/llvm/include/llvm/Bitcode/BitcodeWriterPass.h index 3c2471237532b8..c9b5e4f4603f19 100644 --- a/llvm/include/llvm/Bitcode/BitcodeWriterPass.h +++ b/llvm/include/llvm/Bitcode/BitcodeWriterPass.h @@ -15,6 +15,7 @@ #define LLVM_BITCODE_BITCODEWRITERPASS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Module; diff --git a/llvm/include/llvm/Bitstream/BitCodes.h b/llvm/include/llvm/Bitstream/BitCodes.h index 93888f7d3b335d..2367112e004af1 100644 --- a/llvm/include/llvm/Bitstream/BitCodes.h +++ b/llvm/include/llvm/Bitstream/BitCodes.h @@ -20,6 +20,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringExtras.h" #include "llvm/Bitstream/BitCodeEnums.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" #include "llvm/Support/ErrorHandling.h" #include diff --git a/llvm/include/llvm/Bitstream/BitstreamReader.h b/llvm/include/llvm/Bitstream/BitstreamReader.h index dbc98d1ad72587..100e8befb1f96a 100644 --- a/llvm/include/llvm/Bitstream/BitstreamReader.h +++ b/llvm/include/llvm/Bitstream/BitstreamReader.h @@ -17,6 +17,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/SmallVector.h" #include "llvm/Bitstream/BitCodes.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include "llvm/Support/MemoryBufferRef.h" diff --git a/llvm/include/llvm/Bitstream/BitstreamWriter.h b/llvm/include/llvm/Bitstream/BitstreamWriter.h index f7d362b5d70ceb..c17304fcea25bb 100644 --- a/llvm/include/llvm/Bitstream/BitstreamWriter.h +++ b/llvm/include/llvm/Bitstream/BitstreamWriter.h @@ -18,6 +18,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" #include "llvm/Bitstream/BitCodes.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/MathExtras.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/CodeGen/AccelTable.h b/llvm/include/llvm/CodeGen/AccelTable.h index d4e21b2ac8e7eb..05af98097ea890 100644 --- a/llvm/include/llvm/CodeGen/AccelTable.h +++ b/llvm/include/llvm/CodeGen/AccelTable.h @@ -22,6 +22,7 @@ #include "llvm/CodeGen/DIE.h" #include "llvm/CodeGen/DwarfStringPoolEntry.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DJB.h" #include "llvm/Support/Debug.h" #include diff --git a/llvm/include/llvm/CodeGen/Analysis.h b/llvm/include/llvm/CodeGen/Analysis.h index 1c67fe2d003d90..9b96620d808d00 100644 --- a/llvm/include/llvm/CodeGen/Analysis.h +++ b/llvm/include/llvm/CodeGen/Analysis.h @@ -17,6 +17,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/CodeGen/ISDOpcodes.h" #include "llvm/IR/Instructions.h" +#include "llvm/Support/Compiler.h" namespace llvm { template class SmallVectorImpl; diff --git a/llvm/include/llvm/CodeGen/AsmPrinter.h b/llvm/include/llvm/CodeGen/AsmPrinter.h index 9bfb4d42a54f7f..01a5665f6d7623 100644 --- a/llvm/include/llvm/CodeGen/AsmPrinter.h +++ b/llvm/include/llvm/CodeGen/AsmPrinter.h @@ -26,6 +26,7 @@ #include "llvm/CodeGen/StackMaps.h" #include "llvm/DebugInfo/CodeView/CodeView.h" #include "llvm/IR/InlineAsm.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include #include diff --git a/llvm/include/llvm/CodeGen/AsmPrinterHandler.h b/llvm/include/llvm/CodeGen/AsmPrinterHandler.h index 5c06645f767eb1..f6921a0bea7cd2 100644 --- a/llvm/include/llvm/CodeGen/AsmPrinterHandler.h +++ b/llvm/include/llvm/CodeGen/AsmPrinterHandler.h @@ -14,6 +14,7 @@ #ifndef LLVM_CODEGEN_ASMPRINTERHANDLER_H #define LLVM_CODEGEN_ASMPRINTERHANDLER_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/AssignmentTrackingAnalysis.h b/llvm/include/llvm/CodeGen/AssignmentTrackingAnalysis.h index b740ab567b12f4..2f4126c68192ed 100644 --- a/llvm/include/llvm/CodeGen/AssignmentTrackingAnalysis.h +++ b/llvm/include/llvm/CodeGen/AssignmentTrackingAnalysis.h @@ -5,6 +5,7 @@ #include "llvm/IR/DebugLoc.h" #include "llvm/IR/IntrinsicInst.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Function; diff --git a/llvm/include/llvm/CodeGen/AtomicExpandUtils.h b/llvm/include/llvm/CodeGen/AtomicExpandUtils.h index 1cb410a0c31c69..ed6a15c0952349 100644 --- a/llvm/include/llvm/CodeGen/AtomicExpandUtils.h +++ b/llvm/include/llvm/CodeGen/AtomicExpandUtils.h @@ -12,6 +12,7 @@ #include "llvm/ADT/STLExtras.h" #include "llvm/IR/IRBuilder.h" #include "llvm/Support/AtomicOrdering.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/BasicBlockSectionUtils.h b/llvm/include/llvm/CodeGen/BasicBlockSectionUtils.h index 292abf8b2b5162..00b038b437c53e 100644 --- a/llvm/include/llvm/CodeGen/BasicBlockSectionUtils.h +++ b/llvm/include/llvm/CodeGen/BasicBlockSectionUtils.h @@ -11,6 +11,7 @@ #include "llvm/ADT/STLExtras.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/BasicBlockSectionsProfileReader.h b/llvm/include/llvm/CodeGen/BasicBlockSectionsProfileReader.h index dfb8d5d9f2f5d3..c247b2a87c2d65 100644 --- a/llvm/include/llvm/CodeGen/BasicBlockSectionsProfileReader.h +++ b/llvm/include/llvm/CodeGen/BasicBlockSectionsProfileReader.h @@ -23,6 +23,7 @@ #include "llvm/IR/Module.h" #include "llvm/InitializePasses.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/LineIterator.h" #include "llvm/Support/MemoryBuffer.h" diff --git a/llvm/include/llvm/CodeGen/BasicTTIImpl.h b/llvm/include/llvm/CodeGen/BasicTTIImpl.h index 7a8f36da58cecc..437ebd1183afc2 100644 --- a/llvm/include/llvm/CodeGen/BasicTTIImpl.h +++ b/llvm/include/llvm/CodeGen/BasicTTIImpl.h @@ -44,6 +44,7 @@ #include "llvm/IR/Value.h" #include "llvm/Support/Casting.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/MathExtras.h" #include "llvm/Target/TargetMachine.h" diff --git a/llvm/include/llvm/CodeGen/ByteProvider.h b/llvm/include/llvm/CodeGen/ByteProvider.h index adfa59f14b1dc9..24a1748fb3ff84 100644 --- a/llvm/include/llvm/CodeGen/ByteProvider.h +++ b/llvm/include/llvm/CodeGen/ByteProvider.h @@ -17,6 +17,7 @@ #ifndef LLVM_CODEGEN_BYTEPROVIDER_H #define LLVM_CODEGEN_BYTEPROVIDER_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/CodeGen/CFIFixup.h b/llvm/include/llvm/CodeGen/CFIFixup.h index 40e535106751c9..f543d6387bb6ad 100644 --- a/llvm/include/llvm/CodeGen/CFIFixup.h +++ b/llvm/include/llvm/CodeGen/CFIFixup.h @@ -16,6 +16,7 @@ #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/InitializePasses.h" +#include "llvm/Support/Compiler.h" namespace llvm { class CFIFixup : public MachineFunctionPass { diff --git a/llvm/include/llvm/CodeGen/CSEConfigBase.h b/llvm/include/llvm/CodeGen/CSEConfigBase.h index d3637099c4b657..a219be9000812a 100644 --- a/llvm/include/llvm/CodeGen/CSEConfigBase.h +++ b/llvm/include/llvm/CodeGen/CSEConfigBase.h @@ -9,6 +9,8 @@ #ifndef LLVM_CODEGEN_CSECONFIGBASE_H #define LLVM_CODEGEN_CSECONFIGBASE_H +#include "llvm/Support/Compiler.h" + namespace llvm { // Class representing some configuration that can be done during GlobalISel's // CSEInfo analysis. We define it here because TargetPassConfig can't depend on diff --git a/llvm/include/llvm/CodeGen/CalcSpillWeights.h b/llvm/include/llvm/CodeGen/CalcSpillWeights.h index 41b7f10cfc38ac..9f2fc3acaf42e9 100644 --- a/llvm/include/llvm/CodeGen/CalcSpillWeights.h +++ b/llvm/include/llvm/CodeGen/CalcSpillWeights.h @@ -10,6 +10,7 @@ #define LLVM_CODEGEN_CALCSPILLWEIGHTS_H #include "llvm/CodeGen/SlotIndexes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/CallingConvLower.h b/llvm/include/llvm/CodeGen/CallingConvLower.h index cb88482b94152c..43b87c1bfabd91 100644 --- a/llvm/include/llvm/CodeGen/CallingConvLower.h +++ b/llvm/include/llvm/CodeGen/CallingConvLower.h @@ -19,6 +19,7 @@ #include "llvm/CodeGen/TargetCallingConv.h" #include "llvm/IR/CallingConv.h" #include "llvm/Support/Alignment.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/CodeGen/CodeGenCommonISel.h b/llvm/include/llvm/CodeGen/CodeGenCommonISel.h index 90ef890f22d1b1..d7c627b23d4923 100644 --- a/llvm/include/llvm/CodeGen/CodeGenCommonISel.h +++ b/llvm/include/llvm/CodeGen/CodeGenCommonISel.h @@ -15,6 +15,7 @@ #define LLVM_CODEGEN_CODEGENCOMMONISEL_H #include "llvm/CodeGen/MachineBasicBlock.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/CodeGenPassBuilder.h b/llvm/include/llvm/CodeGen/CodeGenPassBuilder.h index d7739e8bb597e4..94020c92424cc6 100644 --- a/llvm/include/llvm/CodeGen/CodeGenPassBuilder.h +++ b/llvm/include/llvm/CodeGen/CodeGenPassBuilder.h @@ -33,6 +33,7 @@ #include "llvm/MC/MCAsmInfo.h" #include "llvm/MC/MCTargetOptions.h" #include "llvm/Support/CodeGen.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include "llvm/Support/Error.h" #include "llvm/Support/ErrorHandling.h" diff --git a/llvm/include/llvm/CodeGen/CommandFlags.h b/llvm/include/llvm/CodeGen/CommandFlags.h index 6407dde5bcd6c7..919d60a3a1eb58 100644 --- a/llvm/include/llvm/CodeGen/CommandFlags.h +++ b/llvm/include/llvm/CodeGen/CommandFlags.h @@ -17,6 +17,7 @@ #include "llvm/ADT/FloatingPointMode.h" #include "llvm/Support/CodeGen.h" +#include "llvm/Support/Compiler.h" #include "llvm/Target/TargetOptions.h" #include #include diff --git a/llvm/include/llvm/CodeGen/ComplexDeinterleavingPass.h b/llvm/include/llvm/CodeGen/ComplexDeinterleavingPass.h index 84a2673fecb5bf..a330108a7fa2ff 100644 --- a/llvm/include/llvm/CodeGen/ComplexDeinterleavingPass.h +++ b/llvm/include/llvm/CodeGen/ComplexDeinterleavingPass.h @@ -15,6 +15,7 @@ #define LLVM_CODEGEN_COMPLEXDEINTERLEAVING_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/CostTable.h b/llvm/include/llvm/CodeGen/CostTable.h index ca0cbdda3b1148..66b55787040793 100644 --- a/llvm/include/llvm/CodeGen/CostTable.h +++ b/llvm/include/llvm/CodeGen/CostTable.h @@ -17,6 +17,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/STLExtras.h" #include "llvm/CodeGen/MachineValueType.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/DFAPacketizer.h b/llvm/include/llvm/CodeGen/DFAPacketizer.h index a7a2dfdf09506c..7934e72dabee5d 100644 --- a/llvm/include/llvm/CodeGen/DFAPacketizer.h +++ b/llvm/include/llvm/CodeGen/DFAPacketizer.h @@ -29,6 +29,7 @@ #include "llvm/CodeGen/ScheduleDAGInstrs.h" #include "llvm/CodeGen/ScheduleDAGMutation.h" #include "llvm/Support/Automaton.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/DIE.h b/llvm/include/llvm/CodeGen/DIE.h index 952c38cd22dbe6..7a4adcabec2ef5 100644 --- a/llvm/include/llvm/CodeGen/DIE.h +++ b/llvm/include/llvm/CodeGen/DIE.h @@ -24,6 +24,7 @@ #include "llvm/CodeGen/DwarfStringPoolEntry.h" #include "llvm/Support/AlignOf.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/DbgEntityHistoryCalculator.h b/llvm/include/llvm/CodeGen/DbgEntityHistoryCalculator.h index 7708df725180b8..f527feaf4cf74d 100644 --- a/llvm/include/llvm/CodeGen/DbgEntityHistoryCalculator.h +++ b/llvm/include/llvm/CodeGen/DbgEntityHistoryCalculator.h @@ -13,6 +13,7 @@ #include "llvm/ADT/PointerIntPair.h" #include "llvm/ADT/SmallVector.h" #include "llvm/CodeGen/MachineInstr.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/DebugHandlerBase.h b/llvm/include/llvm/CodeGen/DebugHandlerBase.h index af25f2544da717..150708600ce08f 100644 --- a/llvm/include/llvm/CodeGen/DebugHandlerBase.h +++ b/llvm/include/llvm/CodeGen/DebugHandlerBase.h @@ -19,6 +19,7 @@ #include "llvm/CodeGen/LexicalScopes.h" #include "llvm/IR/DebugInfoMetadata.h" #include "llvm/IR/DebugLoc.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/DetectDeadLanes.h b/llvm/include/llvm/CodeGen/DetectDeadLanes.h index 93c7582dce09f6..713d36c0b2a180 100644 --- a/llvm/include/llvm/CodeGen/DetectDeadLanes.h +++ b/llvm/include/llvm/CodeGen/DetectDeadLanes.h @@ -30,6 +30,7 @@ #include "llvm/ADT/BitVector.h" #include "llvm/MC/LaneBitmask.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/DwarfStringPoolEntry.h b/llvm/include/llvm/CodeGen/DwarfStringPoolEntry.h index 188dfbe790e2ce..5dac76bcd87c74 100644 --- a/llvm/include/llvm/CodeGen/DwarfStringPoolEntry.h +++ b/llvm/include/llvm/CodeGen/DwarfStringPoolEntry.h @@ -11,6 +11,7 @@ #include "llvm/ADT/PointerUnion.h" #include "llvm/ADT/StringMap.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/EdgeBundles.h b/llvm/include/llvm/CodeGen/EdgeBundles.h index b844bd307c1970..e1b1ab9c6d853c 100644 --- a/llvm/include/llvm/CodeGen/EdgeBundles.h +++ b/llvm/include/llvm/CodeGen/EdgeBundles.h @@ -18,6 +18,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/IntEqClasses.h" #include "llvm/CodeGen/MachineFunctionPass.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/ExecutionDomainFix.h b/llvm/include/llvm/CodeGen/ExecutionDomainFix.h index 4e2b171c73cc04..c7e3d89a82565c 100644 --- a/llvm/include/llvm/CodeGen/ExecutionDomainFix.h +++ b/llvm/include/llvm/CodeGen/ExecutionDomainFix.h @@ -27,6 +27,7 @@ #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/CodeGen/ReachingDefAnalysis.h" #include "llvm/CodeGen/TargetRegisterInfo.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/ExpandReductions.h b/llvm/include/llvm/CodeGen/ExpandReductions.h index 91c2507a9e395c..e838d45b8daf91 100644 --- a/llvm/include/llvm/CodeGen/ExpandReductions.h +++ b/llvm/include/llvm/CodeGen/ExpandReductions.h @@ -10,6 +10,7 @@ #define LLVM_CODEGEN_EXPANDREDUCTIONS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/ExpandVectorPredication.h b/llvm/include/llvm/CodeGen/ExpandVectorPredication.h index b69adb9db26018..a01f93d2d647d2 100644 --- a/llvm/include/llvm/CodeGen/ExpandVectorPredication.h +++ b/llvm/include/llvm/CodeGen/ExpandVectorPredication.h @@ -10,6 +10,7 @@ #define LLVM_CODEGEN_EXPANDVECTORPREDICATION_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/FastISel.h b/llvm/include/llvm/CodeGen/FastISel.h index dc2931b40d352c..c733d782033505 100644 --- a/llvm/include/llvm/CodeGen/FastISel.h +++ b/llvm/include/llvm/CodeGen/FastISel.h @@ -26,6 +26,7 @@ #include "llvm/IR/DebugLoc.h" #include "llvm/IR/DerivedTypes.h" #include "llvm/IR/InstrTypes.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/CodeGen/FaultMaps.h b/llvm/include/llvm/CodeGen/FaultMaps.h index c228bb895edd0a..4e8cb3dacb782e 100644 --- a/llvm/include/llvm/CodeGen/FaultMaps.h +++ b/llvm/include/llvm/CodeGen/FaultMaps.h @@ -10,6 +10,7 @@ #define LLVM_CODEGEN_FAULTMAPS_H #include "llvm/MC/MCSymbol.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/CodeGen/FunctionLoweringInfo.h b/llvm/include/llvm/CodeGen/FunctionLoweringInfo.h index 4c17e8dcc41a66..a40bbd1d973a78 100644 --- a/llvm/include/llvm/CodeGen/FunctionLoweringInfo.h +++ b/llvm/include/llvm/CodeGen/FunctionLoweringInfo.h @@ -25,6 +25,7 @@ #include "llvm/IR/Instructions.h" #include "llvm/IR/Type.h" #include "llvm/IR/Value.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/KnownBits.h" #include #include diff --git a/llvm/include/llvm/CodeGen/GCMetadata.h b/llvm/include/llvm/CodeGen/GCMetadata.h index 334c5c23b8facc..d0eafa664947eb 100644 --- a/llvm/include/llvm/CodeGen/GCMetadata.h +++ b/llvm/include/llvm/CodeGen/GCMetadata.h @@ -39,6 +39,7 @@ #include "llvm/IR/DebugLoc.h" #include "llvm/IR/GCStrategy.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/GCMetadataPrinter.h b/llvm/include/llvm/CodeGen/GCMetadataPrinter.h index f9527c9f8752e9..1800b527d5ca0d 100644 --- a/llvm/include/llvm/CodeGen/GCMetadataPrinter.h +++ b/llvm/include/llvm/CodeGen/GCMetadataPrinter.h @@ -19,6 +19,7 @@ #ifndef LLVM_CODEGEN_GCMETADATAPRINTER_H #define LLVM_CODEGEN_GCMETADATAPRINTER_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Registry.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/GlobalISel/CSEInfo.h b/llvm/include/llvm/CodeGen/GlobalISel/CSEInfo.h index 816e94362f0262..56e51f0f8390c2 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/CSEInfo.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/CSEInfo.h @@ -19,6 +19,7 @@ #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/Support/Allocator.h" #include "llvm/Support/CodeGen.h" +#include "llvm/Support/Compiler.h" namespace llvm { class MachineBasicBlock; diff --git a/llvm/include/llvm/CodeGen/GlobalISel/CSEMIRBuilder.h b/llvm/include/llvm/CodeGen/GlobalISel/CSEMIRBuilder.h index 488df12f13f8df..0f287e44dae685 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/CSEMIRBuilder.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/CSEMIRBuilder.h @@ -13,6 +13,7 @@ #define LLVM_CODEGEN_GLOBALISEL_CSEMIRBUILDER_H #include "llvm/CodeGen/GlobalISel/MachineIRBuilder.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h b/llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h index ec0b3363f51694..b3623a09c71bb8 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h @@ -24,6 +24,7 @@ #include "llvm/IR/CallingConv.h" #include "llvm/IR/Type.h" #include "llvm/IR/Value.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include #include diff --git a/llvm/include/llvm/CodeGen/GlobalISel/Combiner.h b/llvm/include/llvm/CodeGen/GlobalISel/Combiner.h index f826601544932d..5c2b496df87b60 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/Combiner.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/Combiner.h @@ -18,6 +18,7 @@ #include "llvm/CodeGen/GlobalISel/GIMatchTableExecutor.h" #include "llvm/CodeGen/GlobalISel/GISelChangeObserver.h" #include "llvm/CodeGen/GlobalISel/MachineIRBuilder.h" +#include "llvm/Support/Compiler.h" namespace llvm { class MachineRegisterInfo; diff --git a/llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h b/llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h index ba72a3b71ffd70..1a529a5f652c7c 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h @@ -23,6 +23,7 @@ #include "llvm/CodeGen/LowLevelType.h" #include "llvm/CodeGen/Register.h" #include "llvm/IR/InstrTypes.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/GlobalISel/CombinerInfo.h b/llvm/include/llvm/CodeGen/GlobalISel/CombinerInfo.h index 13a8faf955a7e4..f9f721e3354d44 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/CombinerInfo.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/CombinerInfo.h @@ -14,6 +14,7 @@ #ifndef LLVM_CODEGEN_GLOBALISEL_COMBINERINFO_H #define LLVM_CODEGEN_GLOBALISEL_COMBINERINFO_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/GlobalISel/GISelChangeObserver.h b/llvm/include/llvm/CodeGen/GlobalISel/GISelChangeObserver.h index b42deb01f8d091..dba61a889729b7 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/GISelChangeObserver.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/GISelChangeObserver.h @@ -16,6 +16,7 @@ #include "llvm/ADT/SmallPtrSet.h" #include "llvm/CodeGen/MachineFunction.h" +#include "llvm/Support/Compiler.h" namespace llvm { class MachineInstr; diff --git a/llvm/include/llvm/CodeGen/GlobalISel/GISelKnownBits.h b/llvm/include/llvm/CodeGen/GlobalISel/GISelKnownBits.h index ea75c2c7f6f419..30d75498ef54f4 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/GISelKnownBits.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/GISelKnownBits.h @@ -19,6 +19,7 @@ #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/CodeGen/Register.h" #include "llvm/InitializePasses.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/KnownBits.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/GlobalISel/GISelWorkList.h b/llvm/include/llvm/CodeGen/GlobalISel/GISelWorkList.h index 3ec6a1da201e2c..025647e583eaf4 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/GISelWorkList.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/GISelWorkList.h @@ -11,6 +11,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h b/llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h index b34b90fd24eb60..1f76e682f68406 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h @@ -19,6 +19,7 @@ #include "llvm/CodeGen/MachineMemOperand.h" #include "llvm/CodeGen/TargetOpcodes.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h b/llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h index bffc03ed0187e6..8264736c152b9c 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h @@ -28,6 +28,7 @@ #include "llvm/CodeGen/SwitchLoweringUtils.h" #include "llvm/Support/Allocator.h" #include "llvm/Support/CodeGen.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/CodeGen/GlobalISel/InlineAsmLowering.h b/llvm/include/llvm/CodeGen/GlobalISel/InlineAsmLowering.h index ac6184877b936e..eb9e29000480fa 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/InlineAsmLowering.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/InlineAsmLowering.h @@ -15,6 +15,7 @@ #define LLVM_CODEGEN_GLOBALISEL_INLINEASMLOWERING_H #include "llvm/ADT/ArrayRef.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelect.h b/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelect.h index cada7f30072e2e..600a4ef0597df7 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelect.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelect.h @@ -17,6 +17,7 @@ #include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/Support/CodeGen.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h b/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h index 8331cb58a0991a..f79465bc5f6b92 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h @@ -14,6 +14,7 @@ #define LLVM_CODEGEN_GLOBALISEL_INSTRUCTIONSELECTOR_H #include "llvm/CodeGen/GlobalISel/GIMatchTableExecutor.h" +#include "llvm/Support/Compiler.h" namespace llvm { class InstructionSelector : public GIMatchTableExecutor { diff --git a/llvm/include/llvm/CodeGen/GlobalISel/LegacyLegalizerInfo.h b/llvm/include/llvm/CodeGen/GlobalISel/LegacyLegalizerInfo.h index 0b167ce9650d07..ab64c6043740bb 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/LegacyLegalizerInfo.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/LegacyLegalizerInfo.h @@ -18,6 +18,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/CodeGen/LowLevelType.h" #include "llvm/CodeGen/TargetOpcodes.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h b/llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h index 851353042cc267..f73849ba71c409 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h @@ -26,6 +26,7 @@ #include "llvm/CodeGen/Register.h" #include "llvm/CodeGen/TargetOpcodes.h" #include "llvm/IR/Constants.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #define DEBUG_TYPE "legalizer" diff --git a/llvm/include/llvm/CodeGen/GlobalISel/Legalizer.h b/llvm/include/llvm/CodeGen/GlobalISel/Legalizer.h index e232ab0fb3fe54..63cb6b76af2882 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/Legalizer.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/Legalizer.h @@ -25,6 +25,7 @@ #include "llvm/CodeGen/GlobalISel/GISelKnownBits.h" #include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/MachineFunctionPass.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h b/llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h index 86d3cb2bedb95b..4bcd869ce6dd8b 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h @@ -24,6 +24,7 @@ #include "llvm/CodeGen/GlobalISel/GISelKnownBits.h" #include "llvm/CodeGen/RuntimeLibcalls.h" #include "llvm/CodeGen/TargetOpcodes.h" +#include "llvm/Support/Compiler.h" namespace llvm { // Forward declarations. diff --git a/llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h b/llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h index e51a3ec9400543..6df4b36b3ac254 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h @@ -23,6 +23,7 @@ #include "llvm/MC/MCInstrDesc.h" #include "llvm/Support/AtomicOrdering.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/GlobalISel/LoadStoreOpt.h b/llvm/include/llvm/CodeGen/GlobalISel/LoadStoreOpt.h index 0f20a33f3a755c..00639bd323899f 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/LoadStoreOpt.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/LoadStoreOpt.h @@ -22,6 +22,7 @@ #include "llvm/CodeGen/GlobalISel/MachineIRBuilder.h" #include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/MachineFunctionPass.h" +#include "llvm/Support/Compiler.h" namespace llvm { // Forward declarations. diff --git a/llvm/include/llvm/CodeGen/GlobalISel/Localizer.h b/llvm/include/llvm/CodeGen/GlobalISel/Localizer.h index b1fcdd207a60a1..c5908cb1e52f5f 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/Localizer.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/Localizer.h @@ -23,6 +23,7 @@ #include "llvm/ADT/SetVector.h" #include "llvm/CodeGen/MachineFunctionPass.h" +#include "llvm/Support/Compiler.h" namespace llvm { // Forward declarations. diff --git a/llvm/include/llvm/CodeGen/GlobalISel/LostDebugLocObserver.h b/llvm/include/llvm/CodeGen/GlobalISel/LostDebugLocObserver.h index 1667d0145b0420..a5c3bf47d304af 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/LostDebugLocObserver.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/LostDebugLocObserver.h @@ -14,6 +14,7 @@ #include "llvm/ADT/SmallSet.h" #include "llvm/CodeGen/GlobalISel/GISelChangeObserver.h" +#include "llvm/Support/Compiler.h" namespace llvm { class LostDebugLocObserver : public GISelChangeObserver { diff --git a/llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h b/llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h index ea6ed322e9b192..63aa2b02abb056 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h @@ -17,6 +17,7 @@ #include "llvm/CodeGen/GlobalISel/Utils.h" #include "llvm/CodeGen/MachineRegisterInfo.h" #include "llvm/IR/InstrTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace MIPatternMatch { diff --git a/llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h b/llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h index 3409d441704ca1..98dd6adc3d96cf 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h @@ -20,6 +20,7 @@ #include "llvm/CodeGen/TargetOpcodes.h" #include "llvm/IR/DebugLoc.h" #include "llvm/IR/Module.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/GlobalISel/RegBankSelect.h b/llvm/include/llvm/CodeGen/GlobalISel/RegBankSelect.h index e4d9ff522b5a91..45380b9e89c5d4 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/RegBankSelect.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/RegBankSelect.h @@ -70,6 +70,7 @@ #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/CodeGen/MachineOptimizationRemarkEmitter.h" #include "llvm/CodeGen/RegisterBankInfo.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/GlobalISel/Utils.h b/llvm/include/llvm/CodeGen/GlobalISel/Utils.h index ffb6e53a0363f9..ea0f9b4fd4f031 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/Utils.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/Utils.h @@ -22,6 +22,7 @@ #include "llvm/IR/DebugLoc.h" #include "llvm/Support/Alignment.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/HardwareLoops.h b/llvm/include/llvm/CodeGen/HardwareLoops.h index c7b6e0f5ae5670..809f1725d6144b 100644 --- a/llvm/include/llvm/CodeGen/HardwareLoops.h +++ b/llvm/include/llvm/CodeGen/HardwareLoops.h @@ -15,6 +15,7 @@ #define LLVM_CODEGEN_HARDWARELOOPS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/ISDOpcodes.h b/llvm/include/llvm/CodeGen/ISDOpcodes.h index 349d1286c8dc4f..38ba40a7bd6116 100644 --- a/llvm/include/llvm/CodeGen/ISDOpcodes.h +++ b/llvm/include/llvm/CodeGen/ISDOpcodes.h @@ -14,6 +14,7 @@ #define LLVM_CODEGEN_ISDOPCODES_H #include "llvm/CodeGen/ValueTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/IndirectThunks.h b/llvm/include/llvm/CodeGen/IndirectThunks.h index b0a8e3043be5cc..d1b4be89851dd2 100644 --- a/llvm/include/llvm/CodeGen/IndirectThunks.h +++ b/llvm/include/llvm/CodeGen/IndirectThunks.h @@ -18,6 +18,7 @@ #include "llvm/CodeGen/MachineModuleInfo.h" #include "llvm/IR/IRBuilder.h" #include "llvm/IR/Module.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/IntrinsicLowering.h b/llvm/include/llvm/CodeGen/IntrinsicLowering.h index 0b327a34ca098e..f3213b6639568b 100644 --- a/llvm/include/llvm/CodeGen/IntrinsicLowering.h +++ b/llvm/include/llvm/CodeGen/IntrinsicLowering.h @@ -15,6 +15,8 @@ #ifndef LLVM_CODEGEN_INTRINSICLOWERING_H #define LLVM_CODEGEN_INTRINSICLOWERING_H +#include "llvm/Support/Compiler.h" + namespace llvm { class CallInst; class DataLayout; diff --git a/llvm/include/llvm/CodeGen/LatencyPriorityQueue.h b/llvm/include/llvm/CodeGen/LatencyPriorityQueue.h index 556ef3f8cc788c..c155af901e7b3c 100644 --- a/llvm/include/llvm/CodeGen/LatencyPriorityQueue.h +++ b/llvm/include/llvm/CodeGen/LatencyPriorityQueue.h @@ -17,6 +17,7 @@ #include "llvm/CodeGen/ScheduleDAG.h" #include "llvm/Config/llvm-config.h" +#include "llvm/Support/Compiler.h" namespace llvm { class LatencyPriorityQueue; diff --git a/llvm/include/llvm/CodeGen/LazyMachineBlockFrequencyInfo.h b/llvm/include/llvm/CodeGen/LazyMachineBlockFrequencyInfo.h index e5794966ce630d..b8c0b72f0c1dfe 100644 --- a/llvm/include/llvm/CodeGen/LazyMachineBlockFrequencyInfo.h +++ b/llvm/include/llvm/CodeGen/LazyMachineBlockFrequencyInfo.h @@ -20,6 +20,7 @@ #include "llvm/CodeGen/MachineDominators.h" #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/CodeGen/MachineLoopInfo.h" +#include "llvm/Support/Compiler.h" namespace llvm { /// This is an alternative analysis pass to MachineBlockFrequencyInfo. diff --git a/llvm/include/llvm/CodeGen/LexicalScopes.h b/llvm/include/llvm/CodeGen/LexicalScopes.h index 9617ba80c13884..13fd9b30172bff 100644 --- a/llvm/include/llvm/CodeGen/LexicalScopes.h +++ b/llvm/include/llvm/CodeGen/LexicalScopes.h @@ -21,6 +21,7 @@ #include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/SmallVector.h" #include "llvm/IR/DebugInfoMetadata.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/LiveInterval.h b/llvm/include/llvm/CodeGen/LiveInterval.h index ef74f056dcb34c..4ba7e7e0c8e5a4 100644 --- a/llvm/include/llvm/CodeGen/LiveInterval.h +++ b/llvm/include/llvm/CodeGen/LiveInterval.h @@ -29,6 +29,7 @@ #include "llvm/CodeGen/SlotIndexes.h" #include "llvm/MC/LaneBitmask.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MathExtras.h" #include #include diff --git a/llvm/include/llvm/CodeGen/LiveIntervalCalc.h b/llvm/include/llvm/CodeGen/LiveIntervalCalc.h index b8d67ef8f4e196..7750ce1b0bb51c 100644 --- a/llvm/include/llvm/CodeGen/LiveIntervalCalc.h +++ b/llvm/include/llvm/CodeGen/LiveIntervalCalc.h @@ -18,6 +18,7 @@ #define LLVM_CODEGEN_LIVEINTERVALCALC_H #include "llvm/CodeGen/LiveRangeCalc.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/LiveIntervalUnion.h b/llvm/include/llvm/CodeGen/LiveIntervalUnion.h index 81003455da4241..ab77ee5edef4bb 100644 --- a/llvm/include/llvm/CodeGen/LiveIntervalUnion.h +++ b/llvm/include/llvm/CodeGen/LiveIntervalUnion.h @@ -20,6 +20,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/CodeGen/LiveInterval.h" #include "llvm/CodeGen/SlotIndexes.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/CodeGen/LivePhysRegs.h b/llvm/include/llvm/CodeGen/LivePhysRegs.h index 76bb34d270a26d..3f878ffbb6953d 100644 --- a/llvm/include/llvm/CodeGen/LivePhysRegs.h +++ b/llvm/include/llvm/CodeGen/LivePhysRegs.h @@ -34,6 +34,7 @@ #include "llvm/CodeGen/TargetRegisterInfo.h" #include "llvm/MC/MCRegister.h" #include "llvm/MC/MCRegisterInfo.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/CodeGen/LiveRangeCalc.h b/llvm/include/llvm/CodeGen/LiveRangeCalc.h index 895ecff18f8925..393c69d80fba57 100644 --- a/llvm/include/llvm/CodeGen/LiveRangeCalc.h +++ b/llvm/include/llvm/CodeGen/LiveRangeCalc.h @@ -31,6 +31,7 @@ #include "llvm/CodeGen/LiveInterval.h" #include "llvm/CodeGen/MachineBasicBlock.h" #include "llvm/CodeGen/SlotIndexes.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/LiveRangeEdit.h b/llvm/include/llvm/CodeGen/LiveRangeEdit.h index 0950c20325fb02..4fc28620f94617 100644 --- a/llvm/include/llvm/CodeGen/LiveRangeEdit.h +++ b/llvm/include/llvm/CodeGen/LiveRangeEdit.h @@ -27,6 +27,7 @@ #include "llvm/CodeGen/MachineRegisterInfo.h" #include "llvm/CodeGen/SlotIndexes.h" #include "llvm/CodeGen/TargetSubtargetInfo.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/LiveRegMatrix.h b/llvm/include/llvm/CodeGen/LiveRegMatrix.h index 2b32308c7c075e..7dd82e1dce2f80 100644 --- a/llvm/include/llvm/CodeGen/LiveRegMatrix.h +++ b/llvm/include/llvm/CodeGen/LiveRegMatrix.h @@ -26,6 +26,7 @@ #include "llvm/ADT/BitVector.h" #include "llvm/CodeGen/LiveIntervalUnion.h" #include "llvm/CodeGen/MachineFunctionPass.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/LiveRegUnits.h b/llvm/include/llvm/CodeGen/LiveRegUnits.h index e96165d6b3bbf3..4b17dafb927211 100644 --- a/llvm/include/llvm/CodeGen/LiveRegUnits.h +++ b/llvm/include/llvm/CodeGen/LiveRegUnits.h @@ -19,6 +19,7 @@ #include "llvm/CodeGen/TargetRegisterInfo.h" #include "llvm/MC/LaneBitmask.h" #include "llvm/MC/MCRegisterInfo.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/LiveStacks.h b/llvm/include/llvm/CodeGen/LiveStacks.h index 2edc2985f0ee66..3958c398e542b7 100644 --- a/llvm/include/llvm/CodeGen/LiveStacks.h +++ b/llvm/include/llvm/CodeGen/LiveStacks.h @@ -19,6 +19,7 @@ #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/InitializePasses.h" #include "llvm/PassRegistry.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/LiveVariables.h b/llvm/include/llvm/CodeGen/LiveVariables.h index 5d7f9ff3053cad..e0c0816622d601 100644 --- a/llvm/include/llvm/CodeGen/LiveVariables.h +++ b/llvm/include/llvm/CodeGen/LiveVariables.h @@ -38,6 +38,7 @@ #include "llvm/CodeGen/TargetRegisterInfo.h" #include "llvm/InitializePasses.h" #include "llvm/PassRegistry.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/LoopTraversal.h b/llvm/include/llvm/CodeGen/LoopTraversal.h index 93d140cabd0d7f..4f2aac2fd4ba96 100644 --- a/llvm/include/llvm/CodeGen/LoopTraversal.h +++ b/llvm/include/llvm/CodeGen/LoopTraversal.h @@ -19,6 +19,7 @@ #define LLVM_CODEGEN_LOOPTRAVERSAL_H #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/LowLevelType.h b/llvm/include/llvm/CodeGen/LowLevelType.h index b7477834a1ff5e..f787531860ad23 100644 --- a/llvm/include/llvm/CodeGen/LowLevelType.h +++ b/llvm/include/llvm/CodeGen/LowLevelType.h @@ -28,6 +28,7 @@ #include "llvm/ADT/DenseMapInfo.h" #include "llvm/CodeGen/MachineValueType.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include diff --git a/llvm/include/llvm/CodeGen/LowLevelTypeUtils.h b/llvm/include/llvm/CodeGen/LowLevelTypeUtils.h index 5cd8e5412df260..98a900d4656ef8 100644 --- a/llvm/include/llvm/CodeGen/LowLevelTypeUtils.h +++ b/llvm/include/llvm/CodeGen/LowLevelTypeUtils.h @@ -18,6 +18,7 @@ #include "llvm/CodeGen/LowLevelType.h" #include "llvm/CodeGen/ValueTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/MBFIWrapper.h b/llvm/include/llvm/CodeGen/MBFIWrapper.h index 60917b4e923fca..867c7570450aae 100644 --- a/llvm/include/llvm/CodeGen/MBFIWrapper.h +++ b/llvm/include/llvm/CodeGen/MBFIWrapper.h @@ -16,6 +16,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/Support/BlockFrequency.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/MIRFSDiscriminator.h b/llvm/include/llvm/CodeGen/MIRFSDiscriminator.h index da943268dac876..df4b7141592995 100644 --- a/llvm/include/llvm/CodeGen/MIRFSDiscriminator.h +++ b/llvm/include/llvm/CodeGen/MIRFSDiscriminator.h @@ -20,6 +20,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/MachineFunctionPass.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Discriminator.h" #include diff --git a/llvm/include/llvm/CodeGen/MIRFormatter.h b/llvm/include/llvm/CodeGen/MIRFormatter.h index 203d965836f65c..96fb2bc3ce983a 100644 --- a/llvm/include/llvm/CodeGen/MIRFormatter.h +++ b/llvm/include/llvm/CodeGen/MIRFormatter.h @@ -14,6 +14,7 @@ #define LLVM_CODEGEN_MIRFORMATTER_H #include "llvm/CodeGen/PseudoSourceValue.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include #include diff --git a/llvm/include/llvm/CodeGen/MIRParser/MIParser.h b/llvm/include/llvm/CodeGen/MIRParser/MIParser.h index b01a0c7aa073ca..ec532b7d427358 100644 --- a/llvm/include/llvm/CodeGen/MIRParser/MIParser.h +++ b/llvm/include/llvm/CodeGen/MIRParser/MIParser.h @@ -18,6 +18,7 @@ #include "llvm/CodeGen/MachineMemOperand.h" #include "llvm/CodeGen/Register.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/SMLoc.h" #include diff --git a/llvm/include/llvm/CodeGen/MIRParser/MIRParser.h b/llvm/include/llvm/CodeGen/MIRParser/MIRParser.h index e1606e7c0ea72d..4afd49212c7f89 100644 --- a/llvm/include/llvm/CodeGen/MIRParser/MIRParser.h +++ b/llvm/include/llvm/CodeGen/MIRParser/MIRParser.h @@ -19,6 +19,7 @@ #include "llvm/ADT/STLFunctionalExtras.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/MIRPrinter.h b/llvm/include/llvm/CodeGen/MIRPrinter.h index 5e94418d5fe066..330bf39246b179 100644 --- a/llvm/include/llvm/CodeGen/MIRPrinter.h +++ b/llvm/include/llvm/CodeGen/MIRPrinter.h @@ -14,6 +14,8 @@ #ifndef LLVM_CODEGEN_MIRPRINTER_H #define LLVM_CODEGEN_MIRPRINTER_H +#include "llvm/Support/Compiler.h" + namespace llvm { class MachineBasicBlock; diff --git a/llvm/include/llvm/CodeGen/MIRSampleProfile.h b/llvm/include/llvm/CodeGen/MIRSampleProfile.h index 221e966e2b9e08..4bdfd436b73930 100644 --- a/llvm/include/llvm/CodeGen/MIRSampleProfile.h +++ b/llvm/include/llvm/CodeGen/MIRSampleProfile.h @@ -17,6 +17,7 @@ #include "llvm/ADT/IntrusiveRefCntPtr.h" #include "llvm/ADT/StringRef.h" #include "llvm/CodeGen/MachineFunctionPass.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Discriminator.h" #include #include diff --git a/llvm/include/llvm/CodeGen/MIRYamlMapping.h b/llvm/include/llvm/CodeGen/MIRYamlMapping.h index bf35febb805762..c0b32e915770af 100644 --- a/llvm/include/llvm/CodeGen/MIRYamlMapping.h +++ b/llvm/include/llvm/CodeGen/MIRYamlMapping.h @@ -17,6 +17,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/CodeGen/MachineJumpTableInfo.h" #include "llvm/CodeGen/TargetFrameLowering.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/SMLoc.h" #include "llvm/Support/YAMLTraits.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/CodeGen/MachineBasicBlock.h b/llvm/include/llvm/CodeGen/MachineBasicBlock.h index 4b5336fac33ea4..a34a87b3a84248 100644 --- a/llvm/include/llvm/CodeGen/MachineBasicBlock.h +++ b/llvm/include/llvm/CodeGen/MachineBasicBlock.h @@ -22,6 +22,7 @@ #include "llvm/IR/DebugLoc.h" #include "llvm/MC/LaneBitmask.h" #include "llvm/Support/BranchProbability.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/MachineBlockFrequencyInfo.h b/llvm/include/llvm/CodeGen/MachineBlockFrequencyInfo.h index 3a85bb4ac9f7dd..6fa8ec2e0fc9cd 100644 --- a/llvm/include/llvm/CodeGen/MachineBlockFrequencyInfo.h +++ b/llvm/include/llvm/CodeGen/MachineBlockFrequencyInfo.h @@ -15,6 +15,7 @@ #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/Support/BlockFrequency.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/MachineBranchProbabilityInfo.h b/llvm/include/llvm/CodeGen/MachineBranchProbabilityInfo.h index bd544421bc0ff6..38c55feee854a4 100644 --- a/llvm/include/llvm/CodeGen/MachineBranchProbabilityInfo.h +++ b/llvm/include/llvm/CodeGen/MachineBranchProbabilityInfo.h @@ -16,6 +16,7 @@ #include "llvm/CodeGen/MachineBasicBlock.h" #include "llvm/Pass.h" #include "llvm/Support/BranchProbability.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/MachineCFGPrinter.h b/llvm/include/llvm/CodeGen/MachineCFGPrinter.h index ea3ff5a5c828b9..92d091d589b0c8 100644 --- a/llvm/include/llvm/CodeGen/MachineCFGPrinter.h +++ b/llvm/include/llvm/CodeGen/MachineCFGPrinter.h @@ -12,6 +12,7 @@ #include "llvm/CodeGen/MachineBasicBlock.h" #include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/MachineInstr.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DOTGraphTraits.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/MachineConstantPool.h b/llvm/include/llvm/CodeGen/MachineConstantPool.h index a9bc0ce300b22d..d362eeb17b4b82 100644 --- a/llvm/include/llvm/CodeGen/MachineConstantPool.h +++ b/llvm/include/llvm/CodeGen/MachineConstantPool.h @@ -18,6 +18,7 @@ #include "llvm/ADT/DenseSet.h" #include "llvm/MC/SectionKind.h" #include "llvm/Support/Alignment.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/CodeGen/MachineCycleAnalysis.h b/llvm/include/llvm/CodeGen/MachineCycleAnalysis.h index 1888dd053ce65e..b520d307e57bd9 100644 --- a/llvm/include/llvm/CodeGen/MachineCycleAnalysis.h +++ b/llvm/include/llvm/CodeGen/MachineCycleAnalysis.h @@ -17,6 +17,7 @@ #include "llvm/ADT/GenericCycleInfo.h" #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/CodeGen/MachineSSAContext.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/MachineDominanceFrontier.h b/llvm/include/llvm/CodeGen/MachineDominanceFrontier.h index e3e679608784a4..807b4e8b0c092b 100644 --- a/llvm/include/llvm/CodeGen/MachineDominanceFrontier.h +++ b/llvm/include/llvm/CodeGen/MachineDominanceFrontier.h @@ -13,6 +13,7 @@ #include "llvm/Analysis/DominanceFrontierImpl.h" #include "llvm/CodeGen/MachineBasicBlock.h" #include "llvm/CodeGen/MachineFunctionPass.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/GenericDomTree.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/MachineDominators.h b/llvm/include/llvm/CodeGen/MachineDominators.h index 30c18ef410fab3..891d9e15ae2339 100644 --- a/llvm/include/llvm/CodeGen/MachineDominators.h +++ b/llvm/include/llvm/CodeGen/MachineDominators.h @@ -20,6 +20,7 @@ #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/CodeGen/MachineInstr.h" #include "llvm/CodeGen/MachineInstrBundleIterator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/GenericDomTree.h" #include "llvm/Support/GenericDomTreeConstruction.h" #include diff --git a/llvm/include/llvm/CodeGen/MachineFrameInfo.h b/llvm/include/llvm/CodeGen/MachineFrameInfo.h index 7d11d63d4066f4..a500dc535d41bd 100644 --- a/llvm/include/llvm/CodeGen/MachineFrameInfo.h +++ b/llvm/include/llvm/CodeGen/MachineFrameInfo.h @@ -17,6 +17,7 @@ #include "llvm/CodeGen/Register.h" #include "llvm/CodeGen/TargetFrameLowering.h" #include "llvm/Support/Alignment.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/CodeGen/MachineFunctionPass.h b/llvm/include/llvm/CodeGen/MachineFunctionPass.h index caaf22c2139e31..fa92103d414b06 100644 --- a/llvm/include/llvm/CodeGen/MachineFunctionPass.h +++ b/llvm/include/llvm/CodeGen/MachineFunctionPass.h @@ -20,6 +20,7 @@ #include "llvm/CodeGen/MachineFunction.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/MachineInstr.h b/llvm/include/llvm/CodeGen/MachineInstr.h index bd72ac23fc9c08..9365e6acced831 100644 --- a/llvm/include/llvm/CodeGen/MachineInstr.h +++ b/llvm/include/llvm/CodeGen/MachineInstr.h @@ -28,6 +28,7 @@ #include "llvm/MC/MCInstrDesc.h" #include "llvm/MC/MCSymbol.h" #include "llvm/Support/ArrayRecycler.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MathExtras.h" #include "llvm/Support/TrailingObjects.h" #include diff --git a/llvm/include/llvm/CodeGen/MachineInstrBuilder.h b/llvm/include/llvm/CodeGen/MachineInstrBuilder.h index 954d8e6770a294..75ff9879b37f74 100644 --- a/llvm/include/llvm/CodeGen/MachineInstrBuilder.h +++ b/llvm/include/llvm/CodeGen/MachineInstrBuilder.h @@ -29,6 +29,7 @@ #include "llvm/CodeGen/TargetRegisterInfo.h" #include "llvm/IR/InstrTypes.h" #include "llvm/IR/Intrinsics.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include #include diff --git a/llvm/include/llvm/CodeGen/MachineInstrBundle.h b/llvm/include/llvm/CodeGen/MachineInstrBundle.h index 9685d1fd8a3e08..ea1943f1810e39 100644 --- a/llvm/include/llvm/CodeGen/MachineInstrBundle.h +++ b/llvm/include/llvm/CodeGen/MachineInstrBundle.h @@ -15,6 +15,7 @@ #define LLVM_CODEGEN_MACHINEINSTRBUNDLE_H #include "llvm/CodeGen/MachineBasicBlock.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h b/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h index 250cb0d78a68f3..68c73850b5d6ba 100644 --- a/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h +++ b/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h @@ -15,6 +15,7 @@ #include "llvm/ADT/ilist.h" #include "llvm/ADT/simple_ilist.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/MachineJumpTableInfo.h b/llvm/include/llvm/CodeGen/MachineJumpTableInfo.h index e8e9c2f6338e06..7b0a54e55ae35c 100644 --- a/llvm/include/llvm/CodeGen/MachineJumpTableInfo.h +++ b/llvm/include/llvm/CodeGen/MachineJumpTableInfo.h @@ -19,6 +19,7 @@ #ifndef LLVM_CODEGEN_MACHINEJUMPTABLEINFO_H #define LLVM_CODEGEN_MACHINEJUMPTABLEINFO_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Printable.h" #include #include diff --git a/llvm/include/llvm/CodeGen/MachineLoopInfo.h b/llvm/include/llvm/CodeGen/MachineLoopInfo.h index cf8d1f17bde768..d40be0a7d8d1bc 100644 --- a/llvm/include/llvm/CodeGen/MachineLoopInfo.h +++ b/llvm/include/llvm/CodeGen/MachineLoopInfo.h @@ -32,6 +32,7 @@ #include "llvm/CodeGen/MachineBasicBlock.h" #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/IR/DebugLoc.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/GenericLoopInfo.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/MachineLoopUtils.h b/llvm/include/llvm/CodeGen/MachineLoopUtils.h index b9bf93b71e25c2..022f9a69fafb78 100644 --- a/llvm/include/llvm/CodeGen/MachineLoopUtils.h +++ b/llvm/include/llvm/CodeGen/MachineLoopUtils.h @@ -9,6 +9,8 @@ #ifndef LLVM_CODEGEN_MACHINELOOPUTILS_H #define LLVM_CODEGEN_MACHINELOOPUTILS_H +#include "llvm/Support/Compiler.h" + namespace llvm { class MachineBasicBlock; class MachineRegisterInfo; diff --git a/llvm/include/llvm/CodeGen/MachineMemOperand.h b/llvm/include/llvm/CodeGen/MachineMemOperand.h index da7fd7cdf02958..93e1ba1b1009eb 100644 --- a/llvm/include/llvm/CodeGen/MachineMemOperand.h +++ b/llvm/include/llvm/CodeGen/MachineMemOperand.h @@ -22,6 +22,7 @@ #include "llvm/IR/DerivedTypes.h" #include "llvm/IR/Value.h" // PointerLikeTypeTraits #include "llvm/Support/AtomicOrdering.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/MachineModuleInfo.h b/llvm/include/llvm/CodeGen/MachineModuleInfo.h index 4f0ada3d7e17aa..f629643b1bf14f 100644 --- a/llvm/include/llvm/CodeGen/MachineModuleInfo.h +++ b/llvm/include/llvm/CodeGen/MachineModuleInfo.h @@ -36,6 +36,7 @@ #include "llvm/MC/MCContext.h" #include "llvm/MC/MCSymbol.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/MachineModuleInfoImpls.h b/llvm/include/llvm/CodeGen/MachineModuleInfoImpls.h index f8a328f13eded7..904507cc03ee40 100644 --- a/llvm/include/llvm/CodeGen/MachineModuleInfoImpls.h +++ b/llvm/include/llvm/CodeGen/MachineModuleInfoImpls.h @@ -17,6 +17,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/SetVector.h" #include "llvm/CodeGen/MachineModuleInfo.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/MachineModuleSlotTracker.h b/llvm/include/llvm/CodeGen/MachineModuleSlotTracker.h index fc7635edd82c79..19dbeeec0aec50 100644 --- a/llvm/include/llvm/CodeGen/MachineModuleSlotTracker.h +++ b/llvm/include/llvm/CodeGen/MachineModuleSlotTracker.h @@ -10,6 +10,7 @@ #define LLVM_CODEGEN_MACHINEMODULESLOTTRACKER_H #include "llvm/IR/ModuleSlotTracker.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/MachineOperand.h b/llvm/include/llvm/CodeGen/MachineOperand.h index 1f3b7feedd1897..c7c6e609f75e0b 100644 --- a/llvm/include/llvm/CodeGen/MachineOperand.h +++ b/llvm/include/llvm/CodeGen/MachineOperand.h @@ -16,6 +16,7 @@ #include "llvm/ADT/DenseMapInfo.h" #include "llvm/CodeGen/Register.h" #include "llvm/IR/Intrinsics.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h b/llvm/include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h index 2b177e6763d39e..45728b8f3f2ceb 100644 --- a/llvm/include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h +++ b/llvm/include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h @@ -18,6 +18,7 @@ #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/IR/DiagnosticInfo.h" #include "llvm/IR/Function.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/MachineOutliner.h b/llvm/include/llvm/CodeGen/MachineOutliner.h index d0ff02fea4ff9b..88d7ca3b3f3cd7 100644 --- a/llvm/include/llvm/CodeGen/MachineOutliner.h +++ b/llvm/include/llvm/CodeGen/MachineOutliner.h @@ -18,6 +18,7 @@ #include "llvm/CodeGen/LiveRegUnits.h" #include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/MachineRegisterInfo.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/MachinePassManager.h b/llvm/include/llvm/CodeGen/MachinePassManager.h index 5dc0e2918d4695..77174c23bd4fcb 100644 --- a/llvm/include/llvm/CodeGen/MachinePassManager.h +++ b/llvm/include/llvm/CodeGen/MachinePassManager.h @@ -26,6 +26,7 @@ #include "llvm/ADT/FunctionExtras.h" #include "llvm/ADT/SmallVector.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/CodeGen/MachinePassRegistry.h b/llvm/include/llvm/CodeGen/MachinePassRegistry.h index f5b3723db0aabe..e6bcf2f3994cb5 100644 --- a/llvm/include/llvm/CodeGen/MachinePassRegistry.h +++ b/llvm/include/llvm/CodeGen/MachinePassRegistry.h @@ -20,6 +20,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/CodeGen/Passes.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/MachinePipeliner.h b/llvm/include/llvm/CodeGen/MachinePipeliner.h index 04055ba9732dd4..12cd22116d719d 100644 --- a/llvm/include/llvm/CodeGen/MachinePipeliner.h +++ b/llvm/include/llvm/CodeGen/MachinePipeliner.h @@ -49,6 +49,7 @@ #include "llvm/CodeGen/ScheduleDAGMutation.h" #include "llvm/CodeGen/TargetInstrInfo.h" #include "llvm/InitializePasses.h" +#include "llvm/Support/Compiler.h" #include diff --git a/llvm/include/llvm/CodeGen/MachinePostDominators.h b/llvm/include/llvm/CodeGen/MachinePostDominators.h index cee4294f6317b0..05543581f2695f 100644 --- a/llvm/include/llvm/CodeGen/MachinePostDominators.h +++ b/llvm/include/llvm/CodeGen/MachinePostDominators.h @@ -16,6 +16,7 @@ #include "llvm/CodeGen/MachineDominators.h" #include "llvm/CodeGen/MachineFunctionPass.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/MachineRegionInfo.h b/llvm/include/llvm/CodeGen/MachineRegionInfo.h index eeb69fef2c6b93..381fe855ec7374 100644 --- a/llvm/include/llvm/CodeGen/MachineRegionInfo.h +++ b/llvm/include/llvm/CodeGen/MachineRegionInfo.h @@ -18,6 +18,7 @@ #include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/CodeGen/MachineLoopInfo.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/MachineRegisterInfo.h b/llvm/include/llvm/CodeGen/MachineRegisterInfo.h index 9bca74a1d4fc82..6c3237b38fca12 100644 --- a/llvm/include/llvm/CodeGen/MachineRegisterInfo.h +++ b/llvm/include/llvm/CodeGen/MachineRegisterInfo.h @@ -29,6 +29,7 @@ #include "llvm/CodeGen/TargetRegisterInfo.h" #include "llvm/CodeGen/TargetSubtargetInfo.h" #include "llvm/MC/LaneBitmask.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/MachineSSAContext.h b/llvm/include/llvm/CodeGen/MachineSSAContext.h index b70450c19f283a..4e2c3af2977c0b 100644 --- a/llvm/include/llvm/CodeGen/MachineSSAContext.h +++ b/llvm/include/llvm/CodeGen/MachineSSAContext.h @@ -17,6 +17,7 @@ #include "llvm/ADT/GenericSSAContext.h" #include "llvm/CodeGen/MachineBasicBlock.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Printable.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/MachineSSAUpdater.h b/llvm/include/llvm/CodeGen/MachineSSAUpdater.h index bbd09d7d151ba0..d522a5b45fd975 100644 --- a/llvm/include/llvm/CodeGen/MachineSSAUpdater.h +++ b/llvm/include/llvm/CodeGen/MachineSSAUpdater.h @@ -14,6 +14,7 @@ #define LLVM_CODEGEN_MACHINESSAUPDATER_H #include "llvm/CodeGen/Register.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/MachineScheduler.h b/llvm/include/llvm/CodeGen/MachineScheduler.h index 9f16cf5d5bc387..f89acc945339bf 100644 --- a/llvm/include/llvm/CodeGen/MachineScheduler.h +++ b/llvm/include/llvm/CodeGen/MachineScheduler.h @@ -89,6 +89,7 @@ #include "llvm/CodeGen/ScheduleDAGMutation.h" #include "llvm/CodeGen/TargetSchedule.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include #include diff --git a/llvm/include/llvm/CodeGen/MachineSizeOpts.h b/llvm/include/llvm/CodeGen/MachineSizeOpts.h index 550508ad7a233f..76ddb7175b6a13 100644 --- a/llvm/include/llvm/CodeGen/MachineSizeOpts.h +++ b/llvm/include/llvm/CodeGen/MachineSizeOpts.h @@ -13,6 +13,7 @@ #ifndef LLVM_CODEGEN_MACHINESIZEOPTS_H #define LLVM_CODEGEN_MACHINESIZEOPTS_H +#include "llvm/Support/Compiler.h" #include "llvm/Transforms/Utils/SizeOpts.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/MachineStableHash.h b/llvm/include/llvm/CodeGen/MachineStableHash.h index 743615d136aefc..eda0c4052f01f8 100644 --- a/llvm/include/llvm/CodeGen/MachineStableHash.h +++ b/llvm/include/llvm/CodeGen/MachineStableHash.h @@ -15,6 +15,7 @@ #define LLVM_CODEGEN_MACHINESTABLEHASH_H #include "llvm/ADT/StableHashing.h" +#include "llvm/Support/Compiler.h" namespace llvm { class MachineBasicBlock; diff --git a/llvm/include/llvm/CodeGen/MachineTraceMetrics.h b/llvm/include/llvm/CodeGen/MachineTraceMetrics.h index fce78581a48c4c..ba70f26cd80240 100644 --- a/llvm/include/llvm/CodeGen/MachineTraceMetrics.h +++ b/llvm/include/llvm/CodeGen/MachineTraceMetrics.h @@ -53,6 +53,7 @@ #include "llvm/CodeGen/MachineBasicBlock.h" #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/CodeGen/TargetSchedule.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/MachineUniformityAnalysis.h b/llvm/include/llvm/CodeGen/MachineUniformityAnalysis.h index e6da099751e7ae..63417cdf657153 100644 --- a/llvm/include/llvm/CodeGen/MachineUniformityAnalysis.h +++ b/llvm/include/llvm/CodeGen/MachineUniformityAnalysis.h @@ -18,6 +18,7 @@ #include "llvm/CodeGen/MachineCycleAnalysis.h" #include "llvm/CodeGen/MachineDominators.h" #include "llvm/CodeGen/MachineSSAContext.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/MachineValueType.h b/llvm/include/llvm/CodeGen/MachineValueType.h index f0d380fa9cda20..8cc618dd9da56d 100644 --- a/llvm/include/llvm/CodeGen/MachineValueType.h +++ b/llvm/include/llvm/CodeGen/MachineValueType.h @@ -17,6 +17,7 @@ #define LLVM_CODEGEN_MACHINEVALUETYPE_H #include "llvm/ADT/Sequence.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/MathExtras.h" #include "llvm/Support/TypeSize.h" diff --git a/llvm/include/llvm/CodeGen/MacroFusion.h b/llvm/include/llvm/CodeGen/MacroFusion.h index ea2c7a5faae385..c8246fcf2e3fb6 100644 --- a/llvm/include/llvm/CodeGen/MacroFusion.h +++ b/llvm/include/llvm/CodeGen/MacroFusion.h @@ -14,6 +14,7 @@ #ifndef LLVM_CODEGEN_MACROFUSION_H #define LLVM_CODEGEN_MACROFUSION_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/CodeGen/ModuloSchedule.h b/llvm/include/llvm/CodeGen/ModuloSchedule.h index d03f7b4959159e..77ca6ff696b6ac 100644 --- a/llvm/include/llvm/CodeGen/ModuloSchedule.h +++ b/llvm/include/llvm/CodeGen/ModuloSchedule.h @@ -64,6 +64,7 @@ #include "llvm/CodeGen/MachineLoopUtils.h" #include "llvm/CodeGen/TargetInstrInfo.h" #include "llvm/CodeGen/TargetSubtargetInfo.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/CodeGen/MultiHazardRecognizer.h b/llvm/include/llvm/CodeGen/MultiHazardRecognizer.h index 9846045ff014bb..987ad742bfe05e 100644 --- a/llvm/include/llvm/CodeGen/MultiHazardRecognizer.h +++ b/llvm/include/llvm/CodeGen/MultiHazardRecognizer.h @@ -16,6 +16,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/CodeGen/ScheduleHazardRecognizer.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/NonRelocatableStringpool.h b/llvm/include/llvm/CodeGen/NonRelocatableStringpool.h index fe07c70d85c597..a03846d05d6b2a 100644 --- a/llvm/include/llvm/CodeGen/NonRelocatableStringpool.h +++ b/llvm/include/llvm/CodeGen/NonRelocatableStringpool.h @@ -11,6 +11,7 @@ #include "llvm/CodeGen/DwarfStringPoolEntry.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/CodeGen/PBQP/CostAllocator.h b/llvm/include/llvm/CodeGen/PBQP/CostAllocator.h index 7a8ee691c034f0..7e28d04663d961 100644 --- a/llvm/include/llvm/CodeGen/PBQP/CostAllocator.h +++ b/llvm/include/llvm/CodeGen/PBQP/CostAllocator.h @@ -18,6 +18,7 @@ #define LLVM_CODEGEN_PBQP_COSTALLOCATOR_H #include "llvm/ADT/DenseSet.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/PBQP/Graph.h b/llvm/include/llvm/CodeGen/PBQP/Graph.h index 5c802802a88042..142bfa1461a085 100644 --- a/llvm/include/llvm/CodeGen/PBQP/Graph.h +++ b/llvm/include/llvm/CodeGen/PBQP/Graph.h @@ -14,6 +14,7 @@ #define LLVM_CODEGEN_PBQP_GRAPH_H #include "llvm/ADT/STLExtras.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/PBQP/Math.h b/llvm/include/llvm/CodeGen/PBQP/Math.h index 099ba788e9a2d8..b9d45848f1267b 100644 --- a/llvm/include/llvm/CodeGen/PBQP/Math.h +++ b/llvm/include/llvm/CodeGen/PBQP/Math.h @@ -11,6 +11,7 @@ #include "llvm/ADT/Hashing.h" #include "llvm/ADT/STLExtras.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/PBQP/Solution.h b/llvm/include/llvm/CodeGen/PBQP/Solution.h index d5b1474f0f4c7e..de2abef047ce87 100644 --- a/llvm/include/llvm/CodeGen/PBQP/Solution.h +++ b/llvm/include/llvm/CodeGen/PBQP/Solution.h @@ -14,6 +14,7 @@ #define LLVM_CODEGEN_PBQP_SOLUTION_H #include "llvm/CodeGen/PBQP/Graph.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/CodeGen/PBQPRAConstraint.h b/llvm/include/llvm/CodeGen/PBQPRAConstraint.h index 876ab97a669fd6..a683bff1ff9e80 100644 --- a/llvm/include/llvm/CodeGen/PBQPRAConstraint.h +++ b/llvm/include/llvm/CodeGen/PBQPRAConstraint.h @@ -15,6 +15,7 @@ #ifndef LLVM_CODEGEN_PBQPRACONSTRAINT_H #define LLVM_CODEGEN_PBQPRACONSTRAINT_H +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/ParallelCG.h b/llvm/include/llvm/CodeGen/ParallelCG.h index fc50dc1442541b..795e9d05679570 100644 --- a/llvm/include/llvm/CodeGen/ParallelCG.h +++ b/llvm/include/llvm/CodeGen/ParallelCG.h @@ -14,6 +14,7 @@ #define LLVM_CODEGEN_PARALLELCG_H #include "llvm/Support/CodeGen.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/CodeGen/Passes.h b/llvm/include/llvm/CodeGen/Passes.h index 712048017bca1a..0c389aee91103e 100644 --- a/llvm/include/llvm/CodeGen/Passes.h +++ b/llvm/include/llvm/CodeGen/Passes.h @@ -15,6 +15,7 @@ #define LLVM_CODEGEN_PASSES_H #include "llvm/Support/CodeGen.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Discriminator.h" #include "llvm/CodeGen/RegAllocCommon.h" diff --git a/llvm/include/llvm/CodeGen/PreISelIntrinsicLowering.h b/llvm/include/llvm/CodeGen/PreISelIntrinsicLowering.h index aa6a0e6935b33b..8c92b3d632222e 100644 --- a/llvm/include/llvm/CodeGen/PreISelIntrinsicLowering.h +++ b/llvm/include/llvm/CodeGen/PreISelIntrinsicLowering.h @@ -14,6 +14,7 @@ #define LLVM_CODEGEN_PREISELINTRINSICLOWERING_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/PseudoSourceValue.h b/llvm/include/llvm/CodeGen/PseudoSourceValue.h index 07b7ba32156698..bffa2dd57851f6 100644 --- a/llvm/include/llvm/CodeGen/PseudoSourceValue.h +++ b/llvm/include/llvm/CodeGen/PseudoSourceValue.h @@ -15,6 +15,7 @@ #include "llvm/ADT/StringMap.h" #include "llvm/IR/ValueMap.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/RDFGraph.h b/llvm/include/llvm/CodeGen/RDFGraph.h index cf7344e8c3e746..1e9ccc812ff1fa 100644 --- a/llvm/include/llvm/CodeGen/RDFGraph.h +++ b/llvm/include/llvm/CodeGen/RDFGraph.h @@ -229,6 +229,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/MC/LaneBitmask.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MathExtras.h" #include #include diff --git a/llvm/include/llvm/CodeGen/RDFLiveness.h b/llvm/include/llvm/CodeGen/RDFLiveness.h index fe1034f9b6f8ef..4091769fab938e 100644 --- a/llvm/include/llvm/CodeGen/RDFLiveness.h +++ b/llvm/include/llvm/CodeGen/RDFLiveness.h @@ -16,6 +16,7 @@ #include "RDFRegisters.h" #include "llvm/ADT/DenseMap.h" #include "llvm/MC/LaneBitmask.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/RDFRegisters.h b/llvm/include/llvm/CodeGen/RDFRegisters.h index 7eed0b4e1e7b8f..9d8174600f9946 100644 --- a/llvm/include/llvm/CodeGen/RDFRegisters.h +++ b/llvm/include/llvm/CodeGen/RDFRegisters.h @@ -15,6 +15,7 @@ #include "llvm/CodeGen/TargetRegisterInfo.h" #include "llvm/MC/LaneBitmask.h" #include "llvm/MC/MCRegister.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/ReachingDefAnalysis.h b/llvm/include/llvm/CodeGen/ReachingDefAnalysis.h index ec652f448f0f65..7386af9d54eee4 100644 --- a/llvm/include/llvm/CodeGen/ReachingDefAnalysis.h +++ b/llvm/include/llvm/CodeGen/ReachingDefAnalysis.h @@ -27,6 +27,7 @@ #include "llvm/CodeGen/LoopTraversal.h" #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/InitializePasses.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/RegAllocPBQP.h b/llvm/include/llvm/CodeGen/RegAllocPBQP.h index 1ea8840947bc88..c0cc2726a15921 100644 --- a/llvm/include/llvm/CodeGen/RegAllocPBQP.h +++ b/llvm/include/llvm/CodeGen/RegAllocPBQP.h @@ -24,6 +24,7 @@ #include "llvm/CodeGen/PBQP/Solution.h" #include "llvm/CodeGen/Register.h" #include "llvm/MC/MCRegister.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include #include diff --git a/llvm/include/llvm/CodeGen/RegAllocRegistry.h b/llvm/include/llvm/CodeGen/RegAllocRegistry.h index cd81e084a859ba..14fa5861f0cf4f 100644 --- a/llvm/include/llvm/CodeGen/RegAllocRegistry.h +++ b/llvm/include/llvm/CodeGen/RegAllocRegistry.h @@ -16,6 +16,7 @@ #include "llvm/CodeGen/RegAllocCommon.h" #include "llvm/CodeGen/MachinePassRegistry.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/Register.h b/llvm/include/llvm/CodeGen/Register.h index e1456f81d4670f..f8daf0b4e1e0f4 100644 --- a/llvm/include/llvm/CodeGen/Register.h +++ b/llvm/include/llvm/CodeGen/Register.h @@ -10,6 +10,7 @@ #define LLVM_CODEGEN_REGISTER_H #include "llvm/MC/MCRegister.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/RegisterBank.h b/llvm/include/llvm/CodeGen/RegisterBank.h index 3efd896ce05921..ca81275f35b68a 100644 --- a/llvm/include/llvm/CodeGen/RegisterBank.h +++ b/llvm/include/llvm/CodeGen/RegisterBank.h @@ -14,6 +14,7 @@ #define LLVM_CODEGEN_REGISTERBANK_H #include +#include "llvm/Support/Compiler.h" namespace llvm { // Forward declarations. diff --git a/llvm/include/llvm/CodeGen/RegisterBankInfo.h b/llvm/include/llvm/CodeGen/RegisterBankInfo.h index 1ee1f6b6c32ed6..8fb6481aefbafe 100644 --- a/llvm/include/llvm/CodeGen/RegisterBankInfo.h +++ b/llvm/include/llvm/CodeGen/RegisterBankInfo.h @@ -21,6 +21,7 @@ #include "llvm/CodeGen/LowLevelType.h" #include "llvm/CodeGen/Register.h" #include "llvm/CodeGen/RegisterBank.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include #include diff --git a/llvm/include/llvm/CodeGen/RegisterClassInfo.h b/llvm/include/llvm/CodeGen/RegisterClassInfo.h index 0e50d2feb9b281..e9297a85b1495a 100644 --- a/llvm/include/llvm/CodeGen/RegisterClassInfo.h +++ b/llvm/include/llvm/CodeGen/RegisterClassInfo.h @@ -21,6 +21,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/CodeGen/TargetRegisterInfo.h" #include "llvm/MC/MCRegister.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/CodeGen/RegisterPressure.h b/llvm/include/llvm/CodeGen/RegisterPressure.h index 8a46e505affd2f..b2d0507bcf5b1f 100644 --- a/llvm/include/llvm/CodeGen/RegisterPressure.h +++ b/llvm/include/llvm/CodeGen/RegisterPressure.h @@ -21,6 +21,7 @@ #include "llvm/CodeGen/SlotIndexes.h" #include "llvm/CodeGen/TargetRegisterInfo.h" #include "llvm/MC/LaneBitmask.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/RegisterScavenging.h b/llvm/include/llvm/CodeGen/RegisterScavenging.h index c1038ef1be68be..1f02d819080576 100644 --- a/llvm/include/llvm/CodeGen/RegisterScavenging.h +++ b/llvm/include/llvm/CodeGen/RegisterScavenging.h @@ -23,6 +23,7 @@ #include "llvm/CodeGen/MachineBasicBlock.h" #include "llvm/CodeGen/MachineRegisterInfo.h" #include "llvm/MC/LaneBitmask.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/RegisterUsageInfo.h b/llvm/include/llvm/CodeGen/RegisterUsageInfo.h index aa1f5ef8110b0c..4b474c4eb8433a 100644 --- a/llvm/include/llvm/CodeGen/RegisterUsageInfo.h +++ b/llvm/include/llvm/CodeGen/RegisterUsageInfo.h @@ -23,6 +23,7 @@ #include "llvm/InitializePasses.h" #include "llvm/Pass.h" #include "llvm/PassRegistry.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/CodeGen/ReplaceWithVeclib.h b/llvm/include/llvm/CodeGen/ReplaceWithVeclib.h index c71aca0c992b38..b4d308d890bf2c 100644 --- a/llvm/include/llvm/CodeGen/ReplaceWithVeclib.h +++ b/llvm/include/llvm/CodeGen/ReplaceWithVeclib.h @@ -18,6 +18,7 @@ #include "llvm/InitializePasses.h" #include "llvm/Pass.h" #include "llvm/PassRegistry.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Function; diff --git a/llvm/include/llvm/CodeGen/ResourcePriorityQueue.h b/llvm/include/llvm/CodeGen/ResourcePriorityQueue.h index bd63dd8756210f..41bdd72c4bd5a8 100644 --- a/llvm/include/llvm/CodeGen/ResourcePriorityQueue.h +++ b/llvm/include/llvm/CodeGen/ResourcePriorityQueue.h @@ -17,6 +17,7 @@ #define LLVM_CODEGEN_RESOURCEPRIORITYQUEUE_H #include "llvm/CodeGen/ScheduleDAG.h" +#include "llvm/Support/Compiler.h" namespace llvm { class DFAPacketizer; diff --git a/llvm/include/llvm/CodeGen/RuntimeLibcalls.h b/llvm/include/llvm/CodeGen/RuntimeLibcalls.h index 66642068151073..fa2868b993c570 100644 --- a/llvm/include/llvm/CodeGen/RuntimeLibcalls.h +++ b/llvm/include/llvm/CodeGen/RuntimeLibcalls.h @@ -16,6 +16,7 @@ #include "llvm/CodeGen/ValueTypes.h" #include "llvm/Support/AtomicOrdering.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace RTLIB { diff --git a/llvm/include/llvm/CodeGen/ScheduleDAG.h b/llvm/include/llvm/CodeGen/ScheduleDAG.h index c5172e8c542b73..0316738bb25826 100644 --- a/llvm/include/llvm/CodeGen/ScheduleDAG.h +++ b/llvm/include/llvm/CodeGen/ScheduleDAG.h @@ -21,6 +21,7 @@ #include "llvm/ADT/iterator.h" #include "llvm/CodeGen/MachineInstr.h" #include "llvm/CodeGen/TargetLowering.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include #include diff --git a/llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h b/llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h index ef7662a8e7a26a..6298daa4905c9d 100644 --- a/llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h +++ b/llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h @@ -26,6 +26,7 @@ #include "llvm/CodeGen/TargetRegisterInfo.h" #include "llvm/CodeGen/TargetSchedule.h" #include "llvm/MC/LaneBitmask.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/ScheduleDAGMutation.h b/llvm/include/llvm/CodeGen/ScheduleDAGMutation.h index d1dd72859a380e..6e68de285f0250 100644 --- a/llvm/include/llvm/CodeGen/ScheduleDAGMutation.h +++ b/llvm/include/llvm/CodeGen/ScheduleDAGMutation.h @@ -14,6 +14,8 @@ #ifndef LLVM_CODEGEN_SCHEDULEDAGMUTATION_H #define LLVM_CODEGEN_SCHEDULEDAGMUTATION_H +#include "llvm/Support/Compiler.h" + namespace llvm { class ScheduleDAGInstrs; diff --git a/llvm/include/llvm/CodeGen/ScheduleDFS.h b/llvm/include/llvm/CodeGen/ScheduleDFS.h index 2e0a30cc56e3cc..99f33831db9bb8 100644 --- a/llvm/include/llvm/CodeGen/ScheduleDFS.h +++ b/llvm/include/llvm/CodeGen/ScheduleDFS.h @@ -15,6 +15,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/CodeGen/ScheduleDAG.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/ScheduleHazardRecognizer.h b/llvm/include/llvm/CodeGen/ScheduleHazardRecognizer.h index 9f1101b658d048..7b02667251862a 100644 --- a/llvm/include/llvm/CodeGen/ScheduleHazardRecognizer.h +++ b/llvm/include/llvm/CodeGen/ScheduleHazardRecognizer.h @@ -14,6 +14,8 @@ #ifndef LLVM_CODEGEN_SCHEDULEHAZARDRECOGNIZER_H #define LLVM_CODEGEN_SCHEDULEHAZARDRECOGNIZER_H +#include "llvm/Support/Compiler.h" + namespace llvm { class MachineInstr; diff --git a/llvm/include/llvm/CodeGen/SchedulerRegistry.h b/llvm/include/llvm/CodeGen/SchedulerRegistry.h index 0c356e62ae4eea..7425752df51e71 100644 --- a/llvm/include/llvm/CodeGen/SchedulerRegistry.h +++ b/llvm/include/llvm/CodeGen/SchedulerRegistry.h @@ -16,6 +16,7 @@ #include "llvm/CodeGen/MachinePassRegistry.h" #include "llvm/Support/CodeGen.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/ScoreboardHazardRecognizer.h b/llvm/include/llvm/CodeGen/ScoreboardHazardRecognizer.h index a70acca98a5c46..e449b68a8280c1 100644 --- a/llvm/include/llvm/CodeGen/ScoreboardHazardRecognizer.h +++ b/llvm/include/llvm/CodeGen/ScoreboardHazardRecognizer.h @@ -17,6 +17,7 @@ #include "llvm/CodeGen/ScheduleHazardRecognizer.h" #include "llvm/MC/MCInstrItineraries.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/SelectionDAG.h b/llvm/include/llvm/CodeGen/SelectionDAG.h index e867448b9d5512..912efd9f60284b 100644 --- a/llvm/include/llvm/CodeGen/SelectionDAG.h +++ b/llvm/include/llvm/CodeGen/SelectionDAG.h @@ -37,6 +37,7 @@ #include "llvm/Support/Allocator.h" #include "llvm/Support/ArrayRecycler.h" #include "llvm/Support/CodeGen.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/RecyclingAllocator.h" #include diff --git a/llvm/include/llvm/CodeGen/SelectionDAGAddressAnalysis.h b/llvm/include/llvm/CodeGen/SelectionDAGAddressAnalysis.h index 3d0f836b0c7578..0901b195b770b6 100644 --- a/llvm/include/llvm/CodeGen/SelectionDAGAddressAnalysis.h +++ b/llvm/include/llvm/CodeGen/SelectionDAGAddressAnalysis.h @@ -10,6 +10,7 @@ #define LLVM_CODEGEN_SELECTIONDAGADDRESSANALYSIS_H #include "llvm/CodeGen/SelectionDAGNodes.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/SelectionDAGISel.h b/llvm/include/llvm/CodeGen/SelectionDAGISel.h index 884fdfadfcbef7..88ccc03ee371b2 100644 --- a/llvm/include/llvm/CodeGen/SelectionDAGISel.h +++ b/llvm/include/llvm/CodeGen/SelectionDAGISel.h @@ -17,6 +17,7 @@ #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/CodeGen/SelectionDAG.h" #include "llvm/IR/BasicBlock.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h index 4df56aac4aa17b..ffb2fc7b282b6e 100644 --- a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h @@ -42,6 +42,7 @@ #include "llvm/Support/AlignOf.h" #include "llvm/Support/AtomicOrdering.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/TypeSize.h" #include diff --git a/llvm/include/llvm/CodeGen/SelectionDAGTargetInfo.h b/llvm/include/llvm/CodeGen/SelectionDAGTargetInfo.h index 720c9463867c34..eb66886f2e8038 100644 --- a/llvm/include/llvm/CodeGen/SelectionDAGTargetInfo.h +++ b/llvm/include/llvm/CodeGen/SelectionDAGTargetInfo.h @@ -18,6 +18,7 @@ #include "llvm/CodeGen/MachineMemOperand.h" #include "llvm/CodeGen/SelectionDAGNodes.h" #include "llvm/Support/CodeGen.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/SlotIndexes.h b/llvm/include/llvm/CodeGen/SlotIndexes.h index 72f4a6876b6cb1..cbee2967066863 100644 --- a/llvm/include/llvm/CodeGen/SlotIndexes.h +++ b/llvm/include/llvm/CodeGen/SlotIndexes.h @@ -29,6 +29,7 @@ #include "llvm/CodeGen/MachineInstr.h" #include "llvm/CodeGen/MachineInstrBundle.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/Spiller.h b/llvm/include/llvm/CodeGen/Spiller.h index b2f5485eba02e7..4f1309916f06cd 100644 --- a/llvm/include/llvm/CodeGen/Spiller.h +++ b/llvm/include/llvm/CodeGen/Spiller.h @@ -9,6 +9,8 @@ #ifndef LLVM_CODEGEN_SPILLER_H #define LLVM_CODEGEN_SPILLER_H +#include "llvm/Support/Compiler.h" + namespace llvm { class LiveRangeEdit; diff --git a/llvm/include/llvm/CodeGen/StackMaps.h b/llvm/include/llvm/CodeGen/StackMaps.h index 467e31f17bc82b..ecf3c2c77a8862 100644 --- a/llvm/include/llvm/CodeGen/StackMaps.h +++ b/llvm/include/llvm/CodeGen/StackMaps.h @@ -13,6 +13,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/CodeGen/MachineInstr.h" #include "llvm/IR/CallingConv.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include #include diff --git a/llvm/include/llvm/CodeGen/StackProtector.h b/llvm/include/llvm/CodeGen/StackProtector.h index 70a3abff83f6e3..bbbbdf5899982d 100644 --- a/llvm/include/llvm/CodeGen/StackProtector.h +++ b/llvm/include/llvm/CodeGen/StackProtector.h @@ -21,6 +21,7 @@ #include "llvm/CodeGen/MachineFrameInfo.h" #include "llvm/IR/Instructions.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include "llvm/TargetParser/Triple.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/SwiftErrorValueTracking.h b/llvm/include/llvm/CodeGen/SwiftErrorValueTracking.h index a374736347f6d7..381f8ea5f80ae2 100644 --- a/llvm/include/llvm/CodeGen/SwiftErrorValueTracking.h +++ b/llvm/include/llvm/CodeGen/SwiftErrorValueTracking.h @@ -20,6 +20,7 @@ #include "llvm/CodeGen/Register.h" #include "llvm/IR/BasicBlock.h" #include "llvm/IR/DebugLoc.h" +#include "llvm/Support/Compiler.h" #include diff --git a/llvm/include/llvm/CodeGen/SwitchLoweringUtils.h b/llvm/include/llvm/CodeGen/SwitchLoweringUtils.h index 189dfef590b0f9..2bb840c8f6ba75 100644 --- a/llvm/include/llvm/CodeGen/SwitchLoweringUtils.h +++ b/llvm/include/llvm/CodeGen/SwitchLoweringUtils.h @@ -14,6 +14,7 @@ #include "llvm/CodeGen/SelectionDAGNodes.h" #include "llvm/IR/InstrTypes.h" #include "llvm/Support/BranchProbability.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/TailDuplicator.h b/llvm/include/llvm/CodeGen/TailDuplicator.h index 8fdce301c0ccb1..4ffe638f41082e 100644 --- a/llvm/include/llvm/CodeGen/TailDuplicator.h +++ b/llvm/include/llvm/CodeGen/TailDuplicator.h @@ -18,6 +18,7 @@ #include "llvm/ADT/DenseSet.h" #include "llvm/ADT/SmallVector.h" #include "llvm/CodeGen/TargetInstrInfo.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/CodeGen/TargetCallingConv.h b/llvm/include/llvm/CodeGen/TargetCallingConv.h index 89ea9bcb2a408d..ca51121b31c045 100644 --- a/llvm/include/llvm/CodeGen/TargetCallingConv.h +++ b/llvm/include/llvm/CodeGen/TargetCallingConv.h @@ -16,6 +16,7 @@ #include "llvm/CodeGen/MachineValueType.h" #include "llvm/CodeGen/ValueTypes.h" #include "llvm/Support/Alignment.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MathExtras.h" #include #include diff --git a/llvm/include/llvm/CodeGen/TargetFrameLowering.h b/llvm/include/llvm/CodeGen/TargetFrameLowering.h index 35551d45af43ab..3ad6b7742818fb 100644 --- a/llvm/include/llvm/CodeGen/TargetFrameLowering.h +++ b/llvm/include/llvm/CodeGen/TargetFrameLowering.h @@ -14,6 +14,7 @@ #define LLVM_CODEGEN_TARGETFRAMELOWERING_H #include "llvm/CodeGen/MachineBasicBlock.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/TypeSize.h" #include diff --git a/llvm/include/llvm/CodeGen/TargetInstrInfo.h b/llvm/include/llvm/CodeGen/TargetInstrInfo.h index 8e7499ac626a74..f0e7d45d06559a 100644 --- a/llvm/include/llvm/CodeGen/TargetInstrInfo.h +++ b/llvm/include/llvm/CodeGen/TargetInstrInfo.h @@ -29,6 +29,7 @@ #include "llvm/CodeGen/VirtRegMap.h" #include "llvm/MC/MCInstrInfo.h" #include "llvm/Support/BranchProbability.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include #include diff --git a/llvm/include/llvm/CodeGen/TargetLowering.h b/llvm/include/llvm/CodeGen/TargetLowering.h index c87537291e3b16..59973c3534d418 100644 --- a/llvm/include/llvm/CodeGen/TargetLowering.h +++ b/llvm/include/llvm/CodeGen/TargetLowering.h @@ -50,6 +50,7 @@ #include "llvm/Support/Alignment.h" #include "llvm/Support/AtomicOrdering.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include #include diff --git a/llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h b/llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h index 9f92b919824d2d..7466bb3d7809ff 100644 --- a/llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h +++ b/llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h @@ -17,6 +17,7 @@ #include "llvm/ADT/SmallPtrSet.h" #include "llvm/BinaryFormat/XCOFF.h" #include "llvm/MC/MCExpr.h" +#include "llvm/Support/Compiler.h" #include "llvm/Target/TargetLoweringObjectFile.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/TargetPassConfig.h b/llvm/include/llvm/CodeGen/TargetPassConfig.h index 66365419aa330b..46d7fd536a0429 100644 --- a/llvm/include/llvm/CodeGen/TargetPassConfig.h +++ b/llvm/include/llvm/CodeGen/TargetPassConfig.h @@ -15,6 +15,7 @@ #include "llvm/Pass.h" #include "llvm/Support/CodeGen.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/CodeGen/TargetRegisterInfo.h b/llvm/include/llvm/CodeGen/TargetRegisterInfo.h index 337fab735a0952..e61d9b3cff1f4f 100644 --- a/llvm/include/llvm/CodeGen/TargetRegisterInfo.h +++ b/llvm/include/llvm/CodeGen/TargetRegisterInfo.h @@ -24,6 +24,7 @@ #include "llvm/IR/CallingConv.h" #include "llvm/MC/LaneBitmask.h" #include "llvm/MC/MCRegisterInfo.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/MathExtras.h" #include "llvm/Support/Printable.h" diff --git a/llvm/include/llvm/CodeGen/TargetSchedule.h b/llvm/include/llvm/CodeGen/TargetSchedule.h index 3d39798790cdce..af0e3947800d09 100644 --- a/llvm/include/llvm/CodeGen/TargetSchedule.h +++ b/llvm/include/llvm/CodeGen/TargetSchedule.h @@ -20,6 +20,7 @@ #include "llvm/Config/llvm-config.h" #include "llvm/MC/MCInstrItineraries.h" #include "llvm/MC/MCSchedule.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/TargetSubtargetInfo.h b/llvm/include/llvm/CodeGen/TargetSubtargetInfo.h index 55ef95c2854319..b4defaf99312fa 100644 --- a/llvm/include/llvm/CodeGen/TargetSubtargetInfo.h +++ b/llvm/include/llvm/CodeGen/TargetSubtargetInfo.h @@ -21,6 +21,7 @@ #include "llvm/IR/GlobalValue.h" #include "llvm/MC/MCSubtargetInfo.h" #include "llvm/Support/CodeGen.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/CodeGen/TileShapeInfo.h b/llvm/include/llvm/CodeGen/TileShapeInfo.h index 48c2d9ae70dfa6..e902404d05a0a4 100644 --- a/llvm/include/llvm/CodeGen/TileShapeInfo.h +++ b/llvm/include/llvm/CodeGen/TileShapeInfo.h @@ -24,6 +24,7 @@ #include "llvm/CodeGen/MachineOperand.h" #include "llvm/CodeGen/MachineRegisterInfo.h" #include "llvm/CodeGen/Register.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/TypePromotion.h b/llvm/include/llvm/CodeGen/TypePromotion.h index efe58232cdcdd9..dd8fc920a78aad 100644 --- a/llvm/include/llvm/CodeGen/TypePromotion.h +++ b/llvm/include/llvm/CodeGen/TypePromotion.h @@ -15,6 +15,7 @@ #define LLVM_CODEGEN_TYPEPROMOTION_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/UnreachableBlockElim.h b/llvm/include/llvm/CodeGen/UnreachableBlockElim.h index 7dbae77e344015..5732c4abe57b54 100644 --- a/llvm/include/llvm/CodeGen/UnreachableBlockElim.h +++ b/llvm/include/llvm/CodeGen/UnreachableBlockElim.h @@ -23,6 +23,7 @@ #define LLVM_CODEGEN_UNREACHABLEBLOCKELIM_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/VLIWMachineScheduler.h b/llvm/include/llvm/CodeGen/VLIWMachineScheduler.h index 112ff6df034450..3b0bc97c35a28c 100644 --- a/llvm/include/llvm/CodeGen/VLIWMachineScheduler.h +++ b/llvm/include/llvm/CodeGen/VLIWMachineScheduler.h @@ -15,6 +15,7 @@ #include "llvm/ADT/Twine.h" #include "llvm/CodeGen/MachineScheduler.h" #include "llvm/CodeGen/TargetSchedule.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/CodeGen/VirtRegMap.h b/llvm/include/llvm/CodeGen/VirtRegMap.h index 42e8d294a637ad..a46469eef1b6ee 100644 --- a/llvm/include/llvm/CodeGen/VirtRegMap.h +++ b/llvm/include/llvm/CodeGen/VirtRegMap.h @@ -21,6 +21,7 @@ #include "llvm/CodeGen/TargetRegisterInfo.h" #include "llvm/CodeGen/TileShapeInfo.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/CodeGen/WasmEHFuncInfo.h b/llvm/include/llvm/CodeGen/WasmEHFuncInfo.h index ab6b897e9f9994..a710c091186e3a 100644 --- a/llvm/include/llvm/CodeGen/WasmEHFuncInfo.h +++ b/llvm/include/llvm/CodeGen/WasmEHFuncInfo.h @@ -16,6 +16,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/PointerUnion.h" #include "llvm/ADT/SmallPtrSet.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/CodeGen/WinEHFuncInfo.h b/llvm/include/llvm/CodeGen/WinEHFuncInfo.h index c007d462e0709e..7e1a55c4bbf2b4 100644 --- a/llvm/include/llvm/CodeGen/WinEHFuncInfo.h +++ b/llvm/include/llvm/CodeGen/WinEHFuncInfo.h @@ -16,6 +16,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/PointerUnion.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Config/abi-breaking.h.cmake b/llvm/include/llvm/Config/abi-breaking.h.cmake index 2d27e02b1d5457..25c14dfc4c5ae4 100644 --- a/llvm/include/llvm/Config/abi-breaking.h.cmake +++ b/llvm/include/llvm/Config/abi-breaking.h.cmake @@ -12,6 +12,8 @@ #ifndef LLVM_ABI_BREAKING_CHECKS_H #define LLVM_ABI_BREAKING_CHECKS_H +#include "llvm/Support/Compiler.h" + /* Define to enable checks that alter the LLVM C++ ABI */ #cmakedefine01 LLVM_ENABLE_ABI_BREAKING_CHECKS diff --git a/llvm/include/llvm/DWARFLinker/DWARFLinker.h b/llvm/include/llvm/DWARFLinker/DWARFLinker.h index 2bd85e30d3b13b..796f9560362f05 100644 --- a/llvm/include/llvm/DWARFLinker/DWARFLinker.h +++ b/llvm/include/llvm/DWARFLinker/DWARFLinker.h @@ -19,6 +19,7 @@ #include "llvm/DebugInfo/DWARF/DWARFDebugRangeList.h" #include "llvm/DebugInfo/DWARF/DWARFDie.h" #include "llvm/DebugInfo/DWARF/DWARFExpression.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DWARFLinker/DWARFLinkerCompileUnit.h b/llvm/include/llvm/DWARFLinker/DWARFLinkerCompileUnit.h index 08ebd4bc70bc93..c78421c3518435 100644 --- a/llvm/include/llvm/DWARFLinker/DWARFLinkerCompileUnit.h +++ b/llvm/include/llvm/DWARFLinker/DWARFLinkerCompileUnit.h @@ -13,6 +13,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/CodeGen/DIE.h" #include "llvm/DebugInfo/DWARF/DWARFUnit.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DWARFLinker/DWARFLinkerDeclContext.h b/llvm/include/llvm/DWARFLinker/DWARFLinkerDeclContext.h index fb02b0fc1b4dfe..488ae6f164a118 100644 --- a/llvm/include/llvm/DWARFLinker/DWARFLinkerDeclContext.h +++ b/llvm/include/llvm/DWARFLinker/DWARFLinkerDeclContext.h @@ -16,6 +16,7 @@ #include "llvm/CodeGen/NonRelocatableStringpool.h" #include "llvm/DebugInfo/DWARF/DWARFDebugLine.h" #include "llvm/DebugInfo/DWARF/DWARFDie.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/Path.h" #include diff --git a/llvm/include/llvm/DWARFLinker/DWARFStreamer.h b/llvm/include/llvm/DWARFLinker/DWARFStreamer.h index 18eb7277bfa2df..3f5058c5021da2 100644 --- a/llvm/include/llvm/DWARFLinker/DWARFStreamer.h +++ b/llvm/include/llvm/DWARFLinker/DWARFStreamer.h @@ -18,6 +18,7 @@ #include "llvm/MC/MCObjectFileInfo.h" #include "llvm/MC/MCRegisterInfo.h" #include "llvm/MC/MCSubtargetInfo.h" +#include "llvm/Support/Compiler.h" #include "llvm/Target/TargetMachine.h" namespace llvm { diff --git a/llvm/include/llvm/DWARFLinkerParallel/AddressesMap.h b/llvm/include/llvm/DWARFLinkerParallel/AddressesMap.h index b451fee4e0b723..be34e98e1fe872 100644 --- a/llvm/include/llvm/DWARFLinkerParallel/AddressesMap.h +++ b/llvm/include/llvm/DWARFLinkerParallel/AddressesMap.h @@ -14,6 +14,7 @@ #include "llvm/DebugInfo/DWARF/DWARFDie.h" #include "llvm/DebugInfo/DWARF/DWARFExpression.h" #include "llvm/DebugInfo/DWARF/DWARFUnit.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DWARFLinkerParallel/DWARFFile.h b/llvm/include/llvm/DWARFLinkerParallel/DWARFFile.h index c320530569bb05..5b88b70f93a1cf 100644 --- a/llvm/include/llvm/DWARFLinkerParallel/DWARFFile.h +++ b/llvm/include/llvm/DWARFLinkerParallel/DWARFFile.h @@ -12,6 +12,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/DWARFLinkerParallel/AddressesMap.h" #include "llvm/DebugInfo/DWARF/DWARFContext.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include #include diff --git a/llvm/include/llvm/DWARFLinkerParallel/DWARFLinker.h b/llvm/include/llvm/DWARFLinkerParallel/DWARFLinker.h index a3e754a6b9ffa2..e09c874f82099e 100644 --- a/llvm/include/llvm/DWARFLinkerParallel/DWARFLinker.h +++ b/llvm/include/llvm/DWARFLinkerParallel/DWARFLinker.h @@ -15,6 +15,7 @@ #include "llvm/DebugInfo/DWARF/DWARFContext.h" #include "llvm/DebugInfo/DWARF/DWARFDie.h" #include "llvm/MC/MCDwarf.h" +#include "llvm/Support/Compiler.h" #include "llvm/TargetParser/Triple.h" /// ------------------------------------------------------------------ diff --git a/llvm/include/llvm/DWARFLinkerParallel/StringPool.h b/llvm/include/llvm/DWARFLinkerParallel/StringPool.h index 8608476a8dc794..9e140a4bd2e2fc 100644 --- a/llvm/include/llvm/DWARFLinkerParallel/StringPool.h +++ b/llvm/include/llvm/DWARFLinkerParallel/StringPool.h @@ -12,6 +12,7 @@ #include "llvm/ADT/ConcurrentHashtable.h" #include "llvm/CodeGen/DwarfStringPoolEntry.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/PerThreadBumpPtrAllocator.h" #include #include diff --git a/llvm/include/llvm/DWP/DWP.h b/llvm/include/llvm/DWP/DWP.h index e33133d38ae008..389c3c830e4c86 100644 --- a/llvm/include/llvm/DWP/DWP.h +++ b/llvm/include/llvm/DWP/DWP.h @@ -10,6 +10,7 @@ #include "llvm/MC/MCSection.h" #include "llvm/MC/MCStreamer.h" #include "llvm/Object/ObjectFile.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/DWP/DWPError.h b/llvm/include/llvm/DWP/DWPError.h index a690ef3109bbfc..da8c8406dcf17c 100644 --- a/llvm/include/llvm/DWP/DWPError.h +++ b/llvm/include/llvm/DWP/DWPError.h @@ -1,6 +1,7 @@ #ifndef LLVM_DWP_DWPERROR_H #define LLVM_DWP_DWPERROR_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/ErrorHandling.h" #include diff --git a/llvm/include/llvm/DWP/DWPStringPool.h b/llvm/include/llvm/DWP/DWPStringPool.h index 1354b46f156b6f..6234be924dae4d 100644 --- a/llvm/include/llvm/DWP/DWPStringPool.h +++ b/llvm/include/llvm/DWP/DWPStringPool.h @@ -4,6 +4,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/MC/MCSection.h" #include "llvm/MC/MCStreamer.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h b/llvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h index fa2277343d5d4a..945c5609c6ca4f 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h +++ b/llvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h @@ -16,6 +16,7 @@ #include "llvm/DebugInfo/CodeView/TypeCollection.h" #include "llvm/DebugInfo/CodeView/TypeIndex.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/CodeView/CVRecord.h b/llvm/include/llvm/DebugInfo/CodeView/CVRecord.h index 99de8ebef812fb..025db3b0b19aac 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/CVRecord.h +++ b/llvm/include/llvm/DebugInfo/CodeView/CVRecord.h @@ -15,6 +15,7 @@ #include "llvm/DebugInfo/CodeView/RecordSerialization.h" #include "llvm/Support/BinaryStreamReader.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/CVSymbolVisitor.h b/llvm/include/llvm/DebugInfo/CodeView/CVSymbolVisitor.h index c629018fd109fc..28a98e03d5ab60 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/CVSymbolVisitor.h +++ b/llvm/include/llvm/DebugInfo/CodeView/CVSymbolVisitor.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_CODEVIEW_CVSYMBOLVISITOR_H #include "llvm/DebugInfo/CodeView/CVRecord.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/CodeView/CVTypeVisitor.h b/llvm/include/llvm/DebugInfo/CodeView/CVTypeVisitor.h index 7780e233cab3b0..ce9467760eb319 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/CVTypeVisitor.h +++ b/llvm/include/llvm/DebugInfo/CodeView/CVTypeVisitor.h @@ -12,6 +12,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/DebugInfo/CodeView/CVRecord.h" #include "llvm/DebugInfo/CodeView/CodeView.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/CodeView/CodeView.h b/llvm/include/llvm/DebugInfo/CodeView/CodeView.h index 62e559e2cebaef..e9911075203a38 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/CodeView.h +++ b/llvm/include/llvm/DebugInfo/CodeView/CodeView.h @@ -16,6 +16,7 @@ #include #include +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/CodeView/CodeViewError.h b/llvm/include/llvm/DebugInfo/CodeView/CodeViewError.h index 17eb06c242a95c..4f59e182a3d3a6 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/CodeViewError.h +++ b/llvm/include/llvm/DebugInfo/CodeView/CodeViewError.h @@ -9,6 +9,7 @@ #ifndef LLVM_DEBUGINFO_CODEVIEW_CODEVIEWERROR_H #define LLVM_DEBUGINFO_CODEVIEW_CODEVIEWERROR_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h b/llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h index 29ba0c3eb78508..fc6bbb1ba5a1d2 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h +++ b/llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h @@ -14,6 +14,7 @@ #include "llvm/DebugInfo/CodeView/CodeViewError.h" #include "llvm/Support/BinaryStreamReader.h" #include "llvm/Support/BinaryStreamWriter.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/ContinuationRecordBuilder.h b/llvm/include/llvm/DebugInfo/CodeView/ContinuationRecordBuilder.h index 84cef520a2f460..90ec227748d3b8 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/ContinuationRecordBuilder.h +++ b/llvm/include/llvm/DebugInfo/CodeView/ContinuationRecordBuilder.h @@ -15,6 +15,7 @@ #include "llvm/DebugInfo/CodeView/TypeRecordMapping.h" #include "llvm/Support/BinaryByteStream.h" #include "llvm/Support/BinaryStreamWriter.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h b/llvm/include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h index 615fd216e65500..89f9496e1f8260 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h +++ b/llvm/include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h @@ -17,6 +17,7 @@ #include "llvm/Support/Allocator.h" #include "llvm/Support/BinaryStreamArray.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/DebugCrossExSubsection.h b/llvm/include/llvm/DebugInfo/CodeView/DebugCrossExSubsection.h index e21873a3af8f7f..fe2acc5c725127 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/DebugCrossExSubsection.h +++ b/llvm/include/llvm/DebugInfo/CodeView/DebugCrossExSubsection.h @@ -13,6 +13,7 @@ #include "llvm/DebugInfo/CodeView/DebugSubsection.h" #include "llvm/Support/BinaryStreamArray.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/DebugCrossImpSubsection.h b/llvm/include/llvm/DebugInfo/CodeView/DebugCrossImpSubsection.h index 198ce4a8b4e4c2..b2dd04684384b6 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/DebugCrossImpSubsection.h +++ b/llvm/include/llvm/DebugInfo/CodeView/DebugCrossImpSubsection.h @@ -15,6 +15,7 @@ #include "llvm/DebugInfo/CodeView/DebugSubsection.h" #include "llvm/Support/BinaryStreamArray.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/DebugFrameDataSubsection.h b/llvm/include/llvm/DebugInfo/CodeView/DebugFrameDataSubsection.h index f2c5bf9d7c957c..9c80dc00bdcd7d 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/DebugFrameDataSubsection.h +++ b/llvm/include/llvm/DebugInfo/CodeView/DebugFrameDataSubsection.h @@ -13,6 +13,7 @@ #include "llvm/DebugInfo/CodeView/DebugSubsection.h" #include "llvm/Support/BinaryStreamArray.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" diff --git a/llvm/include/llvm/DebugInfo/CodeView/DebugInlineeLinesSubsection.h b/llvm/include/llvm/DebugInfo/CodeView/DebugInlineeLinesSubsection.h index f9d1507af5f3cd..064a38c96cab3c 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/DebugInlineeLinesSubsection.h +++ b/llvm/include/llvm/DebugInfo/CodeView/DebugInlineeLinesSubsection.h @@ -16,6 +16,7 @@ #include "llvm/Support/BinaryStreamArray.h" #include "llvm/Support/BinaryStreamReader.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/DebugLinesSubsection.h b/llvm/include/llvm/DebugInfo/CodeView/DebugLinesSubsection.h index 68eb9e1af3bd3c..a5748510ca73f4 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/DebugLinesSubsection.h +++ b/llvm/include/llvm/DebugInfo/CodeView/DebugLinesSubsection.h @@ -15,6 +15,7 @@ #include "llvm/DebugInfo/CodeView/Line.h" #include "llvm/Support/BinaryStreamArray.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h b/llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h index 6e5b8adddd4aef..bb3054a431a353 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h +++ b/llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h @@ -15,6 +15,7 @@ #include "llvm/DebugInfo/CodeView/CodeView.h" #include "llvm/DebugInfo/CodeView/DebugSubsection.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/DebugSubsection.h b/llvm/include/llvm/DebugInfo/CodeView/DebugSubsection.h index 39413bb73b5832..5e7e8d8135d387 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/DebugSubsection.h +++ b/llvm/include/llvm/DebugInfo/CodeView/DebugSubsection.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_CODEVIEW_DEBUGSUBSECTION_H #include "llvm/DebugInfo/CodeView/CodeView.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/DebugSubsectionRecord.h b/llvm/include/llvm/DebugInfo/CodeView/DebugSubsectionRecord.h index e915d8a5830c4a..e0c3ecbc4a3fb0 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/DebugSubsectionRecord.h +++ b/llvm/include/llvm/DebugInfo/CodeView/DebugSubsectionRecord.h @@ -12,6 +12,7 @@ #include "llvm/DebugInfo/CodeView/CodeView.h" #include "llvm/Support/BinaryStreamArray.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include "llvm/Support/MathExtras.h" diff --git a/llvm/include/llvm/DebugInfo/CodeView/DebugSubsectionVisitor.h b/llvm/include/llvm/DebugInfo/CodeView/DebugSubsectionVisitor.h index fdca2ad063a14c..67c7856ee8fa09 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/DebugSubsectionVisitor.h +++ b/llvm/include/llvm/DebugInfo/CodeView/DebugSubsectionVisitor.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_CODEVIEW_DEBUGSUBSECTIONVISITOR_H #include "llvm/DebugInfo/CodeView/StringsAndChecksums.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/CodeView/DebugSymbolRVASubsection.h b/llvm/include/llvm/DebugInfo/CodeView/DebugSymbolRVASubsection.h index 91b740ce6b9aee..034e82b113359f 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/DebugSymbolRVASubsection.h +++ b/llvm/include/llvm/DebugInfo/CodeView/DebugSymbolRVASubsection.h @@ -12,6 +12,7 @@ #include "llvm/DebugInfo/CodeView/CodeView.h" #include "llvm/DebugInfo/CodeView/DebugSubsection.h" #include "llvm/Support/BinaryStreamArray.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/DebugSymbolsSubsection.h b/llvm/include/llvm/DebugInfo/CodeView/DebugSymbolsSubsection.h index 51b8523ed96970..006a0a59220b0a 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/DebugSymbolsSubsection.h +++ b/llvm/include/llvm/DebugInfo/CodeView/DebugSymbolsSubsection.h @@ -11,6 +11,7 @@ #include "llvm/DebugInfo/CodeView/CVRecord.h" #include "llvm/DebugInfo/CodeView/DebugSubsection.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/CodeView/DebugUnknownSubsection.h b/llvm/include/llvm/DebugInfo/CodeView/DebugUnknownSubsection.h index eddecf3650349c..ff6c1253edc50f 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/DebugUnknownSubsection.h +++ b/llvm/include/llvm/DebugInfo/CodeView/DebugUnknownSubsection.h @@ -11,6 +11,7 @@ #include "llvm/DebugInfo/CodeView/DebugSubsection.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace codeview { diff --git a/llvm/include/llvm/DebugInfo/CodeView/EnumTables.h b/llvm/include/llvm/DebugInfo/CodeView/EnumTables.h index 2e3be094f8a60f..3f837a7b6cf3aa 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/EnumTables.h +++ b/llvm/include/llvm/DebugInfo/CodeView/EnumTables.h @@ -12,6 +12,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/BinaryFormat/COFF.h" #include "llvm/DebugInfo/CodeView/CodeView.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/CodeView/Formatters.h b/llvm/include/llvm/DebugInfo/CodeView/Formatters.h index 10683c289224aa..91c93b03a92ae1 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/Formatters.h +++ b/llvm/include/llvm/DebugInfo/CodeView/Formatters.h @@ -13,6 +13,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/DebugInfo/CodeView/GUID.h" #include "llvm/DebugInfo/CodeView/TypeIndex.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/FormatAdapters.h" #include "llvm/Support/FormatVariadic.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/DebugInfo/CodeView/GUID.h b/llvm/include/llvm/DebugInfo/CodeView/GUID.h index 5f807e6f7eebd2..74cc98d33ec122 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/GUID.h +++ b/llvm/include/llvm/DebugInfo/CodeView/GUID.h @@ -9,6 +9,7 @@ #ifndef LLVM_DEBUGINFO_CODEVIEW_GUID_H #define LLVM_DEBUGINFO_CODEVIEW_GUID_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h b/llvm/include/llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h index 18f16bc66a7775..840ff27867d9ca 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h +++ b/llvm/include/llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h @@ -18,6 +18,7 @@ #include "llvm/DebugInfo/CodeView/TypeHashing.h" #include "llvm/DebugInfo/CodeView/TypeIndex.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h b/llvm/include/llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h index 240f7092140c1d..d9434411847a48 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h +++ b/llvm/include/llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h @@ -15,6 +15,7 @@ #include "llvm/DebugInfo/CodeView/TypeIndex.h" #include "llvm/Support/Allocator.h" #include "llvm/Support/BinaryStreamArray.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/StringSaver.h" #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/Line.h b/llvm/include/llvm/DebugInfo/CodeView/Line.h index 6918645b94d2df..a0ac8a94f50cde 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/Line.h +++ b/llvm/include/llvm/DebugInfo/CodeView/Line.h @@ -9,6 +9,7 @@ #ifndef LLVM_DEBUGINFO_CODEVIEW_LINE_H #define LLVM_DEBUGINFO_CODEVIEW_LINE_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/MergingTypeTableBuilder.h b/llvm/include/llvm/DebugInfo/CodeView/MergingTypeTableBuilder.h index 10bc8f60613c8e..f602362c347e6d 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/MergingTypeTableBuilder.h +++ b/llvm/include/llvm/DebugInfo/CodeView/MergingTypeTableBuilder.h @@ -17,6 +17,7 @@ #include "llvm/DebugInfo/CodeView/TypeCollection.h" #include "llvm/DebugInfo/CodeView/TypeIndex.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/CodeView/RecordName.h b/llvm/include/llvm/DebugInfo/CodeView/RecordName.h index 9078ed38d2f142..50432f3805b3b0 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/RecordName.h +++ b/llvm/include/llvm/DebugInfo/CodeView/RecordName.h @@ -11,6 +11,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/DebugInfo/CodeView/CVRecord.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/CodeView/RecordSerialization.h b/llvm/include/llvm/DebugInfo/CodeView/RecordSerialization.h index 10248dbf646b39..8f9e13cca2c6fb 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/RecordSerialization.h +++ b/llvm/include/llvm/DebugInfo/CodeView/RecordSerialization.h @@ -14,6 +14,7 @@ #include "llvm/DebugInfo/CodeView/CodeView.h" #include "llvm/DebugInfo/CodeView/CodeViewError.h" #include "llvm/Support/BinaryStreamReader.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/SimpleTypeSerializer.h b/llvm/include/llvm/DebugInfo/CodeView/SimpleTypeSerializer.h index fcc0452a6ae9a7..203813c697500f 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/SimpleTypeSerializer.h +++ b/llvm/include/llvm/DebugInfo/CodeView/SimpleTypeSerializer.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_CODEVIEW_SIMPLETYPESERIALIZER_H #include "llvm/ADT/ArrayRef.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/CodeView/StringsAndChecksums.h b/llvm/include/llvm/DebugInfo/CodeView/StringsAndChecksums.h index 50e745e5c2ab98..8904ea5043f5f1 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/StringsAndChecksums.h +++ b/llvm/include/llvm/DebugInfo/CodeView/StringsAndChecksums.h @@ -11,6 +11,7 @@ #include "llvm/DebugInfo/CodeView/CodeView.h" #include "llvm/DebugInfo/CodeView/DebugSubsectionRecord.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/CodeView/SymbolDeserializer.h b/llvm/include/llvm/DebugInfo/CodeView/SymbolDeserializer.h index 9461af8a48fc2e..a0ca42558ea7ae 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/SymbolDeserializer.h +++ b/llvm/include/llvm/DebugInfo/CodeView/SymbolDeserializer.h @@ -16,6 +16,7 @@ #include "llvm/DebugInfo/CodeView/SymbolVisitorDelegate.h" #include "llvm/Support/BinaryByteStream.h" #include "llvm/Support/BinaryStreamReader.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/CodeView/SymbolDumpDelegate.h b/llvm/include/llvm/DebugInfo/CodeView/SymbolDumpDelegate.h index 12f45dcb21ffc5..fddd4cd7652d4c 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/SymbolDumpDelegate.h +++ b/llvm/include/llvm/DebugInfo/CodeView/SymbolDumpDelegate.h @@ -12,6 +12,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" #include "llvm/DebugInfo/CodeView/SymbolVisitorDelegate.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/CodeView/SymbolDumper.h b/llvm/include/llvm/DebugInfo/CodeView/SymbolDumper.h index c674700fac59d9..6c8f875bff25bd 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/SymbolDumper.h +++ b/llvm/include/llvm/DebugInfo/CodeView/SymbolDumper.h @@ -12,6 +12,7 @@ #include "llvm/DebugInfo/CodeView/CVRecord.h" #include "llvm/DebugInfo/CodeView/CodeView.h" #include "llvm/DebugInfo/CodeView/SymbolDumpDelegate.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/SymbolRecord.h b/llvm/include/llvm/DebugInfo/CodeView/SymbolRecord.h index 3cce40dcf735a3..707d7d2531e877 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/SymbolRecord.h +++ b/llvm/include/llvm/DebugInfo/CodeView/SymbolRecord.h @@ -19,6 +19,7 @@ #include "llvm/DebugInfo/CodeView/RecordSerialization.h" #include "llvm/DebugInfo/CodeView/TypeIndex.h" #include "llvm/Support/BinaryStreamArray.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/SymbolRecordHelpers.h b/llvm/include/llvm/DebugInfo/CodeView/SymbolRecordHelpers.h index 71bc70dde6ed18..87ba1d62411a2c 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/SymbolRecordHelpers.h +++ b/llvm/include/llvm/DebugInfo/CodeView/SymbolRecordHelpers.h @@ -11,6 +11,7 @@ #include "llvm/DebugInfo/CodeView/CVRecord.h" #include "llvm/DebugInfo/CodeView/CodeView.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace codeview { diff --git a/llvm/include/llvm/DebugInfo/CodeView/SymbolRecordMapping.h b/llvm/include/llvm/DebugInfo/CodeView/SymbolRecordMapping.h index 30e9c626c20542..daf77f2097b78c 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/SymbolRecordMapping.h +++ b/llvm/include/llvm/DebugInfo/CodeView/SymbolRecordMapping.h @@ -11,6 +11,7 @@ #include "llvm/DebugInfo/CodeView/CodeViewRecordIO.h" #include "llvm/DebugInfo/CodeView/SymbolVisitorCallbacks.h" +#include "llvm/Support/Compiler.h" namespace llvm { class BinaryStreamReader; diff --git a/llvm/include/llvm/DebugInfo/CodeView/SymbolSerializer.h b/llvm/include/llvm/DebugInfo/CodeView/SymbolSerializer.h index df52b374f72df0..7f9935e5d85d2b 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/SymbolSerializer.h +++ b/llvm/include/llvm/DebugInfo/CodeView/SymbolSerializer.h @@ -17,6 +17,7 @@ #include "llvm/Support/Allocator.h" #include "llvm/Support/BinaryByteStream.h" #include "llvm/Support/BinaryStreamWriter.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/SymbolVisitorCallbackPipeline.h b/llvm/include/llvm/DebugInfo/CodeView/SymbolVisitorCallbackPipeline.h index 80574be2097f60..17e32083e33bd9 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/SymbolVisitorCallbackPipeline.h +++ b/llvm/include/llvm/DebugInfo/CodeView/SymbolVisitorCallbackPipeline.h @@ -11,6 +11,7 @@ #include "llvm/DebugInfo/CodeView/SymbolRecord.h" #include "llvm/DebugInfo/CodeView/SymbolVisitorCallbacks.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/SymbolVisitorCallbacks.h b/llvm/include/llvm/DebugInfo/CodeView/SymbolVisitorCallbacks.h index 1a4d5b9d31df67..9171e7db37cf10 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/SymbolVisitorCallbacks.h +++ b/llvm/include/llvm/DebugInfo/CodeView/SymbolVisitorCallbacks.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_CODEVIEW_SYMBOLVISITORCALLBACKS_H #include "llvm/DebugInfo/CodeView/SymbolRecord.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/CodeView/SymbolVisitorDelegate.h b/llvm/include/llvm/DebugInfo/CodeView/SymbolVisitorDelegate.h index 368d8b288315c2..688f0b7eb22b21 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/SymbolVisitorDelegate.h +++ b/llvm/include/llvm/DebugInfo/CodeView/SymbolVisitorDelegate.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_CODEVIEW_SYMBOLVISITORDELEGATE_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/CodeView/TypeCollection.h b/llvm/include/llvm/DebugInfo/CodeView/TypeCollection.h index dd082a72125a58..a61b3cda11de70 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/TypeCollection.h +++ b/llvm/include/llvm/DebugInfo/CodeView/TypeCollection.h @@ -12,6 +12,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/DebugInfo/CodeView/CVRecord.h" #include "llvm/DebugInfo/CodeView/TypeIndex.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace codeview { diff --git a/llvm/include/llvm/DebugInfo/CodeView/TypeDeserializer.h b/llvm/include/llvm/DebugInfo/CodeView/TypeDeserializer.h index acea4e341cb737..2c6ff2d58144b7 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/TypeDeserializer.h +++ b/llvm/include/llvm/DebugInfo/CodeView/TypeDeserializer.h @@ -17,6 +17,7 @@ #include "llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h" #include "llvm/Support/BinaryByteStream.h" #include "llvm/Support/BinaryStreamReader.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/TypeDumpVisitor.h b/llvm/include/llvm/DebugInfo/CodeView/TypeDumpVisitor.h index 1fad50343e3ae3..8d50e5019b43b5 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/TypeDumpVisitor.h +++ b/llvm/include/llvm/DebugInfo/CodeView/TypeDumpVisitor.h @@ -13,6 +13,7 @@ #include "llvm/DebugInfo/CodeView/CVRecord.h" #include "llvm/DebugInfo/CodeView/CodeView.h" #include "llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h" +#include "llvm/Support/Compiler.h" namespace llvm { class ScopedPrinter; diff --git a/llvm/include/llvm/DebugInfo/CodeView/TypeHashing.h b/llvm/include/llvm/DebugInfo/CodeView/TypeHashing.h index e92ec4855b252a..8ea4239ddc9575 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/TypeHashing.h +++ b/llvm/include/llvm/DebugInfo/CodeView/TypeHashing.h @@ -17,6 +17,7 @@ #include "llvm/DebugInfo/CodeView/TypeCollection.h" #include "llvm/DebugInfo/CodeView/TypeIndex.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/FormatProviders.h" #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h b/llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h index 653eafa04e0ab6..2c5f9b63da31d6 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h +++ b/llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_CODEVIEW_TYPEINDEX_H #include "llvm/ADT/DenseMapInfo.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/TypeIndexDiscovery.h b/llvm/include/llvm/DebugInfo/CodeView/TypeIndexDiscovery.h index 7ef8521604fb9c..e9cfadf0586ff5 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/TypeIndexDiscovery.h +++ b/llvm/include/llvm/DebugInfo/CodeView/TypeIndexDiscovery.h @@ -11,6 +11,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/DebugInfo/CodeView/CVRecord.h" +#include "llvm/Support/Compiler.h" namespace llvm { template class SmallVectorImpl; diff --git a/llvm/include/llvm/DebugInfo/CodeView/TypeRecord.h b/llvm/include/llvm/DebugInfo/CodeView/TypeRecord.h index 24a4accab845a8..b69cda6303794f 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/TypeRecord.h +++ b/llvm/include/llvm/DebugInfo/CodeView/TypeRecord.h @@ -18,6 +18,7 @@ #include "llvm/DebugInfo/CodeView/GUID.h" #include "llvm/DebugInfo/CodeView/TypeIndex.h" #include "llvm/Support/BinaryStreamArray.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/TypeRecordHelpers.h b/llvm/include/llvm/DebugInfo/CodeView/TypeRecordHelpers.h index aa183cd7d19d30..d28e40bfbe5e52 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/TypeRecordHelpers.h +++ b/llvm/include/llvm/DebugInfo/CodeView/TypeRecordHelpers.h @@ -11,6 +11,7 @@ #include "llvm/DebugInfo/CodeView/CVRecord.h" #include "llvm/DebugInfo/CodeView/TypeIndex.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace codeview { diff --git a/llvm/include/llvm/DebugInfo/CodeView/TypeRecordMapping.h b/llvm/include/llvm/DebugInfo/CodeView/TypeRecordMapping.h index 26eb7d221679d0..070243f8532dd0 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/TypeRecordMapping.h +++ b/llvm/include/llvm/DebugInfo/CodeView/TypeRecordMapping.h @@ -13,6 +13,7 @@ #include "llvm/DebugInfo/CodeView/CodeView.h" #include "llvm/DebugInfo/CodeView/CodeViewRecordIO.h" #include "llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/TypeStreamMerger.h b/llvm/include/llvm/DebugInfo/CodeView/TypeStreamMerger.h index 9bcae7a4b729ce..4e565319737f43 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/TypeStreamMerger.h +++ b/llvm/include/llvm/DebugInfo/CodeView/TypeStreamMerger.h @@ -11,6 +11,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/DebugInfo/CodeView/CVRecord.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/CodeView/TypeTableCollection.h b/llvm/include/llvm/DebugInfo/CodeView/TypeTableCollection.h index 2a389b9ac34e70..1b11dbe28332f5 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/TypeTableCollection.h +++ b/llvm/include/llvm/DebugInfo/CodeView/TypeTableCollection.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_CODEVIEW_TYPETABLECOLLECTION_H #include "llvm/DebugInfo/CodeView/TypeCollection.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/StringSaver.h" #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h b/llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h index 66944f6d0bd2da..ebf90fff1d98e4 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h +++ b/llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h @@ -12,6 +12,7 @@ #include "llvm/DebugInfo/CodeView/CodeView.h" #include "llvm/DebugInfo/CodeView/TypeRecord.h" #include "llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h b/llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h index 33f8b1f24b1b4c..75a137ca1b0f5b 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h +++ b/llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_CODEVIEW_TYPEVISITORCALLBACKS_H #include "llvm/DebugInfo/CodeView/TypeRecord.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/DIContext.h b/llvm/include/llvm/DebugInfo/DIContext.h index 9ad27033ec110c..3b365af78c7bd5 100644 --- a/llvm/include/llvm/DebugInfo/DIContext.h +++ b/llvm/include/llvm/DebugInfo/DIContext.h @@ -17,6 +17,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/Object/ObjectFile.h" #include "llvm/Support/WithColor.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h index 02b402e86d2339..15279728e039a4 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h @@ -13,6 +13,7 @@ #include "llvm/ADT/iterator_range.h" #include "llvm/BinaryFormat/Dwarf.h" #include "llvm/DebugInfo/DWARF/DWARFFormValue.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h index 1ba555a061904c..3ea6509f422408 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h @@ -15,6 +15,7 @@ #include "llvm/BinaryFormat/Dwarf.h" #include "llvm/DebugInfo/DWARF/DWARFDataExtractor.h" #include "llvm/DebugInfo/DWARF/DWARFFormValue.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFAddressRange.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFAddressRange.h index f4d6c451cbe1d6..1bbbe329ce590e 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFAddressRange.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFAddressRange.h @@ -11,6 +11,7 @@ #include "llvm/DebugInfo/DIContext.h" #include "llvm/Object/ObjectFile.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFAttribute.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFAttribute.h index 104ac1b9ddfbbd..35cd164ece3f73 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFAttribute.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFAttribute.h @@ -11,6 +11,7 @@ #include "llvm/BinaryFormat/Dwarf.h" #include "llvm/DebugInfo/DWARF/DWARFFormValue.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h index d449b7bed796e2..c7484374cef21e 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_DWARF_DWARFCOMPILEUNIT_H #include "llvm/DebugInfo/DWARF/DWARFUnit.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h index fa98cbcfc4d997..53b3c242d57caf 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h @@ -20,6 +20,7 @@ #include "llvm/DebugInfo/DWARF/DWARFUnit.h" #include "llvm/Object/Binary.h" #include "llvm/Object/ObjectFile.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataExtractor.h" #include "llvm/Support/Error.h" #include "llvm/TargetParser/Host.h" diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFDataExtractor.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFDataExtractor.h index e94fa7bf5590f2..814d506840b490 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFDataExtractor.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFDataExtractor.h @@ -11,6 +11,7 @@ #include "llvm/BinaryFormat/Dwarf.h" #include "llvm/DebugInfo/DWARF/DWARFSection.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataExtractor.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h index 6439827ef70f0f..47553ef92a69bb 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_DWARF_DWARFDEBUGABBREV_H #include "llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataExtractor.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAddr.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAddr.h index ae2a4e2276da0f..39a5e77257ad22 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAddr.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAddr.h @@ -11,6 +11,7 @@ #include "llvm/BinaryFormat/Dwarf.h" #include "llvm/DebugInfo/DIContext.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h index 760d8826771c09..dd9d6709a61f40 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h @@ -11,6 +11,7 @@ #include "llvm/ADT/iterator_range.h" #include "llvm/BinaryFormat/Dwarf.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h index 068674cfae5c56..5090fbc380d53a 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h @@ -11,6 +11,7 @@ #include "llvm/ADT/DenseSet.h" #include "llvm/ADT/STLFunctionalExtras.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h index bc35f2ab988ed2..84094eda6361a7 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h @@ -13,6 +13,7 @@ #include "llvm/ADT/SmallString.h" #include "llvm/ADT/iterator.h" #include "llvm/DebugInfo/DWARF/DWARFExpression.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/TargetParser/Triple.h" #include diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h index 7d59f4257b2e2a..759607e71e7276 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h @@ -11,6 +11,7 @@ #include "llvm/BinaryFormat/Dwarf.h" #include "llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h index ce3bae6a1760c2..bbee1233479968 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h @@ -14,6 +14,7 @@ #include "llvm/DebugInfo/DIContext.h" #include "llvm/DebugInfo/DWARF/DWARFFormValue.h" #include "llvm/DebugInfo/DWARF/DWARFUnit.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MD5.h" #include "llvm/Support/Path.h" #include diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h index 5a82e7bd6289a0..7205a2b52e2718 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h @@ -11,6 +11,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/DebugInfo/DWARF/DWARFDataExtractor.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Errc.h" #include diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h index 6b1b2ae6d7e049..9fc3f58caccc52 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h @@ -12,6 +12,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/DebugInfo/DWARF/DWARFDataExtractor.h" #include "llvm/DebugInfo/DWARF/DWARFUnit.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugPubTable.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugPubTable.h index 6c82bbfe74f7b9..1faa336099a3a0 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugPubTable.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugPubTable.h @@ -13,6 +13,7 @@ #include "llvm/ADT/STLFunctionalExtras.h" #include "llvm/ADT/StringRef.h" #include "llvm/BinaryFormat/Dwarf.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h index 02bb5f0a3d9505..8eb4f592820d92 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_DWARF_DWARFDEBUGRANGELIST_H #include "llvm/DebugInfo/DWARF/DWARFAddressRange.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugRnglists.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugRnglists.h index 8ddd9cab23644a..b12d807bcb8d1a 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugRnglists.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugRnglists.h @@ -13,6 +13,7 @@ #include "llvm/BinaryFormat/Dwarf.h" #include "llvm/DebugInfo/DWARF/DWARFAddressRange.h" #include "llvm/DebugInfo/DWARF/DWARFListTable.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFDie.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFDie.h index 421b84d644db64..048ef08ab57ded 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFDie.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFDie.h @@ -18,6 +18,7 @@ #include "llvm/DebugInfo/DWARF/DWARFAttribute.h" #include "llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h" #include "llvm/DebugInfo/DWARF/DWARFLocationExpression.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h index 00228a32173f1f..1a7c354c0a768a 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h @@ -12,6 +12,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/ADT/iterator.h" #include "llvm/BinaryFormat/Dwarf.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataExtractor.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h index 2dcd7805b6c96b..b9d1331ec80006 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h @@ -12,6 +12,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/BinaryFormat/Dwarf.h" #include "llvm/DebugInfo/DIContext.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataExtractor.h" #include diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFGdbIndex.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFGdbIndex.h index 6b23c4e57d9503..7e7e9052dc1339 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFGdbIndex.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFGdbIndex.h @@ -11,6 +11,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h index d739d6c195df99..a0303da25313b4 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h @@ -12,6 +12,7 @@ #include "llvm/BinaryFormat/Dwarf.h" #include "llvm/DebugInfo/DIContext.h" #include "llvm/DebugInfo/DWARF/DWARFDataExtractor.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Errc.h" #include "llvm/Support/Error.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFLocationExpression.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFLocationExpression.h index 8b5497f4eeb964..9884cbbbe2161b 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFLocationExpression.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFLocationExpression.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_DWARF_DWARFLOCATIONEXPRESSION_H #include "llvm/DebugInfo/DWARF/DWARFAddressRange.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFObject.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFObject.h index 52bd91d9140f93..6e886abad627d5 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFObject.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFObject.h @@ -12,6 +12,7 @@ #include "llvm/DebugInfo/DWARF/DWARFRelocMap.h" #include "llvm/DebugInfo/DWARF/DWARFSection.h" #include "llvm/Object/ObjectFile.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFRelocMap.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFRelocMap.h index c5999a65c2a725..0a8571ec711d73 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFRelocMap.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFRelocMap.h @@ -12,6 +12,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/Object/ObjectFile.h" #include "llvm/Object/RelocationResolver.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFSection.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFSection.h index e03dc21fb6f00f..d0b221165c3a64 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFSection.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFSection.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_DWARF_DWARFSECTION_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFTypePrinter.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFTypePrinter.h index e05271740e6157..19212ead662648 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFTypePrinter.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFTypePrinter.h @@ -12,6 +12,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/BinaryFormat/Dwarf.h" #include "llvm/DebugInfo/DWARF/DWARFDie.h" +#include "llvm/Support/Compiler.h" #include diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h index 85ec6fd86ade67..afbc3d52c3224b 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h @@ -11,6 +11,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/DebugInfo/DWARF/DWARFUnit.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h index 7084081ce61a43..aca2b4f2fd34c2 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h @@ -21,6 +21,7 @@ #include "llvm/DebugInfo/DWARF/DWARFDie.h" #include "llvm/DebugInfo/DWARF/DWARFLocationExpression.h" #include "llvm/DebugInfo/DWARF/DWARFUnitIndex.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataExtractor.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h index e65b193ffc8617..2a0dcf5e750b08 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h @@ -11,6 +11,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h index e56d3781e824f3..43347f3a3339fc 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h @@ -14,6 +14,7 @@ #include "llvm/DebugInfo/DWARF/DWARFAddressRange.h" #include "llvm/DebugInfo/DWARF/DWARFDie.h" #include "llvm/DebugInfo/DWARF/DWARFUnitIndex.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/DebugInfo/GSYM/DwarfTransformer.h b/llvm/include/llvm/DebugInfo/GSYM/DwarfTransformer.h index fd2433a677b8f0..4816849c3b3bcb 100644 --- a/llvm/include/llvm/DebugInfo/GSYM/DwarfTransformer.h +++ b/llvm/include/llvm/DebugInfo/GSYM/DwarfTransformer.h @@ -11,6 +11,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/DebugInfo/GSYM/ExtractRanges.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/GSYM/ExtractRanges.h b/llvm/include/llvm/DebugInfo/GSYM/ExtractRanges.h index 9a6568719875da..b33fcb1d204e07 100644 --- a/llvm/include/llvm/DebugInfo/GSYM/ExtractRanges.h +++ b/llvm/include/llvm/DebugInfo/GSYM/ExtractRanges.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_GSYM_EXTRACTRANGES_H #include "llvm/ADT/AddressRanges.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Format.h" #include "llvm/Support/raw_ostream.h" #include diff --git a/llvm/include/llvm/DebugInfo/GSYM/FileEntry.h b/llvm/include/llvm/DebugInfo/GSYM/FileEntry.h index 8e00c5f01c8e89..ee27995735a68a 100644 --- a/llvm/include/llvm/DebugInfo/GSYM/FileEntry.h +++ b/llvm/include/llvm/DebugInfo/GSYM/FileEntry.h @@ -11,6 +11,7 @@ #include "llvm/ADT/DenseMapInfo.h" #include "llvm/ADT/Hashing.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/GSYM/FileWriter.h b/llvm/include/llvm/DebugInfo/GSYM/FileWriter.h index b6bfcb115d8a2e..0d9afd58213fbc 100644 --- a/llvm/include/llvm/DebugInfo/GSYM/FileWriter.h +++ b/llvm/include/llvm/DebugInfo/GSYM/FileWriter.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_GSYM_FILEWRITER_H #include "llvm/ADT/ArrayRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include diff --git a/llvm/include/llvm/DebugInfo/GSYM/FunctionInfo.h b/llvm/include/llvm/DebugInfo/GSYM/FunctionInfo.h index b4d7b47e8dbcff..63030aeab028a6 100644 --- a/llvm/include/llvm/DebugInfo/GSYM/FunctionInfo.h +++ b/llvm/include/llvm/DebugInfo/GSYM/FunctionInfo.h @@ -15,6 +15,7 @@ #include "llvm/DebugInfo/GSYM/LineTable.h" #include "llvm/DebugInfo/GSYM/LookupResult.h" #include "llvm/DebugInfo/GSYM/StringTable.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/GSYM/GsymCreator.h b/llvm/include/llvm/DebugInfo/GSYM/GsymCreator.h index bb52f3f2cd56bc..d55293a66226c5 100644 --- a/llvm/include/llvm/DebugInfo/GSYM/GsymCreator.h +++ b/llvm/include/llvm/DebugInfo/GSYM/GsymCreator.h @@ -20,6 +20,7 @@ #include "llvm/DebugInfo/GSYM/FileEntry.h" #include "llvm/DebugInfo/GSYM/FunctionInfo.h" #include "llvm/MC/StringTableBuilder.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include "llvm/Support/Path.h" diff --git a/llvm/include/llvm/DebugInfo/GSYM/GsymReader.h b/llvm/include/llvm/DebugInfo/GSYM/GsymReader.h index cd4fdfa0e9e37d..d01ace813c6ace 100644 --- a/llvm/include/llvm/DebugInfo/GSYM/GsymReader.h +++ b/llvm/include/llvm/DebugInfo/GSYM/GsymReader.h @@ -15,6 +15,7 @@ #include "llvm/DebugInfo/GSYM/Header.h" #include "llvm/DebugInfo/GSYM/LineEntry.h" #include "llvm/DebugInfo/GSYM/StringTable.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataExtractor.h" #include "llvm/Support/Endian.h" #include "llvm/Support/ErrorOr.h" diff --git a/llvm/include/llvm/DebugInfo/GSYM/Header.h b/llvm/include/llvm/DebugInfo/GSYM/Header.h index 9ca32d25985e9f..1198ef73cb2bd9 100644 --- a/llvm/include/llvm/DebugInfo/GSYM/Header.h +++ b/llvm/include/llvm/DebugInfo/GSYM/Header.h @@ -9,6 +9,7 @@ #ifndef LLVM_DEBUGINFO_GSYM_HEADER_H #define LLVM_DEBUGINFO_GSYM_HEADER_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/GSYM/InlineInfo.h b/llvm/include/llvm/DebugInfo/GSYM/InlineInfo.h index 616f35d82e1c72..e97d3e9aba6cc8 100644 --- a/llvm/include/llvm/DebugInfo/GSYM/InlineInfo.h +++ b/llvm/include/llvm/DebugInfo/GSYM/InlineInfo.h @@ -12,6 +12,7 @@ #include "llvm/DebugInfo/GSYM/ExtractRanges.h" #include "llvm/DebugInfo/GSYM/LineEntry.h" #include "llvm/DebugInfo/GSYM/LookupResult.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/GSYM/LineEntry.h b/llvm/include/llvm/DebugInfo/GSYM/LineEntry.h index e68624b21929ed..968fdebb8b0b6d 100644 --- a/llvm/include/llvm/DebugInfo/GSYM/LineEntry.h +++ b/llvm/include/llvm/DebugInfo/GSYM/LineEntry.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_GSYM_LINEENTRY_H #include "llvm/DebugInfo/GSYM/ExtractRanges.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace gsym { diff --git a/llvm/include/llvm/DebugInfo/GSYM/LineTable.h b/llvm/include/llvm/DebugInfo/GSYM/LineTable.h index 7749e5e4fbb3b8..b3232f077779bb 100644 --- a/llvm/include/llvm/DebugInfo/GSYM/LineTable.h +++ b/llvm/include/llvm/DebugInfo/GSYM/LineTable.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_GSYM_LINETABLE_H #include "llvm/DebugInfo/GSYM/LineEntry.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/GSYM/LookupResult.h b/llvm/include/llvm/DebugInfo/GSYM/LookupResult.h index 9ccc96fbb4d5c6..bf64998c9e84ed 100644 --- a/llvm/include/llvm/DebugInfo/GSYM/LookupResult.h +++ b/llvm/include/llvm/DebugInfo/GSYM/LookupResult.h @@ -11,6 +11,7 @@ #include "llvm/ADT/AddressRanges.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/GSYM/ObjectFileTransformer.h b/llvm/include/llvm/DebugInfo/GSYM/ObjectFileTransformer.h index 2018e0962ca793..81a31578ae387f 100644 --- a/llvm/include/llvm/DebugInfo/GSYM/ObjectFileTransformer.h +++ b/llvm/include/llvm/DebugInfo/GSYM/ObjectFileTransformer.h @@ -9,6 +9,7 @@ #ifndef LLVM_DEBUGINFO_GSYM_OBJECTFILETRANSFORMER_H #define LLVM_DEBUGINFO_GSYM_OBJECTFILETRANSFORMER_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/GSYM/StringTable.h b/llvm/include/llvm/DebugInfo/GSYM/StringTable.h index d9c9ede91be5f7..3ad4db78a0feab 100644 --- a/llvm/include/llvm/DebugInfo/GSYM/StringTable.h +++ b/llvm/include/llvm/DebugInfo/GSYM/StringTable.h @@ -11,6 +11,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/DebugInfo/GSYM/ExtractRanges.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVCompare.h b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVCompare.h index 4019ea6f174483..677c91b616c0f1 100644 --- a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVCompare.h +++ b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVCompare.h @@ -15,6 +15,7 @@ #define LLVM_DEBUGINFO_LOGICALVIEW_CORE_LVCOMPARE_H #include "llvm/DebugInfo/LogicalView/Core/LVObject.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace logicalview { diff --git a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVElement.h b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVElement.h index 17fa04040ad774..21bf3234d9e8a5 100644 --- a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVElement.h +++ b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVElement.h @@ -16,6 +16,7 @@ #include "llvm/DebugInfo/LogicalView/Core/LVObject.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVLine.h b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVLine.h index c335c34e372b9f..a57a1e4da49c28 100644 --- a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVLine.h +++ b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVLine.h @@ -15,6 +15,7 @@ #define LLVM_DEBUGINFO_LOGICALVIEW_CORE_LVLINE_H #include "llvm/DebugInfo/LogicalView/Core/LVElement.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace logicalview { diff --git a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVLocation.h b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVLocation.h index 3b556f9927832d..a552b2cb44ac10 100644 --- a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVLocation.h +++ b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVLocation.h @@ -15,6 +15,7 @@ #define LLVM_DEBUGINFO_LOGICALVIEW_CORE_LVLOCATION_H #include "llvm/DebugInfo/LogicalView/Core/LVObject.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace logicalview { diff --git a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVObject.h b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVObject.h index ca429d2c289329..b34c60994e952a 100644 --- a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVObject.h +++ b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVObject.h @@ -18,6 +18,7 @@ #include "llvm/DebugInfo/CodeView/CodeView.h" #include "llvm/DebugInfo/CodeView/TypeIndex.h" #include "llvm/DebugInfo/LogicalView/Core/LVSupport.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVOptions.h b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVOptions.h index a0a360c0a434f9..7a8c00957db9d7 100644 --- a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVOptions.h +++ b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVOptions.h @@ -19,6 +19,7 @@ #include "llvm/DebugInfo/LogicalView/Core/LVScope.h" #include "llvm/DebugInfo/LogicalView/Core/LVSymbol.h" #include "llvm/DebugInfo/LogicalView/Core/LVType.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Regex.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVRange.h b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVRange.h index 3ec0ccb31168fc..6e41cd9fc76cb6 100644 --- a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVRange.h +++ b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVRange.h @@ -16,6 +16,7 @@ #include "llvm/ADT/IntervalTree.h" #include "llvm/DebugInfo/LogicalView/Core/LVObject.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace logicalview { diff --git a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVReader.h b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVReader.h index 9ce26398e48dfb..213419d1a22c7d 100644 --- a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVReader.h +++ b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVReader.h @@ -16,6 +16,7 @@ #include "llvm/DebugInfo/LogicalView/Core/LVOptions.h" #include "llvm/DebugInfo/LogicalView/Core/LVRange.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Errc.h" #include "llvm/Support/Error.h" #include "llvm/Support/ScopedPrinter.h" diff --git a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVScope.h b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVScope.h index 1b3c377cd7dbba..058e4f3e6dd512 100644 --- a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVScope.h +++ b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVScope.h @@ -18,6 +18,7 @@ #include "llvm/DebugInfo/LogicalView/Core/LVLocation.h" #include "llvm/DebugInfo/LogicalView/Core/LVSort.h" #include "llvm/Object/ObjectFile.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVSort.h b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVSort.h index 01f0b1880fbc3a..2086d08eab84c5 100644 --- a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVSort.h +++ b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVSort.h @@ -13,6 +13,8 @@ #ifndef LLVM_DEBUGINFO_LOGICALVIEW_CORE_LVSORT_H #define LLVM_DEBUGINFO_LOGICALVIEW_CORE_LVSORT_H +#include "llvm/Support/Compiler.h" + namespace llvm { namespace logicalview { diff --git a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVStringPool.h b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVStringPool.h index 4c596b5b1dde73..e10b99730a7ab0 100644 --- a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVStringPool.h +++ b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVStringPool.h @@ -16,6 +16,7 @@ #include "llvm/ADT/StringMap.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include "llvm/Support/Format.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVSupport.h b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVSupport.h index 50f2c9a09ff5de..c3ee07a2b244e3 100644 --- a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVSupport.h +++ b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVSupport.h @@ -17,6 +17,7 @@ #include "llvm/ADT/SmallString.h" #include "llvm/ADT/Twine.h" #include "llvm/DebugInfo/LogicalView/Core/LVStringPool.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include "llvm/Support/Format.h" #include "llvm/Support/Path.h" diff --git a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVSymbol.h b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVSymbol.h index 25bfa9eb77d8ae..5ab45e2fa5678f 100644 --- a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVSymbol.h +++ b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVSymbol.h @@ -15,6 +15,7 @@ #define LLVM_DEBUGINFO_LOGICALVIEW_CORE_LVSYMBOL_H #include "llvm/DebugInfo/LogicalView/Core/LVElement.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace logicalview { diff --git a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVType.h b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVType.h index 28881b3c95b17d..b2d2702b2e229f 100644 --- a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVType.h +++ b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVType.h @@ -15,6 +15,7 @@ #define LLVM_DEBUGINFO_LOGICALVIEW_CORE_LVTYPE_H #include "llvm/DebugInfo/LogicalView/Core/LVElement.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace logicalview { diff --git a/llvm/include/llvm/DebugInfo/LogicalView/LVReaderHandler.h b/llvm/include/llvm/DebugInfo/LogicalView/LVReaderHandler.h index bf30501d00c1f6..9a8a6fd4a4095d 100644 --- a/llvm/include/llvm/DebugInfo/LogicalView/LVReaderHandler.h +++ b/llvm/include/llvm/DebugInfo/LogicalView/LVReaderHandler.h @@ -19,6 +19,7 @@ #include "llvm/Object/Archive.h" #include "llvm/Object/MachOUniversal.h" #include "llvm/Object/ObjectFile.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/ScopedPrinter.h" #include diff --git a/llvm/include/llvm/DebugInfo/LogicalView/Readers/LVBinaryReader.h b/llvm/include/llvm/DebugInfo/LogicalView/Readers/LVBinaryReader.h index a66cf4608823be..911af0e7891bbd 100644 --- a/llvm/include/llvm/DebugInfo/LogicalView/Readers/LVBinaryReader.h +++ b/llvm/include/llvm/DebugInfo/LogicalView/Readers/LVBinaryReader.h @@ -26,6 +26,7 @@ #include "llvm/MC/TargetRegistry.h" #include "llvm/Object/COFF.h" #include "llvm/Object/ObjectFile.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace logicalview { diff --git a/llvm/include/llvm/DebugInfo/LogicalView/Readers/LVCodeViewReader.h b/llvm/include/llvm/DebugInfo/LogicalView/Readers/LVCodeViewReader.h index 8a32210bac3c9c..f419b348f08a6f 100644 --- a/llvm/include/llvm/DebugInfo/LogicalView/Readers/LVCodeViewReader.h +++ b/llvm/include/llvm/DebugInfo/LogicalView/Readers/LVCodeViewReader.h @@ -26,6 +26,7 @@ #include "llvm/Support/BinaryByteStream.h" #include "llvm/Support/BinaryItemStream.h" #include "llvm/Support/BinaryStreamArray.h" +#include "llvm/Support/Compiler.h" namespace llvm { template <> struct BinaryItemTraits { diff --git a/llvm/include/llvm/DebugInfo/LogicalView/Readers/LVCodeViewVisitor.h b/llvm/include/llvm/DebugInfo/LogicalView/Readers/LVCodeViewVisitor.h index 6271c7b8b2c5bd..3936088e46d438 100644 --- a/llvm/include/llvm/DebugInfo/LogicalView/Readers/LVCodeViewVisitor.h +++ b/llvm/include/llvm/DebugInfo/LogicalView/Readers/LVCodeViewVisitor.h @@ -24,6 +24,7 @@ #include "llvm/DebugInfo/PDB/Native/InputFile.h" #include "llvm/Object/Binary.h" #include "llvm/Object/ObjectFile.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/LogicalView/Readers/LVELFReader.h b/llvm/include/llvm/DebugInfo/LogicalView/Readers/LVELFReader.h index 0837b886a273a6..da210ec1ee1900 100644 --- a/llvm/include/llvm/DebugInfo/LogicalView/Readers/LVELFReader.h +++ b/llvm/include/llvm/DebugInfo/LogicalView/Readers/LVELFReader.h @@ -17,6 +17,7 @@ #include "llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h" #include "llvm/DebugInfo/DWARF/DWARFContext.h" #include "llvm/DebugInfo/LogicalView/Readers/LVBinaryReader.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/MSF/IMSFFile.h b/llvm/include/llvm/DebugInfo/MSF/IMSFFile.h index 7e80f96b89ae1b..9e096f7c15b90b 100644 --- a/llvm/include/llvm/DebugInfo/MSF/IMSFFile.h +++ b/llvm/include/llvm/DebugInfo/MSF/IMSFFile.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_MSF_IMSFFILE_H #include "llvm/ADT/ArrayRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/MSF/MSFBuilder.h b/llvm/include/llvm/DebugInfo/MSF/MSFBuilder.h index 2ac18a8efaba82..ae18bc5ea728aa 100644 --- a/llvm/include/llvm/DebugInfo/MSF/MSFBuilder.h +++ b/llvm/include/llvm/DebugInfo/MSF/MSFBuilder.h @@ -13,6 +13,7 @@ #include "llvm/ADT/BitVector.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/MSF/MSFCommon.h b/llvm/include/llvm/DebugInfo/MSF/MSFCommon.h index 0520b94ea3dd35..3009532608dc65 100644 --- a/llvm/include/llvm/DebugInfo/MSF/MSFCommon.h +++ b/llvm/include/llvm/DebugInfo/MSF/MSFCommon.h @@ -11,6 +11,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/BitVector.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include "llvm/Support/MathExtras.h" diff --git a/llvm/include/llvm/DebugInfo/MSF/MSFError.h b/llvm/include/llvm/DebugInfo/MSF/MSFError.h index 0d0a43102a9b08..8360073508228f 100644 --- a/llvm/include/llvm/DebugInfo/MSF/MSFError.h +++ b/llvm/include/llvm/DebugInfo/MSF/MSFError.h @@ -9,6 +9,7 @@ #ifndef LLVM_DEBUGINFO_MSF_MSFERROR_H #define LLVM_DEBUGINFO_MSF_MSFERROR_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/MSF/MappedBlockStream.h b/llvm/include/llvm/DebugInfo/MSF/MappedBlockStream.h index 04a64d28e0ccd2..acfdb43224a47c 100644 --- a/llvm/include/llvm/DebugInfo/MSF/MappedBlockStream.h +++ b/llvm/include/llvm/DebugInfo/MSF/MappedBlockStream.h @@ -15,6 +15,7 @@ #include "llvm/Support/Allocator.h" #include "llvm/Support/BinaryStream.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h b/llvm/include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h index 49ba20af726360..cf09d3f5992bee 100644 --- a/llvm/include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h +++ b/llvm/include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h @@ -12,6 +12,7 @@ #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h" #include "llvm/DebugInfo/PDB/PDBTypes.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/DebugInfo/PDB/DIA/DIAError.h b/llvm/include/llvm/DebugInfo/PDB/DIA/DIAError.h index 96d960599f7ef7..cffdf90dbf2fd4 100644 --- a/llvm/include/llvm/DebugInfo/PDB/DIA/DIAError.h +++ b/llvm/include/llvm/DebugInfo/PDB/DIA/DIAError.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_PDB_DIA_DIAERROR_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/GenericError.h b/llvm/include/llvm/DebugInfo/PDB/GenericError.h index 1121343ed64f8c..48c2480b6cfbad 100644 --- a/llvm/include/llvm/DebugInfo/PDB/GenericError.h +++ b/llvm/include/llvm/DebugInfo/PDB/GenericError.h @@ -9,6 +9,7 @@ #ifndef LLVM_DEBUGINFO_PDB_GENERICERROR_H #define LLVM_DEBUGINFO_PDB_GENERICERROR_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/IPDBDataStream.h b/llvm/include/llvm/DebugInfo/PDB/IPDBDataStream.h index fb18396cafe31e..7f4f5e92cb8690 100644 --- a/llvm/include/llvm/DebugInfo/PDB/IPDBDataStream.h +++ b/llvm/include/llvm/DebugInfo/PDB/IPDBDataStream.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_PDB_IPDBDATASTREAM_H #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/DebugInfo/PDB/IPDBEnumChildren.h b/llvm/include/llvm/DebugInfo/PDB/IPDBEnumChildren.h index 93525b71679155..f7de588bee3190 100644 --- a/llvm/include/llvm/DebugInfo/PDB/IPDBEnumChildren.h +++ b/llvm/include/llvm/DebugInfo/PDB/IPDBEnumChildren.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_PDB_IPDBENUMCHILDREN_H #include "llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/DebugInfo/PDB/IPDBFrameData.h b/llvm/include/llvm/DebugInfo/PDB/IPDBFrameData.h index 24138b380db4ae..d8dd3b8c3fff09 100644 --- a/llvm/include/llvm/DebugInfo/PDB/IPDBFrameData.h +++ b/llvm/include/llvm/DebugInfo/PDB/IPDBFrameData.h @@ -9,6 +9,7 @@ #ifndef LLVM_DEBUGINFO_PDB_IPDBFRAMEDATA_H #define LLVM_DEBUGINFO_PDB_IPDBFRAMEDATA_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/PDB/IPDBInjectedSource.h b/llvm/include/llvm/DebugInfo/PDB/IPDBInjectedSource.h index 6ee6c7cc8fc1d2..cbda789ddab48a 100644 --- a/llvm/include/llvm/DebugInfo/PDB/IPDBInjectedSource.h +++ b/llvm/include/llvm/DebugInfo/PDB/IPDBInjectedSource.h @@ -9,6 +9,7 @@ #ifndef LLVM_DEBUGINFO_PDB_IPDBINJECTEDSOURCE_H #define LLVM_DEBUGINFO_PDB_IPDBINJECTEDSOURCE_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/PDB/IPDBLineNumber.h b/llvm/include/llvm/DebugInfo/PDB/IPDBLineNumber.h index 47b6397099b781..f7c7d70020f608 100644 --- a/llvm/include/llvm/DebugInfo/PDB/IPDBLineNumber.h +++ b/llvm/include/llvm/DebugInfo/PDB/IPDBLineNumber.h @@ -9,6 +9,7 @@ #ifndef LLVM_DEBUGINFO_PDB_IPDBLINENUMBER_H #define LLVM_DEBUGINFO_PDB_IPDBLINENUMBER_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/IPDBRawSymbol.h b/llvm/include/llvm/DebugInfo/PDB/IPDBRawSymbol.h index f59e933ca575f7..6aa33e13a9a865 100644 --- a/llvm/include/llvm/DebugInfo/PDB/IPDBRawSymbol.h +++ b/llvm/include/llvm/DebugInfo/PDB/IPDBRawSymbol.h @@ -13,6 +13,7 @@ #include "llvm/ADT/BitmaskEnum.h" #include "llvm/ADT/SmallVector.h" #include "llvm/DebugInfo/CodeView/CodeView.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/IPDBSectionContrib.h b/llvm/include/llvm/DebugInfo/PDB/IPDBSectionContrib.h index c5cf4bbe556007..6065459c40527e 100644 --- a/llvm/include/llvm/DebugInfo/PDB/IPDBSectionContrib.h +++ b/llvm/include/llvm/DebugInfo/PDB/IPDBSectionContrib.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_PDB_IPDBSECTIONCONTRIB_H #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace pdb { diff --git a/llvm/include/llvm/DebugInfo/PDB/IPDBSession.h b/llvm/include/llvm/DebugInfo/PDB/IPDBSession.h index 7e38654c655042..32e454a65ef98f 100644 --- a/llvm/include/llvm/DebugInfo/PDB/IPDBSession.h +++ b/llvm/include/llvm/DebugInfo/PDB/IPDBSession.h @@ -13,6 +13,7 @@ #include "PDBTypes.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/IPDBSourceFile.h b/llvm/include/llvm/DebugInfo/PDB/IPDBSourceFile.h index d7e49fb7058018..52d8ba87f27bb4 100644 --- a/llvm/include/llvm/DebugInfo/PDB/IPDBSourceFile.h +++ b/llvm/include/llvm/DebugInfo/PDB/IPDBSourceFile.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_PDB_IPDBSOURCEFILE_H #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/PDB/IPDBTable.h b/llvm/include/llvm/DebugInfo/PDB/IPDBTable.h index 55ca230d58c41f..1ed2e00d9f6843 100644 --- a/llvm/include/llvm/DebugInfo/PDB/IPDBTable.h +++ b/llvm/include/llvm/DebugInfo/PDB/IPDBTable.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_PDB_IPDBTABLE_H #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace pdb { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h b/llvm/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h index 1ecae5c32509e1..f34ecee173a8b5 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h @@ -11,6 +11,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.h b/llvm/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.h index eda24e33869fef..71826df8fb33c0 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.h @@ -15,6 +15,7 @@ #include "llvm/DebugInfo/CodeView/DebugSubsectionRecord.h" #include "llvm/DebugInfo/PDB/Native/RawTypes.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/DbiModuleList.h b/llvm/include/llvm/DebugInfo/PDB/Native/DbiModuleList.h index de5b46f216721e..d8d6e2935b6001 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/DbiModuleList.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/DbiModuleList.h @@ -15,6 +15,7 @@ #include "llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h" #include "llvm/Support/BinaryStreamArray.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h b/llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h index 3f60130f575290..aa7509b2564151 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h @@ -16,6 +16,7 @@ #include "llvm/DebugInfo/PDB/PDBTypes.h" #include "llvm/Support/BinaryStreamArray.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/DbiStreamBuilder.h b/llvm/include/llvm/DebugInfo/PDB/Native/DbiStreamBuilder.h index 9a84fc3e7c55cf..df1883693067ac 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/DbiStreamBuilder.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/DbiStreamBuilder.h @@ -14,6 +14,7 @@ #include "llvm/BinaryFormat/COFF.h" #include "llvm/Object/COFF.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/DebugInfo/CodeView/DebugFrameDataSubsection.h" diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/EnumTables.h b/llvm/include/llvm/DebugInfo/PDB/Native/EnumTables.h index dcc67f1e4a8cd9..6ecdc2034bb6bc 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/EnumTables.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/EnumTables.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_PDB_NATIVE_ENUMTABLES_H #include "llvm/ADT/ArrayRef.h" +#include "llvm/Support/Compiler.h" namespace llvm { template struct EnumEntry; diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/FormatUtil.h b/llvm/include/llvm/DebugInfo/PDB/Native/FormatUtil.h index 01de8b49dd78fd..c2c2d9292d9f24 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/FormatUtil.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/FormatUtil.h @@ -12,6 +12,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" #include "llvm/DebugInfo/CodeView/CodeView.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/FormatAdapters.h" #include "llvm/Support/FormatVariadic.h" diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h b/llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h index 28a72c887f25a5..6387f9333086e4 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h @@ -15,6 +15,7 @@ #include "llvm/DebugInfo/PDB/Native/GlobalsStream.h" #include "llvm/DebugInfo/PDB/Native/RawConstants.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/GlobalsStream.h b/llvm/include/llvm/DebugInfo/PDB/Native/GlobalsStream.h index 2988bef4a75b29..e2210b278bd5e4 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/GlobalsStream.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/GlobalsStream.h @@ -13,6 +13,7 @@ #include "llvm/DebugInfo/CodeView/CVRecord.h" #include "llvm/DebugInfo/PDB/Native/RawTypes.h" #include "llvm/Support/BinaryStreamArray.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/Hash.h b/llvm/include/llvm/DebugInfo/PDB/Native/Hash.h index b048d878a12cd0..9186a99afdaf0c 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/Hash.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/Hash.h @@ -11,6 +11,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/HashTable.h b/llvm/include/llvm/DebugInfo/PDB/Native/HashTable.h index eb03397ba69400..71c4045db11d42 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/HashTable.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/HashTable.h @@ -14,6 +14,7 @@ #include "llvm/DebugInfo/PDB/Native/RawError.h" #include "llvm/Support/BinaryStreamReader.h" #include "llvm/Support/BinaryStreamWriter.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/ISectionContribVisitor.h b/llvm/include/llvm/DebugInfo/PDB/Native/ISectionContribVisitor.h index da4078365ff55f..503e63317848ac 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/ISectionContribVisitor.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/ISectionContribVisitor.h @@ -9,6 +9,8 @@ #ifndef LLVM_DEBUGINFO_PDB_NATIVE_ISECTIONCONTRIBVISITOR_H #define LLVM_DEBUGINFO_PDB_NATIVE_ISECTIONCONTRIBVISITOR_H +#include "llvm/Support/Compiler.h" + namespace llvm { namespace pdb { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/InfoStream.h b/llvm/include/llvm/DebugInfo/PDB/Native/InfoStream.h index 625bab6a437828..c8779c19fac568 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/InfoStream.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/InfoStream.h @@ -15,6 +15,7 @@ #include "llvm/DebugInfo/PDB/Native/RawConstants.h" #include "llvm/Support/BinaryStream.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/InfoStreamBuilder.h b/llvm/include/llvm/DebugInfo/PDB/Native/InfoStreamBuilder.h index 4b77e321353f8f..3b42e248c4da6e 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/InfoStreamBuilder.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/InfoStreamBuilder.h @@ -9,6 +9,7 @@ #ifndef LLVM_DEBUGINFO_PDB_NATIVE_INFOSTREAMBUILDER_H #define LLVM_DEBUGINFO_PDB_NATIVE_INFOSTREAMBUILDER_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/DebugInfo/CodeView/GUID.h" diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/InjectedSourceStream.h b/llvm/include/llvm/DebugInfo/PDB/Native/InjectedSourceStream.h index 259c924d9d7c61..905cf8d31ea142 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/InjectedSourceStream.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/InjectedSourceStream.h @@ -11,6 +11,7 @@ #include "llvm/DebugInfo/MSF/MappedBlockStream.h" #include "llvm/DebugInfo/PDB/Native/HashTable.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h b/llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h index 834cd96b77b467..51a73ca6f53d35 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h @@ -18,6 +18,7 @@ #include "llvm/DebugInfo/PDB/Native/ModuleDebugStream.h" #include "llvm/Object/Binary.h" #include "llvm/Object/ObjectFile.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h b/llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h index bb029e534c74e0..ce437595984875 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h @@ -14,6 +14,7 @@ #include "llvm/ADT/Twine.h" #include "llvm/DebugInfo/PDB/Native/FormatUtil.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/FormatVariadic.h" #include "llvm/Support/Regex.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/ModuleDebugStream.h b/llvm/include/llvm/DebugInfo/PDB/Native/ModuleDebugStream.h index 0caf9fffbad693..7b14adc41c8fec 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/ModuleDebugStream.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/ModuleDebugStream.h @@ -14,6 +14,7 @@ #include "llvm/DebugInfo/CodeView/DebugSubsectionRecord.h" #include "llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NamedStreamMap.h b/llvm/include/llvm/DebugInfo/PDB/Native/NamedStreamMap.h index 18fbab0dd38c16..78f24522e8f674 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NamedStreamMap.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NamedStreamMap.h @@ -12,6 +12,7 @@ #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" #include "llvm/DebugInfo/PDB/Native/HashTable.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeCompilandSymbol.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeCompilandSymbol.h index 50d437642d0f73..0ec2302a25098f 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeCompilandSymbol.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeCompilandSymbol.h @@ -11,6 +11,7 @@ #include "llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h" #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace pdb { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumGlobals.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumGlobals.h index c10e652efa8d26..7efe7bf76ceade 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumGlobals.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumGlobals.h @@ -12,6 +12,7 @@ #include "llvm/DebugInfo/CodeView/CodeView.h" #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h" #include "llvm/DebugInfo/PDB/PDBSymbol.h" +#include "llvm/Support/Compiler.h" #include diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumInjectedSources.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumInjectedSources.h index 50d4c2db3c2aa3..93a4623942c396 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumInjectedSources.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumInjectedSources.h @@ -12,6 +12,7 @@ #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h" #include "llvm/DebugInfo/PDB/IPDBInjectedSource.h" #include "llvm/DebugInfo/PDB/Native/InjectedSourceStream.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace pdb { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumLineNumbers.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumLineNumbers.h index a936b769d688ce..90f5a7d01a3b72 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumLineNumbers.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumLineNumbers.h @@ -12,6 +12,7 @@ #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h" #include "llvm/DebugInfo/PDB/IPDBLineNumber.h" #include "llvm/DebugInfo/PDB/Native/NativeLineNumber.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumModules.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumModules.h index 94f1ee18ed9f43..2d76f180e9a420 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumModules.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumModules.h @@ -11,6 +11,7 @@ #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h" #include "llvm/DebugInfo/PDB/PDBSymbol.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace pdb { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumSymbols.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumSymbols.h index 5fc91675f2092e..7aee9d8e7acfca 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumSymbols.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumSymbols.h @@ -12,6 +12,7 @@ #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h" #include "llvm/DebugInfo/PDB/PDBSymbol.h" #include "llvm/DebugInfo/PDB/PDBTypes.h" +#include "llvm/Support/Compiler.h" #include diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h index 2ca000c1c0fe6e..ea461064fa4fd5 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h @@ -13,6 +13,7 @@ #include "llvm/DebugInfo/CodeView/TypeIndex.h" #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h" #include "llvm/DebugInfo/PDB/PDBSymbol.h" +#include "llvm/Support/Compiler.h" #include diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeExeSymbol.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeExeSymbol.h index 82fdff130c4f7f..31e61e8318193c 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeExeSymbol.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeExeSymbol.h @@ -12,6 +12,7 @@ #include "llvm/DebugInfo/CodeView/GUID.h" #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h" #include "llvm/DebugInfo/PDB/PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace pdb { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeFunctionSymbol.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeFunctionSymbol.h index c15e22f61077a4..53d4f747c9e184 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeFunctionSymbol.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeFunctionSymbol.h @@ -13,6 +13,7 @@ #include "llvm/DebugInfo/PDB/IPDBRawSymbol.h" #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h" #include "llvm/DebugInfo/PDB/PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { class raw_ostream; diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeInlineSiteSymbol.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeInlineSiteSymbol.h index 3467ac912162e5..a702c2edd8ce95 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeInlineSiteSymbol.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeInlineSiteSymbol.h @@ -13,6 +13,7 @@ #include "llvm/DebugInfo/PDB/IPDBRawSymbol.h" #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h" #include "llvm/DebugInfo/PDB/PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace pdb { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeLineNumber.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeLineNumber.h index 53f2985833fd91..df793616ee5036 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeLineNumber.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeLineNumber.h @@ -11,6 +11,7 @@ #include "llvm/DebugInfo/CodeView/Line.h" #include "llvm/DebugInfo/PDB/IPDBLineNumber.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace pdb { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativePublicSymbol.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativePublicSymbol.h index 43de80507d0234..e9ae293cf1e603 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativePublicSymbol.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativePublicSymbol.h @@ -11,6 +11,7 @@ #include "llvm/DebugInfo/CodeView/SymbolRecord.h" #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h index 4133be2207136a..699e2d78fc8cbd 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVERAWSYMBOL_H #include "llvm/DebugInfo/PDB/IPDBRawSymbol.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeSession.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeSession.h index 95be7d09aae98f..01207800d8fa6d 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeSession.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeSession.h @@ -15,6 +15,7 @@ #include "llvm/DebugInfo/PDB/Native/SymbolCache.h" #include "llvm/DebugInfo/PDB/PDBTypes.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeSourceFile.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeSourceFile.h index c6653368bc0cee..087849116dc69f 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeSourceFile.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeSourceFile.h @@ -12,6 +12,7 @@ #include "llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h" #include "llvm/DebugInfo/PDB/IPDBSourceFile.h" #include "llvm/DebugInfo/PDB/PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace pdb { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeSymbolEnumerator.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeSymbolEnumerator.h index ab4abc4d3c2cc7..d6c5027db99378 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeSymbolEnumerator.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeSymbolEnumerator.h @@ -13,6 +13,7 @@ #include "llvm/DebugInfo/PDB/IPDBRawSymbol.h" #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h" #include "llvm/DebugInfo/PDB/PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeArray.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeArray.h index 262864fd709fa3..126cd14c0e3074 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeArray.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeArray.h @@ -13,6 +13,7 @@ #include "llvm/DebugInfo/CodeView/TypeRecord.h" #include "llvm/DebugInfo/PDB/PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace pdb { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeBuiltin.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeBuiltin.h index 8bb09f05d0bc64..e7e16b31bd28a8 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeBuiltin.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeBuiltin.h @@ -12,6 +12,7 @@ #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h" #include "llvm/DebugInfo/PDB/PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace pdb { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeEnum.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeEnum.h index 01f13ce1073e1a..a10a0f1cde41c1 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeEnum.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeEnum.h @@ -14,6 +14,7 @@ #include "llvm/DebugInfo/PDB/IPDBRawSymbol.h" #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h" #include "llvm/DebugInfo/PDB/PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { class raw_ostream; diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeFunctionSig.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeFunctionSig.h index 47ea722313c363..dd5603d2da05a2 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeFunctionSig.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeFunctionSig.h @@ -14,6 +14,7 @@ #include "llvm/DebugInfo/PDB/IPDBRawSymbol.h" #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h" #include "llvm/DebugInfo/PDB/PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace pdb { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypePointer.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypePointer.h index 184e00086849ce..d0503d942dafbe 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypePointer.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypePointer.h @@ -14,6 +14,7 @@ #include "llvm/DebugInfo/PDB/IPDBRawSymbol.h" #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h" #include "llvm/DebugInfo/PDB/PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace pdb { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeTypedef.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeTypedef.h index ce4ebcd00c4a8e..b05b5d12f2562c 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeTypedef.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeTypedef.h @@ -13,6 +13,7 @@ #include "llvm/DebugInfo/PDB/IPDBRawSymbol.h" #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h" #include "llvm/DebugInfo/PDB/PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeUDT.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeUDT.h index 79924a78cd218c..e9d808205e43ab 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeUDT.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeUDT.h @@ -14,6 +14,7 @@ #include "llvm/DebugInfo/PDB/IPDBRawSymbol.h" #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h" #include "llvm/DebugInfo/PDB/PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeVTShape.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeVTShape.h index 92d51706c1dac7..41a898d6f1a66c 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeVTShape.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeVTShape.h @@ -14,6 +14,7 @@ #include "llvm/DebugInfo/PDB/IPDBRawSymbol.h" #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h" #include "llvm/DebugInfo/PDB/PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace pdb { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/PDBFile.h b/llvm/include/llvm/DebugInfo/PDB/Native/PDBFile.h index 1ea92ed4bf21f8..76be171cac0b0d 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/PDBFile.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/PDBFile.h @@ -13,6 +13,7 @@ #include "llvm/DebugInfo/MSF/MSFCommon.h" #include "llvm/Support/Allocator.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/PDBFileBuilder.h b/llvm/include/llvm/DebugInfo/PDB/Native/PDBFileBuilder.h index c23d958f8ed061..f678b2be20e692 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/PDBFileBuilder.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/PDBFileBuilder.h @@ -15,6 +15,7 @@ #include "llvm/DebugInfo/PDB/Native/NamedStreamMap.h" #include "llvm/DebugInfo/PDB/Native/PDBStringTableBuilder.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/MemoryBuffer.h" #include diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/PDBStringTable.h b/llvm/include/llvm/DebugInfo/PDB/Native/PDBStringTable.h index 4336cd398baf1e..daacd778f8c5b1 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/PDBStringTable.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/PDBStringTable.h @@ -12,6 +12,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/DebugInfo/CodeView/DebugStringTableSubsection.h" #include "llvm/Support/BinaryStreamArray.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/PDBStringTableBuilder.h b/llvm/include/llvm/DebugInfo/PDB/Native/PDBStringTableBuilder.h index 986bd3645108ab..e60bd547697ccd 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/PDBStringTableBuilder.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/PDBStringTableBuilder.h @@ -15,6 +15,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/DebugInfo/CodeView/DebugStringTableSubsection.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/PublicsStream.h b/llvm/include/llvm/DebugInfo/PDB/Native/PublicsStream.h index a59a752ff91167..2159bba18f3115 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/PublicsStream.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/PublicsStream.h @@ -11,6 +11,7 @@ #include "llvm/DebugInfo/PDB/Native/GlobalsStream.h" #include "llvm/Support/BinaryStreamArray.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/RawError.h b/llvm/include/llvm/DebugInfo/PDB/Native/RawError.h index 8836adf9497f43..d61e0f009e8b9c 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/RawError.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/RawError.h @@ -9,6 +9,7 @@ #ifndef LLVM_DEBUGINFO_PDB_NATIVE_RAWERROR_H #define LLVM_DEBUGINFO_PDB_NATIVE_RAWERROR_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/RawTypes.h b/llvm/include/llvm/DebugInfo/PDB/Native/RawTypes.h index 4a9db4962fbbc1..f02cb4a88d69a2 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/RawTypes.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/RawTypes.h @@ -11,6 +11,7 @@ #include "llvm/DebugInfo/CodeView/GUID.h" #include "llvm/DebugInfo/CodeView/TypeRecord.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/SymbolCache.h b/llvm/include/llvm/DebugInfo/PDB/Native/SymbolCache.h index 7c5b6b9e1bdf61..714e796a9b9e7e 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/SymbolCache.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/SymbolCache.h @@ -18,6 +18,7 @@ #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h" #include "llvm/DebugInfo/PDB/Native/NativeSourceFile.h" #include "llvm/DebugInfo/PDB/PDBTypes.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/SymbolStream.h b/llvm/include/llvm/DebugInfo/PDB/Native/SymbolStream.h index c2f7eb04d16e1e..e72d9d37db94a8 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/SymbolStream.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/SymbolStream.h @@ -11,6 +11,7 @@ #include "llvm/DebugInfo/CodeView/CVRecord.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/TpiHashing.h b/llvm/include/llvm/DebugInfo/PDB/Native/TpiHashing.h index 3cdb890d81d359..303356cc7d04e9 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/TpiHashing.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/TpiHashing.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_PDB_NATIVE_TPIHASHING_H #include "llvm/DebugInfo/CodeView/TypeRecord.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h b/llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h index 4c413abb2bf027..6c8a8200b613bf 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h @@ -14,6 +14,7 @@ #include "llvm/DebugInfo/PDB/Native/RawConstants.h" #include "llvm/Support/BinaryStreamArray.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/TpiStreamBuilder.h b/llvm/include/llvm/DebugInfo/PDB/Native/TpiStreamBuilder.h index 855b5fe1f93118..4852dfa0484072 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/TpiStreamBuilder.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/TpiStreamBuilder.h @@ -14,6 +14,7 @@ #include "llvm/DebugInfo/PDB/Native/RawConstants.h" #include "llvm/Support/Allocator.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/PDB/PDB.h b/llvm/include/llvm/DebugInfo/PDB/PDB.h index 6d734dc2f243ac..0803af881392b2 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDB.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDB.h @@ -11,6 +11,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/DebugInfo/PDB/PDBTypes.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBContext.h b/llvm/include/llvm/DebugInfo/PDB/PDBContext.h index 3163c0a1dae034..fbcae9763e66e4 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBContext.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBContext.h @@ -11,6 +11,7 @@ #include "llvm/DebugInfo/DIContext.h" #include "llvm/DebugInfo/PDB/IPDBSession.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBExtras.h b/llvm/include/llvm/DebugInfo/PDB/PDBExtras.h index 802d18a069ee44..4d7e30b6a7190f 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBExtras.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBExtras.h @@ -12,6 +12,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/DebugInfo/CodeView/CodeView.h" #include "llvm/DebugInfo/PDB/PDBTypes.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymDumper.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymDumper.h index f81b15f2353d70..8e2915f3b718bc 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymDumper.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymDumper.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_PDB_PDBSYMDUMPER_H #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbol.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbol.h index 4e34b75b6117e2..8253f10f654ca0 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbol.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbol.h @@ -13,6 +13,7 @@ #include "PDBExtras.h" #include "PDBTypes.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #define FORWARD_SYMBOL_METHOD(MethodName) \ decltype(auto) MethodName() const { return RawSymbol->MethodName(); } diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolAnnotation.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolAnnotation.h index c8d3d0b7bb9635..fc9f017435e471 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolAnnotation.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolAnnotation.h @@ -10,6 +10,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolBlock.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolBlock.h index 09142227b01762..30c708a2831c10 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolBlock.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolBlock.h @@ -10,6 +10,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h index ca8b39d03f86f2..d804b499e0399b 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h @@ -10,6 +10,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompilandDetails.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompilandDetails.h index 46c1592685338a..b1fcd0994d3c83 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompilandDetails.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompilandDetails.h @@ -11,6 +11,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h index cba082f2ff1966..edebb38707de9f 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h @@ -11,6 +11,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCustom.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCustom.h index c78b47ce99248b..661c079937e337 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCustom.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCustom.h @@ -12,6 +12,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolData.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolData.h index 61e67d1368a88b..d629046d13d77d 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolData.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolData.h @@ -12,6 +12,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" #include "llvm/DebugInfo/PDB/IPDBRawSymbol.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolExe.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolExe.h index cde66d39924383..e523d980c18be9 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolExe.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolExe.h @@ -11,6 +11,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFunc.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFunc.h index bfc7f768971828..15c2762591de6a 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFunc.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFunc.h @@ -13,6 +13,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugEnd.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugEnd.h index 09c6f47289608e..775b4bf7663f44 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugEnd.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugEnd.h @@ -11,6 +11,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugStart.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugStart.h index 843a8348a2f0be..d7be5099f06e10 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugStart.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugStart.h @@ -11,6 +11,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolLabel.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolLabel.h index 148802a47cbcce..2396a88498577a 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolLabel.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolLabel.h @@ -11,6 +11,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolPublicSymbol.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolPublicSymbol.h index a757cc02624b10..240d98d763a193 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolPublicSymbol.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolPublicSymbol.h @@ -11,6 +11,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolThunk.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolThunk.h index 2b81a63995e6ed..0e141ead88eec5 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolThunk.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolThunk.h @@ -11,6 +11,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeArray.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeArray.h index 496141e5fa68fd..75583ec16c10e6 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeArray.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeArray.h @@ -11,6 +11,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeBaseClass.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeBaseClass.h index c74ac3fb9cce1f..83221b654d90ce 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeBaseClass.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeBaseClass.h @@ -13,6 +13,7 @@ #include "PDBTypes.h" #include "llvm/DebugInfo/PDB/IPDBRawSymbol.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h index b923983095f335..83e6c8174ccda6 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h @@ -11,6 +11,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeCustom.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeCustom.h index b15abf7bedfd7d..cdef3fa869d0d0 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeCustom.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeCustom.h @@ -11,6 +11,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeDimension.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeDimension.h index e7570b41dd21b0..0a0d7bb3e285c5 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeDimension.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeDimension.h @@ -11,6 +11,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h index ee1f736c17a04e..99b42f5aa58ca1 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h @@ -13,6 +13,7 @@ #include "PDBTypes.h" #include "llvm/DebugInfo/PDB/IPDBRawSymbol.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFriend.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFriend.h index 9fde421162614d..ca8a613c5080e5 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFriend.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFriend.h @@ -11,6 +11,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionArg.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionArg.h index 71decff722a511..b1cb4c4b7a5db1 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionArg.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionArg.h @@ -11,6 +11,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionSig.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionSig.h index ceb4bff5b7b426..fcca9e4a5f1f04 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionSig.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionSig.h @@ -11,6 +11,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeManaged.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeManaged.h index 866bf520a3b26a..ae568811f092ca 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeManaged.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeManaged.h @@ -11,6 +11,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypePointer.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypePointer.h index 1b43ef9a21bd2b..feb9a385665394 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypePointer.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypePointer.h @@ -11,6 +11,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeTypedef.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeTypedef.h index 3f37730cf1df4b..5654b60c1f5a19 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeTypedef.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeTypedef.h @@ -11,6 +11,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h index a3a49a4b619a58..2f99f251e08017 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h @@ -13,6 +13,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTable.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTable.h index 6223bee9867071..6cee234c9fdfd2 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTable.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTable.h @@ -11,6 +11,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTableShape.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTableShape.h index bec0a9970a9f2b..a17d0f1d793132 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTableShape.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTableShape.h @@ -11,6 +11,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolUnknown.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolUnknown.h index a53af49bc9e018..400299e8bc4b00 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolUnknown.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolUnknown.h @@ -10,6 +10,7 @@ #define LLVM_DEBUGINFO_PDB_PDBSYMBOLUNKNOWN_H #include "PDBSymbol.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolUsingNamespace.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolUsingNamespace.h index dde25a023d000a..28ff189234112d 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolUsingNamespace.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolUsingNamespace.h @@ -11,6 +11,7 @@ #include "PDBSymbol.h" #include "PDBTypes.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBTypes.h b/llvm/include/llvm/DebugInfo/PDB/PDBTypes.h index b6a794ad7e7609..3b04fc780ac97a 100644 --- a/llvm/include/llvm/DebugInfo/PDB/PDBTypes.h +++ b/llvm/include/llvm/DebugInfo/PDB/PDBTypes.h @@ -14,6 +14,7 @@ #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h" #include "llvm/DebugInfo/PDB/IPDBFrameData.h" #include "llvm/DebugInfo/PDB/Native/RawTypes.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/DebugInfo/PDB/UDTLayout.h b/llvm/include/llvm/DebugInfo/PDB/UDTLayout.h index 8631c412f11425..3c24b957a35a64 100644 --- a/llvm/include/llvm/DebugInfo/PDB/UDTLayout.h +++ b/llvm/include/llvm/DebugInfo/PDB/UDTLayout.h @@ -18,6 +18,7 @@ #include "llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h" #include "llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h" #include "llvm/DebugInfo/PDB/PDBSymbolTypeVTable.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/DebugInfo/Symbolize/DIPrinter.h b/llvm/include/llvm/DebugInfo/Symbolize/DIPrinter.h index 72ffdd29f1b72d..3207a7fc0708de 100644 --- a/llvm/include/llvm/DebugInfo/Symbolize/DIPrinter.h +++ b/llvm/include/llvm/DebugInfo/Symbolize/DIPrinter.h @@ -15,6 +15,7 @@ #define LLVM_DEBUGINFO_SYMBOLIZE_DIPRINTER_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/JSON.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/Symbolize/Markup.h b/llvm/include/llvm/DebugInfo/Symbolize/Markup.h index 37e1d2748e31c3..d3698a440daea8 100644 --- a/llvm/include/llvm/DebugInfo/Symbolize/Markup.h +++ b/llvm/include/llvm/DebugInfo/Symbolize/Markup.h @@ -19,6 +19,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringSet.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Regex.h" namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/Symbolize/MarkupFilter.h b/llvm/include/llvm/DebugInfo/Symbolize/MarkupFilter.h index a1514d91702b9f..1e722319e8dbcc 100644 --- a/llvm/include/llvm/DebugInfo/Symbolize/MarkupFilter.h +++ b/llvm/include/llvm/DebugInfo/Symbolize/MarkupFilter.h @@ -18,6 +18,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/DebugInfo/Symbolize/Markup.h" #include "llvm/Object/BuildID.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/WithColor.h" #include "llvm/Support/raw_ostream.h" #include diff --git a/llvm/include/llvm/DebugInfo/Symbolize/SymbolizableModule.h b/llvm/include/llvm/DebugInfo/Symbolize/SymbolizableModule.h index 255932d35cda11..1bcaebc719b2c0 100644 --- a/llvm/include/llvm/DebugInfo/Symbolize/SymbolizableModule.h +++ b/llvm/include/llvm/DebugInfo/Symbolize/SymbolizableModule.h @@ -13,6 +13,7 @@ #define LLVM_DEBUGINFO_SYMBOLIZE_SYMBOLIZABLEMODULE_H #include "llvm/DebugInfo/DIContext.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/DebugInfo/Symbolize/SymbolizableObjectFile.h b/llvm/include/llvm/DebugInfo/Symbolize/SymbolizableObjectFile.h index 311fa201d900e4..d860d0135bc79d 100644 --- a/llvm/include/llvm/DebugInfo/Symbolize/SymbolizableObjectFile.h +++ b/llvm/include/llvm/DebugInfo/Symbolize/SymbolizableObjectFile.h @@ -15,6 +15,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/DebugInfo/DIContext.h" #include "llvm/DebugInfo/Symbolize/SymbolizableModule.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h b/llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h index bc4aa74073a655..104d897937ae7f 100644 --- a/llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h +++ b/llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h @@ -19,6 +19,7 @@ #include "llvm/DebugInfo/DIContext.h" #include "llvm/Object/Binary.h" #include "llvm/Object/BuildID.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/Debuginfod/BuildIDFetcher.h b/llvm/include/llvm/Debuginfod/BuildIDFetcher.h index f0ecea1821257b..264e43ac22a221 100644 --- a/llvm/include/llvm/Debuginfod/BuildIDFetcher.h +++ b/llvm/include/llvm/Debuginfod/BuildIDFetcher.h @@ -16,6 +16,7 @@ #define LLVM_DEBUGINFOD_DIFETCHER_H #include "llvm/Object/BuildID.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Debuginfod/Debuginfod.h b/llvm/include/llvm/Debuginfod/Debuginfod.h index ec7f5691dda4fb..33831bd4535a20 100644 --- a/llvm/include/llvm/Debuginfod/Debuginfod.h +++ b/llvm/include/llvm/Debuginfod/Debuginfod.h @@ -25,6 +25,7 @@ #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" #include "llvm/Object/BuildID.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/Mutex.h" diff --git a/llvm/include/llvm/Debuginfod/HTTPClient.h b/llvm/include/llvm/Debuginfod/HTTPClient.h index 6ded55502f0551..a382727d99057d 100644 --- a/llvm/include/llvm/Debuginfod/HTTPClient.h +++ b/llvm/include/llvm/Debuginfod/HTTPClient.h @@ -17,6 +17,7 @@ #include "llvm/ADT/SmallString.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/MemoryBuffer.h" diff --git a/llvm/include/llvm/Debuginfod/HTTPServer.h b/llvm/include/llvm/Debuginfod/HTTPServer.h index c200089200ab78..944350dc444048 100644 --- a/llvm/include/llvm/Debuginfod/HTTPServer.h +++ b/llvm/include/llvm/Debuginfod/HTTPServer.h @@ -17,6 +17,7 @@ #define LLVM_DEBUGINFOD_HTTPSERVER_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #ifdef LLVM_ENABLE_HTTPLIB diff --git a/llvm/include/llvm/Demangle/Demangle.h b/llvm/include/llvm/Demangle/Demangle.h index 70cfc1418f0c7b..deb5162579b6ee 100644 --- a/llvm/include/llvm/Demangle/Demangle.h +++ b/llvm/include/llvm/Demangle/Demangle.h @@ -9,6 +9,7 @@ #ifndef LLVM_DEMANGLE_DEMANGLE_H #define LLVM_DEMANGLE_DEMANGLE_H +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Demangle/ItaniumDemangle.h b/llvm/include/llvm/Demangle/ItaniumDemangle.h index f68c37258ce099..5f075c4de0aae6 100644 --- a/llvm/include/llvm/Demangle/ItaniumDemangle.h +++ b/llvm/include/llvm/Demangle/ItaniumDemangle.h @@ -19,6 +19,7 @@ #include "DemangleConfig.h" #include "StringViewExtras.h" #include "Utility.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Demangle/MicrosoftDemangle.h b/llvm/include/llvm/Demangle/MicrosoftDemangle.h index 1529b803debe5a..d76e2de83a50ff 100644 --- a/llvm/include/llvm/Demangle/MicrosoftDemangle.h +++ b/llvm/include/llvm/Demangle/MicrosoftDemangle.h @@ -10,6 +10,7 @@ #define LLVM_DEMANGLE_MICROSOFTDEMANGLE_H #include "llvm/Demangle/MicrosoftDemangleNodes.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h b/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h index 1913bff0ada7fd..53dc23217fde10 100644 --- a/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h +++ b/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h @@ -13,6 +13,7 @@ #ifndef LLVM_DEMANGLE_MICROSOFTDEMANGLENODES_H #define LLVM_DEMANGLE_MICROSOFTDEMANGLENODES_H +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Demangle/Utility.h b/llvm/include/llvm/Demangle/Utility.h index 99ed81461ce413..b8e2b58546a33a 100644 --- a/llvm/include/llvm/Demangle/Utility.h +++ b/llvm/include/llvm/Demangle/Utility.h @@ -17,6 +17,7 @@ #define DEMANGLE_UTILITY_H #include "DemangleConfig.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h b/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h index ee6084ada1dd49..10317e3a7c82f5 100644 --- a/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h +++ b/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h @@ -25,6 +25,7 @@ #include "llvm/Object/Binary.h" #include "llvm/Support/CBindingWrapping.h" #include "llvm/Support/CodeGen.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/Mutex.h" #include "llvm/Target/TargetMachine.h" diff --git a/llvm/include/llvm/ExecutionEngine/GenericValue.h b/llvm/include/llvm/ExecutionEngine/GenericValue.h index 1ca989da1b7ee7..347f7fcbc481bc 100644 --- a/llvm/include/llvm/ExecutionEngine/GenericValue.h +++ b/llvm/include/llvm/ExecutionEngine/GenericValue.h @@ -14,6 +14,7 @@ #define LLVM_EXECUTIONENGINE_GENERICVALUE_H #include "llvm/ADT/APInt.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/ExecutionEngine/JITEventListener.h b/llvm/include/llvm/ExecutionEngine/JITEventListener.h index 7ccf8ff0d503d4..965d69e8e6205f 100644 --- a/llvm/include/llvm/ExecutionEngine/JITEventListener.h +++ b/llvm/include/llvm/ExecutionEngine/JITEventListener.h @@ -19,6 +19,7 @@ #include "llvm/ExecutionEngine/RuntimeDyld.h" #include "llvm/IR/DebugLoc.h" #include "llvm/Support/CBindingWrapping.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/COFF.h b/llvm/include/llvm/ExecutionEngine/JITLink/COFF.h index 87d3648d37e8ba..6f9780cbeb15d3 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/COFF.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/COFF.h @@ -14,6 +14,7 @@ #define LLVM_EXECUTIONENGINE_JITLINK_COFF_H #include "llvm/ExecutionEngine/JITLink/JITLink.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace jitlink { diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/COFF_x86_64.h b/llvm/include/llvm/ExecutionEngine/JITLink/COFF_x86_64.h index fff32d6d960933..3c7558d42db710 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/COFF_x86_64.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/COFF_x86_64.h @@ -14,6 +14,7 @@ #define LLVM_EXECUTIONENGINE_JITLINK_COFF_X86_64_H #include "llvm/ExecutionEngine/JITLink/JITLink.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace jitlink { diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/DWARFRecordSectionSplitter.h b/llvm/include/llvm/ExecutionEngine/JITLink/DWARFRecordSectionSplitter.h index d748d4b0fa5927..50c43890b020ef 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/DWARFRecordSectionSplitter.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/DWARFRecordSectionSplitter.h @@ -10,6 +10,7 @@ #define LLVM_EXECUTIONENGINE_JITLINK_DWARFRECORDSECTIONSPLITTER_H #include "llvm/ExecutionEngine/JITLink/JITLink.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace jitlink { diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/EHFrameSupport.h b/llvm/include/llvm/ExecutionEngine/JITLink/EHFrameSupport.h index 7fb61b6a021af9..1552fbed964abf 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/EHFrameSupport.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/EHFrameSupport.h @@ -15,6 +15,7 @@ #include "llvm/ExecutionEngine/JITLink/JITLink.h" #include "llvm/ExecutionEngine/JITSymbol.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/TargetParser/Triple.h" diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/ELF.h b/llvm/include/llvm/ExecutionEngine/JITLink/ELF.h index 038591f9add055..89c83d3eea261f 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/ELF.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/ELF.h @@ -14,6 +14,7 @@ #define LLVM_EXECUTIONENGINE_JITLINK_ELF_H #include "llvm/ExecutionEngine/JITLink/JITLink.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace jitlink { diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/ELF_aarch32.h b/llvm/include/llvm/ExecutionEngine/JITLink/ELF_aarch32.h index 25d1c3aac2c26e..81d2e429b315ff 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/ELF_aarch32.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/ELF_aarch32.h @@ -15,6 +15,7 @@ #include "llvm/ExecutionEngine/JITLink/JITLink.h" #include "llvm/ExecutionEngine/JITLink/aarch32.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace jitlink { diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/ELF_aarch64.h b/llvm/include/llvm/ExecutionEngine/JITLink/ELF_aarch64.h index 50eb598139ea0b..d6496247f13279 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/ELF_aarch64.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/ELF_aarch64.h @@ -16,6 +16,7 @@ #define LLVM_EXECUTIONENGINE_JITLINK_ELF_AARCH64_H #include "llvm/ExecutionEngine/JITLink/JITLink.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace jitlink { diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/ELF_i386.h b/llvm/include/llvm/ExecutionEngine/JITLink/ELF_i386.h index 44ebd969946113..3bdf64a4b1c66f 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/ELF_i386.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/ELF_i386.h @@ -16,6 +16,7 @@ #define LLVM_EXECUTIONENGINE_JITLINK_ELF_I386_H #include "llvm/ExecutionEngine/JITLink/JITLink.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace jitlink { diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/ELF_loongarch.h b/llvm/include/llvm/ExecutionEngine/JITLink/ELF_loongarch.h index 4d7655c4b988b7..82ea5f2cdd10f2 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/ELF_loongarch.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/ELF_loongarch.h @@ -16,6 +16,7 @@ #define LLVM_EXECUTIONENGINE_JITLINK_ELF_LOONGARCH_H #include "llvm/ExecutionEngine/JITLink/JITLink.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace jitlink { diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/ELF_ppc64.h b/llvm/include/llvm/ExecutionEngine/JITLink/ELF_ppc64.h index 8db986a4a9fa15..ab2d1f8a76404d 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/ELF_ppc64.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/ELF_ppc64.h @@ -14,6 +14,7 @@ #define LLVM_EXECUTIONENGINE_JITLINK_ELF_PPC64_H #include "llvm/ExecutionEngine/JITLink/JITLink.h" +#include "llvm/Support/Compiler.h" namespace llvm::jitlink { diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/ELF_riscv.h b/llvm/include/llvm/ExecutionEngine/JITLink/ELF_riscv.h index a0e573baca066f..8dada638164054 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/ELF_riscv.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/ELF_riscv.h @@ -16,6 +16,7 @@ #define LLVM_EXECUTIONENGINE_JITLINK_ELF_RISCV_H #include "llvm/ExecutionEngine/JITLink/JITLink.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace jitlink { diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/ELF_x86_64.h b/llvm/include/llvm/ExecutionEngine/JITLink/ELF_x86_64.h index fbe5765438d240..fa547142752876 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/ELF_x86_64.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/ELF_x86_64.h @@ -14,6 +14,7 @@ #define LLVM_EXECUTIONENGINE_JITLINK_ELF_X86_64_H #include "llvm/ExecutionEngine/JITLink/JITLink.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace jitlink { diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h b/llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h index fb758f7a66cf55..21f5b8f8b8c941 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h @@ -25,6 +25,7 @@ #include "llvm/Support/Allocator.h" #include "llvm/Support/BinaryStreamReader.h" #include "llvm/Support/BinaryStreamWriter.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include "llvm/Support/FormatVariadic.h" diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/JITLinkDylib.h b/llvm/include/llvm/ExecutionEngine/JITLink/JITLinkDylib.h index 6bb1b5a285b162..3ee4300d9d57aa 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/JITLinkDylib.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/JITLinkDylib.h @@ -13,6 +13,7 @@ #ifndef LLVM_EXECUTIONENGINE_JITLINK_JITLINKDYLIB_H #define LLVM_EXECUTIONENGINE_JITLINK_JITLINKDYLIB_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h b/llvm/include/llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h index 1b8c4d4e181cdc..6d8e9227455049 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h @@ -20,6 +20,7 @@ #include "llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h" #include "llvm/ExecutionEngine/Orc/Shared/MemoryFlags.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/MSVCErrorWorkarounds.h" #include "llvm/Support/Memory.h" diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/MachO.h b/llvm/include/llvm/ExecutionEngine/JITLink/MachO.h index b8432c4d26c68c..68239bf9b54667 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/MachO.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/MachO.h @@ -14,6 +14,7 @@ #define LLVM_EXECUTIONENGINE_JITLINK_MACHO_H #include "llvm/ExecutionEngine/JITLink/JITLink.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace jitlink { diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/MachO_arm64.h b/llvm/include/llvm/ExecutionEngine/JITLink/MachO_arm64.h index 31721bf999ec18..a8263e29bc076c 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/MachO_arm64.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/MachO_arm64.h @@ -14,6 +14,7 @@ #define LLVM_EXECUTIONENGINE_JITLINK_MACHO_ARM64_H #include "llvm/ExecutionEngine/JITLink/JITLink.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace jitlink { diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/MachO_x86_64.h b/llvm/include/llvm/ExecutionEngine/JITLink/MachO_x86_64.h index 6aee8c354f91e6..693adf5a074ed2 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/MachO_x86_64.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/MachO_x86_64.h @@ -14,6 +14,7 @@ #define LLVM_EXECUTIONENGINE_JITLINK_MACHO_X86_64_H #include "llvm/ExecutionEngine/JITLink/JITLink.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace jitlink { diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/TableManager.h b/llvm/include/llvm/ExecutionEngine/JITLink/TableManager.h index 7ab8ae3e53cec2..150ff1411986cc 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/TableManager.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/TableManager.h @@ -14,6 +14,7 @@ #define LLVM_EXECUTIONENGINE_JITLINK_TABLEMANAGER_H #include "llvm/ExecutionEngine/JITLink/JITLink.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" namespace llvm { diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/aarch32.h b/llvm/include/llvm/ExecutionEngine/JITLink/aarch32.h index 3f36b53d6684a7..8ca520d4a2f1f3 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/aarch32.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/aarch32.h @@ -17,6 +17,7 @@ #include "llvm/ExecutionEngine/JITLink/JITLink.h" #include "llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h" #include "llvm/Support/ARMBuildAttributes.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/aarch64.h b/llvm/include/llvm/ExecutionEngine/JITLink/aarch64.h index 8d3f29b545f21a..11cb7297489212 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/aarch64.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/aarch64.h @@ -16,6 +16,7 @@ #include "TableManager.h" #include "llvm/ExecutionEngine/JITLink/JITLink.h" #include "llvm/ExecutionEngine/Orc/Shared/MemoryFlags.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace jitlink { diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/i386.h b/llvm/include/llvm/ExecutionEngine/JITLink/i386.h index f8d24d8bf31ca0..e5b26cd719883b 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/i386.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/i386.h @@ -15,6 +15,7 @@ #include "llvm/ExecutionEngine/JITLink/JITLink.h" #include "llvm/ExecutionEngine/JITLink/TableManager.h" +#include "llvm/Support/Compiler.h" namespace llvm::jitlink::i386 { /// Represets i386 fixups diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/loongarch.h b/llvm/include/llvm/ExecutionEngine/JITLink/loongarch.h index bec657723a38cf..9919fbd8ae8719 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/loongarch.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/loongarch.h @@ -16,6 +16,7 @@ #include "TableManager.h" #include "llvm/ExecutionEngine/JITLink/JITLink.h" #include "llvm/ExecutionEngine/Orc/Shared/MemoryFlags.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace jitlink { diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/ppc64.h b/llvm/include/llvm/ExecutionEngine/JITLink/ppc64.h index b7239144559861..af4da1e5f625cb 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/ppc64.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/ppc64.h @@ -15,6 +15,7 @@ #include "llvm/ExecutionEngine/JITLink/JITLink.h" #include "llvm/ExecutionEngine/JITLink/TableManager.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" namespace llvm::jitlink::ppc64 { diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/riscv.h b/llvm/include/llvm/ExecutionEngine/JITLink/riscv.h index a31f7d73b099f4..ecc6b49341a108 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/riscv.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/riscv.h @@ -14,6 +14,7 @@ #define LLVM_EXECUTIONENGINE_JITLINK_RISCV_H #include "llvm/ExecutionEngine/JITLink/JITLink.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace jitlink { diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/x86_64.h b/llvm/include/llvm/ExecutionEngine/JITLink/x86_64.h index e072ee1575de8f..238c0f5dc009dd 100644 --- a/llvm/include/llvm/ExecutionEngine/JITLink/x86_64.h +++ b/llvm/include/llvm/ExecutionEngine/JITLink/x86_64.h @@ -15,6 +15,7 @@ #include "llvm/ExecutionEngine/JITLink/JITLink.h" #include "llvm/ExecutionEngine/JITLink/TableManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace jitlink { diff --git a/llvm/include/llvm/ExecutionEngine/JITSymbol.h b/llvm/include/llvm/ExecutionEngine/JITSymbol.h index d0a8dd7ce5e812..f97439bc9b78df 100644 --- a/llvm/include/llvm/ExecutionEngine/JITSymbol.h +++ b/llvm/include/llvm/ExecutionEngine/JITSymbol.h @@ -25,6 +25,7 @@ #include "llvm/ADT/BitmaskEnum.h" #include "llvm/ADT/FunctionExtras.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/ExecutionEngine/MCJIT.h b/llvm/include/llvm/ExecutionEngine/MCJIT.h index adce98f380c54f..a94fa40cad80b0 100644 --- a/llvm/include/llvm/ExecutionEngine/MCJIT.h +++ b/llvm/include/llvm/ExecutionEngine/MCJIT.h @@ -15,6 +15,7 @@ #define LLVM_EXECUTIONENGINE_MCJIT_H #include "llvm/ExecutionEngine/ExecutionEngine.h" +#include "llvm/Support/Compiler.h" #include extern "C" void LLVMLinkInMCJIT(); diff --git a/llvm/include/llvm/ExecutionEngine/ObjectCache.h b/llvm/include/llvm/ExecutionEngine/ObjectCache.h index 1c72ca39f7c163..64512747cfad00 100644 --- a/llvm/include/llvm/ExecutionEngine/ObjectCache.h +++ b/llvm/include/llvm/ExecutionEngine/ObjectCache.h @@ -9,6 +9,7 @@ #ifndef LLVM_EXECUTIONENGINE_OBJECTCACHE_H #define LLVM_EXECUTIONENGINE_OBJECTCACHE_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/ExecutionEngine/Orc/COFFPlatform.h b/llvm/include/llvm/ExecutionEngine/Orc/COFFPlatform.h index 4ef208dbbca22c..b01520d26b04a6 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/COFFPlatform.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/COFFPlatform.h @@ -20,6 +20,7 @@ #include "llvm/ExecutionEngine/Orc/ExecutorProcessControl.h" #include "llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h" #include "llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/COFFVCRuntimeSupport.h b/llvm/include/llvm/ExecutionEngine/Orc/COFFVCRuntimeSupport.h index 979ebee79039b5..5191128d470ec0 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/COFFVCRuntimeSupport.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/COFFVCRuntimeSupport.h @@ -18,6 +18,7 @@ #include "llvm/ExecutionEngine/Orc/ExecutorProcessControl.h" #include "llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h" #include "llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h b/llvm/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h index 23a64b5836db85..6c8a08659ea3e5 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h @@ -37,6 +37,7 @@ #include "llvm/IR/Module.h" #include "llvm/IR/Type.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Transforms/Utils/ValueMapper.h" #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/CompileUtils.h b/llvm/include/llvm/ExecutionEngine/Orc/CompileUtils.h index a55aa3d71db2a1..a56807907aaf0d 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/CompileUtils.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/CompileUtils.h @@ -16,6 +16,7 @@ #include "llvm/ExecutionEngine/Orc/IRCompileLayer.h" #include "llvm/ExecutionEngine/Orc/JITTargetMachineBuilder.h" #include "llvm/ExecutionEngine/Orc/Layer.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/ExecutionEngine/Orc/Core.h b/llvm/include/llvm/ExecutionEngine/Orc/Core.h index ba164c6b629edc..b4b26c99f13c2e 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/Core.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/Core.h @@ -24,6 +24,7 @@ #include "llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h" #include "llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h" #include "llvm/ExecutionEngine/Orc/TaskDispatch.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include "llvm/Support/ExtensibleRTTI.h" diff --git a/llvm/include/llvm/ExecutionEngine/Orc/DebugObjectManagerPlugin.h b/llvm/include/llvm/ExecutionEngine/Orc/DebugObjectManagerPlugin.h index 70f5230c5fceb6..75badc0b7f29b3 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/DebugObjectManagerPlugin.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/DebugObjectManagerPlugin.h @@ -17,6 +17,7 @@ #include "llvm/ExecutionEngine/Orc/Core.h" #include "llvm/ExecutionEngine/Orc/EPCDebugObjectRegistrar.h" #include "llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/Memory.h" #include "llvm/Support/MemoryBufferRef.h" diff --git a/llvm/include/llvm/ExecutionEngine/Orc/DebugUtils.h b/llvm/include/llvm/ExecutionEngine/Orc/DebugUtils.h index 53e089613dd451..c0ea1aa887304d 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/DebugUtils.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/DebugUtils.h @@ -16,6 +16,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ExecutionEngine/Orc/Core.h" #include "llvm/ExecutionEngine/Orc/SymbolStringPool.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/raw_ostream.h" #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/Debugging/DebuggerSupportPlugin.h b/llvm/include/llvm/ExecutionEngine/Orc/Debugging/DebuggerSupportPlugin.h index e21d5823288ee4..2a222b57af1360 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/Debugging/DebuggerSupportPlugin.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/Debugging/DebuggerSupportPlugin.h @@ -16,6 +16,7 @@ #include "llvm/ExecutionEngine/Orc/Core.h" #include "llvm/ExecutionEngine/Orc/EPCDebugObjectRegistrar.h" #include "llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace orc { diff --git a/llvm/include/llvm/ExecutionEngine/Orc/ELFNixPlatform.h b/llvm/include/llvm/ExecutionEngine/Orc/ELFNixPlatform.h index 9b635064fc6a54..4bb94595bc2c0d 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/ELFNixPlatform.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/ELFNixPlatform.h @@ -18,6 +18,7 @@ #include "llvm/ExecutionEngine/Orc/ExecutorProcessControl.h" #include "llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h" #include "llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/EPCDebugObjectRegistrar.h b/llvm/include/llvm/ExecutionEngine/Orc/EPCDebugObjectRegistrar.h index 201d52aa958158..7de36f91bc13c3 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/EPCDebugObjectRegistrar.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/EPCDebugObjectRegistrar.h @@ -16,6 +16,7 @@ #include "llvm/ExecutionEngine/JITSymbol.h" #include "llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h" #include "llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/Memory.h" diff --git a/llvm/include/llvm/ExecutionEngine/Orc/EPCDynamicLibrarySearchGenerator.h b/llvm/include/llvm/ExecutionEngine/Orc/EPCDynamicLibrarySearchGenerator.h index 63797edec89e61..6da14b2cdb7d16 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/EPCDynamicLibrarySearchGenerator.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/EPCDynamicLibrarySearchGenerator.h @@ -16,6 +16,7 @@ #include "llvm/ADT/FunctionExtras.h" #include "llvm/ExecutionEngine/Orc/Core.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace orc { diff --git a/llvm/include/llvm/ExecutionEngine/Orc/EPCEHFrameRegistrar.h b/llvm/include/llvm/ExecutionEngine/Orc/EPCEHFrameRegistrar.h index 182e9ed1041a63..3ee70821c305cc 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/EPCEHFrameRegistrar.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/EPCEHFrameRegistrar.h @@ -15,6 +15,7 @@ #include "llvm/ExecutionEngine/JITLink/EHFrameSupport.h" #include "llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace orc { diff --git a/llvm/include/llvm/ExecutionEngine/Orc/EPCGenericDylibManager.h b/llvm/include/llvm/ExecutionEngine/Orc/EPCGenericDylibManager.h index 02e580c86f548e..4e018393849f80 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/EPCGenericDylibManager.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/EPCGenericDylibManager.h @@ -20,6 +20,7 @@ #include "llvm/ExecutionEngine/Orc/ExecutorProcessControl.h" #include "llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace orc { diff --git a/llvm/include/llvm/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.h b/llvm/include/llvm/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.h index 48713e765deb72..44245433154ae2 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.h @@ -20,6 +20,7 @@ #include "llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h" #include "llvm/ExecutionEngine/Orc/Core.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace orc { diff --git a/llvm/include/llvm/ExecutionEngine/Orc/EPCGenericMemoryAccess.h b/llvm/include/llvm/ExecutionEngine/Orc/EPCGenericMemoryAccess.h index bc1f5f0eb70cb9..f79cf8eeeb7802 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/EPCGenericMemoryAccess.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/EPCGenericMemoryAccess.h @@ -19,6 +19,7 @@ #define LLVM_EXECUTIONENGINE_ORC_EPCGENERICMEMORYACCESS_H #include "llvm/ExecutionEngine/Orc/Core.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace orc { diff --git a/llvm/include/llvm/ExecutionEngine/Orc/EPCGenericRTDyldMemoryManager.h b/llvm/include/llvm/ExecutionEngine/Orc/EPCGenericRTDyldMemoryManager.h index 2ea3c1b66cddcb..0ba4c9bddc54e1 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/EPCGenericRTDyldMemoryManager.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/EPCGenericRTDyldMemoryManager.h @@ -16,6 +16,7 @@ #include "llvm/ExecutionEngine/Orc/ExecutorProcessControl.h" #include "llvm/ExecutionEngine/RuntimeDyld.h" +#include "llvm/Support/Compiler.h" #define DEBUG_TYPE "orc" diff --git a/llvm/include/llvm/ExecutionEngine/Orc/EPCIndirectionUtils.h b/llvm/include/llvm/ExecutionEngine/Orc/EPCIndirectionUtils.h index 2834331b21f208..26a97751724e8c 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/EPCIndirectionUtils.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/EPCIndirectionUtils.h @@ -17,6 +17,7 @@ #include "llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h" #include "llvm/ExecutionEngine/Orc/IndirectionUtils.h" #include "llvm/ExecutionEngine/Orc/LazyReexports.h" +#include "llvm/Support/Compiler.h" #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/ExecutionUtils.h b/llvm/include/llvm/ExecutionEngine/Orc/ExecutionUtils.h index a6f097da1f3a14..c4497d9a19d39f 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/ExecutionUtils.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/ExecutionUtils.h @@ -22,6 +22,7 @@ #include "llvm/ExecutionEngine/Orc/Shared/OrcError.h" #include "llvm/ExecutionEngine/RuntimeDyld.h" #include "llvm/Object/Archive.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DynamicLibrary.h" #include #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/ExecutorProcessControl.h b/llvm/include/llvm/ExecutionEngine/Orc/ExecutorProcessControl.h index 9e42d6dd615dfd..5e1f0b028d17b2 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/ExecutorProcessControl.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/ExecutorProcessControl.h @@ -20,6 +20,7 @@ #include "llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h" #include "llvm/ExecutionEngine/Orc/SymbolStringPool.h" #include "llvm/ExecutionEngine/Orc/TaskDispatch.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DynamicLibrary.h" #include "llvm/Support/MSVCErrorWorkarounds.h" #include "llvm/TargetParser/Triple.h" diff --git a/llvm/include/llvm/ExecutionEngine/Orc/IRCompileLayer.h b/llvm/include/llvm/ExecutionEngine/Orc/IRCompileLayer.h index f493d63a7c8a99..b39d26b21ec6e4 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/IRCompileLayer.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/IRCompileLayer.h @@ -16,6 +16,7 @@ #include "llvm/ADT/STLExtras.h" #include "llvm/ExecutionEngine/JITSymbol.h" #include "llvm/ExecutionEngine/Orc/Layer.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/MemoryBuffer.h" #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/IRTransformLayer.h b/llvm/include/llvm/ExecutionEngine/Orc/IRTransformLayer.h index 4f1cde32ff1862..bd3f598a1a3cc5 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/IRTransformLayer.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/IRTransformLayer.h @@ -16,6 +16,7 @@ #include "llvm/ADT/FunctionExtras.h" #include "llvm/ExecutionEngine/JITSymbol.h" #include "llvm/ExecutionEngine/Orc/Layer.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h b/llvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h index f0263e0d78e75e..b181d3ecf973cd 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h @@ -18,6 +18,7 @@ #include "llvm/ExecutionEngine/JITSymbol.h" #include "llvm/ExecutionEngine/Orc/Core.h" #include "llvm/ExecutionEngine/Orc/OrcABISupport.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/Memory.h" #include "llvm/Support/Process.h" diff --git a/llvm/include/llvm/ExecutionEngine/Orc/JITTargetMachineBuilder.h b/llvm/include/llvm/ExecutionEngine/Orc/JITTargetMachineBuilder.h index 62f779c6ac5036..94a6645a83f1b8 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/JITTargetMachineBuilder.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/JITTargetMachineBuilder.h @@ -14,6 +14,7 @@ #define LLVM_EXECUTIONENGINE_ORC_JITTARGETMACHINEBUILDER_H #include "llvm/Support/CodeGen.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Target/TargetMachine.h" #include "llvm/Target/TargetOptions.h" diff --git a/llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h b/llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h index 8ab8ff8a0034bf..a8e576b1f1b33b 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h @@ -20,6 +20,7 @@ #include "llvm/ExecutionEngine/Orc/IRTransformLayer.h" #include "llvm/ExecutionEngine/Orc/JITTargetMachineBuilder.h" #include "llvm/ExecutionEngine/Orc/ThreadSafeModule.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include "llvm/Support/ThreadPool.h" #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/Layer.h b/llvm/include/llvm/ExecutionEngine/Orc/Layer.h index cfeedc2a0bdaab..8e9c4349285214 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/Layer.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/Layer.h @@ -18,6 +18,7 @@ #include "llvm/ExecutionEngine/Orc/ThreadSafeModule.h" #include "llvm/IR/Module.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ExtensibleRTTI.h" #include "llvm/Support/MemoryBuffer.h" diff --git a/llvm/include/llvm/ExecutionEngine/Orc/LazyReexports.h b/llvm/include/llvm/ExecutionEngine/Orc/LazyReexports.h index 4916460a9b946c..4abe704ebb14de 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/LazyReexports.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/LazyReexports.h @@ -20,6 +20,7 @@ #include "llvm/ExecutionEngine/Orc/Core.h" #include "llvm/ExecutionEngine/Orc/IndirectionUtils.h" #include "llvm/ExecutionEngine/Orc/Speculation.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/ExecutionEngine/Orc/LookupAndRecordAddrs.h b/llvm/include/llvm/ExecutionEngine/Orc/LookupAndRecordAddrs.h index a598405ee4f6ce..93425d83b7c698 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/LookupAndRecordAddrs.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/LookupAndRecordAddrs.h @@ -19,6 +19,7 @@ #include "llvm/ADT/FunctionExtras.h" #include "llvm/ExecutionEngine/Orc/Core.h" #include "llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h" +#include "llvm/Support/Compiler.h" #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h b/llvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h index d4af6c9234e3a4..a9dcee7ffcc48b 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h @@ -18,6 +18,7 @@ #include "llvm/ExecutionEngine/Orc/ExecutorProcessControl.h" #include "llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h" #include "llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/Mangling.h b/llvm/include/llvm/ExecutionEngine/Orc/Mangling.h index 77429f4b11eefe..d02875af38cb1d 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/Mangling.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/Mangling.h @@ -16,6 +16,7 @@ #include "llvm/ExecutionEngine/Orc/Core.h" #include "llvm/ExecutionEngine/Orc/ThreadSafeModule.h" #include "llvm/IR/Module.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MemoryBuffer.h" namespace llvm { diff --git a/llvm/include/llvm/ExecutionEngine/Orc/MapperJITLinkMemoryManager.h b/llvm/include/llvm/ExecutionEngine/Orc/MapperJITLinkMemoryManager.h index b1897d557b1225..1ffd23d58540d5 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/MapperJITLinkMemoryManager.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/MapperJITLinkMemoryManager.h @@ -16,6 +16,7 @@ #include "llvm/ADT/IntervalMap.h" #include "llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h" #include "llvm/ExecutionEngine/Orc/MemoryMapper.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace orc { diff --git a/llvm/include/llvm/ExecutionEngine/Orc/MemoryMapper.h b/llvm/include/llvm/ExecutionEngine/Orc/MemoryMapper.h index 9f9ff06b2c2f68..5ed7d21bfae9ac 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/MemoryMapper.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/MemoryMapper.h @@ -15,6 +15,7 @@ #include "llvm/ExecutionEngine/Orc/Core.h" #include "llvm/ExecutionEngine/Orc/Shared/MemoryFlags.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Process.h" #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/ObjectFileInterface.h b/llvm/include/llvm/ExecutionEngine/Orc/ObjectFileInterface.h index 1bf09069163e70..93a285bf76dfa5 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/ObjectFileInterface.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/ObjectFileInterface.h @@ -15,6 +15,7 @@ #define LLVM_EXECUTIONENGINE_ORC_OBJECTFILEINTERFACE_H #include "llvm/ExecutionEngine/Orc/Core.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MemoryBuffer.h" namespace llvm { diff --git a/llvm/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h b/llvm/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h index c1f62408bb114f..b2399f0e12dd4c 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h @@ -21,6 +21,7 @@ #include "llvm/ExecutionEngine/JITSymbol.h" #include "llvm/ExecutionEngine/Orc/Core.h" #include "llvm/ExecutionEngine/Orc/Layer.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h b/llvm/include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h index 9fc5fc0b902b6b..36a6dbb6333d4b 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h @@ -15,6 +15,7 @@ #include "llvm/ExecutionEngine/JITSymbol.h" #include "llvm/ExecutionEngine/Orc/Layer.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/OrcABISupport.h b/llvm/include/llvm/ExecutionEngine/Orc/OrcABISupport.h index 5d25a3e8546484..6ad4a0e2dd4b50 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/OrcABISupport.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/OrcABISupport.h @@ -18,6 +18,7 @@ #define LLVM_EXECUTIONENGINE_ORC_ORCABISUPPORT_H #include "llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/MathExtras.h" diff --git a/llvm/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h b/llvm/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h index 5d8c4e654c0d9d..7d394321c8b2a2 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h @@ -22,6 +22,7 @@ #include "llvm/ExecutionEngine/Orc/Layer.h" #include "llvm/ExecutionEngine/RuntimeDyld.h" #include "llvm/Object/ObjectFile.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/Shared/AllocationActions.h b/llvm/include/llvm/ExecutionEngine/Orc/Shared/AllocationActions.h index 6469b87c816f43..7102c603d4d66f 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/Shared/AllocationActions.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/Shared/AllocationActions.h @@ -15,6 +15,7 @@ #include "llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h" #include "llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Memory.h" #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h b/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h index b7b98d55cc65b6..f439b449cb4d46 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h @@ -16,6 +16,7 @@ #include "llvm/ADT/DenseMapInfo.h" #include "llvm/ADT/identity.h" #include "llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/FormatVariadic.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h b/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h index 5c58a7255ebd8b..d860f6a293ab74 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h @@ -15,6 +15,7 @@ #include "llvm/ExecutionEngine/JITSymbol.h" #include "llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace orc { diff --git a/llvm/include/llvm/ExecutionEngine/Orc/Shared/MemoryFlags.h b/llvm/include/llvm/ExecutionEngine/Orc/Shared/MemoryFlags.h index b8b5f90b6b0fbc..ce67b16a4d2b95 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/Shared/MemoryFlags.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/Shared/MemoryFlags.h @@ -17,6 +17,7 @@ #include "llvm/ADT/BitmaskEnum.h" #include "llvm/ADT/DenseMapInfo.h" #include "llvm/ADT/STLExtras.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Memory.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/ExecutionEngine/Orc/Shared/ObjectFormats.h b/llvm/include/llvm/ExecutionEngine/Orc/Shared/ObjectFormats.h index e5b95858013a86..3cbce183b46894 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/Shared/ObjectFormats.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/Shared/ObjectFormats.h @@ -14,6 +14,7 @@ #define LLVM_EXECUTIONENGINE_ORC_SHARED_OBJECTFORMATS_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace orc { diff --git a/llvm/include/llvm/ExecutionEngine/Orc/Shared/OrcError.h b/llvm/include/llvm/ExecutionEngine/Orc/Shared/OrcError.h index 8dffea70e3355a..b80ead3ea03470 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/Shared/OrcError.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/Shared/OrcError.h @@ -13,6 +13,7 @@ #ifndef LLVM_EXECUTIONENGINE_ORC_SHARED_ORCERROR_H #define LLVM_EXECUTIONENGINE_ORC_SHARED_ORCERROR_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/raw_ostream.h" #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h b/llvm/include/llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h index 8a55d5fb179552..8d1e061471e223 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h @@ -36,6 +36,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/SwapByteOrder.h" diff --git a/llvm/include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h b/llvm/include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h index ee3919c733409c..bded4ea10ae303 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h @@ -19,6 +19,7 @@ #include "llvm/ADT/StringMap.h" #include "llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h" #include "llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h b/llvm/include/llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h index 7322674559c9e9..f9efa7619a7bac 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h @@ -22,6 +22,7 @@ #include "llvm/ExecutionEngine/Orc/Shared/MemoryFlags.h" #include "llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h" #include "llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Memory.h" #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h b/llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h index bdb5ac143c34a9..39b2a54d06a536 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h @@ -15,6 +15,7 @@ #include "llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h" #include "llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/SimpleRemoteEPC.h b/llvm/include/llvm/ExecutionEngine/Orc/SimpleRemoteEPC.h index 25b79be48810c6..a1ddf4ccb0ae88 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/SimpleRemoteEPC.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/SimpleRemoteEPC.h @@ -20,6 +20,7 @@ #include "llvm/ExecutionEngine/Orc/EPCGenericMemoryAccess.h" #include "llvm/ExecutionEngine/Orc/ExecutorProcessControl.h" #include "llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/MSVCErrorWorkarounds.h" diff --git a/llvm/include/llvm/ExecutionEngine/Orc/SpeculateAnalyses.h b/llvm/include/llvm/ExecutionEngine/Orc/SpeculateAnalyses.h index 8c94f27ed683cc..fad9dc5c0b9d37 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/SpeculateAnalyses.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/SpeculateAnalyses.h @@ -16,6 +16,7 @@ #include "llvm/Analysis/BranchProbabilityInfo.h" #include "llvm/ExecutionEngine/Orc/Core.h" #include "llvm/ExecutionEngine/Orc/Speculation.h" +#include "llvm/Support/Compiler.h" #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/Speculation.h b/llvm/include/llvm/ExecutionEngine/Orc/Speculation.h index 88c90f54acbd5e..54ba127bb8b369 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/Speculation.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/Speculation.h @@ -17,6 +17,7 @@ #include "llvm/ExecutionEngine/Orc/Core.h" #include "llvm/ExecutionEngine/Orc/DebugUtils.h" #include "llvm/ExecutionEngine/Orc/IRCompileLayer.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h b/llvm/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h index 497e29da98bd59..7395f47a7e3c88 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h @@ -15,6 +15,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/StringMap.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ExecutorBootstrapService.h b/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ExecutorBootstrapService.h index 32c127634b25ad..1dd60456666126 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ExecutorBootstrapService.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ExecutorBootstrapService.h @@ -17,6 +17,7 @@ #include "llvm/ADT/StringMap.h" #include "llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace orc { diff --git a/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.h b/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.h index 549a6c096510d8..e63d68b43d2986 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.h @@ -12,6 +12,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h" #include "llvm/ExecutionEngine/Orc/TargetProcess/ExecutorBootstrapService.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/JITLoaderGDB.h b/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/JITLoaderGDB.h index 99175d79697475..e6cdee0e535d7e 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/JITLoaderGDB.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/JITLoaderGDB.h @@ -14,6 +14,7 @@ #define LLVM_EXECUTIONENGINE_ORC_TARGETPROCESS_JITLOADERGDB_H #include "llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h" +#include "llvm/Support/Compiler.h" #include extern "C" llvm::orc::shared::CWrapperFunctionResult diff --git a/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/RegisterEHFrames.h b/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/RegisterEHFrames.h index 04790afa6e3163..2421c8e54f4ad7 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/RegisterEHFrames.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/RegisterEHFrames.h @@ -17,6 +17,7 @@ #define LLVM_EXECUTIONENGINE_ORC_TARGETPROCESS_REGISTEREHFRAMES_H #include "llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/SimpleExecutorDylibManager.h b/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/SimpleExecutorDylibManager.h index fd4504cfb7fb06..1e2107c9bd69f2 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/SimpleExecutorDylibManager.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/SimpleExecutorDylibManager.h @@ -22,6 +22,7 @@ #include "llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h" #include "llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h" #include "llvm/ExecutionEngine/Orc/TargetProcess/ExecutorBootstrapService.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DynamicLibrary.h" #include "llvm/Support/Error.h" diff --git a/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/SimpleExecutorMemoryManager.h b/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/SimpleExecutorMemoryManager.h index 97b333c68b63d3..2d99a8ac76c36b 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/SimpleExecutorMemoryManager.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/SimpleExecutorMemoryManager.h @@ -20,6 +20,7 @@ #include "llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h" #include "llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h" #include "llvm/ExecutionEngine/Orc/TargetProcess/ExecutorBootstrapService.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/SimpleRemoteEPCServer.h b/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/SimpleRemoteEPCServer.h index 07f01ecb68a48e..d19c26f206789b 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/SimpleRemoteEPCServer.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/SimpleRemoteEPCServer.h @@ -21,6 +21,7 @@ #include "llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h" #include "llvm/ExecutionEngine/Orc/TargetProcess/ExecutorBootstrapService.h" #include "llvm/ExecutionEngine/Orc/TargetProcess/SimpleExecutorDylibManager.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DynamicLibrary.h" #include "llvm/Support/Error.h" diff --git a/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/TargetExecutionUtils.h b/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/TargetExecutionUtils.h index 68acfa750fa0ef..f8449aae286462 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/TargetExecutionUtils.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/TargetExecutionUtils.h @@ -15,6 +15,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/ExecutionEngine/Orc/TaskDispatch.h b/llvm/include/llvm/ExecutionEngine/Orc/TaskDispatch.h index 8c287f9fec0e89..bd5d98d9f4f2e8 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/TaskDispatch.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/TaskDispatch.h @@ -14,6 +14,7 @@ #define LLVM_EXECUTIONENGINE_ORC_TASKDISPATCH_H #include "llvm/Config/llvm-config.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include "llvm/Support/ExtensibleRTTI.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/ExecutionEngine/RTDyldMemoryManager.h b/llvm/include/llvm/ExecutionEngine/RTDyldMemoryManager.h index 324521cbe88d72..e330599497a271 100644 --- a/llvm/include/llvm/ExecutionEngine/RTDyldMemoryManager.h +++ b/llvm/include/llvm/ExecutionEngine/RTDyldMemoryManager.h @@ -17,6 +17,7 @@ #include "llvm/ExecutionEngine/JITSymbol.h" #include "llvm/ExecutionEngine/RuntimeDyld.h" #include "llvm/Support/CBindingWrapping.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/ExecutionEngine/RuntimeDyld.h b/llvm/include/llvm/ExecutionEngine/RuntimeDyld.h index 468296ac152334..1248205f8f54a7 100644 --- a/llvm/include/llvm/ExecutionEngine/RuntimeDyld.h +++ b/llvm/include/llvm/ExecutionEngine/RuntimeDyld.h @@ -19,6 +19,7 @@ #include "llvm/DebugInfo/DIContext.h" #include "llvm/ExecutionEngine/JITSymbol.h" #include "llvm/Object/ObjectFile.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/ExecutionEngine/RuntimeDyldChecker.h b/llvm/include/llvm/ExecutionEngine/RuntimeDyldChecker.h index faca037a56c49c..c906633bd25b1b 100644 --- a/llvm/include/llvm/ExecutionEngine/RuntimeDyldChecker.h +++ b/llvm/include/llvm/ExecutionEngine/RuntimeDyldChecker.h @@ -11,6 +11,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ExecutionEngine/JITSymbol.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/TargetParser/SubtargetFeature.h" #include "llvm/TargetParser/Triple.h" diff --git a/llvm/include/llvm/ExecutionEngine/SectionMemoryManager.h b/llvm/include/llvm/ExecutionEngine/SectionMemoryManager.h index fa1b2355528dd0..e1e0f8f4cb1f08 100644 --- a/llvm/include/llvm/ExecutionEngine/SectionMemoryManager.h +++ b/llvm/include/llvm/ExecutionEngine/SectionMemoryManager.h @@ -16,6 +16,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ExecutionEngine/RTDyldMemoryManager.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Memory.h" #include #include diff --git a/llvm/include/llvm/FileCheck/FileCheck.h b/llvm/include/llvm/FileCheck/FileCheck.h index d6d8dc531e1001..018f20dec22e6b 100644 --- a/llvm/include/llvm/FileCheck/FileCheck.h +++ b/llvm/include/llvm/FileCheck/FileCheck.h @@ -14,6 +14,7 @@ #define LLVM_FILECHECK_FILECHECK_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Regex.h" #include "llvm/Support/SMLoc.h" #include diff --git a/llvm/include/llvm/Frontend/HLSL/HLSLResource.h b/llvm/include/llvm/Frontend/HLSL/HLSLResource.h index ba08ee519351f7..121a969de429a8 100644 --- a/llvm/include/llvm/Frontend/HLSL/HLSLResource.h +++ b/llvm/include/llvm/Frontend/HLSL/HLSLResource.h @@ -14,6 +14,7 @@ #define LLVM_FRONTEND_HLSL_HLSLRESOURCE_H #include "llvm/IR/Metadata.h" +#include "llvm/Support/Compiler.h" namespace llvm { class GlobalVariable; diff --git a/llvm/include/llvm/Frontend/OpenMP/OMPContext.h b/llvm/include/llvm/Frontend/OpenMP/OMPContext.h index b13b74ceab8651..47f621a84ed438 100644 --- a/llvm/include/llvm/Frontend/OpenMP/OMPContext.h +++ b/llvm/include/llvm/Frontend/OpenMP/OMPContext.h @@ -20,6 +20,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/DenseMapInfo.h" #include "llvm/Frontend/OpenMP/OMPConstants.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Triple; diff --git a/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h b/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h index 7fdd7bf868b8bb..0c1199b2bb197c 100644 --- a/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h +++ b/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h @@ -20,6 +20,7 @@ #include "llvm/IR/IRBuilder.h" #include "llvm/Support/Allocator.h" #include "llvm/TargetParser/Triple.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/FuzzMutate/FuzzerCLI.h b/llvm/include/llvm/FuzzMutate/FuzzerCLI.h index d6518107b24b6e..8a0eaba9eb3b45 100644 --- a/llvm/include/llvm/FuzzMutate/FuzzerCLI.h +++ b/llvm/include/llvm/FuzzMutate/FuzzerCLI.h @@ -14,6 +14,7 @@ #ifndef LLVM_FUZZMUTATE_FUZZERCLI_H #define LLVM_FUZZMUTATE_FUZZERCLI_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" #include diff --git a/llvm/include/llvm/FuzzMutate/IRMutator.h b/llvm/include/llvm/FuzzMutate/IRMutator.h index dd4534bd9d1a8d..1c954601c3b64d 100644 --- a/llvm/include/llvm/FuzzMutate/IRMutator.h +++ b/llvm/include/llvm/FuzzMutate/IRMutator.h @@ -19,6 +19,7 @@ #define LLVM_FUZZMUTATE_IRMUTATOR_H #include "llvm/FuzzMutate/OpDescriptor.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include diff --git a/llvm/include/llvm/FuzzMutate/OpDescriptor.h b/llvm/include/llvm/FuzzMutate/OpDescriptor.h index 00a8ea0e5babc6..1209a8160147ef 100644 --- a/llvm/include/llvm/FuzzMutate/OpDescriptor.h +++ b/llvm/include/llvm/FuzzMutate/OpDescriptor.h @@ -21,6 +21,7 @@ #include "llvm/IR/InstrTypes.h" #include "llvm/IR/Type.h" #include "llvm/IR/Value.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/FuzzMutate/Operations.h b/llvm/include/llvm/FuzzMutate/Operations.h index 84155730a93cd8..c92a84bd867d07 100644 --- a/llvm/include/llvm/FuzzMutate/Operations.h +++ b/llvm/include/llvm/FuzzMutate/Operations.h @@ -17,6 +17,7 @@ #include "llvm/FuzzMutate/OpDescriptor.h" #include "llvm/IR/InstrTypes.h" #include "llvm/IR/Instruction.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/FuzzMutate/Random.h b/llvm/include/llvm/FuzzMutate/Random.h index 6eba9ca9e8d3c8..3b14a1afe0b26b 100644 --- a/llvm/include/llvm/FuzzMutate/Random.h +++ b/llvm/include/llvm/FuzzMutate/Random.h @@ -13,6 +13,7 @@ #ifndef LLVM_FUZZMUTATE_RANDOM_H #define LLVM_FUZZMUTATE_RANDOM_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include namespace llvm { diff --git a/llvm/include/llvm/FuzzMutate/RandomIRBuilder.h b/llvm/include/llvm/FuzzMutate/RandomIRBuilder.h index 1a422fcc0be6ed..b21e3f120a1685 100644 --- a/llvm/include/llvm/FuzzMutate/RandomIRBuilder.h +++ b/llvm/include/llvm/FuzzMutate/RandomIRBuilder.h @@ -15,6 +15,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/IR/AbstractCallSite.h b/llvm/include/llvm/IR/AbstractCallSite.h index 50afe016f0d633..74334af55a437a 100644 --- a/llvm/include/llvm/IR/AbstractCallSite.h +++ b/llvm/include/llvm/IR/AbstractCallSite.h @@ -18,6 +18,7 @@ #include "llvm/IR/Function.h" #include "llvm/IR/InstrTypes.h" #include "llvm/IR/Value.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/IR/Argument.h b/llvm/include/llvm/IR/Argument.h index f0c0ce75d2b7e1..9f46a7f05f5b62 100644 --- a/llvm/include/llvm/IR/Argument.h +++ b/llvm/include/llvm/IR/Argument.h @@ -16,6 +16,7 @@ #include "llvm/ADT/Twine.h" #include "llvm/IR/Attributes.h" #include "llvm/IR/Value.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/IR/AssemblyAnnotationWriter.h b/llvm/include/llvm/IR/AssemblyAnnotationWriter.h index 3fd3c57a679639..b7ca692cec5885 100644 --- a/llvm/include/llvm/IR/AssemblyAnnotationWriter.h +++ b/llvm/include/llvm/IR/AssemblyAnnotationWriter.h @@ -16,6 +16,8 @@ #ifndef LLVM_IR_ASSEMBLYANNOTATIONWRITER_H #define LLVM_IR_ASSEMBLYANNOTATIONWRITER_H +#include "llvm/Support/Compiler.h" + namespace llvm { class Function; diff --git a/llvm/include/llvm/IR/Assumptions.h b/llvm/include/llvm/IR/Assumptions.h index 2d2ecfbde6e6b3..2b29fae7d1cbe8 100644 --- a/llvm/include/llvm/IR/Assumptions.h +++ b/llvm/include/llvm/IR/Assumptions.h @@ -18,6 +18,7 @@ #include "llvm/ADT/DenseSet.h" #include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringSet.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/IR/AttributeMask.h b/llvm/include/llvm/IR/AttributeMask.h index 857761149ff46b..b534e15460ae02 100644 --- a/llvm/include/llvm/IR/AttributeMask.h +++ b/llvm/include/llvm/IR/AttributeMask.h @@ -16,6 +16,7 @@ #include "llvm/ADT/SmallString.h" #include "llvm/IR/Attributes.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/IR/Attributes.h b/llvm/include/llvm/IR/Attributes.h index db33b540047168..0ebee35d6978ed 100644 --- a/llvm/include/llvm/IR/Attributes.h +++ b/llvm/include/llvm/IR/Attributes.h @@ -22,6 +22,7 @@ #include "llvm/Config/llvm-config.h" #include "llvm/Support/Alignment.h" #include "llvm/Support/CodeGen.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ModRef.h" #include "llvm/Support/PointerLikeTypeTraits.h" #include diff --git a/llvm/include/llvm/IR/AutoUpgrade.h b/llvm/include/llvm/IR/AutoUpgrade.h index 152f781ffa9b30..d1eaa6cac0c809 100644 --- a/llvm/include/llvm/IR/AutoUpgrade.h +++ b/llvm/include/llvm/IR/AutoUpgrade.h @@ -14,6 +14,7 @@ #define LLVM_IR_AUTOUPGRADE_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/IR/BasicBlock.h b/llvm/include/llvm/IR/BasicBlock.h index ab291c24e5b6c7..2f3fdad57fed21 100644 --- a/llvm/include/llvm/IR/BasicBlock.h +++ b/llvm/include/llvm/IR/BasicBlock.h @@ -22,6 +22,7 @@ #include "llvm/IR/Instruction.h" #include "llvm/IR/SymbolTableListTraits.h" #include "llvm/IR/Value.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/IR/BuiltinGCs.h b/llvm/include/llvm/IR/BuiltinGCs.h index 16aff01dbcf3d7..208b6c76c476ca 100644 --- a/llvm/include/llvm/IR/BuiltinGCs.h +++ b/llvm/include/llvm/IR/BuiltinGCs.h @@ -14,6 +14,8 @@ #ifndef LLVM_IR_BUILTINGCS_H #define LLVM_IR_BUILTINGCS_H +#include "llvm/Support/Compiler.h" + namespace llvm { /// FIXME: Collector instances are not useful on their own. These no longer diff --git a/llvm/include/llvm/IR/CFG.h b/llvm/include/llvm/IR/CFG.h index 12ca1b1b9aa979..6c294bbb682feb 100644 --- a/llvm/include/llvm/IR/CFG.h +++ b/llvm/include/llvm/IR/CFG.h @@ -25,6 +25,7 @@ #include "llvm/IR/BasicBlock.h" #include "llvm/IR/Function.h" #include "llvm/IR/Value.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/IR/Comdat.h b/llvm/include/llvm/IR/Comdat.h index 1701802e697729..e461153cd770ad 100644 --- a/llvm/include/llvm/IR/Comdat.h +++ b/llvm/include/llvm/IR/Comdat.h @@ -18,6 +18,7 @@ #include "llvm-c/Types.h" #include "llvm/ADT/SmallPtrSet.h" #include "llvm/Support/CBindingWrapping.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/IR/Constant.h b/llvm/include/llvm/IR/Constant.h index 778764062227cb..2f9d44e9399082 100644 --- a/llvm/include/llvm/IR/Constant.h +++ b/llvm/include/llvm/IR/Constant.h @@ -16,6 +16,7 @@ #include "llvm/IR/User.h" #include "llvm/IR/Value.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/IR/ConstantFold.h b/llvm/include/llvm/IR/ConstantFold.h index 77f5f0eb174a2b..ccd3cb7701df88 100644 --- a/llvm/include/llvm/IR/ConstantFold.h +++ b/llvm/include/llvm/IR/ConstantFold.h @@ -22,6 +22,7 @@ #define LLVM_IR_CONSTANTFOLD_H #include "llvm/IR/InstrTypes.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/IR/ConstantFolder.h b/llvm/include/llvm/IR/ConstantFolder.h index c2b30a65e32e25..be0208108544a2 100644 --- a/llvm/include/llvm/IR/ConstantFolder.h +++ b/llvm/include/llvm/IR/ConstantFolder.h @@ -23,6 +23,7 @@ #include "llvm/IR/IRBuilderFolder.h" #include "llvm/IR/Instruction.h" #include "llvm/IR/Operator.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/IR/DIBuilder.h b/llvm/include/llvm/IR/DIBuilder.h index 0aa180aec6d8a0..a0a5db528aa79a 100644 --- a/llvm/include/llvm/IR/DIBuilder.h +++ b/llvm/include/llvm/IR/DIBuilder.h @@ -24,6 +24,7 @@ #include "llvm/IR/DebugInfoMetadata.h" #include "llvm/IR/TrackingMDRef.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/IR/DebugInfo.h b/llvm/include/llvm/IR/DebugInfo.h index 2c1fc6fb965fff..9f0c2471f0af67 100644 --- a/llvm/include/llvm/IR/DebugInfo.h +++ b/llvm/include/llvm/IR/DebugInfo.h @@ -27,6 +27,7 @@ #include "llvm/IR/DataLayout.h" #include "llvm/IR/IntrinsicInst.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/IR/DebugInfoMetadata.h b/llvm/include/llvm/IR/DebugInfoMetadata.h index b347664883fd9f..638445299a8e47 100644 --- a/llvm/include/llvm/IR/DebugInfoMetadata.h +++ b/llvm/include/llvm/IR/DebugInfoMetadata.h @@ -25,6 +25,7 @@ #include "llvm/IR/PseudoProbe.h" #include "llvm/Support/Casting.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Discriminator.h" #include #include diff --git a/llvm/include/llvm/IR/DebugLoc.h b/llvm/include/llvm/IR/DebugLoc.h index c22d3e9b10d27f..63b9d789e14a22 100644 --- a/llvm/include/llvm/IR/DebugLoc.h +++ b/llvm/include/llvm/IR/DebugLoc.h @@ -15,6 +15,7 @@ #define LLVM_IR_DEBUGLOC_H #include "llvm/IR/TrackingMDRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" namespace llvm { diff --git a/llvm/include/llvm/IR/DerivedUser.h b/llvm/include/llvm/IR/DerivedUser.h index a25d316c2d60bc..248535f8135097 100644 --- a/llvm/include/llvm/IR/DerivedUser.h +++ b/llvm/include/llvm/IR/DerivedUser.h @@ -10,6 +10,7 @@ #define LLVM_IR_DERIVEDUSER_H #include "llvm/IR/User.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/IR/DiagnosticHandler.h b/llvm/include/llvm/IR/DiagnosticHandler.h index 55e5e5975808d9..da324750f134ef 100644 --- a/llvm/include/llvm/IR/DiagnosticHandler.h +++ b/llvm/include/llvm/IR/DiagnosticHandler.h @@ -13,6 +13,7 @@ #define LLVM_IR_DIAGNOSTICHANDLER_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" namespace llvm { class DiagnosticInfo; diff --git a/llvm/include/llvm/IR/DiagnosticInfo.h b/llvm/include/llvm/IR/DiagnosticInfo.h index 628445fe9fb2cc..7aecf56f905379 100644 --- a/llvm/include/llvm/IR/DiagnosticInfo.h +++ b/llvm/include/llvm/IR/DiagnosticInfo.h @@ -21,6 +21,7 @@ #include "llvm/ADT/Twine.h" #include "llvm/IR/DebugLoc.h" #include "llvm/Support/CBindingWrapping.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/SourceMgr.h" #include "llvm/Support/TypeSize.h" diff --git a/llvm/include/llvm/IR/DiagnosticPrinter.h b/llvm/include/llvm/IR/DiagnosticPrinter.h index 2df6fc3dfe7390..84149bd3fc1cf4 100644 --- a/llvm/include/llvm/IR/DiagnosticPrinter.h +++ b/llvm/include/llvm/IR/DiagnosticPrinter.h @@ -15,6 +15,7 @@ #ifndef LLVM_IR_DIAGNOSTICPRINTER_H #define LLVM_IR_DIAGNOSTICPRINTER_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/IR/Dominators.h b/llvm/include/llvm/IR/Dominators.h index 6ceadbf30b895f..a4f37501c7248b 100644 --- a/llvm/include/llvm/IR/Dominators.h +++ b/llvm/include/llvm/IR/Dominators.h @@ -30,6 +30,7 @@ #include "llvm/IR/PassManager.h" #include "llvm/IR/Use.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/CFGDiff.h" #include "llvm/Support/CFGUpdate.h" #include "llvm/Support/GenericDomTree.h" diff --git a/llvm/include/llvm/IR/EHPersonalities.h b/llvm/include/llvm/IR/EHPersonalities.h index bd768440bfb9a6..1f426bb4c82a6c 100644 --- a/llvm/include/llvm/IR/EHPersonalities.h +++ b/llvm/include/llvm/IR/EHPersonalities.h @@ -11,6 +11,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/TinyPtrVector.h" +#include "llvm/Support/Compiler.h" namespace llvm { class BasicBlock; diff --git a/llvm/include/llvm/IR/FMF.h b/llvm/include/llvm/IR/FMF.h index f063060567db21..f646185890babb 100644 --- a/llvm/include/llvm/IR/FMF.h +++ b/llvm/include/llvm/IR/FMF.h @@ -13,6 +13,8 @@ #ifndef LLVM_IR_FMF_H #define LLVM_IR_FMF_H +#include "llvm/Support/Compiler.h" + namespace llvm { class raw_ostream; diff --git a/llvm/include/llvm/IR/FPEnv.h b/llvm/include/llvm/IR/FPEnv.h index a0197377759daf..fdf7667dd99ec9 100644 --- a/llvm/include/llvm/IR/FPEnv.h +++ b/llvm/include/llvm/IR/FPEnv.h @@ -17,6 +17,7 @@ #include "llvm/ADT/FloatingPointMode.h" #include "llvm/IR/FMF.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/IR/Function.h b/llvm/include/llvm/IR/Function.h index 692ef7535f0e6b..f856a4db80f679 100644 --- a/llvm/include/llvm/IR/Function.h +++ b/llvm/include/llvm/IR/Function.h @@ -32,6 +32,7 @@ #include "llvm/IR/OperandTraits.h" #include "llvm/IR/SymbolTableListTraits.h" #include "llvm/IR/Value.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/IR/GCStrategy.h b/llvm/include/llvm/IR/GCStrategy.h index 3186465f001812..dee159e76f0189 100644 --- a/llvm/include/llvm/IR/GCStrategy.h +++ b/llvm/include/llvm/IR/GCStrategy.h @@ -47,6 +47,7 @@ #ifndef LLVM_IR_GCSTRATEGY_H #define LLVM_IR_GCSTRATEGY_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Registry.h" #include #include diff --git a/llvm/include/llvm/IR/GVMaterializer.h b/llvm/include/llvm/IR/GVMaterializer.h index d62da41ebc2966..6ed6b8dcf9ee39 100644 --- a/llvm/include/llvm/IR/GVMaterializer.h +++ b/llvm/include/llvm/IR/GVMaterializer.h @@ -17,6 +17,7 @@ #ifndef LLVM_IR_GVMATERIALIZER_H #define LLVM_IR_GVMATERIALIZER_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/IR/GetElementPtrTypeIterator.h b/llvm/include/llvm/IR/GetElementPtrTypeIterator.h index 8c6ede96c873bb..5f95ecbbe82c5f 100644 --- a/llvm/include/llvm/IR/GetElementPtrTypeIterator.h +++ b/llvm/include/llvm/IR/GetElementPtrTypeIterator.h @@ -20,6 +20,7 @@ #include "llvm/IR/Operator.h" #include "llvm/IR/User.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/IR/GlobalAlias.h b/llvm/include/llvm/IR/GlobalAlias.h index 583d66e28155d7..6b8b9fb87e7005 100644 --- a/llvm/include/llvm/IR/GlobalAlias.h +++ b/llvm/include/llvm/IR/GlobalAlias.h @@ -18,6 +18,7 @@ #include "llvm/IR/GlobalValue.h" #include "llvm/IR/OperandTraits.h" #include "llvm/IR/Value.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/IR/GlobalIFunc.h b/llvm/include/llvm/IR/GlobalIFunc.h index 4d1982da0baff3..c757deaec7a8c4 100644 --- a/llvm/include/llvm/IR/GlobalIFunc.h +++ b/llvm/include/llvm/IR/GlobalIFunc.h @@ -22,6 +22,7 @@ #include "llvm/IR/GlobalObject.h" #include "llvm/IR/OperandTraits.h" #include "llvm/IR/Value.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/IR/GlobalObject.h b/llvm/include/llvm/IR/GlobalObject.h index 889bd3a28e12b3..d40fc0c7dfb810 100644 --- a/llvm/include/llvm/IR/GlobalObject.h +++ b/llvm/include/llvm/IR/GlobalObject.h @@ -18,6 +18,7 @@ #include "llvm/IR/GlobalValue.h" #include "llvm/IR/Value.h" #include "llvm/Support/Alignment.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/IR/GlobalValue.h b/llvm/include/llvm/IR/GlobalValue.h index d1891c157099d4..883592e730b135 100644 --- a/llvm/include/llvm/IR/GlobalValue.h +++ b/llvm/include/llvm/IR/GlobalValue.h @@ -23,6 +23,7 @@ #include "llvm/IR/DerivedTypes.h" #include "llvm/IR/Value.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/MD5.h" #include diff --git a/llvm/include/llvm/IR/GlobalVariable.h b/llvm/include/llvm/IR/GlobalVariable.h index 5ddffd16acc68f..088f801dc4c1fc 100644 --- a/llvm/include/llvm/IR/GlobalVariable.h +++ b/llvm/include/llvm/IR/GlobalVariable.h @@ -25,6 +25,7 @@ #include "llvm/IR/GlobalObject.h" #include "llvm/IR/OperandTraits.h" #include "llvm/IR/Value.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/IR/IRBuilder.h b/llvm/include/llvm/IR/IRBuilder.h index c9f243fdb12e40..c56a795dbbda25 100644 --- a/llvm/include/llvm/IR/IRBuilder.h +++ b/llvm/include/llvm/IR/IRBuilder.h @@ -42,6 +42,7 @@ #include "llvm/Support/AtomicOrdering.h" #include "llvm/Support/CBindingWrapping.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/IR/IRBuilderFolder.h b/llvm/include/llvm/IR/IRBuilderFolder.h index bd2324dfc5f1ba..8274b720c64bb6 100644 --- a/llvm/include/llvm/IR/IRBuilderFolder.h +++ b/llvm/include/llvm/IR/IRBuilderFolder.h @@ -17,6 +17,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/IR/InstrTypes.h" #include "llvm/IR/Instruction.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/IR/IRPrintingPasses.h b/llvm/include/llvm/IR/IRPrintingPasses.h index 8928ecfce313e0..f6bea67988c536 100644 --- a/llvm/include/llvm/IR/IRPrintingPasses.h +++ b/llvm/include/llvm/IR/IRPrintingPasses.h @@ -15,6 +15,7 @@ #ifndef LLVM_IR_IRPRINTINGPASSES_H #define LLVM_IR_IRPRINTINGPASSES_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/IR/InlineAsm.h b/llvm/include/llvm/IR/InlineAsm.h index e5f506e5694daf..d5baede74aaf60 100644 --- a/llvm/include/llvm/IR/InlineAsm.h +++ b/llvm/include/llvm/IR/InlineAsm.h @@ -20,6 +20,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/IR/Value.h" #include "llvm/Support/ErrorHandling.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/IR/InstIterator.h b/llvm/include/llvm/IR/InstIterator.h index 054fe4e9cbe992..6da72254304d0c 100644 --- a/llvm/include/llvm/IR/InstIterator.h +++ b/llvm/include/llvm/IR/InstIterator.h @@ -22,6 +22,7 @@ #include "llvm/IR/BasicBlock.h" #include "llvm/IR/Function.h" #include "llvm/IR/SymbolTableListTraits.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/IR/InstVisitor.h b/llvm/include/llvm/IR/InstVisitor.h index 311e0ac47ddfad..48dac110be2bed 100644 --- a/llvm/include/llvm/IR/InstVisitor.h +++ b/llvm/include/llvm/IR/InstVisitor.h @@ -15,6 +15,7 @@ #include "llvm/IR/IntrinsicInst.h" #include "llvm/IR/Intrinsics.h" #include "llvm/IR/Module.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/IR/InstrTypes.h b/llvm/include/llvm/IR/InstrTypes.h index fc5e228168a058..f732100fb89cb5 100644 --- a/llvm/include/llvm/IR/InstrTypes.h +++ b/llvm/include/llvm/IR/InstrTypes.h @@ -29,6 +29,7 @@ #include "llvm/IR/LLVMContext.h" #include "llvm/IR/OperandTraits.h" #include "llvm/IR/User.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/IR/Instruction.h b/llvm/include/llvm/IR/Instruction.h index b5ccdf020a4c00..e90d80c152887a 100644 --- a/llvm/include/llvm/IR/Instruction.h +++ b/llvm/include/llvm/IR/Instruction.h @@ -23,6 +23,7 @@ #include "llvm/IR/User.h" #include "llvm/IR/Value.h" #include "llvm/Support/AtomicOrdering.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/IR/Instructions.h b/llvm/include/llvm/IR/Instructions.h index af6ac566a0192b..d0fd165c954017 100644 --- a/llvm/include/llvm/IR/Instructions.h +++ b/llvm/include/llvm/IR/Instructions.h @@ -32,6 +32,7 @@ #include "llvm/IR/Use.h" #include "llvm/IR/User.h" #include "llvm/Support/AtomicOrdering.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include #include diff --git a/llvm/include/llvm/IR/IntrinsicInst.h b/llvm/include/llvm/IR/IntrinsicInst.h index c26ecef6eaaee1..f47011715e4246 100644 --- a/llvm/include/llvm/IR/IntrinsicInst.h +++ b/llvm/include/llvm/IR/IntrinsicInst.h @@ -33,6 +33,7 @@ #include "llvm/IR/Intrinsics.h" #include "llvm/IR/Value.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/IR/Intrinsics.h b/llvm/include/llvm/IR/Intrinsics.h index 0dfe9f029f9b1a..d4fb4b6d8b1fd7 100644 --- a/llvm/include/llvm/IR/Intrinsics.h +++ b/llvm/include/llvm/IR/Intrinsics.h @@ -16,6 +16,7 @@ #define LLVM_IR_INTRINSICS_H #include "llvm/ADT/ArrayRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/TypeSize.h" #include #include diff --git a/llvm/include/llvm/IR/LLVMContext.h b/llvm/include/llvm/IR/LLVMContext.h index e5786afd72214b..90c461e6a6ec08 100644 --- a/llvm/include/llvm/IR/LLVMContext.h +++ b/llvm/include/llvm/IR/LLVMContext.h @@ -17,6 +17,7 @@ #include "llvm-c/Types.h" #include "llvm/IR/DiagnosticHandler.h" #include "llvm/Support/CBindingWrapping.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/IR/LLVMRemarkStreamer.h b/llvm/include/llvm/IR/LLVMRemarkStreamer.h index 7e78c4f806b402..6710a61e6c3255 100644 --- a/llvm/include/llvm/IR/LLVMRemarkStreamer.h +++ b/llvm/include/llvm/IR/LLVMRemarkStreamer.h @@ -15,6 +15,7 @@ #define LLVM_IR_LLVMREMARKSTREAMER_H #include "llvm/Remarks/Remark.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/IR/LegacyPassManager.h b/llvm/include/llvm/IR/LegacyPassManager.h index b3a4820ba0e492..5163bb1f67f903 100644 --- a/llvm/include/llvm/IR/LegacyPassManager.h +++ b/llvm/include/llvm/IR/LegacyPassManager.h @@ -17,6 +17,7 @@ #define LLVM_IR_LEGACYPASSMANAGER_H #include "llvm/Support/CBindingWrapping.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/IR/LegacyPassManagers.h b/llvm/include/llvm/IR/LegacyPassManagers.h index 6c490791fda4b8..ecc9ea2464f256 100644 --- a/llvm/include/llvm/IR/LegacyPassManagers.h +++ b/llvm/include/llvm/IR/LegacyPassManagers.h @@ -18,6 +18,7 @@ #include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/SmallVector.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #include //===----------------------------------------------------------------------===// diff --git a/llvm/include/llvm/IR/LegacyPassNameParser.h b/llvm/include/llvm/IR/LegacyPassNameParser.h index c33b9fc404729f..fca6d16405da51 100644 --- a/llvm/include/llvm/IR/LegacyPassNameParser.h +++ b/llvm/include/llvm/IR/LegacyPassNameParser.h @@ -28,6 +28,7 @@ #include "llvm/ADT/STLExtras.h" #include "llvm/Pass.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/raw_ostream.h" #include diff --git a/llvm/include/llvm/IR/MDBuilder.h b/llvm/include/llvm/IR/MDBuilder.h index 39165453de16b0..213be47c49f98f 100644 --- a/llvm/include/llvm/IR/MDBuilder.h +++ b/llvm/include/llvm/IR/MDBuilder.h @@ -18,6 +18,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" #include "llvm/IR/GlobalValue.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" #include diff --git a/llvm/include/llvm/IR/Mangler.h b/llvm/include/llvm/IR/Mangler.h index 747a4085235c9b..f3380a279f28ea 100644 --- a/llvm/include/llvm/IR/Mangler.h +++ b/llvm/include/llvm/IR/Mangler.h @@ -14,6 +14,7 @@ #define LLVM_IR_MANGLER_H #include "llvm/ADT/DenseMap.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/IR/MatrixBuilder.h b/llvm/include/llvm/IR/MatrixBuilder.h index dbf2cfb7c5e966..694a1b7a8e9194 100644 --- a/llvm/include/llvm/IR/MatrixBuilder.h +++ b/llvm/include/llvm/IR/MatrixBuilder.h @@ -23,6 +23,7 @@ #include "llvm/IR/Type.h" #include "llvm/IR/Value.h" #include "llvm/Support/Alignment.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/IR/Metadata.h b/llvm/include/llvm/IR/Metadata.h index 9659dbe4f281e4..9890a651818788 100644 --- a/llvm/include/llvm/IR/Metadata.h +++ b/llvm/include/llvm/IR/Metadata.h @@ -28,6 +28,7 @@ #include "llvm/IR/Value.h" #include "llvm/Support/CBindingWrapping.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include #include diff --git a/llvm/include/llvm/IR/Module.h b/llvm/include/llvm/IR/Module.h index 70beddddc1c161..fc03e64e8229c8 100644 --- a/llvm/include/llvm/IR/Module.h +++ b/llvm/include/llvm/IR/Module.h @@ -31,6 +31,7 @@ #include "llvm/IR/SymbolTableListTraits.h" #include "llvm/Support/CBindingWrapping.h" #include "llvm/Support/CodeGen.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/IR/ModuleSlotTracker.h b/llvm/include/llvm/IR/ModuleSlotTracker.h index 37cfc0f07280cf..9a56d485297b50 100644 --- a/llvm/include/llvm/IR/ModuleSlotTracker.h +++ b/llvm/include/llvm/IR/ModuleSlotTracker.h @@ -9,6 +9,7 @@ #ifndef LLVM_IR_MODULESLOTTRACKER_H #define LLVM_IR_MODULESLOTTRACKER_H +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/IR/ModuleSummaryIndex.h b/llvm/include/llvm/IR/ModuleSummaryIndex.h index cd02c71adddfc2..ddfdb314615be6 100644 --- a/llvm/include/llvm/IR/ModuleSummaryIndex.h +++ b/llvm/include/llvm/IR/ModuleSummaryIndex.h @@ -27,6 +27,7 @@ #include "llvm/IR/GlobalValue.h" #include "llvm/IR/Module.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MathExtras.h" #include "llvm/Support/ScaledNumber.h" #include "llvm/Support/StringSaver.h" diff --git a/llvm/include/llvm/IR/ModuleSummaryIndexYAML.h b/llvm/include/llvm/IR/ModuleSummaryIndexYAML.h index 33e57e5f2102fd..0e23edbbc4608a 100644 --- a/llvm/include/llvm/IR/ModuleSummaryIndexYAML.h +++ b/llvm/include/llvm/IR/ModuleSummaryIndexYAML.h @@ -10,6 +10,7 @@ #define LLVM_IR_MODULESUMMARYINDEXYAML_H #include "llvm/IR/ModuleSummaryIndex.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/YAMLTraits.h" namespace llvm { diff --git a/llvm/include/llvm/IR/NoFolder.h b/llvm/include/llvm/IR/NoFolder.h index a612f98465aeaa..b7bd9bb9329127 100644 --- a/llvm/include/llvm/IR/NoFolder.h +++ b/llvm/include/llvm/IR/NoFolder.h @@ -28,6 +28,7 @@ #include "llvm/IR/InstrTypes.h" #include "llvm/IR/Instruction.h" #include "llvm/IR/Instructions.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/IR/OperandTraits.h b/llvm/include/llvm/IR/OperandTraits.h index 979ad35019f8c7..5998a545715e24 100644 --- a/llvm/include/llvm/IR/OperandTraits.h +++ b/llvm/include/llvm/IR/OperandTraits.h @@ -15,6 +15,7 @@ #define LLVM_IR_OPERANDTRAITS_H #include "llvm/IR/User.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/IR/Operator.h b/llvm/include/llvm/IR/Operator.h index 12733529a74dc7..a0417854a05c99 100644 --- a/llvm/include/llvm/IR/Operator.h +++ b/llvm/include/llvm/IR/Operator.h @@ -21,6 +21,7 @@ #include "llvm/IR/Type.h" #include "llvm/IR/Value.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/IR/OptBisect.h b/llvm/include/llvm/IR/OptBisect.h index 507d415d5e112b..382d47ce47d728 100644 --- a/llvm/include/llvm/IR/OptBisect.h +++ b/llvm/include/llvm/IR/OptBisect.h @@ -15,6 +15,7 @@ #define LLVM_IR_OPTBISECT_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/IR/PassInstrumentation.h b/llvm/include/llvm/IR/PassInstrumentation.h index 519a5e46b4373b..3337dcb9cff07f 100644 --- a/llvm/include/llvm/IR/PassInstrumentation.h +++ b/llvm/include/llvm/IR/PassInstrumentation.h @@ -53,6 +53,7 @@ #include "llvm/ADT/FunctionExtras.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringMap.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/IR/PassManager.h b/llvm/include/llvm/IR/PassManager.h index 5fe28f8556e5bb..11af6b9ff3069b 100644 --- a/llvm/include/llvm/IR/PassManager.h +++ b/llvm/include/llvm/IR/PassManager.h @@ -46,6 +46,7 @@ #include "llvm/IR/Module.h" #include "llvm/IR/PassInstrumentation.h" #include "llvm/IR/PassManagerInternal.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/TimeProfiler.h" #include "llvm/Support/TypeName.h" #include diff --git a/llvm/include/llvm/IR/PassManagerInternal.h b/llvm/include/llvm/IR/PassManagerInternal.h index bcfdcb8206c45e..f3a15ec29f45c0 100644 --- a/llvm/include/llvm/IR/PassManagerInternal.h +++ b/llvm/include/llvm/IR/PassManagerInternal.h @@ -19,6 +19,7 @@ #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include #include diff --git a/llvm/include/llvm/IR/PassTimingInfo.h b/llvm/include/llvm/IR/PassTimingInfo.h index 11483999431864..8057351c1fad30 100644 --- a/llvm/include/llvm/IR/PassTimingInfo.h +++ b/llvm/include/llvm/IR/PassTimingInfo.h @@ -18,6 +18,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Timer.h" #include #include diff --git a/llvm/include/llvm/IR/PatternMatch.h b/llvm/include/llvm/IR/PatternMatch.h index f709a5ac52a412..bab0899143a385 100644 --- a/llvm/include/llvm/IR/PatternMatch.h +++ b/llvm/include/llvm/IR/PatternMatch.h @@ -41,6 +41,7 @@ #include "llvm/IR/Operator.h" #include "llvm/IR/Value.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/IR/PredIteratorCache.h b/llvm/include/llvm/IR/PredIteratorCache.h index fc8cf20e9f759e..a7751ce6279bd9 100644 --- a/llvm/include/llvm/IR/PredIteratorCache.h +++ b/llvm/include/llvm/IR/PredIteratorCache.h @@ -18,6 +18,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/IR/CFG.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/IR/PrintPasses.h b/llvm/include/llvm/IR/PrintPasses.h index 95b97e76c867cb..96b44ba5644cf4 100644 --- a/llvm/include/llvm/IR/PrintPasses.h +++ b/llvm/include/llvm/IR/PrintPasses.h @@ -11,6 +11,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/IR/ProfDataUtils.h b/llvm/include/llvm/IR/ProfDataUtils.h index b61199372de0de..74fdd829864ec1 100644 --- a/llvm/include/llvm/IR/ProfDataUtils.h +++ b/llvm/include/llvm/IR/ProfDataUtils.h @@ -18,6 +18,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/Twine.h" #include "llvm/IR/Metadata.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/IR/ProfileSummary.h b/llvm/include/llvm/IR/ProfileSummary.h index 4bb6bb8d4a405d..6561ac7e48eceb 100644 --- a/llvm/include/llvm/IR/ProfileSummary.h +++ b/llvm/include/llvm/IR/ProfileSummary.h @@ -13,6 +13,7 @@ #ifndef LLVM_IR_PROFILESUMMARY_H #define LLVM_IR_PROFILESUMMARY_H +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/IR/PseudoProbe.h b/llvm/include/llvm/IR/PseudoProbe.h index cdbd498a8be61a..fe25a552b1d48c 100644 --- a/llvm/include/llvm/IR/PseudoProbe.h +++ b/llvm/include/llvm/IR/PseudoProbe.h @@ -13,6 +13,7 @@ #ifndef LLVM_IR_PSEUDOPROBE_H #define LLVM_IR_PSEUDOPROBE_H +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/IR/ReplaceConstant.h b/llvm/include/llvm/IR/ReplaceConstant.h index 72823c9ab164dd..77a9a014829a1d 100644 --- a/llvm/include/llvm/IR/ReplaceConstant.h +++ b/llvm/include/llvm/IR/ReplaceConstant.h @@ -14,6 +14,7 @@ #ifndef LLVM_IR_REPLACECONSTANT_H #define LLVM_IR_REPLACECONSTANT_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/IR/SSAContext.h b/llvm/include/llvm/IR/SSAContext.h index d0da5e222a8e63..78eb6d06c63572 100644 --- a/llvm/include/llvm/IR/SSAContext.h +++ b/llvm/include/llvm/IR/SSAContext.h @@ -17,6 +17,7 @@ #include "llvm/ADT/GenericSSAContext.h" #include "llvm/IR/BasicBlock.h" +#include "llvm/Support/Compiler.h" namespace llvm { class BasicBlock; diff --git a/llvm/include/llvm/IR/SafepointIRVerifier.h b/llvm/include/llvm/IR/SafepointIRVerifier.h index 246d236adb389a..f56e2f4837428f 100644 --- a/llvm/include/llvm/IR/SafepointIRVerifier.h +++ b/llvm/include/llvm/IR/SafepointIRVerifier.h @@ -19,6 +19,7 @@ #define LLVM_IR_SAFEPOINTIRVERIFIER_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/IR/Statepoint.h b/llvm/include/llvm/IR/Statepoint.h index 21c4a3eaa5ac2d..c976c315a1a33c 100644 --- a/llvm/include/llvm/IR/Statepoint.h +++ b/llvm/include/llvm/IR/Statepoint.h @@ -25,6 +25,7 @@ #include "llvm/IR/IntrinsicInst.h" #include "llvm/IR/Intrinsics.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MathExtras.h" #include #include diff --git a/llvm/include/llvm/IR/StructuralHash.h b/llvm/include/llvm/IR/StructuralHash.h index 57fb45db849110..3f167a18bfae21 100644 --- a/llvm/include/llvm/IR/StructuralHash.h +++ b/llvm/include/llvm/IR/StructuralHash.h @@ -14,6 +14,7 @@ #ifndef LLVM_IR_STRUCTURALHASH_H #define LLVM_IR_STRUCTURALHASH_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/IR/SymbolTableListTraits.h b/llvm/include/llvm/IR/SymbolTableListTraits.h index bd31fca5e525b6..fd547a6baace7c 100644 --- a/llvm/include/llvm/IR/SymbolTableListTraits.h +++ b/llvm/include/llvm/IR/SymbolTableListTraits.h @@ -26,6 +26,7 @@ #include "llvm/ADT/ilist.h" #include "llvm/ADT/simple_ilist.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/IR/TrackingMDRef.h b/llvm/include/llvm/IR/TrackingMDRef.h index d7377398b91b3c..219630ba54f430 100644 --- a/llvm/include/llvm/IR/TrackingMDRef.h +++ b/llvm/include/llvm/IR/TrackingMDRef.h @@ -14,6 +14,7 @@ #define LLVM_IR_TRACKINGMDREF_H #include "llvm/IR/Metadata.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/IR/TypeFinder.h b/llvm/include/llvm/IR/TypeFinder.h index dd2b70c65c2d2b..770193a176a3b9 100644 --- a/llvm/include/llvm/IR/TypeFinder.h +++ b/llvm/include/llvm/IR/TypeFinder.h @@ -15,6 +15,7 @@ #include "llvm/ADT/DenseSet.h" #include "llvm/IR/Attributes.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/IR/TypedPointerType.h b/llvm/include/llvm/IR/TypedPointerType.h index 1bea715a64b692..ccc30320797067 100644 --- a/llvm/include/llvm/IR/TypedPointerType.h +++ b/llvm/include/llvm/IR/TypedPointerType.h @@ -15,6 +15,7 @@ #define LLVM_IR_TYPEDPOINTERTYPE_H #include "llvm/IR/Type.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/IR/UseListOrder.h b/llvm/include/llvm/IR/UseListOrder.h index a1f313e269b29c..7d9b9bd7a8e3a5 100644 --- a/llvm/include/llvm/IR/UseListOrder.h +++ b/llvm/include/llvm/IR/UseListOrder.h @@ -14,6 +14,7 @@ #ifndef LLVM_IR_USELISTORDER_H #define LLVM_IR_USELISTORDER_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/IR/Value.h b/llvm/include/llvm/IR/Value.h index 8fce56e12c5235..30a8dce45fdee7 100644 --- a/llvm/include/llvm/IR/Value.h +++ b/llvm/include/llvm/IR/Value.h @@ -21,6 +21,7 @@ #include "llvm/Support/Alignment.h" #include "llvm/Support/CBindingWrapping.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/IR/ValueHandle.h b/llvm/include/llvm/IR/ValueHandle.h index 29560815ea559e..e58c9d839c4e10 100644 --- a/llvm/include/llvm/IR/ValueHandle.h +++ b/llvm/include/llvm/IR/ValueHandle.h @@ -17,6 +17,7 @@ #include "llvm/ADT/PointerIntPair.h" #include "llvm/IR/Value.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/IR/ValueMap.h b/llvm/include/llvm/IR/ValueMap.h index d12d639aaa8886..44062ff655ae3e 100644 --- a/llvm/include/llvm/IR/ValueMap.h +++ b/llvm/include/llvm/IR/ValueMap.h @@ -30,6 +30,7 @@ #include "llvm/IR/TrackingMDRef.h" #include "llvm/IR/ValueHandle.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Mutex.h" #include #include diff --git a/llvm/include/llvm/IR/ValueSymbolTable.h b/llvm/include/llvm/IR/ValueSymbolTable.h index 6350f6a2435e47..95ef06f536e809 100644 --- a/llvm/include/llvm/IR/ValueSymbolTable.h +++ b/llvm/include/llvm/IR/ValueSymbolTable.h @@ -16,6 +16,7 @@ #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" #include "llvm/IR/Value.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/IR/VectorBuilder.h b/llvm/include/llvm/IR/VectorBuilder.h index 301edaed70fe88..922f070ee4922b 100644 --- a/llvm/include/llvm/IR/VectorBuilder.h +++ b/llvm/include/llvm/IR/VectorBuilder.h @@ -19,6 +19,7 @@ #include #include #include +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/IR/Verifier.h b/llvm/include/llvm/IR/Verifier.h index b25f8eb77ee38b..833e1a26c7036a 100644 --- a/llvm/include/llvm/IR/Verifier.h +++ b/llvm/include/llvm/IR/Verifier.h @@ -22,6 +22,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/IRPrinter/IRPrintingPasses.h b/llvm/include/llvm/IRPrinter/IRPrintingPasses.h index 4be1f3c967e244..7db7a641887f06 100644 --- a/llvm/include/llvm/IRPrinter/IRPrintingPasses.h +++ b/llvm/include/llvm/IRPrinter/IRPrintingPasses.h @@ -19,6 +19,7 @@ #define LLVM_IRPRINTER_IRPRINTINGPASSES_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/IRReader/IRReader.h b/llvm/include/llvm/IRReader/IRReader.h index 4d690dcaf1c43e..6bc1249fcf7fab 100644 --- a/llvm/include/llvm/IRReader/IRReader.h +++ b/llvm/include/llvm/IRReader/IRReader.h @@ -16,6 +16,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/Bitcode/BitcodeReader.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/InitializePasses.h b/llvm/include/llvm/InitializePasses.h index da38a38b87ebc4..1ca8c8df6128f3 100644 --- a/llvm/include/llvm/InitializePasses.h +++ b/llvm/include/llvm/InitializePasses.h @@ -14,6 +14,8 @@ #ifndef LLVM_INITIALIZEPASSES_H #define LLVM_INITIALIZEPASSES_H +#include "llvm/Support/Compiler.h" + namespace llvm { class PassRegistry; diff --git a/llvm/include/llvm/InterfaceStub/ELFObjHandler.h b/llvm/include/llvm/InterfaceStub/ELFObjHandler.h index c15838c4ae0af1..2ef0218a681b08 100644 --- a/llvm/include/llvm/InterfaceStub/ELFObjHandler.h +++ b/llvm/include/llvm/InterfaceStub/ELFObjHandler.h @@ -14,6 +14,7 @@ #define LLVM_INTERFACESTUB_ELFOBJHANDLER_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/MemoryBufferRef.h" #include diff --git a/llvm/include/llvm/InterfaceStub/IFSHandler.h b/llvm/include/llvm/InterfaceStub/IFSHandler.h index 09687bfb9e44f8..faa3709dc556a5 100644 --- a/llvm/include/llvm/InterfaceStub/IFSHandler.h +++ b/llvm/include/llvm/InterfaceStub/IFSHandler.h @@ -16,6 +16,7 @@ #define LLVM_INTERFACESTUB_IFSHANDLER_H #include "IFSStub.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/VersionTuple.h" #include diff --git a/llvm/include/llvm/InterfaceStub/IFSStub.h b/llvm/include/llvm/InterfaceStub/IFSStub.h index 09f96f72950cf6..03354f5d50c44f 100644 --- a/llvm/include/llvm/InterfaceStub/IFSStub.h +++ b/llvm/include/llvm/InterfaceStub/IFSStub.h @@ -14,6 +14,7 @@ #ifndef LLVM_INTERFACESTUB_IFSSTUB_H #define LLVM_INTERFACESTUB_IFSSTUB_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/VersionTuple.h" #include #include diff --git a/llvm/include/llvm/LTO/Config.h b/llvm/include/llvm/LTO/Config.h index 6fb55f1cf1686a..24a1c6462b7652 100644 --- a/llvm/include/llvm/LTO/Config.h +++ b/llvm/include/llvm/LTO/Config.h @@ -22,6 +22,7 @@ #include "llvm/IR/LegacyPassManager.h" #include "llvm/Passes/PassBuilder.h" #include "llvm/Support/CodeGen.h" +#include "llvm/Support/Compiler.h" #include "llvm/Target/TargetOptions.h" #include diff --git a/llvm/include/llvm/LTO/LTO.h b/llvm/include/llvm/LTO/LTO.h index be85c40983475f..7f7463c091077d 100644 --- a/llvm/include/llvm/LTO/LTO.h +++ b/llvm/include/llvm/LTO/LTO.h @@ -22,6 +22,7 @@ #include "llvm/LTO/Config.h" #include "llvm/Object/IRSymtab.h" #include "llvm/Support/Caching.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/thread.h" #include "llvm/Transforms/IPO/FunctionAttrs.h" diff --git a/llvm/include/llvm/LTO/LTOBackend.h b/llvm/include/llvm/LTO/LTOBackend.h index de89f4bb10dff2..a010f6a24f4106 100644 --- a/llvm/include/llvm/LTO/LTOBackend.h +++ b/llvm/include/llvm/LTO/LTOBackend.h @@ -20,6 +20,7 @@ #include "llvm/IR/DiagnosticInfo.h" #include "llvm/IR/ModuleSummaryIndex.h" #include "llvm/LTO/LTO.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Target/TargetOptions.h" #include "llvm/Transforms/IPO/FunctionImport.h" diff --git a/llvm/include/llvm/LTO/SummaryBasedOptimizations.h b/llvm/include/llvm/LTO/SummaryBasedOptimizations.h index 508ab2587ac56a..2923ee55dde0f0 100644 --- a/llvm/include/llvm/LTO/SummaryBasedOptimizations.h +++ b/llvm/include/llvm/LTO/SummaryBasedOptimizations.h @@ -8,6 +8,9 @@ #ifndef LLVM_LTO_SUMMARYBASEDOPTIMIZATIONS_H #define LLVM_LTO_SUMMARYBASEDOPTIMIZATIONS_H + +#include "llvm/Support/Compiler.h" + namespace llvm { class ModuleSummaryIndex; diff --git a/llvm/include/llvm/LTO/legacy/LTOCodeGenerator.h b/llvm/include/llvm/LTO/legacy/LTOCodeGenerator.h index 07c3046b9e5e54..2bdb3b06b2b315 100644 --- a/llvm/include/llvm/LTO/legacy/LTOCodeGenerator.h +++ b/llvm/include/llvm/LTO/legacy/LTOCodeGenerator.h @@ -45,6 +45,7 @@ #include "llvm/LTO/Config.h" #include "llvm/LTO/LTO.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/ToolOutputFile.h" #include "llvm/Target/TargetMachine.h" diff --git a/llvm/include/llvm/LTO/legacy/LTOModule.h b/llvm/include/llvm/LTO/legacy/LTOModule.h index 1b2de3b333855c..f1c503128c5107 100644 --- a/llvm/include/llvm/LTO/legacy/LTOModule.h +++ b/llvm/include/llvm/LTO/legacy/LTOModule.h @@ -20,6 +20,7 @@ #include "llvm/LTO/LTO.h" #include "llvm/Object/IRObjectFile.h" #include "llvm/Object/ModuleSymbolTable.h" +#include "llvm/Support/Compiler.h" #include "llvm/Target/TargetMachine.h" #include #include diff --git a/llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h b/llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h index c450acda82ad06..47849d38ec6d28 100644 --- a/llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h +++ b/llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h @@ -21,6 +21,7 @@ #include "llvm/LTO/LTO.h" #include "llvm/Support/CachePruning.h" #include "llvm/Support/CodeGen.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Target/TargetOptions.h" #include "llvm/TargetParser/Triple.h" diff --git a/llvm/include/llvm/LTO/legacy/UpdateCompilerUsed.h b/llvm/include/llvm/LTO/legacy/UpdateCompilerUsed.h index 25a8c553ccb8c1..2fb42cf12eeb3e 100644 --- a/llvm/include/llvm/LTO/legacy/UpdateCompilerUsed.h +++ b/llvm/include/llvm/LTO/legacy/UpdateCompilerUsed.h @@ -15,6 +15,7 @@ #include "llvm/ADT/StringSet.h" #include "llvm/IR/GlobalValue.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Module; diff --git a/llvm/include/llvm/Linker/IRMover.h b/llvm/include/llvm/Linker/IRMover.h index 1e3c5394ffa2af..425190beee7b71 100644 --- a/llvm/include/llvm/Linker/IRMover.h +++ b/llvm/include/llvm/Linker/IRMover.h @@ -12,6 +12,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/DenseSet.h" #include "llvm/ADT/FunctionExtras.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Linker/Linker.h b/llvm/include/llvm/Linker/Linker.h index ac8041d8df1afa..7af75c934785f6 100644 --- a/llvm/include/llvm/Linker/Linker.h +++ b/llvm/include/llvm/Linker/Linker.h @@ -11,6 +11,7 @@ #include "llvm/ADT/StringSet.h" #include "llvm/Linker/IRMover.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Module; diff --git a/llvm/include/llvm/MC/ConstantPools.h b/llvm/include/llvm/MC/ConstantPools.h index 7eac75362effdc..e032072a8ed3ec 100644 --- a/llvm/include/llvm/MC/ConstantPools.h +++ b/llvm/include/llvm/MC/ConstantPools.h @@ -15,6 +15,7 @@ #include "llvm/ADT/MapVector.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/SMLoc.h" #include #include diff --git a/llvm/include/llvm/MC/DXContainerPSVInfo.h b/llvm/include/llvm/MC/DXContainerPSVInfo.h index 7d21c18d252f1c..6137e2a5ad8716 100644 --- a/llvm/include/llvm/MC/DXContainerPSVInfo.h +++ b/llvm/include/llvm/MC/DXContainerPSVInfo.h @@ -12,6 +12,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" #include "llvm/BinaryFormat/DXContainer.h" +#include "llvm/Support/Compiler.h" #include "llvm/TargetParser/Triple.h" #include diff --git a/llvm/include/llvm/MC/MCAsmBackend.h b/llvm/include/llvm/MC/MCAsmBackend.h index b5c30aa756c2bf..eb67500382dd40 100644 --- a/llvm/include/llvm/MC/MCAsmBackend.h +++ b/llvm/include/llvm/MC/MCAsmBackend.h @@ -12,6 +12,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/MC/MCDirectives.h" #include "llvm/MC/MCFixup.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include diff --git a/llvm/include/llvm/MC/MCAsmInfo.h b/llvm/include/llvm/MC/MCAsmInfo.h index a3c9b19e859d93..00d3c1c10625e3 100644 --- a/llvm/include/llvm/MC/MCAsmInfo.h +++ b/llvm/include/llvm/MC/MCAsmInfo.h @@ -18,6 +18,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/MC/MCDirectives.h" #include "llvm/MC/MCTargetOptions.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/MC/MCAsmInfoCOFF.h b/llvm/include/llvm/MC/MCAsmInfoCOFF.h index 1dfb4750af66a9..17de5b0ab12651 100644 --- a/llvm/include/llvm/MC/MCAsmInfoCOFF.h +++ b/llvm/include/llvm/MC/MCAsmInfoCOFF.h @@ -10,6 +10,7 @@ #define LLVM_MC_MCASMINFOCOFF_H #include "llvm/MC/MCAsmInfo.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MCAsmInfoDarwin.h b/llvm/include/llvm/MC/MCAsmInfoDarwin.h index c889ce99cebeb8..ed66a3224eb42e 100644 --- a/llvm/include/llvm/MC/MCAsmInfoDarwin.h +++ b/llvm/include/llvm/MC/MCAsmInfoDarwin.h @@ -15,6 +15,7 @@ #define LLVM_MC_MCASMINFODARWIN_H #include "llvm/MC/MCAsmInfo.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MCAsmInfoELF.h b/llvm/include/llvm/MC/MCAsmInfoELF.h index 408d4df76412e4..18e3cf1010ccd9 100644 --- a/llvm/include/llvm/MC/MCAsmInfoELF.h +++ b/llvm/include/llvm/MC/MCAsmInfoELF.h @@ -10,6 +10,7 @@ #define LLVM_MC_MCASMINFOELF_H #include "llvm/MC/MCAsmInfo.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MCAsmInfoGOFF.h b/llvm/include/llvm/MC/MCAsmInfoGOFF.h index 1f3b26311b37ef..126739f90948fa 100644 --- a/llvm/include/llvm/MC/MCAsmInfoGOFF.h +++ b/llvm/include/llvm/MC/MCAsmInfoGOFF.h @@ -16,6 +16,7 @@ #define LLVM_MC_MCASMINFOGOFF_H #include "llvm/MC/MCAsmInfo.h" +#include "llvm/Support/Compiler.h" namespace llvm { class MCAsmInfoGOFF : public MCAsmInfo { diff --git a/llvm/include/llvm/MC/MCAsmInfoWasm.h b/llvm/include/llvm/MC/MCAsmInfoWasm.h index 3afc610b8b07b6..ab350bf612714e 100644 --- a/llvm/include/llvm/MC/MCAsmInfoWasm.h +++ b/llvm/include/llvm/MC/MCAsmInfoWasm.h @@ -10,6 +10,7 @@ #define LLVM_MC_MCASMINFOWASM_H #include "llvm/MC/MCAsmInfo.h" +#include "llvm/Support/Compiler.h" namespace llvm { class MCAsmInfoWasm : public MCAsmInfo { diff --git a/llvm/include/llvm/MC/MCAsmInfoXCOFF.h b/llvm/include/llvm/MC/MCAsmInfoXCOFF.h index 5483899d58753a..648548312c1704 100644 --- a/llvm/include/llvm/MC/MCAsmInfoXCOFF.h +++ b/llvm/include/llvm/MC/MCAsmInfoXCOFF.h @@ -10,6 +10,7 @@ #define LLVM_MC_MCASMINFOXCOFF_H #include "llvm/MC/MCAsmInfo.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MCAsmLayout.h b/llvm/include/llvm/MC/MCAsmLayout.h index 94cfb76bdce4db..518c9d92dea090 100644 --- a/llvm/include/llvm/MC/MCAsmLayout.h +++ b/llvm/include/llvm/MC/MCAsmLayout.h @@ -11,6 +11,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" namespace llvm { class MCAssembler; diff --git a/llvm/include/llvm/MC/MCAsmMacro.h b/llvm/include/llvm/MC/MCAsmMacro.h index e2989c09017a42..c9c3b94d4d67fc 100644 --- a/llvm/include/llvm/MC/MCAsmMacro.h +++ b/llvm/include/llvm/MC/MCAsmMacro.h @@ -11,6 +11,7 @@ #include "llvm/ADT/APInt.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include "llvm/Support/SMLoc.h" #include diff --git a/llvm/include/llvm/MC/MCAssembler.h b/llvm/include/llvm/MC/MCAssembler.h index 5e1fc738b1dab4..3f5a81436ae71e 100644 --- a/llvm/include/llvm/MC/MCAssembler.h +++ b/llvm/include/llvm/MC/MCAssembler.h @@ -19,6 +19,7 @@ #include "llvm/MC/MCDwarf.h" #include "llvm/MC/MCLinkerOptimizationHint.h" #include "llvm/MC/MCSymbol.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/SMLoc.h" #include "llvm/Support/VersionTuple.h" #include diff --git a/llvm/include/llvm/MC/MCCodeEmitter.h b/llvm/include/llvm/MC/MCCodeEmitter.h index e4f4b27816bb3e..a850812df80479 100644 --- a/llvm/include/llvm/MC/MCCodeEmitter.h +++ b/llvm/include/llvm/MC/MCCodeEmitter.h @@ -9,6 +9,8 @@ #ifndef LLVM_MC_MCCODEEMITTER_H #define LLVM_MC_MCCODEEMITTER_H +#include "llvm/Support/Compiler.h" + namespace llvm { class MCFixup; diff --git a/llvm/include/llvm/MC/MCCodeView.h b/llvm/include/llvm/MC/MCCodeView.h index d15f2e42c6cc96..487d02395707e5 100644 --- a/llvm/include/llvm/MC/MCCodeView.h +++ b/llvm/include/llvm/MC/MCCodeView.h @@ -18,6 +18,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/MC/MCDXContainerStreamer.h b/llvm/include/llvm/MC/MCDXContainerStreamer.h index 91d4ea9bc10654..a2a9dee06a74c1 100644 --- a/llvm/include/llvm/MC/MCDXContainerStreamer.h +++ b/llvm/include/llvm/MC/MCDXContainerStreamer.h @@ -20,6 +20,7 @@ #include "llvm/MC/MCCodeEmitter.h" #include "llvm/MC/MCObjectStreamer.h" #include "llvm/MC/MCObjectWriter.h" +#include "llvm/Support/Compiler.h" namespace llvm { class MCInst; diff --git a/llvm/include/llvm/MC/MCDXContainerWriter.h b/llvm/include/llvm/MC/MCDXContainerWriter.h index 8e78b1f48e1675..7c1ea6c8f31742 100644 --- a/llvm/include/llvm/MC/MCDXContainerWriter.h +++ b/llvm/include/llvm/MC/MCDXContainerWriter.h @@ -10,6 +10,7 @@ #define LLVM_MC_MCDXCONTAINERWRITER_H #include "llvm/MC/MCObjectWriter.h" +#include "llvm/Support/Compiler.h" #include "llvm/TargetParser/Triple.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MCDisassembler/MCDisassembler.h b/llvm/include/llvm/MC/MCDisassembler/MCDisassembler.h index 2553a086cd53bb..c9c10c194fdd6a 100644 --- a/llvm/include/llvm/MC/MCDisassembler/MCDisassembler.h +++ b/llvm/include/llvm/MC/MCDisassembler/MCDisassembler.h @@ -12,6 +12,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/BinaryFormat/XCOFF.h" #include "llvm/MC/MCDisassembler/MCSymbolizer.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/MC/MCDisassembler/MCExternalSymbolizer.h b/llvm/include/llvm/MC/MCDisassembler/MCExternalSymbolizer.h index 8af3bb2296ec13..4935d36dd72b8c 100644 --- a/llvm/include/llvm/MC/MCDisassembler/MCExternalSymbolizer.h +++ b/llvm/include/llvm/MC/MCDisassembler/MCExternalSymbolizer.h @@ -17,6 +17,7 @@ #include "llvm-c/DisassemblerTypes.h" #include "llvm/MC/MCDisassembler/MCSymbolizer.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/MC/MCDisassembler/MCRelocationInfo.h b/llvm/include/llvm/MC/MCDisassembler/MCRelocationInfo.h index efc59da1933539..e85b4746500900 100644 --- a/llvm/include/llvm/MC/MCDisassembler/MCRelocationInfo.h +++ b/llvm/include/llvm/MC/MCDisassembler/MCRelocationInfo.h @@ -15,6 +15,8 @@ #ifndef LLVM_MC_MCDISASSEMBLER_MCRELOCATIONINFO_H #define LLVM_MC_MCDISASSEMBLER_MCRELOCATIONINFO_H +#include "llvm/Support/Compiler.h" + namespace llvm { class MCContext; diff --git a/llvm/include/llvm/MC/MCDisassembler/MCSymbolizer.h b/llvm/include/llvm/MC/MCDisassembler/MCSymbolizer.h index 1efb63f1a14256..3acfda5672e322 100644 --- a/llvm/include/llvm/MC/MCDisassembler/MCSymbolizer.h +++ b/llvm/include/llvm/MC/MCDisassembler/MCSymbolizer.h @@ -17,6 +17,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/MC/MCDisassembler/MCRelocationInfo.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/MC/MCDwarf.h b/llvm/include/llvm/MC/MCDwarf.h index 715714f8e55dbb..1611cc93be0877 100644 --- a/llvm/include/llvm/MC/MCDwarf.h +++ b/llvm/include/llvm/MC/MCDwarf.h @@ -19,6 +19,7 @@ #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" #include "llvm/MC/StringTableBuilder.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/MD5.h" #include "llvm/Support/SMLoc.h" diff --git a/llvm/include/llvm/MC/MCELFObjectWriter.h b/llvm/include/llvm/MC/MCELFObjectWriter.h index d7c223cdcc07f8..1a58a428a5fb52 100644 --- a/llvm/include/llvm/MC/MCELFObjectWriter.h +++ b/llvm/include/llvm/MC/MCELFObjectWriter.h @@ -13,6 +13,7 @@ #include "llvm/MC/MCObjectWriter.h" #include "llvm/MC/MCSectionELF.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include "llvm/TargetParser/Triple.h" #include diff --git a/llvm/include/llvm/MC/MCELFStreamer.h b/llvm/include/llvm/MC/MCELFStreamer.h index 1309b17bff9c14..3b08190458968b 100644 --- a/llvm/include/llvm/MC/MCELFStreamer.h +++ b/llvm/include/llvm/MC/MCELFStreamer.h @@ -12,6 +12,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/MC/MCDirectives.h" #include "llvm/MC/MCObjectStreamer.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MCExpr.h b/llvm/include/llvm/MC/MCExpr.h index 67836292874f5f..4942bdfd14fdf5 100644 --- a/llvm/include/llvm/MC/MCExpr.h +++ b/llvm/include/llvm/MC/MCExpr.h @@ -10,6 +10,7 @@ #define LLVM_MC_MCEXPR_H #include "llvm/ADT/DenseMap.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/SMLoc.h" #include diff --git a/llvm/include/llvm/MC/MCFixup.h b/llvm/include/llvm/MC/MCFixup.h index 919a00373ac285..b22f5bb2917917 100644 --- a/llvm/include/llvm/MC/MCFixup.h +++ b/llvm/include/llvm/MC/MCFixup.h @@ -9,6 +9,7 @@ #ifndef LLVM_MC_MCFIXUP_H #define LLVM_MC_MCFIXUP_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/SMLoc.h" diff --git a/llvm/include/llvm/MC/MCFixupKindInfo.h b/llvm/include/llvm/MC/MCFixupKindInfo.h index ecf85fa5693186..a4d9a3b297fd85 100644 --- a/llvm/include/llvm/MC/MCFixupKindInfo.h +++ b/llvm/include/llvm/MC/MCFixupKindInfo.h @@ -9,6 +9,8 @@ #ifndef LLVM_MC_MCFIXUPKINDINFO_H #define LLVM_MC_MCFIXUPKINDINFO_H +#include "llvm/Support/Compiler.h" + namespace llvm { /// Target independent information on a fixup kind. diff --git a/llvm/include/llvm/MC/MCFragment.h b/llvm/include/llvm/MC/MCFragment.h index 7be4792a452198..bbad3c729e6670 100644 --- a/llvm/include/llvm/MC/MCFragment.h +++ b/llvm/include/llvm/MC/MCFragment.h @@ -17,6 +17,7 @@ #include "llvm/MC/MCFixup.h" #include "llvm/MC/MCInst.h" #include "llvm/Support/Alignment.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/SMLoc.h" #include #include diff --git a/llvm/include/llvm/MC/MCInst.h b/llvm/include/llvm/MC/MCInst.h index 2bc310852fe50d..a615c5f7909ad5 100644 --- a/llvm/include/llvm/MC/MCInst.h +++ b/llvm/include/llvm/MC/MCInst.h @@ -18,6 +18,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" #include "llvm/ADT/bit.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/SMLoc.h" #include #include diff --git a/llvm/include/llvm/MC/MCInstBuilder.h b/llvm/include/llvm/MC/MCInstBuilder.h index 6e5e9dd69018f4..c82a598454ab06 100644 --- a/llvm/include/llvm/MC/MCInstBuilder.h +++ b/llvm/include/llvm/MC/MCInstBuilder.h @@ -15,6 +15,7 @@ #define LLVM_MC_MCINSTBUILDER_H #include "llvm/MC/MCInst.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MCInstrAnalysis.h b/llvm/include/llvm/MC/MCInstrAnalysis.h index e3ddf0b8b8939c..8f34db92ee1261 100644 --- a/llvm/include/llvm/MC/MCInstrAnalysis.h +++ b/llvm/include/llvm/MC/MCInstrAnalysis.h @@ -19,6 +19,7 @@ #include "llvm/MC/MCInstrDesc.h" #include "llvm/MC/MCInstrInfo.h" #include "llvm/MC/MCRegisterInfo.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/MC/MCInstrDesc.h b/llvm/include/llvm/MC/MCInstrDesc.h index 7b8fb033c6f70c..358ce9a04d32e1 100644 --- a/llvm/include/llvm/MC/MCInstrDesc.h +++ b/llvm/include/llvm/MC/MCInstrDesc.h @@ -17,6 +17,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/iterator_range.h" #include "llvm/MC/MCRegister.h" +#include "llvm/Support/Compiler.h" namespace llvm { class MCRegisterInfo; diff --git a/llvm/include/llvm/MC/MCInstrInfo.h b/llvm/include/llvm/MC/MCInstrInfo.h index 35ec1b79705165..e4cfcc0ae01a31 100644 --- a/llvm/include/llvm/MC/MCInstrInfo.h +++ b/llvm/include/llvm/MC/MCInstrInfo.h @@ -15,6 +15,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/MC/MCInstrDesc.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/MC/MCInstrItineraries.h b/llvm/include/llvm/MC/MCInstrItineraries.h index 652922feddc338..36ddcdf2af66b7 100644 --- a/llvm/include/llvm/MC/MCInstrItineraries.h +++ b/llvm/include/llvm/MC/MCInstrItineraries.h @@ -16,6 +16,7 @@ #define LLVM_MC_MCINSTRITINERARIES_H #include "llvm/MC/MCSchedule.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/MC/MCLabel.h b/llvm/include/llvm/MC/MCLabel.h index 0b8afac8f7548d..21d781bb2fde2b 100644 --- a/llvm/include/llvm/MC/MCLabel.h +++ b/llvm/include/llvm/MC/MCLabel.h @@ -13,6 +13,8 @@ #ifndef LLVM_MC_MCLABEL_H #define LLVM_MC_MCLABEL_H +#include "llvm/Support/Compiler.h" + namespace llvm { class raw_ostream; diff --git a/llvm/include/llvm/MC/MCLinkerOptimizationHint.h b/llvm/include/llvm/MC/MCLinkerOptimizationHint.h index b91fbc62aa7569..b994882d781ed0 100644 --- a/llvm/include/llvm/MC/MCLinkerOptimizationHint.h +++ b/llvm/include/llvm/MC/MCLinkerOptimizationHint.h @@ -19,6 +19,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringSwitch.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/MC/MCMachObjectWriter.h b/llvm/include/llvm/MC/MCMachObjectWriter.h index 1683543082e289..58a148a8c2b9b7 100644 --- a/llvm/include/llvm/MC/MCMachObjectWriter.h +++ b/llvm/include/llvm/MC/MCMachObjectWriter.h @@ -16,6 +16,7 @@ #include "llvm/MC/MCObjectWriter.h" #include "llvm/MC/MCSection.h" #include "llvm/MC/StringTableBuilder.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/EndianStream.h" #include #include diff --git a/llvm/include/llvm/MC/MCObjectFileInfo.h b/llvm/include/llvm/MC/MCObjectFileInfo.h index 54f696cb795fbc..3ed0693f7d2878 100644 --- a/llvm/include/llvm/MC/MCObjectFileInfo.h +++ b/llvm/include/llvm/MC/MCObjectFileInfo.h @@ -15,6 +15,7 @@ #include "llvm/BinaryFormat/Swift.h" #include "llvm/MC/MCSection.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/VersionTuple.h" #include "llvm/TargetParser/Triple.h" diff --git a/llvm/include/llvm/MC/MCObjectStreamer.h b/llvm/include/llvm/MC/MCObjectStreamer.h index 5e5b4b31501709..f0c5ee2753a000 100644 --- a/llvm/include/llvm/MC/MCObjectStreamer.h +++ b/llvm/include/llvm/MC/MCObjectStreamer.h @@ -15,6 +15,7 @@ #include "llvm/MC/MCFragment.h" #include "llvm/MC/MCSection.h" #include "llvm/MC/MCStreamer.h" +#include "llvm/Support/Compiler.h" namespace llvm { class MCContext; diff --git a/llvm/include/llvm/MC/MCObjectWriter.h b/llvm/include/llvm/MC/MCObjectWriter.h index 8c104523739338..d12bc0062e91ea 100644 --- a/llvm/include/llvm/MC/MCObjectWriter.h +++ b/llvm/include/llvm/MC/MCObjectWriter.h @@ -10,6 +10,7 @@ #define LLVM_MC_MCOBJECTWRITER_H #include "llvm/MC/MCSymbol.h" +#include "llvm/Support/Compiler.h" #include "llvm/TargetParser/Triple.h" #include diff --git a/llvm/include/llvm/MC/MCParser/AsmCond.h b/llvm/include/llvm/MC/MCParser/AsmCond.h index 44edd2b758ffe4..6b8c8ae4b508dd 100644 --- a/llvm/include/llvm/MC/MCParser/AsmCond.h +++ b/llvm/include/llvm/MC/MCParser/AsmCond.h @@ -9,6 +9,8 @@ #ifndef LLVM_MC_MCPARSER_ASMCOND_H #define LLVM_MC_MCPARSER_ASMCOND_H +#include "llvm/Support/Compiler.h" + namespace llvm { /// AsmCond - Class to support conditional assembly diff --git a/llvm/include/llvm/MC/MCParser/AsmLexer.h b/llvm/include/llvm/MC/MCParser/AsmLexer.h index 735b0c114f2aae..0a0c59f6dbfdc7 100644 --- a/llvm/include/llvm/MC/MCParser/AsmLexer.h +++ b/llvm/include/llvm/MC/MCParser/AsmLexer.h @@ -15,6 +15,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/MC/MCParser/MCAsmLexer.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/MC/MCParser/MCAsmLexer.h b/llvm/include/llvm/MC/MCParser/MCAsmLexer.h index 9affb1f980bb07..3ea594ed3bfdaa 100644 --- a/llvm/include/llvm/MC/MCParser/MCAsmLexer.h +++ b/llvm/include/llvm/MC/MCParser/MCAsmLexer.h @@ -12,6 +12,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/SmallVector.h" #include "llvm/MC/MCAsmMacro.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/MC/MCParser/MCAsmParser.h b/llvm/include/llvm/MC/MCParser/MCAsmParser.h index faa72d5f3144c4..1c36cd17efe447 100644 --- a/llvm/include/llvm/MC/MCParser/MCAsmParser.h +++ b/llvm/include/llvm/MC/MCParser/MCAsmParser.h @@ -15,6 +15,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/ADT/Twine.h" #include "llvm/MC/MCAsmMacro.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/SMLoc.h" #include #include diff --git a/llvm/include/llvm/MC/MCParser/MCAsmParserExtension.h b/llvm/include/llvm/MC/MCParser/MCAsmParserExtension.h index e596a7195447dd..ac1cf673e4ed5a 100644 --- a/llvm/include/llvm/MC/MCParser/MCAsmParserExtension.h +++ b/llvm/include/llvm/MC/MCParser/MCAsmParserExtension.h @@ -12,6 +12,7 @@ #include "llvm/ADT/STLFunctionalExtras.h" #include "llvm/ADT/StringRef.h" #include "llvm/MC/MCParser/MCAsmParser.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/SMLoc.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MCParser/MCAsmParserUtils.h b/llvm/include/llvm/MC/MCParser/MCAsmParserUtils.h index d692da7402fefe..603c740d44300e 100644 --- a/llvm/include/llvm/MC/MCParser/MCAsmParserUtils.h +++ b/llvm/include/llvm/MC/MCParser/MCAsmParserUtils.h @@ -9,6 +9,8 @@ #ifndef LLVM_MC_MCPARSER_MCASMPARSERUTILS_H #define LLVM_MC_MCPARSER_MCASMPARSERUTILS_H +#include "llvm/Support/Compiler.h" + namespace llvm { class MCAsmParser; diff --git a/llvm/include/llvm/MC/MCParser/MCParsedAsmOperand.h b/llvm/include/llvm/MC/MCParser/MCParsedAsmOperand.h index 0c9668904e8261..59583b16b7c1af 100644 --- a/llvm/include/llvm/MC/MCParser/MCParsedAsmOperand.h +++ b/llvm/include/llvm/MC/MCParser/MCParsedAsmOperand.h @@ -10,6 +10,7 @@ #define LLVM_MC_MCPARSER_MCPARSEDASMOPERAND_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/SMLoc.h" #include diff --git a/llvm/include/llvm/MC/MCParser/MCTargetAsmParser.h b/llvm/include/llvm/MC/MCParser/MCTargetAsmParser.h index fe905f2c3ba5fe..cf64cb45291671 100644 --- a/llvm/include/llvm/MC/MCParser/MCTargetAsmParser.h +++ b/llvm/include/llvm/MC/MCParser/MCTargetAsmParser.h @@ -14,6 +14,7 @@ #include "llvm/MC/MCParser/MCAsmParserExtension.h" #include "llvm/MC/MCParser/MCParsedAsmOperand.h" #include "llvm/MC/MCTargetOptions.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/SMLoc.h" #include "llvm/TargetParser/SubtargetFeature.h" #include diff --git a/llvm/include/llvm/MC/MCPseudoProbe.h b/llvm/include/llvm/MC/MCPseudoProbe.h index 7d91c5f7d61365..ce79ee4aedebe0 100644 --- a/llvm/include/llvm/MC/MCPseudoProbe.h +++ b/llvm/include/llvm/MC/MCPseudoProbe.h @@ -59,6 +59,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" #include "llvm/IR/PseudoProbe.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorOr.h" #include #include diff --git a/llvm/include/llvm/MC/MCRegister.h b/llvm/include/llvm/MC/MCRegister.h index 530c1870abd6ad..82f5477e510d0a 100644 --- a/llvm/include/llvm/MC/MCRegister.h +++ b/llvm/include/llvm/MC/MCRegister.h @@ -11,6 +11,7 @@ #include "llvm/ADT/DenseMapInfo.h" #include "llvm/ADT/Hashing.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/MC/MCRegisterInfo.h b/llvm/include/llvm/MC/MCRegisterInfo.h index ede01d62492462..3afdd70e16b1d0 100644 --- a/llvm/include/llvm/MC/MCRegisterInfo.h +++ b/llvm/include/llvm/MC/MCRegisterInfo.h @@ -20,6 +20,7 @@ #include "llvm/ADT/iterator_range.h" #include "llvm/MC/LaneBitmask.h" #include "llvm/MC/MCRegister.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/MC/MCSPIRVObjectWriter.h b/llvm/include/llvm/MC/MCSPIRVObjectWriter.h index a8baf96b83842b..8c8c1b43f8da0c 100644 --- a/llvm/include/llvm/MC/MCSPIRVObjectWriter.h +++ b/llvm/include/llvm/MC/MCSPIRVObjectWriter.h @@ -10,6 +10,7 @@ #define LLVM_MC_MCSPIRVOBJECTWRITER_H #include "llvm/MC/MCObjectWriter.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include diff --git a/llvm/include/llvm/MC/MCSPIRVStreamer.h b/llvm/include/llvm/MC/MCSPIRVStreamer.h index b03ae5d4599c96..43cfdbb28acfb4 100644 --- a/llvm/include/llvm/MC/MCSPIRVStreamer.h +++ b/llvm/include/llvm/MC/MCSPIRVStreamer.h @@ -17,6 +17,7 @@ #include "llvm/MC/MCCodeEmitter.h" #include "llvm/MC/MCObjectStreamer.h" #include "llvm/MC/MCObjectWriter.h" +#include "llvm/Support/Compiler.h" namespace llvm { class MCInst; diff --git a/llvm/include/llvm/MC/MCSchedule.h b/llvm/include/llvm/MC/MCSchedule.h index 98ebe42cfd133b..75b133a0e75fec 100644 --- a/llvm/include/llvm/MC/MCSchedule.h +++ b/llvm/include/llvm/MC/MCSchedule.h @@ -15,6 +15,7 @@ #define LLVM_MC_MCSCHEDULE_H #include "llvm/Config/llvm-config.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" #include diff --git a/llvm/include/llvm/MC/MCSection.h b/llvm/include/llvm/MC/MCSection.h index 90bc48ec185ca4..89fd6ba4327718 100644 --- a/llvm/include/llvm/MC/MCSection.h +++ b/llvm/include/llvm/MC/MCSection.h @@ -17,6 +17,7 @@ #include "llvm/ADT/ilist.h" #include "llvm/MC/MCFragment.h" #include "llvm/MC/SectionKind.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Alignment.h" #include #include diff --git a/llvm/include/llvm/MC/MCSectionCOFF.h b/llvm/include/llvm/MC/MCSectionCOFF.h index 373863e21ff02e..c84747a2deffac 100644 --- a/llvm/include/llvm/MC/MCSectionCOFF.h +++ b/llvm/include/llvm/MC/MCSectionCOFF.h @@ -16,6 +16,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/MC/MCSection.h" #include "llvm/MC/SectionKind.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/MC/MCSectionDXContainer.h b/llvm/include/llvm/MC/MCSectionDXContainer.h index 014684a9352950..7fdd3282eb0e3c 100644 --- a/llvm/include/llvm/MC/MCSectionDXContainer.h +++ b/llvm/include/llvm/MC/MCSectionDXContainer.h @@ -15,6 +15,7 @@ #include "llvm/MC/MCSection.h" #include "llvm/MC/SectionKind.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MCSectionELF.h b/llvm/include/llvm/MC/MCSectionELF.h index 3b5239394493ce..152e2bcff8ff43 100644 --- a/llvm/include/llvm/MC/MCSectionELF.h +++ b/llvm/include/llvm/MC/MCSectionELF.h @@ -18,6 +18,7 @@ #include "llvm/MC/MCSection.h" #include "llvm/MC/MCSymbolELF.h" #include "llvm/MC/SectionKind.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MCSectionGOFF.h b/llvm/include/llvm/MC/MCSectionGOFF.h index d866329461ceae..1f98199eea5a7f 100644 --- a/llvm/include/llvm/MC/MCSectionGOFF.h +++ b/llvm/include/llvm/MC/MCSectionGOFF.h @@ -17,6 +17,7 @@ #include "llvm/BinaryFormat/GOFF.h" #include "llvm/MC/MCSection.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MCSectionMachO.h b/llvm/include/llvm/MC/MCSectionMachO.h index fdf1773d400253..b9ab4422e8d1d1 100644 --- a/llvm/include/llvm/MC/MCSectionMachO.h +++ b/llvm/include/llvm/MC/MCSectionMachO.h @@ -16,6 +16,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/BinaryFormat/MachO.h" #include "llvm/MC/MCSection.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MCSectionSPIRV.h b/llvm/include/llvm/MC/MCSectionSPIRV.h index 6534599d2091c7..ba9a16cd32a317 100644 --- a/llvm/include/llvm/MC/MCSectionSPIRV.h +++ b/llvm/include/llvm/MC/MCSectionSPIRV.h @@ -15,6 +15,7 @@ #include "llvm/MC/MCSection.h" #include "llvm/MC/SectionKind.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MCSectionWasm.h b/llvm/include/llvm/MC/MCSectionWasm.h index 23eba093a3b21f..829f919f841557 100644 --- a/llvm/include/llvm/MC/MCSectionWasm.h +++ b/llvm/include/llvm/MC/MCSectionWasm.h @@ -14,6 +14,7 @@ #define LLVM_MC_MCSECTIONWASM_H #include "llvm/MC/MCSection.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MCSectionXCOFF.h b/llvm/include/llvm/MC/MCSectionXCOFF.h index 68832f5daad587..65092b14ab3585 100644 --- a/llvm/include/llvm/MC/MCSectionXCOFF.h +++ b/llvm/include/llvm/MC/MCSectionXCOFF.h @@ -16,6 +16,7 @@ #include "llvm/BinaryFormat/XCOFF.h" #include "llvm/MC/MCSection.h" #include "llvm/MC/MCSymbolXCOFF.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MCStreamer.h b/llvm/include/llvm/MC/MCStreamer.h index 3bf2d22e182353..77b526e60cce12 100644 --- a/llvm/include/llvm/MC/MCStreamer.h +++ b/llvm/include/llvm/MC/MCStreamer.h @@ -22,6 +22,7 @@ #include "llvm/MC/MCLinkerOptimizationHint.h" #include "llvm/MC/MCPseudoProbe.h" #include "llvm/MC/MCWinEH.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/MD5.h" #include "llvm/Support/SMLoc.h" diff --git a/llvm/include/llvm/MC/MCSubtargetInfo.h b/llvm/include/llvm/MC/MCSubtargetInfo.h index f172a799aa3331..af1755413e48dc 100644 --- a/llvm/include/llvm/MC/MCSubtargetInfo.h +++ b/llvm/include/llvm/MC/MCSubtargetInfo.h @@ -18,6 +18,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/MC/MCInstrItineraries.h" #include "llvm/MC/MCSchedule.h" +#include "llvm/Support/Compiler.h" #include "llvm/TargetParser/SubtargetFeature.h" #include "llvm/TargetParser/Triple.h" #include diff --git a/llvm/include/llvm/MC/MCSymbol.h b/llvm/include/llvm/MC/MCSymbol.h index d0d51f32e96779..a50ce48bf330dc 100644 --- a/llvm/include/llvm/MC/MCSymbol.h +++ b/llvm/include/llvm/MC/MCSymbol.h @@ -18,6 +18,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/MC/MCExpr.h" #include "llvm/MC/MCFragment.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/MathExtras.h" #include diff --git a/llvm/include/llvm/MC/MCSymbolCOFF.h b/llvm/include/llvm/MC/MCSymbolCOFF.h index 7983fff7e6afda..59ec933463b362 100644 --- a/llvm/include/llvm/MC/MCSymbolCOFF.h +++ b/llvm/include/llvm/MC/MCSymbolCOFF.h @@ -11,6 +11,7 @@ #include "llvm/BinaryFormat/COFF.h" #include "llvm/MC/MCSymbol.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/MC/MCSymbolELF.h b/llvm/include/llvm/MC/MCSymbolELF.h index 9fc49ea322ce21..ef496b2feafc92 100644 --- a/llvm/include/llvm/MC/MCSymbolELF.h +++ b/llvm/include/llvm/MC/MCSymbolELF.h @@ -9,6 +9,7 @@ #define LLVM_MC_MCSYMBOLELF_H #include "llvm/MC/MCSymbol.h" +#include "llvm/Support/Compiler.h" namespace llvm { class MCSymbolELF : public MCSymbol { diff --git a/llvm/include/llvm/MC/MCSymbolGOFF.h b/llvm/include/llvm/MC/MCSymbolGOFF.h index cc4e2bbe246e2d..6cbc7080a99a3d 100644 --- a/llvm/include/llvm/MC/MCSymbolGOFF.h +++ b/llvm/include/llvm/MC/MCSymbolGOFF.h @@ -14,6 +14,7 @@ #define LLVM_MC_MCSYMBOLGOFF_H #include "llvm/MC/MCSymbol.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MCSymbolMachO.h b/llvm/include/llvm/MC/MCSymbolMachO.h index bce0f82da62cd6..14ac6faffcf14d 100644 --- a/llvm/include/llvm/MC/MCSymbolMachO.h +++ b/llvm/include/llvm/MC/MCSymbolMachO.h @@ -10,6 +10,7 @@ #include "llvm/ADT/Twine.h" #include "llvm/MC/MCSymbol.h" +#include "llvm/Support/Compiler.h" namespace llvm { class MCSymbolMachO : public MCSymbol { diff --git a/llvm/include/llvm/MC/MCSymbolWasm.h b/llvm/include/llvm/MC/MCSymbolWasm.h index c67bd64e7cbdfd..3f88aaf19590f4 100644 --- a/llvm/include/llvm/MC/MCSymbolWasm.h +++ b/llvm/include/llvm/MC/MCSymbolWasm.h @@ -10,6 +10,7 @@ #include "llvm/BinaryFormat/Wasm.h" #include "llvm/MC/MCSymbol.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MCSymbolXCOFF.h b/llvm/include/llvm/MC/MCSymbolXCOFF.h index af5759f72618d5..502e6e4c8c804c 100644 --- a/llvm/include/llvm/MC/MCSymbolXCOFF.h +++ b/llvm/include/llvm/MC/MCSymbolXCOFF.h @@ -11,6 +11,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/BinaryFormat/XCOFF.h" #include "llvm/MC/MCSymbol.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MCTargetOptions.h b/llvm/include/llvm/MC/MCTargetOptions.h index afb329eb6f935e..4641387f9dd7ef 100644 --- a/llvm/include/llvm/MC/MCTargetOptions.h +++ b/llvm/include/llvm/MC/MCTargetOptions.h @@ -10,6 +10,7 @@ #define LLVM_MC_MCTARGETOPTIONS_H #include "llvm/ADT/ArrayRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Compression.h" #include #include diff --git a/llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h b/llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h index 7f6ee6c8be224a..fef63b27cf11f4 100644 --- a/llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h +++ b/llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h @@ -14,6 +14,7 @@ #ifndef LLVM_MC_MCTARGETOPTIONSCOMMANDFLAGS_H #define LLVM_MC_MCTARGETOPTIONSCOMMANDFLAGS_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/MC/MCValue.h b/llvm/include/llvm/MC/MCValue.h index 37265d72c9df93..927514b013da94 100644 --- a/llvm/include/llvm/MC/MCValue.h +++ b/llvm/include/llvm/MC/MCValue.h @@ -14,6 +14,7 @@ #define LLVM_MC_MCVALUE_H #include "llvm/MC/MCExpr.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MCWasmObjectWriter.h b/llvm/include/llvm/MC/MCWasmObjectWriter.h index 3d5b09407507a9..22cfd1b74bb38c 100644 --- a/llvm/include/llvm/MC/MCWasmObjectWriter.h +++ b/llvm/include/llvm/MC/MCWasmObjectWriter.h @@ -10,6 +10,7 @@ #define LLVM_MC_MCWASMOBJECTWRITER_H #include "llvm/MC/MCObjectWriter.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/MC/MCWasmStreamer.h b/llvm/include/llvm/MC/MCWasmStreamer.h index f58405214a80a3..e9bd97046ca457 100644 --- a/llvm/include/llvm/MC/MCWasmStreamer.h +++ b/llvm/include/llvm/MC/MCWasmStreamer.h @@ -14,6 +14,7 @@ #include "llvm/MC/MCDirectives.h" #include "llvm/MC/MCObjectStreamer.h" #include "llvm/MC/MCObjectWriter.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MCWin64EH.h b/llvm/include/llvm/MC/MCWin64EH.h index 622a666b78dd23..1a0858c3a8e4ba 100644 --- a/llvm/include/llvm/MC/MCWin64EH.h +++ b/llvm/include/llvm/MC/MCWin64EH.h @@ -15,6 +15,7 @@ #define LLVM_MC_MCWIN64EH_H #include "llvm/MC/MCWinEH.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Win64EH.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MCWinCOFFObjectWriter.h b/llvm/include/llvm/MC/MCWinCOFFObjectWriter.h index 307800e73c687c..3f4d1b23331f68 100644 --- a/llvm/include/llvm/MC/MCWinCOFFObjectWriter.h +++ b/llvm/include/llvm/MC/MCWinCOFFObjectWriter.h @@ -10,6 +10,7 @@ #define LLVM_MC_MCWINCOFFOBJECTWRITER_H #include "llvm/MC/MCObjectWriter.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/MC/MCWinCOFFStreamer.h b/llvm/include/llvm/MC/MCWinCOFFStreamer.h index 52563f120fdb4b..b036d9bf51e2f4 100644 --- a/llvm/include/llvm/MC/MCWinCOFFStreamer.h +++ b/llvm/include/llvm/MC/MCWinCOFFStreamer.h @@ -11,6 +11,7 @@ #include "llvm/MC/MCDirectives.h" #include "llvm/MC/MCObjectStreamer.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MCWinEH.h b/llvm/include/llvm/MC/MCWinEH.h index fcce2dcd54837c..ae8a77cf0f95ca 100644 --- a/llvm/include/llvm/MC/MCWinEH.h +++ b/llvm/include/llvm/MC/MCWinEH.h @@ -10,6 +10,7 @@ #define LLVM_MC_MCWINEH_H #include "llvm/ADT/MapVector.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/MC/MCXCOFFObjectWriter.h b/llvm/include/llvm/MC/MCXCOFFObjectWriter.h index faad2ceb26910d..3a4f49ee334e02 100644 --- a/llvm/include/llvm/MC/MCXCOFFObjectWriter.h +++ b/llvm/include/llvm/MC/MCXCOFFObjectWriter.h @@ -10,6 +10,7 @@ #define LLVM_MC_MCXCOFFOBJECTWRITER_H #include "llvm/MC/MCObjectWriter.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MCXCOFFStreamer.h b/llvm/include/llvm/MC/MCXCOFFStreamer.h index 041bbbfa474bbd..c7b97780ee4ce8 100644 --- a/llvm/include/llvm/MC/MCXCOFFStreamer.h +++ b/llvm/include/llvm/MC/MCXCOFFStreamer.h @@ -10,6 +10,7 @@ #define LLVM_MC_MCXCOFFSTREAMER_H #include "llvm/MC/MCObjectStreamer.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/MC/MachineLocation.h b/llvm/include/llvm/MC/MachineLocation.h index 5872540e6104de..5b9d26ddfdc748 100644 --- a/llvm/include/llvm/MC/MachineLocation.h +++ b/llvm/include/llvm/MC/MachineLocation.h @@ -16,6 +16,7 @@ #include #include +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/MC/SectionKind.h b/llvm/include/llvm/MC/SectionKind.h index 61e400fe9edeea..14d11e0051a87e 100644 --- a/llvm/include/llvm/MC/SectionKind.h +++ b/llvm/include/llvm/MC/SectionKind.h @@ -9,6 +9,8 @@ #ifndef LLVM_MC_SECTIONKIND_H #define LLVM_MC_SECTIONKIND_H +#include "llvm/Support/Compiler.h" + namespace llvm { /// SectionKind - This is a simple POD value that classifies the properties of diff --git a/llvm/include/llvm/MC/StringTableBuilder.h b/llvm/include/llvm/MC/StringTableBuilder.h index 4ee421e22c171f..d00ecd010c4469 100644 --- a/llvm/include/llvm/MC/StringTableBuilder.h +++ b/llvm/include/llvm/MC/StringTableBuilder.h @@ -13,6 +13,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/Alignment.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/MC/TargetRegistry.h b/llvm/include/llvm/MC/TargetRegistry.h index 47051447404d00..839e7a9694c3cc 100644 --- a/llvm/include/llvm/MC/TargetRegistry.h +++ b/llvm/include/llvm/MC/TargetRegistry.h @@ -23,6 +23,7 @@ #include "llvm/ADT/iterator_range.h" #include "llvm/MC/MCObjectFileInfo.h" #include "llvm/Support/CodeGen.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/FormattedStream.h" #include "llvm/TargetParser/Triple.h" diff --git a/llvm/include/llvm/MCA/CodeEmitter.h b/llvm/include/llvm/MCA/CodeEmitter.h index 431ceea2706486..3c8ecaf2c1070a 100644 --- a/llvm/include/llvm/MCA/CodeEmitter.h +++ b/llvm/include/llvm/MCA/CodeEmitter.h @@ -23,6 +23,7 @@ #include "llvm/MC/MCCodeEmitter.h" #include "llvm/MC/MCInst.h" #include "llvm/MC/MCSubtargetInfo.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace mca { diff --git a/llvm/include/llvm/MCA/Context.h b/llvm/include/llvm/MCA/Context.h index 0abcfd7ce9f05e..1c9573a2ffa0ac 100644 --- a/llvm/include/llvm/MCA/Context.h +++ b/llvm/include/llvm/MCA/Context.h @@ -23,6 +23,7 @@ #include "llvm/MCA/HardwareUnits/HardwareUnit.h" #include "llvm/MCA/Pipeline.h" #include "llvm/MCA/SourceMgr.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/MCA/CustomBehaviour.h b/llvm/include/llvm/MCA/CustomBehaviour.h index b3774894517ab4..77bff2f27db46c 100644 --- a/llvm/include/llvm/MCA/CustomBehaviour.h +++ b/llvm/include/llvm/MCA/CustomBehaviour.h @@ -24,6 +24,7 @@ #include "llvm/MC/MCSubtargetInfo.h" #include "llvm/MCA/SourceMgr.h" #include "llvm/MCA/View.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace mca { diff --git a/llvm/include/llvm/MCA/HWEventListener.h b/llvm/include/llvm/MCA/HWEventListener.h index a27b1f12e6a6ee..8440802ecadb65 100644 --- a/llvm/include/llvm/MCA/HWEventListener.h +++ b/llvm/include/llvm/MCA/HWEventListener.h @@ -17,6 +17,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/MCA/Instruction.h" #include "llvm/MCA/Support.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace mca { diff --git a/llvm/include/llvm/MCA/HardwareUnits/HardwareUnit.h b/llvm/include/llvm/MCA/HardwareUnits/HardwareUnit.h index 85350e4eb7f076..20533500c4b794 100644 --- a/llvm/include/llvm/MCA/HardwareUnits/HardwareUnit.h +++ b/llvm/include/llvm/MCA/HardwareUnits/HardwareUnit.h @@ -15,6 +15,8 @@ #ifndef LLVM_MCA_HARDWAREUNITS_HARDWAREUNIT_H #define LLVM_MCA_HARDWAREUNITS_HARDWAREUNIT_H +#include "llvm/Support/Compiler.h" + namespace llvm { namespace mca { diff --git a/llvm/include/llvm/MCA/HardwareUnits/LSUnit.h b/llvm/include/llvm/MCA/HardwareUnits/LSUnit.h index 81a5453bac26c4..28ce2ffd127d25 100644 --- a/llvm/include/llvm/MCA/HardwareUnits/LSUnit.h +++ b/llvm/include/llvm/MCA/HardwareUnits/LSUnit.h @@ -20,6 +20,7 @@ #include "llvm/MC/MCSchedule.h" #include "llvm/MCA/HardwareUnits/HardwareUnit.h" #include "llvm/MCA/Instruction.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace mca { diff --git a/llvm/include/llvm/MCA/HardwareUnits/RegisterFile.h b/llvm/include/llvm/MCA/HardwareUnits/RegisterFile.h index 5bd74ad5fe7882..68c9cf2ddcb401 100644 --- a/llvm/include/llvm/MCA/HardwareUnits/RegisterFile.h +++ b/llvm/include/llvm/MCA/HardwareUnits/RegisterFile.h @@ -22,6 +22,7 @@ #include "llvm/MC/MCSchedule.h" #include "llvm/MC/MCSubtargetInfo.h" #include "llvm/MCA/HardwareUnits/HardwareUnit.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace mca { diff --git a/llvm/include/llvm/MCA/HardwareUnits/ResourceManager.h b/llvm/include/llvm/MCA/HardwareUnits/ResourceManager.h index 0e3f16d2a490b5..c90102bd0aa0dd 100644 --- a/llvm/include/llvm/MCA/HardwareUnits/ResourceManager.h +++ b/llvm/include/llvm/MCA/HardwareUnits/ResourceManager.h @@ -20,6 +20,7 @@ #include "llvm/MC/MCSchedule.h" #include "llvm/MCA/Instruction.h" #include "llvm/MCA/Support.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace mca { diff --git a/llvm/include/llvm/MCA/HardwareUnits/RetireControlUnit.h b/llvm/include/llvm/MCA/HardwareUnits/RetireControlUnit.h index 4342a3e72fa8c4..51a794232ad531 100644 --- a/llvm/include/llvm/MCA/HardwareUnits/RetireControlUnit.h +++ b/llvm/include/llvm/MCA/HardwareUnits/RetireControlUnit.h @@ -17,6 +17,7 @@ #include "llvm/MC/MCSchedule.h" #include "llvm/MCA/HardwareUnits/HardwareUnit.h" #include "llvm/MCA/Instruction.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/MCA/HardwareUnits/Scheduler.h b/llvm/include/llvm/MCA/HardwareUnits/Scheduler.h index 272f6b197868b9..1162fad02464ef 100644 --- a/llvm/include/llvm/MCA/HardwareUnits/Scheduler.h +++ b/llvm/include/llvm/MCA/HardwareUnits/Scheduler.h @@ -20,6 +20,7 @@ #include "llvm/MCA/HardwareUnits/LSUnit.h" #include "llvm/MCA/HardwareUnits/ResourceManager.h" #include "llvm/MCA/Support.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace mca { diff --git a/llvm/include/llvm/MCA/IncrementalSourceMgr.h b/llvm/include/llvm/MCA/IncrementalSourceMgr.h index d53f1138b94059..b3dc5c24c47f6e 100644 --- a/llvm/include/llvm/MCA/IncrementalSourceMgr.h +++ b/llvm/include/llvm/MCA/IncrementalSourceMgr.h @@ -15,6 +15,7 @@ #define LLVM_MCA_INCREMENTALSOURCEMGR_H #include "llvm/MCA/SourceMgr.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/MCA/InstrBuilder.h b/llvm/include/llvm/MCA/InstrBuilder.h index c8619af04b330f..4c5b5287ac6aaa 100644 --- a/llvm/include/llvm/MCA/InstrBuilder.h +++ b/llvm/include/llvm/MCA/InstrBuilder.h @@ -22,6 +22,7 @@ #include "llvm/MCA/CustomBehaviour.h" #include "llvm/MCA/Instruction.h" #include "llvm/MCA/Support.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/MCA/Instruction.h b/llvm/include/llvm/MCA/Instruction.h index e48a70164bec6c..9c6bd9ed3b1378 100644 --- a/llvm/include/llvm/MCA/Instruction.h +++ b/llvm/include/llvm/MCA/Instruction.h @@ -19,6 +19,7 @@ #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SmallVector.h" #include "llvm/MC/MCRegister.h" // definition of MCPhysReg. +#include "llvm/Support/Compiler.h" #include "llvm/Support/MathExtras.h" #ifndef NDEBUG diff --git a/llvm/include/llvm/MCA/Pipeline.h b/llvm/include/llvm/MCA/Pipeline.h index 18032fdfe012c2..484cda3289342e 100644 --- a/llvm/include/llvm/MCA/Pipeline.h +++ b/llvm/include/llvm/MCA/Pipeline.h @@ -16,6 +16,7 @@ #define LLVM_MCA_PIPELINE_H #include "llvm/MCA/Stages/Stage.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/MCA/SourceMgr.h b/llvm/include/llvm/MCA/SourceMgr.h index 16a60d1116ad6b..23682d3820912e 100644 --- a/llvm/include/llvm/MCA/SourceMgr.h +++ b/llvm/include/llvm/MCA/SourceMgr.h @@ -16,6 +16,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/MCA/Instruction.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace mca { diff --git a/llvm/include/llvm/MCA/Stages/DispatchStage.h b/llvm/include/llvm/MCA/Stages/DispatchStage.h index c2b521993c2fb7..7a2cc95c26497a 100644 --- a/llvm/include/llvm/MCA/Stages/DispatchStage.h +++ b/llvm/include/llvm/MCA/Stages/DispatchStage.h @@ -24,6 +24,7 @@ #include "llvm/MCA/HardwareUnits/RetireControlUnit.h" #include "llvm/MCA/Instruction.h" #include "llvm/MCA/Stages/Stage.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace mca { diff --git a/llvm/include/llvm/MCA/Stages/EntryStage.h b/llvm/include/llvm/MCA/Stages/EntryStage.h index fb1244aa1933a6..c157c34c989ebe 100644 --- a/llvm/include/llvm/MCA/Stages/EntryStage.h +++ b/llvm/include/llvm/MCA/Stages/EntryStage.h @@ -19,6 +19,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/MCA/SourceMgr.h" #include "llvm/MCA/Stages/Stage.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace mca { diff --git a/llvm/include/llvm/MCA/Stages/ExecuteStage.h b/llvm/include/llvm/MCA/Stages/ExecuteStage.h index 03a78a8b6b85b1..21c27669ee052e 100644 --- a/llvm/include/llvm/MCA/Stages/ExecuteStage.h +++ b/llvm/include/llvm/MCA/Stages/ExecuteStage.h @@ -21,6 +21,7 @@ #include "llvm/MCA/HardwareUnits/Scheduler.h" #include "llvm/MCA/Instruction.h" #include "llvm/MCA/Stages/Stage.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace mca { diff --git a/llvm/include/llvm/MCA/Stages/InOrderIssueStage.h b/llvm/include/llvm/MCA/Stages/InOrderIssueStage.h index f9286acef9006d..16973c55c6c3ab 100644 --- a/llvm/include/llvm/MCA/Stages/InOrderIssueStage.h +++ b/llvm/include/llvm/MCA/Stages/InOrderIssueStage.h @@ -18,6 +18,7 @@ #include "llvm/MCA/HardwareUnits/ResourceManager.h" #include "llvm/MCA/SourceMgr.h" #include "llvm/MCA/Stages/Stage.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace mca { diff --git a/llvm/include/llvm/MCA/Stages/InstructionTables.h b/llvm/include/llvm/MCA/Stages/InstructionTables.h index 9617fd49db6e05..84861cc0b056fe 100644 --- a/llvm/include/llvm/MCA/Stages/InstructionTables.h +++ b/llvm/include/llvm/MCA/Stages/InstructionTables.h @@ -21,6 +21,7 @@ #include "llvm/MCA/HardwareUnits/Scheduler.h" #include "llvm/MCA/Stages/Stage.h" #include "llvm/MCA/Support.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace mca { diff --git a/llvm/include/llvm/MCA/Stages/MicroOpQueueStage.h b/llvm/include/llvm/MCA/Stages/MicroOpQueueStage.h index d9e3264c5951fb..d4608fe595c886 100644 --- a/llvm/include/llvm/MCA/Stages/MicroOpQueueStage.h +++ b/llvm/include/llvm/MCA/Stages/MicroOpQueueStage.h @@ -18,6 +18,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/MCA/Stages/Stage.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace mca { diff --git a/llvm/include/llvm/MCA/Stages/RetireStage.h b/llvm/include/llvm/MCA/Stages/RetireStage.h index aafe2815df1503..ab6d21e9c4de6e 100644 --- a/llvm/include/llvm/MCA/Stages/RetireStage.h +++ b/llvm/include/llvm/MCA/Stages/RetireStage.h @@ -21,6 +21,7 @@ #include "llvm/MCA/HardwareUnits/RegisterFile.h" #include "llvm/MCA/HardwareUnits/RetireControlUnit.h" #include "llvm/MCA/Stages/Stage.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace mca { diff --git a/llvm/include/llvm/MCA/Stages/Stage.h b/llvm/include/llvm/MCA/Stages/Stage.h index a1fc7a8af7ad69..f869e825b05ab6 100644 --- a/llvm/include/llvm/MCA/Stages/Stage.h +++ b/llvm/include/llvm/MCA/Stages/Stage.h @@ -16,6 +16,7 @@ #define LLVM_MCA_STAGES_STAGE_H #include "llvm/MCA/HWEventListener.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/MCA/Support.h b/llvm/include/llvm/MCA/Support.h index e3c155435e2347..483fc47430b675 100644 --- a/llvm/include/llvm/MCA/Support.h +++ b/llvm/include/llvm/MCA/Support.h @@ -17,6 +17,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/SmallVector.h" #include "llvm/MC/MCSchedule.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/MathExtras.h" diff --git a/llvm/include/llvm/MCA/View.h b/llvm/include/llvm/MCA/View.h index ff8fc1ceb3f141..9bf69f88360015 100644 --- a/llvm/include/llvm/MCA/View.h +++ b/llvm/include/llvm/MCA/View.h @@ -17,6 +17,7 @@ #include "llvm/MC/MCInstPrinter.h" #include "llvm/MCA/HWEventListener.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/JSON.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/ObjCopy/COFF/COFFConfig.h b/llvm/include/llvm/ObjCopy/COFF/COFFConfig.h index d69285d7b5b3c8..533c2f9ce75925 100644 --- a/llvm/include/llvm/ObjCopy/COFF/COFFConfig.h +++ b/llvm/include/llvm/ObjCopy/COFF/COFFConfig.h @@ -9,6 +9,7 @@ #ifndef LLVM_OBJCOPY_COFF_COFFCONFIG_H #define LLVM_OBJCOPY_COFF_COFFCONFIG_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/ObjCopy/COFF/COFFObjcopy.h b/llvm/include/llvm/ObjCopy/COFF/COFFObjcopy.h index d9043d6c5d019c..75ec4fe2f5efd1 100644 --- a/llvm/include/llvm/ObjCopy/COFF/COFFObjcopy.h +++ b/llvm/include/llvm/ObjCopy/COFF/COFFObjcopy.h @@ -9,6 +9,8 @@ #ifndef LLVM_OBJCOPY_COFF_COFFOBJCOPY_H #define LLVM_OBJCOPY_COFF_COFFOBJCOPY_H +#include "llvm/Support/Compiler.h" + namespace llvm { class Error; class raw_ostream; diff --git a/llvm/include/llvm/ObjCopy/CommonConfig.h b/llvm/include/llvm/ObjCopy/CommonConfig.h index e7ce1e6f2c54d7..7f6160040beeec 100644 --- a/llvm/include/llvm/ObjCopy/CommonConfig.h +++ b/llvm/include/llvm/ObjCopy/CommonConfig.h @@ -16,6 +16,7 @@ #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" #include "llvm/Object/ELFTypes.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/GlobPattern.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/Regex.h" diff --git a/llvm/include/llvm/ObjCopy/ConfigManager.h b/llvm/include/llvm/ObjCopy/ConfigManager.h index 2962cf99b270df..9859f3a8723864 100644 --- a/llvm/include/llvm/ObjCopy/ConfigManager.h +++ b/llvm/include/llvm/ObjCopy/ConfigManager.h @@ -16,6 +16,7 @@ #include "llvm/ObjCopy/MultiFormatConfig.h" #include "llvm/ObjCopy/wasm/WasmConfig.h" #include "llvm/ObjCopy/XCOFF/XCOFFConfig.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace objcopy { diff --git a/llvm/include/llvm/ObjCopy/ELF/ELFConfig.h b/llvm/include/llvm/ObjCopy/ELF/ELFConfig.h index 1e98b10919af11..cbaef0268fe58a 100644 --- a/llvm/include/llvm/ObjCopy/ELF/ELFConfig.h +++ b/llvm/include/llvm/ObjCopy/ELF/ELFConfig.h @@ -11,6 +11,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/Object/ELFTypes.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/ObjCopy/ELF/ELFObjcopy.h b/llvm/include/llvm/ObjCopy/ELF/ELFObjcopy.h index 552b6fb655f186..042a7a98cf86be 100644 --- a/llvm/include/llvm/ObjCopy/ELF/ELFObjcopy.h +++ b/llvm/include/llvm/ObjCopy/ELF/ELFObjcopy.h @@ -9,6 +9,8 @@ #ifndef LLVM_OBJCOPY_ELF_ELFOBJCOPY_H #define LLVM_OBJCOPY_ELF_ELFOBJCOPY_H +#include "llvm/Support/Compiler.h" + namespace llvm { class Error; class MemoryBuffer; diff --git a/llvm/include/llvm/ObjCopy/MachO/MachOConfig.h b/llvm/include/llvm/ObjCopy/MachO/MachOConfig.h index 15f9699357f042..ce2671b08fb63d 100644 --- a/llvm/include/llvm/ObjCopy/MachO/MachOConfig.h +++ b/llvm/include/llvm/ObjCopy/MachO/MachOConfig.h @@ -12,6 +12,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/DenseSet.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/ObjCopy/MachO/MachOObjcopy.h b/llvm/include/llvm/ObjCopy/MachO/MachOObjcopy.h index 73690d7ace8a51..1aebb8b6775adc 100644 --- a/llvm/include/llvm/ObjCopy/MachO/MachOObjcopy.h +++ b/llvm/include/llvm/ObjCopy/MachO/MachOObjcopy.h @@ -9,6 +9,8 @@ #ifndef LLVM_OBJCOPY_MACHO_MACHOOBJCOPY_H #define LLVM_OBJCOPY_MACHO_MACHOOBJCOPY_H +#include "llvm/Support/Compiler.h" + namespace llvm { class Error; class raw_ostream; diff --git a/llvm/include/llvm/ObjCopy/MultiFormatConfig.h b/llvm/include/llvm/ObjCopy/MultiFormatConfig.h index 180f2f82a908b8..a8b22847123b00 100644 --- a/llvm/include/llvm/ObjCopy/MultiFormatConfig.h +++ b/llvm/include/llvm/ObjCopy/MultiFormatConfig.h @@ -9,6 +9,7 @@ #ifndef LLVM_OBJCOPY_MULTIFORMATCONFIG_H #define LLVM_OBJCOPY_MULTIFORMATCONFIG_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/ObjCopy/ObjCopy.h b/llvm/include/llvm/ObjCopy/ObjCopy.h index 023814002c7271..d9808b9d99d8b4 100644 --- a/llvm/include/llvm/ObjCopy/ObjCopy.h +++ b/llvm/include/llvm/ObjCopy/ObjCopy.h @@ -9,6 +9,7 @@ #ifndef LLVM_OBJCOPY_OBJCOPY_H #define LLVM_OBJCOPY_OBJCOPY_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/ObjCopy/XCOFF/XCOFFConfig.h b/llvm/include/llvm/ObjCopy/XCOFF/XCOFFConfig.h index adaeedc82b73b4..143a62d9d693fd 100644 --- a/llvm/include/llvm/ObjCopy/XCOFF/XCOFFConfig.h +++ b/llvm/include/llvm/ObjCopy/XCOFF/XCOFFConfig.h @@ -9,6 +9,8 @@ #ifndef LLVM_OBJCOPY_XCOFF_XCOFFCONFIG_H #define LLVM_OBJCOPY_XCOFF_XCOFFCONFIG_H +#include "llvm/Support/Compiler.h" + namespace llvm { namespace objcopy { diff --git a/llvm/include/llvm/ObjCopy/XCOFF/XCOFFObjcopy.h b/llvm/include/llvm/ObjCopy/XCOFF/XCOFFObjcopy.h index 9fc85cb39fa5b0..63501ec297ac6a 100644 --- a/llvm/include/llvm/ObjCopy/XCOFF/XCOFFObjcopy.h +++ b/llvm/include/llvm/ObjCopy/XCOFF/XCOFFObjcopy.h @@ -9,6 +9,8 @@ #ifndef LLVM_OBJCOPY_XCOFF_XCOFFOBJCOPY_H #define LLVM_OBJCOPY_XCOFF_XCOFFOBJCOPY_H +#include "llvm/Support/Compiler.h" + namespace llvm { class Error; class raw_ostream; diff --git a/llvm/include/llvm/ObjCopy/wasm/WasmConfig.h b/llvm/include/llvm/ObjCopy/wasm/WasmConfig.h index 56a7055da9a77e..fdb767002f67cf 100644 --- a/llvm/include/llvm/ObjCopy/wasm/WasmConfig.h +++ b/llvm/include/llvm/ObjCopy/wasm/WasmConfig.h @@ -9,6 +9,8 @@ #ifndef LLVM_OBJCOPY_WASM_WASMCONFIG_H #define LLVM_OBJCOPY_WASM_WASMCONFIG_H +#include "llvm/Support/Compiler.h" + namespace llvm { namespace objcopy { diff --git a/llvm/include/llvm/ObjCopy/wasm/WasmObjcopy.h b/llvm/include/llvm/ObjCopy/wasm/WasmObjcopy.h index 5b4181c22b9798..526ed0c3c13f50 100644 --- a/llvm/include/llvm/ObjCopy/wasm/WasmObjcopy.h +++ b/llvm/include/llvm/ObjCopy/wasm/WasmObjcopy.h @@ -9,6 +9,8 @@ #ifndef LLVM_OBJCOPY_WASM_WASMOBJCOPY_H #define LLVM_OBJCOPY_WASM_WASMOBJCOPY_H +#include "llvm/Support/Compiler.h" + namespace llvm { class Error; class raw_ostream; diff --git a/llvm/include/llvm/Object/Archive.h b/llvm/include/llvm/Object/Archive.h index 3dd99a46507a24..30c2a3ee5967a6 100644 --- a/llvm/include/llvm/Object/Archive.h +++ b/llvm/include/llvm/Object/Archive.h @@ -18,6 +18,7 @@ #include "llvm/ADT/iterator_range.h" #include "llvm/Object/Binary.h" #include "llvm/Support/Chrono.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/MemoryBuffer.h" diff --git a/llvm/include/llvm/Object/ArchiveWriter.h b/llvm/include/llvm/Object/ArchiveWriter.h index 7f915929cd7219..5786665908b533 100644 --- a/llvm/include/llvm/Object/ArchiveWriter.h +++ b/llvm/include/llvm/Object/ArchiveWriter.h @@ -14,6 +14,7 @@ #define LLVM_OBJECT_ARCHIVEWRITER_H #include "llvm/Object/Archive.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Object/Binary.h b/llvm/include/llvm/Object/Binary.h index ce870e25acafe0..9a1566c8d0e401 100644 --- a/llvm/include/llvm/Object/Binary.h +++ b/llvm/include/llvm/Object/Binary.h @@ -16,6 +16,7 @@ #include "llvm-c/Types.h" #include "llvm/Object/Error.h" #include "llvm/Support/CBindingWrapping.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/TargetParser/Triple.h" diff --git a/llvm/include/llvm/Object/BuildID.h b/llvm/include/llvm/Object/BuildID.h index b20f32b4d133ea..9cbc3527cd8b97 100644 --- a/llvm/include/llvm/Object/BuildID.h +++ b/llvm/include/llvm/Object/BuildID.h @@ -17,6 +17,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace object { diff --git a/llvm/include/llvm/Object/COFF.h b/llvm/include/llvm/Object/COFF.h index a548b2c15c5fdc..d3d9b5f9051d7b 100644 --- a/llvm/include/llvm/Object/COFF.h +++ b/llvm/include/llvm/Object/COFF.h @@ -20,6 +20,7 @@ #include "llvm/Object/Error.h" #include "llvm/Object/ObjectFile.h" #include "llvm/Support/BinaryByteStream.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ConvertUTF.h" #include "llvm/Support/Endian.h" #include "llvm/Support/ErrorHandling.h" diff --git a/llvm/include/llvm/Object/COFFImportFile.h b/llvm/include/llvm/Object/COFFImportFile.h index 0fb65fabdbcad5..34f0d56cbb9382 100644 --- a/llvm/include/llvm/Object/COFFImportFile.h +++ b/llvm/include/llvm/Object/COFFImportFile.h @@ -20,6 +20,7 @@ #include "llvm/Object/COFF.h" #include "llvm/Object/ObjectFile.h" #include "llvm/Object/SymbolicFile.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MemoryBufferRef.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/Object/COFFModuleDefinition.h b/llvm/include/llvm/Object/COFFModuleDefinition.h index a4ed9978dcc0a2..e8c5114f2ac11d 100644 --- a/llvm/include/llvm/Object/COFFModuleDefinition.h +++ b/llvm/include/llvm/Object/COFFModuleDefinition.h @@ -20,6 +20,7 @@ #include "llvm/BinaryFormat/COFF.h" #include "llvm/Object/COFFImportFile.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace object { diff --git a/llvm/include/llvm/Object/CVDebugRecord.h b/llvm/include/llvm/Object/CVDebugRecord.h index d41c7391f70199..7db7b778f4431c 100644 --- a/llvm/include/llvm/Object/CVDebugRecord.h +++ b/llvm/include/llvm/Object/CVDebugRecord.h @@ -10,6 +10,7 @@ #define LLVM_OBJECT_CVDEBUGRECORD_H #include "llvm/Support/Endian.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace OMF { diff --git a/llvm/include/llvm/Object/DXContainer.h b/llvm/include/llvm/Object/DXContainer.h index a7f18c79969803..c2184ca0b536e5 100644 --- a/llvm/include/llvm/Object/DXContainer.h +++ b/llvm/include/llvm/Object/DXContainer.h @@ -20,6 +20,7 @@ #include "llvm/BinaryFormat/DXContainer.h" #include "llvm/Support/Error.h" #include "llvm/Support/MemoryBufferRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/TargetParser/Triple.h" #include #include diff --git a/llvm/include/llvm/Object/Decompressor.h b/llvm/include/llvm/Object/Decompressor.h index d361b3fba81da1..a51fa8691635b8 100644 --- a/llvm/include/llvm/Object/Decompressor.h +++ b/llvm/include/llvm/Object/Decompressor.h @@ -11,6 +11,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Compression.h" #include "llvm/Support/Error.h" diff --git a/llvm/include/llvm/Object/ELF.h b/llvm/include/llvm/Object/ELF.h index 927deeea2cd6ae..d92faf1c90a92f 100644 --- a/llvm/include/llvm/Object/ELF.h +++ b/llvm/include/llvm/Object/ELF.h @@ -21,6 +21,7 @@ #include "llvm/BinaryFormat/ELF.h" #include "llvm/Object/ELFTypes.h" #include "llvm/Object/Error.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/Object/ELFObjectFile.h b/llvm/include/llvm/Object/ELFObjectFile.h index 8e16fc148a3c78..7ba97a6dac03a6 100644 --- a/llvm/include/llvm/Object/ELFObjectFile.h +++ b/llvm/include/llvm/Object/ELFObjectFile.h @@ -25,6 +25,7 @@ #include "llvm/Object/ObjectFile.h" #include "llvm/Object/SymbolicFile.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ELFAttributeParser.h" #include "llvm/Support/ELFAttributes.h" #include "llvm/Support/Error.h" diff --git a/llvm/include/llvm/Object/ELFTypes.h b/llvm/include/llvm/Object/ELFTypes.h index 45fc52288bdd4c..2120422911ea6a 100644 --- a/llvm/include/llvm/Object/ELFTypes.h +++ b/llvm/include/llvm/Object/ELFTypes.h @@ -13,6 +13,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/BinaryFormat/ELF.h" #include "llvm/Object/Error.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include "llvm/Support/MathExtras.h" diff --git a/llvm/include/llvm/Object/Error.h b/llvm/include/llvm/Object/Error.h index 8875fb6e1a2086..d76df0494b22f6 100644 --- a/llvm/include/llvm/Object/Error.h +++ b/llvm/include/llvm/Object/Error.h @@ -13,6 +13,7 @@ #ifndef LLVM_OBJECT_ERROR_H #define LLVM_OBJECT_ERROR_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/Object/FaultMapParser.h b/llvm/include/llvm/Object/FaultMapParser.h index 028d3900d94525..1bfc663f4bc6b2 100644 --- a/llvm/include/llvm/Object/FaultMapParser.h +++ b/llvm/include/llvm/Object/FaultMapParser.h @@ -9,6 +9,7 @@ #ifndef LLVM_OBJECT_FAULTMAPPARSER_H #define LLVM_OBJECT_FAULTMAPPARSER_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include #include diff --git a/llvm/include/llvm/Object/GOFF.h b/llvm/include/llvm/Object/GOFF.h index 91762457ae0563..111bba31a753ff 100644 --- a/llvm/include/llvm/Object/GOFF.h +++ b/llvm/include/llvm/Object/GOFF.h @@ -17,6 +17,7 @@ #include "llvm/ADT/SmallString.h" #include "llvm/ADT/SmallVector.h" #include "llvm/BinaryFormat/GOFF.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include "llvm/Support/Endian.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/Object/GOFFObjectFile.h b/llvm/include/llvm/Object/GOFFObjectFile.h index 7e1ceb95f66723..2a4e585b776384 100644 --- a/llvm/include/llvm/Object/GOFFObjectFile.h +++ b/llvm/include/llvm/Object/GOFFObjectFile.h @@ -18,6 +18,7 @@ #include "llvm/ADT/IndexedMap.h" #include "llvm/BinaryFormat/GOFF.h" #include "llvm/Object/ObjectFile.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ConvertEBCDIC.h" #include "llvm/Support/Debug.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/Object/IRObjectFile.h b/llvm/include/llvm/Object/IRObjectFile.h index 55d910fe970e83..d0e339192df11f 100644 --- a/llvm/include/llvm/Object/IRObjectFile.h +++ b/llvm/include/llvm/Object/IRObjectFile.h @@ -17,6 +17,7 @@ #include "llvm/Object/IRSymtab.h" #include "llvm/Object/ModuleSymbolTable.h" #include "llvm/Object/SymbolicFile.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Module; diff --git a/llvm/include/llvm/Object/IRSymtab.h b/llvm/include/llvm/Object/IRSymtab.h index 72a51ffa1022de..0b7a2fccb2d0d4 100644 --- a/llvm/include/llvm/Object/IRSymtab.h +++ b/llvm/include/llvm/Object/IRSymtab.h @@ -30,6 +30,7 @@ #include "llvm/IR/GlobalValue.h" #include "llvm/Object/SymbolicFile.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/Object/MachO.h b/llvm/include/llvm/Object/MachO.h index f91f21d837ce7b..bed1b29ec3bf4a 100644 --- a/llvm/include/llvm/Object/MachO.h +++ b/llvm/include/llvm/Object/MachO.h @@ -25,6 +25,7 @@ #include "llvm/Object/Binary.h" #include "llvm/Object/ObjectFile.h" #include "llvm/Object/SymbolicFile.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/Format.h" #include "llvm/Support/MemoryBuffer.h" diff --git a/llvm/include/llvm/Object/MachOUniversal.h b/llvm/include/llvm/Object/MachOUniversal.h index 5e3a63e05dbf4c..e94c7d56f953f6 100644 --- a/llvm/include/llvm/Object/MachOUniversal.h +++ b/llvm/include/llvm/Object/MachOUniversal.h @@ -17,6 +17,7 @@ #include "llvm/BinaryFormat/MachO.h" #include "llvm/Object/Binary.h" #include "llvm/Object/MachO.h" +#include "llvm/Support/Compiler.h" #include "llvm/TargetParser/Triple.h" namespace llvm { diff --git a/llvm/include/llvm/Object/MachOUniversalWriter.h b/llvm/include/llvm/Object/MachOUniversalWriter.h index f910ca0cf968de..66366cab6038e4 100644 --- a/llvm/include/llvm/Object/MachOUniversalWriter.h +++ b/llvm/include/llvm/Object/MachOUniversalWriter.h @@ -18,6 +18,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/ADT/Twine.h" #include "llvm/BinaryFormat/MachO.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/Object/Minidump.h b/llvm/include/llvm/Object/Minidump.h index e45d4de0090def..71338087ff3540 100644 --- a/llvm/include/llvm/Object/Minidump.h +++ b/llvm/include/llvm/Object/Minidump.h @@ -14,6 +14,7 @@ #include "llvm/ADT/iterator.h" #include "llvm/BinaryFormat/Minidump.h" #include "llvm/Object/Binary.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/Object/ModuleSymbolTable.h b/llvm/include/llvm/Object/ModuleSymbolTable.h index 1134b98c2247e2..b84de8e02d1153 100644 --- a/llvm/include/llvm/Object/ModuleSymbolTable.h +++ b/llvm/include/llvm/Object/ModuleSymbolTable.h @@ -20,6 +20,7 @@ #include "llvm/IR/Mangler.h" #include "llvm/Object/SymbolicFile.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Object/ObjectFile.h b/llvm/include/llvm/Object/ObjectFile.h index c254fc2ccfde5d..9934db8cc60ddd 100644 --- a/llvm/include/llvm/Object/ObjectFile.h +++ b/llvm/include/llvm/Object/ObjectFile.h @@ -23,6 +23,7 @@ #include "llvm/Object/Error.h" #include "llvm/Object/SymbolicFile.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/MemoryBufferRef.h" #include "llvm/TargetParser/Triple.h" diff --git a/llvm/include/llvm/Object/OffloadBinary.h b/llvm/include/llvm/Object/OffloadBinary.h index dda1e7f1eafbba..e4a48d5b0f2469 100644 --- a/llvm/include/llvm/Object/OffloadBinary.h +++ b/llvm/include/llvm/Object/OffloadBinary.h @@ -21,6 +21,7 @@ #include "llvm/ADT/SmallString.h" #include "llvm/ADT/StringRef.h" #include "llvm/Object/Binary.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/MemoryBuffer.h" #include diff --git a/llvm/include/llvm/Object/RelocationResolver.h b/llvm/include/llvm/Object/RelocationResolver.h index 2acdf5ed2fe1a1..f5262137ae0801 100644 --- a/llvm/include/llvm/Object/RelocationResolver.h +++ b/llvm/include/llvm/Object/RelocationResolver.h @@ -15,6 +15,7 @@ #ifndef LLVM_OBJECT_RELOCATIONRESOLVER_H #define LLVM_OBJECT_RELOCATIONRESOLVER_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Object/SymbolSize.h b/llvm/include/llvm/Object/SymbolSize.h index 085623e35907d5..6c372ddcfdeeca 100644 --- a/llvm/include/llvm/Object/SymbolSize.h +++ b/llvm/include/llvm/Object/SymbolSize.h @@ -11,6 +11,7 @@ #define LLVM_OBJECT_SYMBOLSIZE_H #include "llvm/Object/ObjectFile.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace object { diff --git a/llvm/include/llvm/Object/SymbolicFile.h b/llvm/include/llvm/Object/SymbolicFile.h index b13588c147d9b2..8877019b950bd6 100644 --- a/llvm/include/llvm/Object/SymbolicFile.h +++ b/llvm/include/llvm/Object/SymbolicFile.h @@ -16,6 +16,7 @@ #include "llvm/ADT/iterator_range.h" #include "llvm/BinaryFormat/Magic.h" #include "llvm/Object/Binary.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/Format.h" #include "llvm/Support/MemoryBufferRef.h" diff --git a/llvm/include/llvm/Object/TapiFile.h b/llvm/include/llvm/Object/TapiFile.h index c1de6608bb624c..f252d15beb0c3f 100644 --- a/llvm/include/llvm/Object/TapiFile.h +++ b/llvm/include/llvm/Object/TapiFile.h @@ -17,6 +17,7 @@ #include "llvm/Object/Binary.h" #include "llvm/Object/ObjectFile.h" #include "llvm/Object/SymbolicFile.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/MemoryBufferRef.h" #include "llvm/TextAPI/Architecture.h" diff --git a/llvm/include/llvm/Object/TapiUniversal.h b/llvm/include/llvm/Object/TapiUniversal.h index fff66c28c1a414..b5a3d5d748e741 100644 --- a/llvm/include/llvm/Object/TapiUniversal.h +++ b/llvm/include/llvm/Object/TapiUniversal.h @@ -15,6 +15,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/Object/Binary.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/MemoryBufferRef.h" #include "llvm/TextAPI/Architecture.h" diff --git a/llvm/include/llvm/Object/Wasm.h b/llvm/include/llvm/Object/Wasm.h index dfab4c68d18f12..07c2482a91a7c3 100644 --- a/llvm/include/llvm/Object/Wasm.h +++ b/llvm/include/llvm/Object/Wasm.h @@ -23,6 +23,7 @@ #include "llvm/MC/MCSymbolWasm.h" #include "llvm/Object/Binary.h" #include "llvm/Object/ObjectFile.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/MemoryBuffer.h" #include diff --git a/llvm/include/llvm/Object/WindowsMachineFlag.h b/llvm/include/llvm/Object/WindowsMachineFlag.h index 05b8f0d52d3fdc..443c73381c559b 100644 --- a/llvm/include/llvm/Object/WindowsMachineFlag.h +++ b/llvm/include/llvm/Object/WindowsMachineFlag.h @@ -13,6 +13,8 @@ #ifndef LLVM_OBJECT_WINDOWSMACHINEFLAG_H #define LLVM_OBJECT_WINDOWSMACHINEFLAG_H +#include "llvm/Support/Compiler.h" + namespace llvm { class StringRef; diff --git a/llvm/include/llvm/Object/WindowsResource.h b/llvm/include/llvm/Object/WindowsResource.h index ec390a4814cca3..c229260bc857a5 100644 --- a/llvm/include/llvm/Object/WindowsResource.h +++ b/llvm/include/llvm/Object/WindowsResource.h @@ -34,6 +34,7 @@ #include "llvm/Object/Error.h" #include "llvm/Support/BinaryByteStream.h" #include "llvm/Support/BinaryStreamReader.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ConvertUTF.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" diff --git a/llvm/include/llvm/Object/XCOFFObjectFile.h b/llvm/include/llvm/Object/XCOFFObjectFile.h index 63064abb4d3c32..519339f528635a 100644 --- a/llvm/include/llvm/Object/XCOFFObjectFile.h +++ b/llvm/include/llvm/Object/XCOFFObjectFile.h @@ -18,6 +18,7 @@ #include "llvm/ADT/iterator_range.h" #include "llvm/BinaryFormat/XCOFF.h" #include "llvm/Object/ObjectFile.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include diff --git a/llvm/include/llvm/ObjectYAML/ArchiveYAML.h b/llvm/include/llvm/ObjectYAML/ArchiveYAML.h index c83c7ee56f1f9a..542e32be0fb231 100644 --- a/llvm/include/llvm/ObjectYAML/ArchiveYAML.h +++ b/llvm/include/llvm/ObjectYAML/ArchiveYAML.h @@ -14,6 +14,7 @@ #ifndef LLVM_OBJECTYAML_ARCHIVEYAML_H #define LLVM_OBJECTYAML_ARCHIVEYAML_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/YAMLTraits.h" #include "llvm/ObjectYAML/YAML.h" #include "llvm/ADT/MapVector.h" diff --git a/llvm/include/llvm/ObjectYAML/COFFYAML.h b/llvm/include/llvm/ObjectYAML/COFFYAML.h index 2f9a1aae0eb05a..827b36f5d04d4b 100644 --- a/llvm/include/llvm/ObjectYAML/COFFYAML.h +++ b/llvm/include/llvm/ObjectYAML/COFFYAML.h @@ -20,6 +20,7 @@ #include "llvm/ObjectYAML/CodeViewYAMLTypeHashing.h" #include "llvm/ObjectYAML/CodeViewYAMLTypes.h" #include "llvm/ObjectYAML/YAML.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/ObjectYAML/CodeViewYAMLDebugSections.h b/llvm/include/llvm/ObjectYAML/CodeViewYAMLDebugSections.h index 6c712956dfb5d6..a3c7d76f3cfb60 100644 --- a/llvm/include/llvm/ObjectYAML/CodeViewYAMLDebugSections.h +++ b/llvm/include/llvm/ObjectYAML/CodeViewYAMLDebugSections.h @@ -19,6 +19,7 @@ #include "llvm/DebugInfo/CodeView/CodeView.h" #include "llvm/DebugInfo/CodeView/DebugSubsection.h" #include "llvm/DebugInfo/CodeView/DebugSubsectionRecord.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/YAMLTraits.h" #include diff --git a/llvm/include/llvm/ObjectYAML/CodeViewYAMLSymbols.h b/llvm/include/llvm/ObjectYAML/CodeViewYAMLSymbols.h index 7c05c9eea05edf..b66629a9e1d1d3 100644 --- a/llvm/include/llvm/ObjectYAML/CodeViewYAMLSymbols.h +++ b/llvm/include/llvm/ObjectYAML/CodeViewYAMLSymbols.h @@ -16,6 +16,7 @@ #include "llvm/DebugInfo/CodeView/CodeView.h" #include "llvm/DebugInfo/CodeView/SymbolRecord.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/YAMLTraits.h" #include diff --git a/llvm/include/llvm/ObjectYAML/CodeViewYAMLTypeHashing.h b/llvm/include/llvm/ObjectYAML/CodeViewYAMLTypeHashing.h index 25ba27c7c7a228..14d956b59f2de0 100644 --- a/llvm/include/llvm/ObjectYAML/CodeViewYAMLTypeHashing.h +++ b/llvm/include/llvm/ObjectYAML/CodeViewYAMLTypeHashing.h @@ -18,6 +18,7 @@ #include "llvm/DebugInfo/CodeView/TypeHashing.h" #include "llvm/ObjectYAML/YAML.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/YAMLTraits.h" #include diff --git a/llvm/include/llvm/ObjectYAML/CodeViewYAMLTypes.h b/llvm/include/llvm/ObjectYAML/CodeViewYAMLTypes.h index 04b5e0ba3aa1a0..822bb42cf74d24 100644 --- a/llvm/include/llvm/ObjectYAML/CodeViewYAMLTypes.h +++ b/llvm/include/llvm/ObjectYAML/CodeViewYAMLTypes.h @@ -17,6 +17,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/DebugInfo/CodeView/TypeRecord.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/YAMLTraits.h" #include diff --git a/llvm/include/llvm/ObjectYAML/DWARFEmitter.h b/llvm/include/llvm/ObjectYAML/DWARFEmitter.h index ee421b2efc72bc..e7dd82f6663f05 100644 --- a/llvm/include/llvm/ObjectYAML/DWARFEmitter.h +++ b/llvm/include/llvm/ObjectYAML/DWARFEmitter.h @@ -14,6 +14,7 @@ #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/TargetParser/Host.h" diff --git a/llvm/include/llvm/ObjectYAML/DWARFYAML.h b/llvm/include/llvm/ObjectYAML/DWARFYAML.h index a70ddf3a180a2d..5f0d2cd0454c59 100644 --- a/llvm/include/llvm/ObjectYAML/DWARFYAML.h +++ b/llvm/include/llvm/ObjectYAML/DWARFYAML.h @@ -19,6 +19,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/BinaryFormat/Dwarf.h" #include "llvm/ObjectYAML/YAML.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/YAMLTraits.h" #include #include diff --git a/llvm/include/llvm/ObjectYAML/DXContainerYAML.h b/llvm/include/llvm/ObjectYAML/DXContainerYAML.h index 66a6ac70bbea10..eb5c5f62df1e03 100644 --- a/llvm/include/llvm/ObjectYAML/DXContainerYAML.h +++ b/llvm/include/llvm/ObjectYAML/DXContainerYAML.h @@ -18,6 +18,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/BinaryFormat/DXContainer.h" #include "llvm/ObjectYAML/YAML.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/YAMLTraits.h" #include #include diff --git a/llvm/include/llvm/ObjectYAML/ELFYAML.h b/llvm/include/llvm/ObjectYAML/ELFYAML.h index 1ba41232f552e3..5396ef461adf7a 100644 --- a/llvm/include/llvm/ObjectYAML/ELFYAML.h +++ b/llvm/include/llvm/ObjectYAML/ELFYAML.h @@ -20,6 +20,7 @@ #include "llvm/Object/ELFTypes.h" #include "llvm/ObjectYAML/DWARFYAML.h" #include "llvm/ObjectYAML/YAML.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/YAMLTraits.h" #include #include diff --git a/llvm/include/llvm/ObjectYAML/MachOYAML.h b/llvm/include/llvm/ObjectYAML/MachOYAML.h index ccb81f5702d0e3..b29d46c61c4a18 100644 --- a/llvm/include/llvm/ObjectYAML/MachOYAML.h +++ b/llvm/include/llvm/ObjectYAML/MachOYAML.h @@ -19,6 +19,7 @@ #include "llvm/BinaryFormat/MachO.h" #include "llvm/ObjectYAML/DWARFYAML.h" #include "llvm/ObjectYAML/YAML.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/YAMLTraits.h" #include #include diff --git a/llvm/include/llvm/ObjectYAML/MinidumpYAML.h b/llvm/include/llvm/ObjectYAML/MinidumpYAML.h index b0cee541cef206..0621edecaff611 100644 --- a/llvm/include/llvm/ObjectYAML/MinidumpYAML.h +++ b/llvm/include/llvm/ObjectYAML/MinidumpYAML.h @@ -12,6 +12,7 @@ #include "llvm/BinaryFormat/Minidump.h" #include "llvm/Object/Minidump.h" #include "llvm/ObjectYAML/YAML.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/YAMLTraits.h" namespace llvm { diff --git a/llvm/include/llvm/ObjectYAML/ObjectYAML.h b/llvm/include/llvm/ObjectYAML/ObjectYAML.h index b63607e6796b0b..e9fa5a4d399587 100644 --- a/llvm/include/llvm/ObjectYAML/ObjectYAML.h +++ b/llvm/include/llvm/ObjectYAML/ObjectYAML.h @@ -18,6 +18,7 @@ #include "llvm/ObjectYAML/OffloadYAML.h" #include "llvm/ObjectYAML/WasmYAML.h" #include "llvm/ObjectYAML/XCOFFYAML.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/YAMLTraits.h" #include diff --git a/llvm/include/llvm/ObjectYAML/OffloadYAML.h b/llvm/include/llvm/ObjectYAML/OffloadYAML.h index 95d64c6eca184a..79dee0763c40e0 100644 --- a/llvm/include/llvm/ObjectYAML/OffloadYAML.h +++ b/llvm/include/llvm/ObjectYAML/OffloadYAML.h @@ -18,6 +18,7 @@ #include "llvm/ADT/MapVector.h" #include "llvm/Object/OffloadBinary.h" #include "llvm/ObjectYAML/YAML.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/YAMLTraits.h" #include diff --git a/llvm/include/llvm/ObjectYAML/WasmYAML.h b/llvm/include/llvm/ObjectYAML/WasmYAML.h index 94ecc2fcfdb536..2db8b82077da82 100644 --- a/llvm/include/llvm/ObjectYAML/WasmYAML.h +++ b/llvm/include/llvm/ObjectYAML/WasmYAML.h @@ -19,6 +19,7 @@ #include "llvm/BinaryFormat/Wasm.h" #include "llvm/ObjectYAML/YAML.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/ObjectYAML/XCOFFYAML.h b/llvm/include/llvm/ObjectYAML/XCOFFYAML.h index f1e821fe5fa369..0ba0fb3a19223f 100644 --- a/llvm/include/llvm/ObjectYAML/XCOFFYAML.h +++ b/llvm/include/llvm/ObjectYAML/XCOFFYAML.h @@ -14,6 +14,7 @@ #include "llvm/BinaryFormat/XCOFF.h" #include "llvm/ObjectYAML/YAML.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/ObjectYAML/YAML.h b/llvm/include/llvm/ObjectYAML/YAML.h index 3bf6527a7e2da6..4b3afabd7edf01 100644 --- a/llvm/include/llvm/ObjectYAML/YAML.h +++ b/llvm/include/llvm/ObjectYAML/YAML.h @@ -11,6 +11,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/YAMLTraits.h" #include diff --git a/llvm/include/llvm/ObjectYAML/yaml2obj.h b/llvm/include/llvm/ObjectYAML/yaml2obj.h index 000da077bb18c6..3aabd748bfb55c 100644 --- a/llvm/include/llvm/ObjectYAML/yaml2obj.h +++ b/llvm/include/llvm/ObjectYAML/yaml2obj.h @@ -12,6 +12,7 @@ #define LLVM_OBJECTYAML_YAML2OBJ_H #include "llvm/ADT/STLExtras.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Option/Arg.h b/llvm/include/llvm/Option/Arg.h index 5a718438bf4a3e..b9f52ed23a2482 100644 --- a/llvm/include/llvm/Option/Arg.h +++ b/llvm/include/llvm/Option/Arg.h @@ -17,6 +17,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" #include "llvm/Option/Option.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Option/ArgList.h b/llvm/include/llvm/Option/ArgList.h index fcde68e0b7fe8f..e790122bbefc2a 100644 --- a/llvm/include/llvm/Option/ArgList.h +++ b/llvm/include/llvm/Option/ArgList.h @@ -19,6 +19,7 @@ #include "llvm/Option/Arg.h" #include "llvm/Option/OptSpecifier.h" #include "llvm/Option/Option.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Option/OptSpecifier.h b/llvm/include/llvm/Option/OptSpecifier.h index 7a5fcfb18b3886..8bcb02298e99a9 100644 --- a/llvm/include/llvm/Option/OptSpecifier.h +++ b/llvm/include/llvm/Option/OptSpecifier.h @@ -9,6 +9,8 @@ #ifndef LLVM_OPTION_OPTSPECIFIER_H #define LLVM_OPTION_OPTSPECIFIER_H +#include "llvm/Support/Compiler.h" + namespace llvm { namespace opt { diff --git a/llvm/include/llvm/Option/OptTable.h b/llvm/include/llvm/Option/OptTable.h index bb3b665a16319f..6c2d37b29136d6 100644 --- a/llvm/include/llvm/Option/OptTable.h +++ b/llvm/include/llvm/Option/OptTable.h @@ -13,6 +13,7 @@ #include "llvm/ADT/SmallString.h" #include "llvm/ADT/StringRef.h" #include "llvm/Option/OptSpecifier.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/StringSaver.h" #include #include diff --git a/llvm/include/llvm/Option/Option.h b/llvm/include/llvm/Option/Option.h index 4afd707d1475e7..b48d17b08b7c59 100644 --- a/llvm/include/llvm/Option/Option.h +++ b/llvm/include/llvm/Option/Option.h @@ -13,6 +13,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/Option/OptSpecifier.h" #include "llvm/Option/OptTable.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include #include diff --git a/llvm/include/llvm/Pass.h b/llvm/include/llvm/Pass.h index 44b6dd95cc278c..71ac3e1c864b78 100644 --- a/llvm/include/llvm/Pass.h +++ b/llvm/include/llvm/Pass.h @@ -28,6 +28,7 @@ #ifndef LLVM_PASS_H #define LLVM_PASS_H +#include "llvm/Support/Compiler.h" #ifdef EXPENSIVE_CHECKS #include #endif diff --git a/llvm/include/llvm/PassAnalysisSupport.h b/llvm/include/llvm/PassAnalysisSupport.h index 4bed3cb55a901c..cdf2bcd6f389de 100644 --- a/llvm/include/llvm/PassAnalysisSupport.h +++ b/llvm/include/llvm/PassAnalysisSupport.h @@ -24,6 +24,7 @@ #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/PassInfo.h b/llvm/include/llvm/PassInfo.h index 686fc044ebcb33..4ecd5d9f05481e 100644 --- a/llvm/include/llvm/PassInfo.h +++ b/llvm/include/llvm/PassInfo.h @@ -14,6 +14,7 @@ #define LLVM_PASSINFO_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/PassRegistry.h b/llvm/include/llvm/PassRegistry.h index 5d7f3a84a6be74..82b3346600f574 100644 --- a/llvm/include/llvm/PassRegistry.h +++ b/llvm/include/llvm/PassRegistry.h @@ -19,6 +19,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/RWMutex.h" #include #include diff --git a/llvm/include/llvm/PassSupport.h b/llvm/include/llvm/PassSupport.h index 774ece89bf01e2..99785a0c593f9a 100644 --- a/llvm/include/llvm/PassSupport.h +++ b/llvm/include/llvm/PassSupport.h @@ -27,6 +27,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/PassInfo.h" #include "llvm/PassRegistry.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/Threading.h" #include diff --git a/llvm/include/llvm/Passes/OptimizationLevel.h b/llvm/include/llvm/Passes/OptimizationLevel.h index d2c3fde4935fb0..544f99ba63de05 100644 --- a/llvm/include/llvm/Passes/OptimizationLevel.h +++ b/llvm/include/llvm/Passes/OptimizationLevel.h @@ -15,6 +15,7 @@ #ifndef LLVM_PASSES_OPTIMIZATIONLEVEL_H #define LLVM_PASSES_OPTIMIZATIONLEVEL_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Passes/PassBuilder.h b/llvm/include/llvm/Passes/PassBuilder.h index 23bc891a8f1e97..8ac0a4af5db155 100644 --- a/llvm/include/llvm/Passes/PassBuilder.h +++ b/llvm/include/llvm/Passes/PassBuilder.h @@ -18,6 +18,7 @@ #include "llvm/Analysis/CGSCCPassManager.h" #include "llvm/IR/PassManager.h" #include "llvm/Passes/OptimizationLevel.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/PGOOptions.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/Passes/StandardInstrumentations.h b/llvm/include/llvm/Passes/StandardInstrumentations.h index 2ec36cad244fd2..3f26bd6e146582 100644 --- a/llvm/include/llvm/Passes/StandardInstrumentations.h +++ b/llvm/include/llvm/Passes/StandardInstrumentations.h @@ -23,6 +23,7 @@ #include "llvm/IR/PassTimingInfo.h" #include "llvm/IR/ValueHandle.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/TimeProfiler.h" #include "llvm/Transforms/IPO/SampleProfileProbe.h" diff --git a/llvm/include/llvm/ProfileData/Coverage/CoverageMappingReader.h b/llvm/include/llvm/ProfileData/Coverage/CoverageMappingReader.h index 346ca4ad2eb314..c680330b05f4ce 100644 --- a/llvm/include/llvm/ProfileData/Coverage/CoverageMappingReader.h +++ b/llvm/include/llvm/ProfileData/Coverage/CoverageMappingReader.h @@ -18,6 +18,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/ProfileData/Coverage/CoverageMapping.h" #include "llvm/ProfileData/InstrProf.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/MemoryBuffer.h" #include diff --git a/llvm/include/llvm/ProfileData/Coverage/CoverageMappingWriter.h b/llvm/include/llvm/ProfileData/Coverage/CoverageMappingWriter.h index 02848deaba9db1..628b758dd98ffe 100644 --- a/llvm/include/llvm/ProfileData/Coverage/CoverageMappingWriter.h +++ b/llvm/include/llvm/ProfileData/Coverage/CoverageMappingWriter.h @@ -17,6 +17,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" #include "llvm/ProfileData/Coverage/CoverageMapping.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/ProfileData/GCOV.h b/llvm/include/llvm/ProfileData/GCOV.h index c8af71dbf61ef1..44d522b3e6ab87 100644 --- a/llvm/include/llvm/ProfileData/GCOV.h +++ b/llvm/include/llvm/ProfileData/GCOV.h @@ -21,6 +21,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/ADT/iterator.h" #include "llvm/ADT/iterator_range.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataExtractor.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/ProfileData/InstrProfCorrelator.h b/llvm/include/llvm/ProfileData/InstrProfCorrelator.h index a3a0805a294a20..a112a3aca75395 100644 --- a/llvm/include/llvm/ProfileData/InstrProfCorrelator.h +++ b/llvm/include/llvm/ProfileData/InstrProfCorrelator.h @@ -14,6 +14,7 @@ #include "llvm/ADT/DenseSet.h" #include "llvm/ProfileData/InstrProf.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/YAMLTraits.h" diff --git a/llvm/include/llvm/ProfileData/InstrProfReader.h b/llvm/include/llvm/ProfileData/InstrProfReader.h index 4bbdda25e27a2b..e35fa9aa673a1e 100644 --- a/llvm/include/llvm/ProfileData/InstrProfReader.h +++ b/llvm/include/llvm/ProfileData/InstrProfReader.h @@ -21,6 +21,7 @@ #include "llvm/ProfileData/InstrProf.h" #include "llvm/ProfileData/InstrProfCorrelator.h" #include "llvm/ProfileData/MemProf.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include "llvm/Support/LineIterator.h" diff --git a/llvm/include/llvm/ProfileData/InstrProfWriter.h b/llvm/include/llvm/ProfileData/InstrProfWriter.h index 047b14f223bd94..c5fbdd3feac8dc 100644 --- a/llvm/include/llvm/ProfileData/InstrProfWriter.h +++ b/llvm/include/llvm/ProfileData/InstrProfWriter.h @@ -21,6 +21,7 @@ #include "llvm/Object/BuildID.h" #include "llvm/ProfileData/InstrProf.h" #include "llvm/ProfileData/MemProf.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/ProfileData/ItaniumManglingCanonicalizer.h b/llvm/include/llvm/ProfileData/ItaniumManglingCanonicalizer.h index e634f9c223e164..25951537e1d059 100644 --- a/llvm/include/llvm/ProfileData/ItaniumManglingCanonicalizer.h +++ b/llvm/include/llvm/ProfileData/ItaniumManglingCanonicalizer.h @@ -14,6 +14,7 @@ #ifndef LLVM_PROFILEDATA_ITANIUMMANGLINGCANONICALIZER_H #define LLVM_PROFILEDATA_ITANIUMMANGLINGCANONICALIZER_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/ProfileData/MemProf.h b/llvm/include/llvm/ProfileData/MemProf.h index 1a066c10c1361d..4d7b4856e7989a 100644 --- a/llvm/include/llvm/ProfileData/MemProf.h +++ b/llvm/include/llvm/ProfileData/MemProf.h @@ -6,6 +6,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/IR/GlobalValue.h" #include "llvm/ProfileData/MemProfData.inc" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/EndianStream.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/ProfileData/ProfileCommon.h b/llvm/include/llvm/ProfileData/ProfileCommon.h index eaab59484c947a..7b0142a26b81a3 100644 --- a/llvm/include/llvm/ProfileData/ProfileCommon.h +++ b/llvm/include/llvm/ProfileData/ProfileCommon.h @@ -18,6 +18,7 @@ #include "llvm/IR/ProfileSummary.h" #include "llvm/ProfileData/InstrProf.h" #include "llvm/ProfileData/SampleProf.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/ProfileData/RawMemProfReader.h b/llvm/include/llvm/ProfileData/RawMemProfReader.h index 796183aacc7237..ac346ae75295bd 100644 --- a/llvm/include/llvm/ProfileData/RawMemProfReader.h +++ b/llvm/include/llvm/ProfileData/RawMemProfReader.h @@ -23,6 +23,7 @@ #include "llvm/ProfileData/InstrProfReader.h" #include "llvm/ProfileData/MemProf.h" #include "llvm/ProfileData/MemProfData.inc" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/MemoryBuffer.h" diff --git a/llvm/include/llvm/ProfileData/SampleProf.h b/llvm/include/llvm/ProfileData/SampleProf.h index 57ea144532a3cb..09fe169ddae179 100644 --- a/llvm/include/llvm/ProfileData/SampleProf.h +++ b/llvm/include/llvm/ProfileData/SampleProf.h @@ -23,6 +23,7 @@ #include "llvm/IR/GlobalValue.h" #include "llvm/ProfileData/FunctionId.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include "llvm/Support/ErrorOr.h" #include "llvm/Support/MathExtras.h" diff --git a/llvm/include/llvm/ProfileData/SampleProfReader.h b/llvm/include/llvm/ProfileData/SampleProfReader.h index 9e8f543909cdbd..4af874d19a17d9 100644 --- a/llvm/include/llvm/ProfileData/SampleProfReader.h +++ b/llvm/include/llvm/ProfileData/SampleProfReader.h @@ -233,6 +233,7 @@ #include "llvm/ProfileData/GCOV.h" #include "llvm/ProfileData/SampleProf.h" #include "llvm/ProfileData/SymbolRemappingReader.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include "llvm/Support/Discriminator.h" #include "llvm/Support/ErrorOr.h" diff --git a/llvm/include/llvm/ProfileData/SampleProfWriter.h b/llvm/include/llvm/ProfileData/SampleProfWriter.h index 963a4d4918e567..c4d0325b4434f0 100644 --- a/llvm/include/llvm/ProfileData/SampleProfWriter.h +++ b/llvm/include/llvm/ProfileData/SampleProfWriter.h @@ -16,6 +16,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/IR/ProfileSummary.h" #include "llvm/ProfileData/SampleProf.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorOr.h" #include "llvm/Support/raw_ostream.h" #include diff --git a/llvm/include/llvm/ProfileData/SymbolRemappingReader.h b/llvm/include/llvm/ProfileData/SymbolRemappingReader.h index 61d32134e981a8..ecfe40c5755d4d 100644 --- a/llvm/include/llvm/ProfileData/SymbolRemappingReader.h +++ b/llvm/include/llvm/ProfileData/SymbolRemappingReader.h @@ -61,6 +61,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/ProfileData/ItaniumManglingCanonicalizer.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/Remarks/BitstreamRemarkParser.h b/llvm/include/llvm/Remarks/BitstreamRemarkParser.h index bfa60332d1a90e..5c5edf20314a35 100644 --- a/llvm/include/llvm/Remarks/BitstreamRemarkParser.h +++ b/llvm/include/llvm/Remarks/BitstreamRemarkParser.h @@ -17,6 +17,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" #include "llvm/Bitstream/BitstreamReader.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/Remarks/BitstreamRemarkSerializer.h b/llvm/include/llvm/Remarks/BitstreamRemarkSerializer.h index 62368003375083..cf26b3b9c95531 100644 --- a/llvm/include/llvm/Remarks/BitstreamRemarkSerializer.h +++ b/llvm/include/llvm/Remarks/BitstreamRemarkSerializer.h @@ -17,6 +17,7 @@ #include "llvm/Bitstream/BitstreamWriter.h" #include "llvm/Remarks/BitstreamRemarkContainer.h" #include "llvm/Remarks/RemarkSerializer.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Remarks/HotnessThresholdParser.h b/llvm/include/llvm/Remarks/HotnessThresholdParser.h index 4cd0d2dff2fe64..737c8cde15fccd 100644 --- a/llvm/include/llvm/Remarks/HotnessThresholdParser.h +++ b/llvm/include/llvm/Remarks/HotnessThresholdParser.h @@ -16,6 +16,7 @@ #define LLVM_REMARKS_HOTNESSTHRESHOLDPARSER_H #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Remarks/Remark.h b/llvm/include/llvm/Remarks/Remark.h index de81c5a992805b..9a5a1a4b5720f1 100644 --- a/llvm/include/llvm/Remarks/Remark.h +++ b/llvm/include/llvm/Remarks/Remark.h @@ -18,6 +18,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/Support/CBindingWrapping.h" #include "llvm/Support/raw_ostream.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Remarks/RemarkFormat.h b/llvm/include/llvm/Remarks/RemarkFormat.h index 9c589eed44f398..009c92a2376633 100644 --- a/llvm/include/llvm/Remarks/RemarkFormat.h +++ b/llvm/include/llvm/Remarks/RemarkFormat.h @@ -14,6 +14,7 @@ #define LLVM_REMARKS_REMARKFORMAT_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/Remarks/RemarkLinker.h b/llvm/include/llvm/Remarks/RemarkLinker.h index f538718941c5d4..cd1a4a6e93c231 100644 --- a/llvm/include/llvm/Remarks/RemarkLinker.h +++ b/llvm/include/llvm/Remarks/RemarkLinker.h @@ -16,6 +16,7 @@ #include "llvm/Remarks/Remark.h" #include "llvm/Remarks/RemarkFormat.h" #include "llvm/Remarks/RemarkStringTable.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/Remarks/RemarkParser.h b/llvm/include/llvm/Remarks/RemarkParser.h index 1333c582eba4f8..fe3b323f0de37c 100644 --- a/llvm/include/llvm/Remarks/RemarkParser.h +++ b/llvm/include/llvm/Remarks/RemarkParser.h @@ -15,6 +15,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/Remarks/RemarkFormat.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/Remarks/RemarkSerializer.h b/llvm/include/llvm/Remarks/RemarkSerializer.h index f73135f4fbd385..64361cd3afaf63 100644 --- a/llvm/include/llvm/Remarks/RemarkSerializer.h +++ b/llvm/include/llvm/Remarks/RemarkSerializer.h @@ -15,6 +15,7 @@ #include "llvm/Remarks/RemarkFormat.h" #include "llvm/Remarks/RemarkStringTable.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Remarks/RemarkStreamer.h b/llvm/include/llvm/Remarks/RemarkStreamer.h index 5b1cc81cdbf501..37c2b47046b9cd 100644 --- a/llvm/include/llvm/Remarks/RemarkStreamer.h +++ b/llvm/include/llvm/Remarks/RemarkStreamer.h @@ -31,6 +31,7 @@ #define LLVM_REMARKS_REMARKSTREAMER_H #include "llvm/Remarks/RemarkSerializer.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/Regex.h" #include diff --git a/llvm/include/llvm/Remarks/RemarkStringTable.h b/llvm/include/llvm/Remarks/RemarkStringTable.h index fe302c64d17f0b..351b23faaa5603 100644 --- a/llvm/include/llvm/Remarks/RemarkStringTable.h +++ b/llvm/include/llvm/Remarks/RemarkStringTable.h @@ -18,6 +18,7 @@ #include "llvm/ADT/StringMap.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Remarks/YAMLRemarkSerializer.h b/llvm/include/llvm/Remarks/YAMLRemarkSerializer.h index d2a1db5791ae02..95353e92d0a8df 100644 --- a/llvm/include/llvm/Remarks/YAMLRemarkSerializer.h +++ b/llvm/include/llvm/Remarks/YAMLRemarkSerializer.h @@ -14,6 +14,7 @@ #define LLVM_REMARKS_YAMLREMARKSERIALIZER_H #include "llvm/Remarks/RemarkSerializer.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/YAMLTraits.h" #include diff --git a/llvm/include/llvm/Support/AMDGPUMetadata.h b/llvm/include/llvm/Support/AMDGPUMetadata.h index e0838a1f425ea5..a0ab3992f702da 100644 --- a/llvm/include/llvm/Support/AMDGPUMetadata.h +++ b/llvm/include/llvm/Support/AMDGPUMetadata.h @@ -16,6 +16,7 @@ #define LLVM_SUPPORT_AMDGPUMETADATA_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Support/ARMAttributeParser.h b/llvm/include/llvm/Support/ARMAttributeParser.h index d1d953120ae7ed..116f0403d19bc9 100644 --- a/llvm/include/llvm/Support/ARMAttributeParser.h +++ b/llvm/include/llvm/Support/ARMAttributeParser.h @@ -12,6 +12,7 @@ #include "ARMBuildAttributes.h" #include "ELFAttributeParser.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/Support/ARMBuildAttributes.h b/llvm/include/llvm/Support/ARMBuildAttributes.h index 35f8992ca93296..f99b729e7fce6d 100644 --- a/llvm/include/llvm/Support/ARMBuildAttributes.h +++ b/llvm/include/llvm/Support/ARMBuildAttributes.h @@ -18,6 +18,7 @@ #ifndef LLVM_SUPPORT_ARMBUILDATTRIBUTES_H #define LLVM_SUPPORT_ARMBUILDATTRIBUTES_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/ELFAttributes.h" namespace llvm { diff --git a/llvm/include/llvm/Support/ARMWinEH.h b/llvm/include/llvm/Support/ARMWinEH.h index b6710cca95650d..25011a7c870065 100644 --- a/llvm/include/llvm/Support/ARMWinEH.h +++ b/llvm/include/llvm/Support/ARMWinEH.h @@ -10,6 +10,7 @@ #define LLVM_SUPPORT_ARMWINEH_H #include "llvm/ADT/ArrayRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" namespace llvm { diff --git a/llvm/include/llvm/Support/AlignOf.h b/llvm/include/llvm/Support/AlignOf.h index f586d7f182aab6..4e16694c343283 100644 --- a/llvm/include/llvm/Support/AlignOf.h +++ b/llvm/include/llvm/Support/AlignOf.h @@ -13,6 +13,7 @@ #ifndef LLVM_SUPPORT_ALIGNOF_H #define LLVM_SUPPORT_ALIGNOF_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Support/Alignment.h b/llvm/include/llvm/Support/Alignment.h index 8d4a7e7ddce5f4..8153ec31e0cc7c 100644 --- a/llvm/include/llvm/Support/Alignment.h +++ b/llvm/include/llvm/Support/Alignment.h @@ -21,6 +21,7 @@ #ifndef LLVM_SUPPORT_ALIGNMENT_H_ #define LLVM_SUPPORT_ALIGNMENT_H_ +#include "llvm/Support/Compiler.h" #include "llvm/Support/MathExtras.h" #include #include diff --git a/llvm/include/llvm/Support/ArrayRecycler.h b/llvm/include/llvm/Support/ArrayRecycler.h index 5256ce80c0282c..69f542b10b9587 100644 --- a/llvm/include/llvm/Support/ArrayRecycler.h +++ b/llvm/include/llvm/Support/ArrayRecycler.h @@ -16,6 +16,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MathExtras.h" namespace llvm { diff --git a/llvm/include/llvm/Support/Atomic.h b/llvm/include/llvm/Support/Atomic.h index a8445fddc1a855..dbe321a7f21e71 100644 --- a/llvm/include/llvm/Support/Atomic.h +++ b/llvm/include/llvm/Support/Atomic.h @@ -17,6 +17,7 @@ #ifndef LLVM_SUPPORT_ATOMIC_H #define LLVM_SUPPORT_ATOMIC_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" // Windows will at times define MemoryFence. diff --git a/llvm/include/llvm/Support/Automaton.h b/llvm/include/llvm/Support/Automaton.h index c2b921311a8ceb..e7c5e88e2cf476 100644 --- a/llvm/include/llvm/Support/Automaton.h +++ b/llvm/include/llvm/Support/Automaton.h @@ -30,6 +30,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/SmallVector.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Support/BLAKE3.h b/llvm/include/llvm/Support/BLAKE3.h index 7b30dbccd17348..6c3b5492570aef 100644 --- a/llvm/include/llvm/Support/BLAKE3.h +++ b/llvm/include/llvm/Support/BLAKE3.h @@ -16,6 +16,7 @@ #include "llvm-c/blake3.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Support/BalancedPartitioning.h b/llvm/include/llvm/Support/BalancedPartitioning.h index a8464ac0fe60e5..5e8cfe8091ef3e 100644 --- a/llvm/include/llvm/Support/BalancedPartitioning.h +++ b/llvm/include/llvm/Support/BalancedPartitioning.h @@ -41,6 +41,7 @@ #include "raw_ostream.h" #include "llvm/ADT/ArrayRef.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Support/Base64.h b/llvm/include/llvm/Support/Base64.h index 3d96884749b32f..77e41d58ad4878 100644 --- a/llvm/include/llvm/Support/Base64.h +++ b/llvm/include/llvm/Support/Base64.h @@ -13,6 +13,7 @@ #ifndef LLVM_SUPPORT_BASE64_H #define LLVM_SUPPORT_BASE64_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/Support/BinaryByteStream.h b/llvm/include/llvm/Support/BinaryByteStream.h index ed1a0b229713a3..627104a5d8cd77 100644 --- a/llvm/include/llvm/Support/BinaryByteStream.h +++ b/llvm/include/llvm/Support/BinaryByteStream.h @@ -14,6 +14,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/Support/BinaryStream.h" #include "llvm/Support/BinaryStreamError.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/FileOutputBuffer.h" #include "llvm/Support/MemoryBuffer.h" diff --git a/llvm/include/llvm/Support/BinaryItemStream.h b/llvm/include/llvm/Support/BinaryItemStream.h index 472ef004744c5c..5eff8fec386acf 100644 --- a/llvm/include/llvm/Support/BinaryItemStream.h +++ b/llvm/include/llvm/Support/BinaryItemStream.h @@ -12,6 +12,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/Support/BinaryStream.h" #include "llvm/Support/BinaryStreamError.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/Support/BinaryStream.h b/llvm/include/llvm/Support/BinaryStream.h index 8fba5ee9b0b368..95dd3fc5a4a0a0 100644 --- a/llvm/include/llvm/Support/BinaryStream.h +++ b/llvm/include/llvm/Support/BinaryStream.h @@ -12,6 +12,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/BitmaskEnum.h" #include "llvm/Support/BinaryStreamError.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/Support/BinaryStreamArray.h b/llvm/include/llvm/Support/BinaryStreamArray.h index ef2233c53ec2cc..4dd27eb806d887 100644 --- a/llvm/include/llvm/Support/BinaryStreamArray.h +++ b/llvm/include/llvm/Support/BinaryStreamArray.h @@ -26,6 +26,7 @@ #include "llvm/ADT/iterator.h" #include "llvm/Support/Alignment.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/Support/BinaryStreamError.h b/llvm/include/llvm/Support/BinaryStreamError.h index cf6e034ffd2ceb..ad1f62f911b228 100644 --- a/llvm/include/llvm/Support/BinaryStreamError.h +++ b/llvm/include/llvm/Support/BinaryStreamError.h @@ -10,6 +10,7 @@ #define LLVM_SUPPORT_BINARYSTREAMERROR_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/Support/BinaryStreamReader.h b/llvm/include/llvm/Support/BinaryStreamReader.h index ca99388c5d03af..fc666cc7afcf57 100644 --- a/llvm/include/llvm/Support/BinaryStreamReader.h +++ b/llvm/include/llvm/Support/BinaryStreamReader.h @@ -14,6 +14,7 @@ #include "llvm/Support/Alignment.h" #include "llvm/Support/BinaryStreamArray.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ConvertUTF.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" diff --git a/llvm/include/llvm/Support/BinaryStreamRef.h b/llvm/include/llvm/Support/BinaryStreamRef.h index fdc46f5fd56057..c11a84f7b5b808 100644 --- a/llvm/include/llvm/Support/BinaryStreamRef.h +++ b/llvm/include/llvm/Support/BinaryStreamRef.h @@ -12,6 +12,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/Support/BinaryStream.h" #include "llvm/Support/BinaryStreamError.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/Support/BinaryStreamWriter.h b/llvm/include/llvm/Support/BinaryStreamWriter.h index bc1d7949841d6f..be810d27f6a474 100644 --- a/llvm/include/llvm/Support/BinaryStreamWriter.h +++ b/llvm/include/llvm/Support/BinaryStreamWriter.h @@ -14,6 +14,7 @@ #include "llvm/Support/BinaryStreamArray.h" #include "llvm/Support/BinaryStreamError.h" #include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/Support/BlockFrequency.h b/llvm/include/llvm/Support/BlockFrequency.h index 8b172ee486aab8..9e48637b8b520c 100644 --- a/llvm/include/llvm/Support/BlockFrequency.h +++ b/llvm/include/llvm/Support/BlockFrequency.h @@ -13,6 +13,7 @@ #ifndef LLVM_SUPPORT_BLOCKFREQUENCY_H #define LLVM_SUPPORT_BLOCKFREQUENCY_H +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Support/BranchProbability.h b/llvm/include/llvm/Support/BranchProbability.h index 79d70cf611d415..66bb7c44cc8fe5 100644 --- a/llvm/include/llvm/Support/BranchProbability.h +++ b/llvm/include/llvm/Support/BranchProbability.h @@ -13,6 +13,7 @@ #ifndef LLVM_SUPPORT_BRANCHPROBABILITY_H #define LLVM_SUPPORT_BRANCHPROBABILITY_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" #include #include diff --git a/llvm/include/llvm/Support/BuryPointer.h b/llvm/include/llvm/Support/BuryPointer.h index 276a5b7089c3e7..79690c66a65d25 100644 --- a/llvm/include/llvm/Support/BuryPointer.h +++ b/llvm/include/llvm/Support/BuryPointer.h @@ -9,6 +9,7 @@ #ifndef LLVM_SUPPORT_BURYPOINTER_H #define LLVM_SUPPORT_BURYPOINTER_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Support/CFGDiff.h b/llvm/include/llvm/Support/CFGDiff.h index 11bb9c0fb8f4d1..325bc1681e7d6a 100644 --- a/llvm/include/llvm/Support/CFGDiff.h +++ b/llvm/include/llvm/Support/CFGDiff.h @@ -18,6 +18,7 @@ #include "llvm/ADT/iterator.h" #include "llvm/ADT/iterator_range.h" #include "llvm/Support/CFGUpdate.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/type_traits.h" #include #include diff --git a/llvm/include/llvm/Support/COM.h b/llvm/include/llvm/Support/COM.h index d59966f849b485..ea4199600d9913 100644 --- a/llvm/include/llvm/Support/COM.h +++ b/llvm/include/llvm/Support/COM.h @@ -14,6 +14,8 @@ #ifndef LLVM_SUPPORT_COM_H #define LLVM_SUPPORT_COM_H +#include "llvm/Support/Compiler.h" + namespace llvm { namespace sys { diff --git a/llvm/include/llvm/Support/CRC.h b/llvm/include/llvm/Support/CRC.h index 210890ae06d47c..c34aa605ffc4bb 100644 --- a/llvm/include/llvm/Support/CRC.h +++ b/llvm/include/llvm/Support/CRC.h @@ -13,6 +13,7 @@ #ifndef LLVM_SUPPORT_CRC_H #define LLVM_SUPPORT_CRC_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" namespace llvm { diff --git a/llvm/include/llvm/Support/CSKYAttributeParser.h b/llvm/include/llvm/Support/CSKYAttributeParser.h index e926ebe5e306e3..00cc50bfb4b66f 100644 --- a/llvm/include/llvm/Support/CSKYAttributeParser.h +++ b/llvm/include/llvm/Support/CSKYAttributeParser.h @@ -10,6 +10,7 @@ #define LLVM_SUPPORT_CSKYATTRIBUTEPARSER_H #include "llvm/Support/CSKYAttributes.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ELFAttributeParser.h" namespace llvm { diff --git a/llvm/include/llvm/Support/CSKYAttributes.h b/llvm/include/llvm/Support/CSKYAttributes.h index 723f2ceee8fb79..23c88b34717911 100644 --- a/llvm/include/llvm/Support/CSKYAttributes.h +++ b/llvm/include/llvm/Support/CSKYAttributes.h @@ -12,6 +12,7 @@ #ifndef LLVM_SUPPORT_CSKYATTRIBUTES_H #define LLVM_SUPPORT_CSKYATTRIBUTES_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/ELFAttributes.h" namespace llvm { diff --git a/llvm/include/llvm/Support/CachePruning.h b/llvm/include/llvm/Support/CachePruning.h index 17e148830a73f9..de976636a2381e 100644 --- a/llvm/include/llvm/Support/CachePruning.h +++ b/llvm/include/llvm/Support/CachePruning.h @@ -14,6 +14,7 @@ #ifndef LLVM_SUPPORT_CACHEPRUNING_H #define LLVM_SUPPORT_CACHEPRUNING_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/MemoryBuffer.h" #include #include diff --git a/llvm/include/llvm/Support/Caching.h b/llvm/include/llvm/Support/Caching.h index 4fa57cc92e51f7..3182df35b357f3 100644 --- a/llvm/include/llvm/Support/Caching.h +++ b/llvm/include/llvm/Support/Caching.h @@ -15,6 +15,7 @@ #ifndef LLVM_SUPPORT_CACHING_H #define LLVM_SUPPORT_CACHING_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/Support/CodeGenCoverage.h b/llvm/include/llvm/Support/CodeGenCoverage.h index 2acdd6a36a514c..218fdd90ed8172 100644 --- a/llvm/include/llvm/Support/CodeGenCoverage.h +++ b/llvm/include/llvm/Support/CodeGenCoverage.h @@ -12,6 +12,7 @@ #define LLVM_SUPPORT_CODEGENCOVERAGE_H #include "llvm/ADT/BitVector.h" +#include "llvm/Support/Compiler.h" namespace llvm { class MemoryBuffer; diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h index 58ef176551b685..a71fe070257657 100644 --- a/llvm/include/llvm/Support/CommandLine.h +++ b/llvm/include/llvm/Support/CommandLine.h @@ -27,6 +27,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/ADT/Twine.h" #include "llvm/ADT/iterator_range.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/ManagedStatic.h" #include "llvm/Support/StringSaver.h" diff --git a/llvm/include/llvm/Support/Compression.h b/llvm/include/llvm/Support/Compression.h index c3ba3274d6ed87..a144443345d8ed 100644 --- a/llvm/include/llvm/Support/Compression.h +++ b/llvm/include/llvm/Support/Compression.h @@ -14,6 +14,7 @@ #define LLVM_SUPPORT_COMPRESSION_H #include "llvm/ADT/ArrayRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" namespace llvm { diff --git a/llvm/include/llvm/Support/ConvertEBCDIC.h b/llvm/include/llvm/Support/ConvertEBCDIC.h index ea761b31e022b7..2ec7404198ce78 100644 --- a/llvm/include/llvm/Support/ConvertEBCDIC.h +++ b/llvm/include/llvm/Support/ConvertEBCDIC.h @@ -15,6 +15,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Support/ConvertUTF.h b/llvm/include/llvm/Support/ConvertUTF.h index c892bb3c03cb56..b2fe1bc258b59a 100644 --- a/llvm/include/llvm/Support/ConvertUTF.h +++ b/llvm/include/llvm/Support/ConvertUTF.h @@ -105,6 +105,7 @@ #ifndef LLVM_SUPPORT_CONVERTUTF_H #define LLVM_SUPPORT_CONVERTUTF_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Support/CrashRecoveryContext.h b/llvm/include/llvm/Support/CrashRecoveryContext.h index 26ddf97b3ef02e..5374618f4b669a 100644 --- a/llvm/include/llvm/Support/CrashRecoveryContext.h +++ b/llvm/include/llvm/Support/CrashRecoveryContext.h @@ -10,6 +10,7 @@ #define LLVM_SUPPORT_CRASHRECOVERYCONTEXT_H #include "llvm/ADT/STLFunctionalExtras.h" +#include "llvm/Support/Compiler.h" namespace llvm { class CrashRecoveryContextCleanup; diff --git a/llvm/include/llvm/Support/DJB.h b/llvm/include/llvm/Support/DJB.h index 8a04a324a5dc6c..b0826927f5afca 100644 --- a/llvm/include/llvm/Support/DJB.h +++ b/llvm/include/llvm/Support/DJB.h @@ -14,6 +14,7 @@ #define LLVM_SUPPORT_DJB_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Support/DOTGraphTraits.h b/llvm/include/llvm/Support/DOTGraphTraits.h index ffa9abe328c830..0ffd36f699308c 100644 --- a/llvm/include/llvm/Support/DOTGraphTraits.h +++ b/llvm/include/llvm/Support/DOTGraphTraits.h @@ -16,6 +16,7 @@ #ifndef LLVM_SUPPORT_DOTGRAPHTRAITS_H #define LLVM_SUPPORT_DOTGRAPHTRAITS_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Support/DataExtractor.h b/llvm/include/llvm/Support/DataExtractor.h index f4f5905d4bccd6..c3c0c5dce03576 100644 --- a/llvm/include/llvm/Support/DataExtractor.h +++ b/llvm/include/llvm/Support/DataExtractor.h @@ -10,6 +10,7 @@ #define LLVM_SUPPORT_DATAEXTRACTOR_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" #include "llvm/Support/Error.h" diff --git a/llvm/include/llvm/Support/Debug.h b/llvm/include/llvm/Support/Debug.h index 3e2f0d9b43fc0d..e335c63ac6dd2f 100644 --- a/llvm/include/llvm/Support/Debug.h +++ b/llvm/include/llvm/Support/Debug.h @@ -28,6 +28,8 @@ #ifndef LLVM_SUPPORT_DEBUG_H #define LLVM_SUPPORT_DEBUG_H +#include "llvm/Support/Compiler.h" + namespace llvm { class raw_ostream; diff --git a/llvm/include/llvm/Support/DebugCounter.h b/llvm/include/llvm/Support/DebugCounter.h index 9fa4620ade3c8f..b61c1cfa78ae9e 100644 --- a/llvm/include/llvm/Support/DebugCounter.h +++ b/llvm/include/llvm/Support/DebugCounter.h @@ -46,6 +46,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/StringRef.h" #include "llvm/ADT/UniqueVector.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include diff --git a/llvm/include/llvm/Support/DivisionByConstantInfo.h b/llvm/include/llvm/Support/DivisionByConstantInfo.h index caa0b35e714475..3c172ca4ba9481 100644 --- a/llvm/include/llvm/Support/DivisionByConstantInfo.h +++ b/llvm/include/llvm/Support/DivisionByConstantInfo.h @@ -14,6 +14,7 @@ #define LLVM_SUPPORT_DIVISIONBYCONSTANTINFO_H #include "llvm/ADT/APInt.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Support/Duration.h b/llvm/include/llvm/Support/Duration.h index a5a0e2a3357aa8..ab340627139647 100644 --- a/llvm/include/llvm/Support/Duration.h +++ b/llvm/include/llvm/Support/Duration.h @@ -14,6 +14,7 @@ #ifndef LLVM_SUPPORT_DURATION_H #define LLVM_SUPPORT_DURATION_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Support/DynamicLibrary.h b/llvm/include/llvm/Support/DynamicLibrary.h index 94ee08c5938a05..d20b86903fd9d4 100644 --- a/llvm/include/llvm/Support/DynamicLibrary.h +++ b/llvm/include/llvm/Support/DynamicLibrary.h @@ -13,6 +13,7 @@ #ifndef LLVM_SUPPORT_DYNAMICLIBRARY_H #define LLVM_SUPPORT_DYNAMICLIBRARY_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Support/ELFAttributeParser.h b/llvm/include/llvm/Support/ELFAttributeParser.h index ffb92468fb37eb..35da3e2f805f2d 100644 --- a/llvm/include/llvm/Support/ELFAttributeParser.h +++ b/llvm/include/llvm/Support/ELFAttributeParser.h @@ -11,6 +11,7 @@ #include "ELFAttributes.h" #include "llvm/ADT/ArrayRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataExtractor.h" #include "llvm/Support/Error.h" diff --git a/llvm/include/llvm/Support/ELFAttributes.h b/llvm/include/llvm/Support/ELFAttributes.h index 295d0f46698124..e2abe653738528 100644 --- a/llvm/include/llvm/Support/ELFAttributes.h +++ b/llvm/include/llvm/Support/ELFAttributes.h @@ -11,6 +11,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Support/EndianStream.h b/llvm/include/llvm/Support/EndianStream.h index 9b0a4bf30e80f1..b43c3c0cb37fb6 100644 --- a/llvm/include/llvm/Support/EndianStream.h +++ b/llvm/include/llvm/Support/EndianStream.h @@ -16,6 +16,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/Support/Errc.h b/llvm/include/llvm/Support/Errc.h index 9df522cbe45c76..00557c59a47695 100644 --- a/llvm/include/llvm/Support/Errc.h +++ b/llvm/include/llvm/Support/Errc.h @@ -29,6 +29,7 @@ #ifndef LLVM_SUPPORT_ERRC_H #define LLVM_SUPPORT_ERRC_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Support/Errno.h b/llvm/include/llvm/Support/Errno.h index e095c66b908600..be12e2889b4b7f 100644 --- a/llvm/include/llvm/Support/Errno.h +++ b/llvm/include/llvm/Support/Errno.h @@ -13,6 +13,7 @@ #ifndef LLVM_SUPPORT_ERRNO_H #define LLVM_SUPPORT_ERRNO_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Support/ErrorOr.h b/llvm/include/llvm/Support/ErrorOr.h index 97c7abe1f20c5e..cc26a6b1033d16 100644 --- a/llvm/include/llvm/Support/ErrorOr.h +++ b/llvm/include/llvm/Support/ErrorOr.h @@ -16,6 +16,7 @@ #define LLVM_SUPPORT_ERROROR_H #include "llvm/Support/AlignOf.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Support/ExtensibleRTTI.h b/llvm/include/llvm/Support/ExtensibleRTTI.h index d3193be6f529e1..2e2b1abb75f481 100644 --- a/llvm/include/llvm/Support/ExtensibleRTTI.h +++ b/llvm/include/llvm/Support/ExtensibleRTTI.h @@ -60,6 +60,8 @@ #ifndef LLVM_SUPPORT_EXTENSIBLERTTI_H #define LLVM_SUPPORT_EXTENSIBLERTTI_H +#include "llvm/Support/Compiler.h" + namespace llvm { /// Base class for the extensible RTTI hierarchy. diff --git a/llvm/include/llvm/Support/FileCollector.h b/llvm/include/llvm/Support/FileCollector.h index 232dc8658aa382..00a492b91eec2f 100644 --- a/llvm/include/llvm/Support/FileCollector.h +++ b/llvm/include/llvm/Support/FileCollector.h @@ -11,6 +11,7 @@ #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringSet.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/VirtualFileSystem.h" #include #include diff --git a/llvm/include/llvm/Support/FileOutputBuffer.h b/llvm/include/llvm/Support/FileOutputBuffer.h index d4b73522115dbf..ca59f8ec696dac 100644 --- a/llvm/include/llvm/Support/FileOutputBuffer.h +++ b/llvm/include/llvm/Support/FileOutputBuffer.h @@ -14,6 +14,7 @@ #define LLVM_SUPPORT_FILEOUTPUTBUFFER_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" #include "llvm/Support/Error.h" diff --git a/llvm/include/llvm/Support/FileSystem.h b/llvm/include/llvm/Support/FileSystem.h index 0a9c576027f96e..f450731cdb426b 100644 --- a/llvm/include/llvm/Support/FileSystem.h +++ b/llvm/include/llvm/Support/FileSystem.h @@ -30,6 +30,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/ADT/Twine.h" #include "llvm/Config/llvm-config.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Chrono.h" #include "llvm/Support/Error.h" #include "llvm/Support/ErrorHandling.h" diff --git a/llvm/include/llvm/Support/FileSystem/UniqueID.h b/llvm/include/llvm/Support/FileSystem/UniqueID.h index 0d5367236e8dcf..ef3f2597393d77 100644 --- a/llvm/include/llvm/Support/FileSystem/UniqueID.h +++ b/llvm/include/llvm/Support/FileSystem/UniqueID.h @@ -16,6 +16,7 @@ #include "llvm/ADT/DenseMapInfo.h" #include "llvm/ADT/Hashing.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Support/FileUtilities.h b/llvm/include/llvm/Support/FileUtilities.h index 9707724d631708..0fd172732251ca 100644 --- a/llvm/include/llvm/Support/FileUtilities.h +++ b/llvm/include/llvm/Support/FileUtilities.h @@ -15,6 +15,7 @@ #define LLVM_SUPPORT_FILEUTILITIES_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/FileSystem.h" diff --git a/llvm/include/llvm/Support/Format.h b/llvm/include/llvm/Support/Format.h index 89b6ae35ba5de3..b6900267c0de8a 100644 --- a/llvm/include/llvm/Support/Format.h +++ b/llvm/include/llvm/Support/Format.h @@ -25,6 +25,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" #include #include diff --git a/llvm/include/llvm/Support/FormatAdapters.h b/llvm/include/llvm/Support/FormatAdapters.h index 495205d11748b4..7a6fa97edaa01e 100644 --- a/llvm/include/llvm/Support/FormatAdapters.h +++ b/llvm/include/llvm/Support/FormatAdapters.h @@ -10,6 +10,7 @@ #define LLVM_SUPPORT_FORMATADAPTERS_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/FormatCommon.h" #include "llvm/Support/FormatVariadicDetails.h" diff --git a/llvm/include/llvm/Support/FormatCommon.h b/llvm/include/llvm/Support/FormatCommon.h index 3c119d12529aee..337243eae1212e 100644 --- a/llvm/include/llvm/Support/FormatCommon.h +++ b/llvm/include/llvm/Support/FormatCommon.h @@ -10,6 +10,7 @@ #define LLVM_SUPPORT_FORMATCOMMON_H #include "llvm/ADT/SmallString.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/FormatVariadicDetails.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/Support/FormatProviders.h b/llvm/include/llvm/Support/FormatProviders.h index aa0773847161c1..1b916d493e21ff 100644 --- a/llvm/include/llvm/Support/FormatProviders.h +++ b/llvm/include/llvm/Support/FormatProviders.h @@ -17,6 +17,7 @@ #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/StringSwitch.h" #include "llvm/ADT/Twine.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/FormatVariadicDetails.h" #include "llvm/Support/NativeFormatting.h" diff --git a/llvm/include/llvm/Support/FormatVariadic.h b/llvm/include/llvm/Support/FormatVariadic.h index ddd80d89f1cddd..3ac46de25a714d 100644 --- a/llvm/include/llvm/Support/FormatVariadic.h +++ b/llvm/include/llvm/Support/FormatVariadic.h @@ -30,6 +30,7 @@ #include "llvm/ADT/SmallString.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/FormatCommon.h" #include "llvm/Support/FormatProviders.h" #include "llvm/Support/FormatVariadicDetails.h" diff --git a/llvm/include/llvm/Support/FormatVariadicDetails.h b/llvm/include/llvm/Support/FormatVariadicDetails.h index 068c327df39678..3f0938f73bca7a 100644 --- a/llvm/include/llvm/Support/FormatVariadicDetails.h +++ b/llvm/include/llvm/Support/FormatVariadicDetails.h @@ -11,6 +11,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/ADT/STLExtras.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include diff --git a/llvm/include/llvm/Support/FormattedStream.h b/llvm/include/llvm/Support/FormattedStream.h index 5f937cfa798408..218c8def487276 100644 --- a/llvm/include/llvm/Support/FormattedStream.h +++ b/llvm/include/llvm/Support/FormattedStream.h @@ -15,6 +15,7 @@ #define LLVM_SUPPORT_FORMATTEDSTREAM_H #include "llvm/ADT/SmallString.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include diff --git a/llvm/include/llvm/Support/GenericDomTree.h b/llvm/include/llvm/Support/GenericDomTree.h index 62186a368e964d..e9a97beaec6073 100644 --- a/llvm/include/llvm/Support/GenericDomTree.h +++ b/llvm/include/llvm/Support/GenericDomTree.h @@ -31,6 +31,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/Support/CFGDiff.h" #include "llvm/Support/CFGUpdate.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include #include diff --git a/llvm/include/llvm/Support/GenericDomTreeConstruction.h b/llvm/include/llvm/Support/GenericDomTreeConstruction.h index 568350e582aefc..28655fd1afea4a 100644 --- a/llvm/include/llvm/Support/GenericDomTreeConstruction.h +++ b/llvm/include/llvm/Support/GenericDomTreeConstruction.h @@ -42,6 +42,7 @@ #include "llvm/ADT/DepthFirstIterator.h" #include "llvm/ADT/PointerIntPair.h" #include "llvm/ADT/SmallPtrSet.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include "llvm/Support/GenericDomTree.h" #include diff --git a/llvm/include/llvm/Support/GenericIteratedDominanceFrontier.h b/llvm/include/llvm/Support/GenericIteratedDominanceFrontier.h index 5723fb58edcd82..dfb4179cb62f1c 100644 --- a/llvm/include/llvm/Support/GenericIteratedDominanceFrontier.h +++ b/llvm/include/llvm/Support/GenericIteratedDominanceFrontier.h @@ -26,6 +26,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/GenericDomTree.h" #include diff --git a/llvm/include/llvm/Support/GenericLoopInfo.h b/llvm/include/llvm/Support/GenericLoopInfo.h index ac4f2d7010b411..7a35e723a6ce7c 100644 --- a/llvm/include/llvm/Support/GenericLoopInfo.h +++ b/llvm/include/llvm/Support/GenericLoopInfo.h @@ -45,6 +45,7 @@ #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SetOperations.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/GenericDomTree.h" namespace llvm { diff --git a/llvm/include/llvm/Support/GenericLoopInfoImpl.h b/llvm/include/llvm/Support/GenericLoopInfoImpl.h index 85233d38f0f6db..f157163c419562 100644 --- a/llvm/include/llvm/Support/GenericLoopInfoImpl.h +++ b/llvm/include/llvm/Support/GenericLoopInfoImpl.h @@ -18,6 +18,7 @@ #include "llvm/ADT/PostOrderIterator.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SetOperations.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/GenericLoopInfo.h" namespace llvm { diff --git a/llvm/include/llvm/Support/GlobPattern.h b/llvm/include/llvm/Support/GlobPattern.h index 1a722e65bed802..994413ce341c91 100644 --- a/llvm/include/llvm/Support/GlobPattern.h +++ b/llvm/include/llvm/Support/GlobPattern.h @@ -16,6 +16,7 @@ #include "llvm/ADT/BitVector.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/Support/GraphWriter.h b/llvm/include/llvm/Support/GraphWriter.h index dfda605365de3c..b768b95e0af1f1 100644 --- a/llvm/include/llvm/Support/GraphWriter.h +++ b/llvm/include/llvm/Support/GraphWriter.h @@ -25,6 +25,7 @@ #include "llvm/ADT/GraphTraits.h" #include "llvm/ADT/StringRef.h" #include "llvm/ADT/Twine.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DOTGraphTraits.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/Support/HashBuilder.h b/llvm/include/llvm/Support/HashBuilder.h index 097110874400dd..a32182d532699c 100644 --- a/llvm/include/llvm/Support/HashBuilder.h +++ b/llvm/include/llvm/Support/HashBuilder.h @@ -19,6 +19,7 @@ #include "llvm/ADT/Hashing.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/type_traits.h" diff --git a/llvm/include/llvm/Support/InitLLVM.h b/llvm/include/llvm/Support/InitLLVM.h index 172d13bf21a558..b42441d645ba5b 100644 --- a/llvm/include/llvm/Support/InitLLVM.h +++ b/llvm/include/llvm/Support/InitLLVM.h @@ -11,6 +11,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/PrettyStackTrace.h" #include diff --git a/llvm/include/llvm/Support/InstructionCost.h b/llvm/include/llvm/Support/InstructionCost.h index ada0b8962881d3..258d6c3a62dc73 100644 --- a/llvm/include/llvm/Support/InstructionCost.h +++ b/llvm/include/llvm/Support/InstructionCost.h @@ -18,6 +18,7 @@ #ifndef LLVM_SUPPORT_INSTRUCTIONCOST_H #define LLVM_SUPPORT_INSTRUCTIONCOST_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/MathExtras.h" #include #include diff --git a/llvm/include/llvm/Support/JSON.h b/llvm/include/llvm/Support/JSON.h index a81881c52d6c96..e87cb01ebcab33 100644 --- a/llvm/include/llvm/Support/JSON.h +++ b/llvm/include/llvm/Support/JSON.h @@ -50,6 +50,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" #include "llvm/ADT/STLFunctionalExtras.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/FormatVariadic.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/Support/KnownBits.h b/llvm/include/llvm/Support/KnownBits.h index fb034e0b9e3baf..b46765b29b9cde 100644 --- a/llvm/include/llvm/Support/KnownBits.h +++ b/llvm/include/llvm/Support/KnownBits.h @@ -15,6 +15,7 @@ #define LLVM_SUPPORT_KNOWNBITS_H #include "llvm/ADT/APInt.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Support/LEB128.h b/llvm/include/llvm/Support/LEB128.h index a5d367279aefe6..878b04bd14d4d4 100644 --- a/llvm/include/llvm/Support/LEB128.h +++ b/llvm/include/llvm/Support/LEB128.h @@ -14,6 +14,7 @@ #ifndef LLVM_SUPPORT_LEB128_H #define LLVM_SUPPORT_LEB128_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" namespace llvm { diff --git a/llvm/include/llvm/Support/LineIterator.h b/llvm/include/llvm/Support/LineIterator.h index fc6871baf99a65..bae202522557ff 100644 --- a/llvm/include/llvm/Support/LineIterator.h +++ b/llvm/include/llvm/Support/LineIterator.h @@ -10,6 +10,7 @@ #define LLVM_SUPPORT_LINEITERATOR_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" #include "llvm/Support/MemoryBufferRef.h" #include diff --git a/llvm/include/llvm/Support/Locale.h b/llvm/include/llvm/Support/Locale.h index f7a2c036ed5e11..e99184a19a1268 100644 --- a/llvm/include/llvm/Support/Locale.h +++ b/llvm/include/llvm/Support/Locale.h @@ -1,6 +1,8 @@ #ifndef LLVM_SUPPORT_LOCALE_H #define LLVM_SUPPORT_LOCALE_H +#include "llvm/Support/Compiler.h" + namespace llvm { class StringRef; diff --git a/llvm/include/llvm/Support/LockFileManager.h b/llvm/include/llvm/Support/LockFileManager.h index 92c7ceed6a929f..af1c77760abacc 100644 --- a/llvm/include/llvm/Support/LockFileManager.h +++ b/llvm/include/llvm/Support/LockFileManager.h @@ -9,6 +9,7 @@ #define LLVM_SUPPORT_LOCKFILEMANAGER_H #include "llvm/ADT/SmallString.h" +#include "llvm/Support/Compiler.h" #include #include #include // for std::pair diff --git a/llvm/include/llvm/Support/MD5.h b/llvm/include/llvm/Support/MD5.h index 0e9f22d3bfdb46..b4862c297072af 100644 --- a/llvm/include/llvm/Support/MD5.h +++ b/llvm/include/llvm/Support/MD5.h @@ -29,6 +29,7 @@ #define LLVM_SUPPORT_MD5_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include #include diff --git a/llvm/include/llvm/Support/MSP430AttributeParser.h b/llvm/include/llvm/Support/MSP430AttributeParser.h index bc9b214944708f..2fa35087223796 100644 --- a/llvm/include/llvm/Support/MSP430AttributeParser.h +++ b/llvm/include/llvm/Support/MSP430AttributeParser.h @@ -14,6 +14,7 @@ #ifndef LLVM_SUPPORT_MSP430ATTRIBUTEPARSER_H #define LLVM_SUPPORT_MSP430ATTRIBUTEPARSER_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/ELFAttributeParser.h" #include "llvm/Support/MSP430Attributes.h" diff --git a/llvm/include/llvm/Support/MSP430Attributes.h b/llvm/include/llvm/Support/MSP430Attributes.h index fccd65e844c35d..ebec10d15f0217 100644 --- a/llvm/include/llvm/Support/MSP430Attributes.h +++ b/llvm/include/llvm/Support/MSP430Attributes.h @@ -18,6 +18,7 @@ #ifndef LLVM_SUPPORT_MSP430ATTRIBUTES_H #define LLVM_SUPPORT_MSP430ATTRIBUTES_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/ELFAttributes.h" namespace llvm { diff --git a/llvm/include/llvm/Support/MSVCErrorWorkarounds.h b/llvm/include/llvm/Support/MSVCErrorWorkarounds.h index bf983dc1e406b9..5424b2fd22c5b7 100644 --- a/llvm/include/llvm/Support/MSVCErrorWorkarounds.h +++ b/llvm/include/llvm/Support/MSVCErrorWorkarounds.h @@ -18,6 +18,7 @@ #ifndef LLVM_SUPPORT_MSVCERRORWORKAROUNDS_H #define LLVM_SUPPORT_MSVCERRORWORKAROUNDS_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/Support/ManagedStatic.h b/llvm/include/llvm/Support/ManagedStatic.h index f2b41422f13155..f1d492d861af2b 100644 --- a/llvm/include/llvm/Support/ManagedStatic.h +++ b/llvm/include/llvm/Support/ManagedStatic.h @@ -13,6 +13,7 @@ #ifndef LLVM_SUPPORT_MANAGEDSTATIC_H #define LLVM_SUPPORT_MANAGEDSTATIC_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Support/Memory.h b/llvm/include/llvm/Support/Memory.h index d7d60371d315f0..af68710c0e1c9a 100644 --- a/llvm/include/llvm/Support/Memory.h +++ b/llvm/include/llvm/Support/Memory.h @@ -13,6 +13,7 @@ #ifndef LLVM_SUPPORT_MEMORY_H #define LLVM_SUPPORT_MEMORY_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" #include diff --git a/llvm/include/llvm/Support/MemoryBuffer.h b/llvm/include/llvm/Support/MemoryBuffer.h index b3477f1db0e9a6..0d5c1d91abb44b 100644 --- a/llvm/include/llvm/Support/MemoryBuffer.h +++ b/llvm/include/llvm/Support/MemoryBuffer.h @@ -19,6 +19,7 @@ #include "llvm/ADT/Twine.h" #include "llvm/Support/Alignment.h" #include "llvm/Support/CBindingWrapping.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorOr.h" #include "llvm/Support/MemoryBufferRef.h" #include diff --git a/llvm/include/llvm/Support/MemoryBufferRef.h b/llvm/include/llvm/Support/MemoryBufferRef.h index b38a1f3b65651a..994654c783cb0f 100644 --- a/llvm/include/llvm/Support/MemoryBufferRef.h +++ b/llvm/include/llvm/Support/MemoryBufferRef.h @@ -14,6 +14,7 @@ #define LLVM_SUPPORT_MEMORYBUFFERREF_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Support/ModRef.h b/llvm/include/llvm/Support/ModRef.h index 7687280111a1f8..daff3fda0941cc 100644 --- a/llvm/include/llvm/Support/ModRef.h +++ b/llvm/include/llvm/Support/ModRef.h @@ -16,6 +16,7 @@ #include "llvm/ADT/BitmaskEnum.h" #include "llvm/ADT/Sequence.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" namespace llvm { diff --git a/llvm/include/llvm/Support/Mutex.h b/llvm/include/llvm/Support/Mutex.h index d61e3fd96efbec..d835ea50ecc2b9 100644 --- a/llvm/include/llvm/Support/Mutex.h +++ b/llvm/include/llvm/Support/Mutex.h @@ -13,6 +13,7 @@ #ifndef LLVM_SUPPORT_MUTEX_H #define LLVM_SUPPORT_MUTEX_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Threading.h" #include #include diff --git a/llvm/include/llvm/Support/NativeFormatting.h b/llvm/include/llvm/Support/NativeFormatting.h index ab85ae20161c20..47433ed7d4f3b6 100644 --- a/llvm/include/llvm/Support/NativeFormatting.h +++ b/llvm/include/llvm/Support/NativeFormatting.h @@ -9,6 +9,7 @@ #ifndef LLVM_SUPPORT_NATIVEFORMATTING_H #define LLVM_SUPPORT_NATIVEFORMATTING_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Support/OnDiskHashTable.h b/llvm/include/llvm/Support/OnDiskHashTable.h index 0a8cbbd8b18832..7d642729bfa320 100644 --- a/llvm/include/llvm/Support/OnDiskHashTable.h +++ b/llvm/include/llvm/Support/OnDiskHashTable.h @@ -15,6 +15,7 @@ #include "llvm/Support/Alignment.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" #include "llvm/Support/EndianStream.h" #include "llvm/Support/MathExtras.h" diff --git a/llvm/include/llvm/Support/OptimizedStructLayout.h b/llvm/include/llvm/Support/OptimizedStructLayout.h index 619990d132beba..f4574da70a3882 100644 --- a/llvm/include/llvm/Support/OptimizedStructLayout.h +++ b/llvm/include/llvm/Support/OptimizedStructLayout.h @@ -37,6 +37,7 @@ #include "llvm/Support/Alignment.h" #include "llvm/ADT/ArrayRef.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Support/PGOOptions.h b/llvm/include/llvm/Support/PGOOptions.h index 87eb29a8de48a0..69a4534e1229c9 100644 --- a/llvm/include/llvm/Support/PGOOptions.h +++ b/llvm/include/llvm/Support/PGOOptions.h @@ -15,6 +15,7 @@ #define LLVM_SUPPORT_PGOOPTIONS_H #include "llvm/ADT/IntrusiveRefCntPtr.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/Support/Parallel.h b/llvm/include/llvm/Support/Parallel.h index 8170da98f15a8c..701246ad570ad5 100644 --- a/llvm/include/llvm/Support/Parallel.h +++ b/llvm/include/llvm/Support/Parallel.h @@ -11,6 +11,7 @@ #include "llvm/ADT/STLExtras.h" #include "llvm/Config/llvm-config.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/MathExtras.h" #include "llvm/Support/Threading.h" diff --git a/llvm/include/llvm/Support/Path.h b/llvm/include/llvm/Support/Path.h index ce69f32b6cc81b..d5782b10709b62 100644 --- a/llvm/include/llvm/Support/Path.h +++ b/llvm/include/llvm/Support/Path.h @@ -17,6 +17,7 @@ #include "llvm/ADT/Twine.h" #include "llvm/ADT/iterator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" #include diff --git a/llvm/include/llvm/Support/PerThreadBumpPtrAllocator.h b/llvm/include/llvm/Support/PerThreadBumpPtrAllocator.h index f94d18f62e9abd..8ea7a17655bb02 100644 --- a/llvm/include/llvm/Support/PerThreadBumpPtrAllocator.h +++ b/llvm/include/llvm/Support/PerThreadBumpPtrAllocator.h @@ -10,6 +10,7 @@ #define LLVM_SUPPORT_PERTHREADBUMPPTRALLOCATOR_H #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Parallel.h" namespace llvm { diff --git a/llvm/include/llvm/Support/PluginLoader.h b/llvm/include/llvm/Support/PluginLoader.h index bdd36366d1cf97..8a5598f60c8997 100644 --- a/llvm/include/llvm/Support/PluginLoader.h +++ b/llvm/include/llvm/Support/PluginLoader.h @@ -16,6 +16,8 @@ #ifndef LLVM_SUPPORT_PLUGINLOADER_H #define LLVM_SUPPORT_PLUGINLOADER_H +#include "llvm/Support/Compiler.h" + #ifndef DONT_GET_PLUGIN_LOADER_OPTION #include "llvm/Support/CommandLine.h" #endif diff --git a/llvm/include/llvm/Support/PointerLikeTypeTraits.h b/llvm/include/llvm/Support/PointerLikeTypeTraits.h index 1b15f930bd87d9..78d47e72415193 100644 --- a/llvm/include/llvm/Support/PointerLikeTypeTraits.h +++ b/llvm/include/llvm/Support/PointerLikeTypeTraits.h @@ -14,6 +14,7 @@ #ifndef LLVM_SUPPORT_POINTERLIKETYPETRAITS_H #define LLVM_SUPPORT_POINTERLIKETYPETRAITS_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" #include #include diff --git a/llvm/include/llvm/Support/Printable.h b/llvm/include/llvm/Support/Printable.h index 8e76f01f6ba27f..12e2129c637d49 100644 --- a/llvm/include/llvm/Support/Printable.h +++ b/llvm/include/llvm/Support/Printable.h @@ -13,6 +13,7 @@ #ifndef LLVM_SUPPORT_PRINTABLE_H #define LLVM_SUPPORT_PRINTABLE_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Support/Process.h b/llvm/include/llvm/Support/Process.h index 83f1fcd8b2abca..2e2d0a1595511f 100644 --- a/llvm/include/llvm/Support/Process.h +++ b/llvm/include/llvm/Support/Process.h @@ -25,6 +25,7 @@ #define LLVM_SUPPORT_PROCESS_H #include "llvm/Support/Chrono.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" #include "llvm/Support/Error.h" #include "llvm/Support/Program.h" diff --git a/llvm/include/llvm/Support/Program.h b/llvm/include/llvm/Support/Program.h index 4c1133e44a21c9..c7a541e46e8ba9 100644 --- a/llvm/include/llvm/Support/Program.h +++ b/llvm/include/llvm/Support/Program.h @@ -16,6 +16,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" #include "llvm/Config/llvm-config.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorOr.h" #include "llvm/Support/FileSystem.h" #include diff --git a/llvm/include/llvm/Support/RISCVAttributeParser.h b/llvm/include/llvm/Support/RISCVAttributeParser.h index 305adffbe851e7..5ff943af96e0ee 100644 --- a/llvm/include/llvm/Support/RISCVAttributeParser.h +++ b/llvm/include/llvm/Support/RISCVAttributeParser.h @@ -9,6 +9,7 @@ #ifndef LLVM_SUPPORT_RISCVATTRIBUTEPARSER_H #define LLVM_SUPPORT_RISCVATTRIBUTEPARSER_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/ELFAttributeParser.h" #include "llvm/Support/RISCVAttributes.h" diff --git a/llvm/include/llvm/Support/RISCVAttributes.h b/llvm/include/llvm/Support/RISCVAttributes.h index a8ce8f4d8daf45..781e5ff383ad44 100644 --- a/llvm/include/llvm/Support/RISCVAttributes.h +++ b/llvm/include/llvm/Support/RISCVAttributes.h @@ -17,6 +17,7 @@ #ifndef LLVM_SUPPORT_RISCVATTRIBUTES_H #define LLVM_SUPPORT_RISCVATTRIBUTES_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/ELFAttributes.h" namespace llvm { diff --git a/llvm/include/llvm/Support/RISCVISAInfo.h b/llvm/include/llvm/Support/RISCVISAInfo.h index 09c4edd6df60e9..39bb6eb60610cb 100644 --- a/llvm/include/llvm/Support/RISCVISAInfo.h +++ b/llvm/include/llvm/Support/RISCVISAInfo.h @@ -11,6 +11,7 @@ #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include diff --git a/llvm/include/llvm/Support/RWMutex.h b/llvm/include/llvm/Support/RWMutex.h index 32987c3b98f1cb..781c8ec057f783 100644 --- a/llvm/include/llvm/Support/RWMutex.h +++ b/llvm/include/llvm/Support/RWMutex.h @@ -14,6 +14,7 @@ #define LLVM_SUPPORT_RWMUTEX_H #include "llvm/Config/llvm-config.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Threading.h" #include #include diff --git a/llvm/include/llvm/Support/Recycler.h b/llvm/include/llvm/Support/Recycler.h index bbd9ae321ae30c..45ff199f4a0c25 100644 --- a/llvm/include/llvm/Support/Recycler.h +++ b/llvm/include/llvm/Support/Recycler.h @@ -16,6 +16,7 @@ #include "llvm/ADT/ilist.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include diff --git a/llvm/include/llvm/Support/RecyclingAllocator.h b/llvm/include/llvm/Support/RecyclingAllocator.h index 2c29dacfe21272..6be387f38b3555 100644 --- a/llvm/include/llvm/Support/RecyclingAllocator.h +++ b/llvm/include/llvm/Support/RecyclingAllocator.h @@ -14,6 +14,7 @@ #ifndef LLVM_SUPPORT_RECYCLINGALLOCATOR_H #define LLVM_SUPPORT_RECYCLINGALLOCATOR_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Recycler.h" namespace llvm { diff --git a/llvm/include/llvm/Support/Regex.h b/llvm/include/llvm/Support/Regex.h index bb7a8009b6bd0c..4645f19bcd2971 100644 --- a/llvm/include/llvm/Support/Regex.h +++ b/llvm/include/llvm/Support/Regex.h @@ -17,6 +17,7 @@ #define LLVM_SUPPORT_REGEX_H #include "llvm/ADT/BitmaskEnum.h" +#include "llvm/Support/Compiler.h" #include struct llvm_regex; diff --git a/llvm/include/llvm/Support/SHA1.h b/llvm/include/llvm/Support/SHA1.h index ae6d62aed723aa..aaa2c914756e90 100644 --- a/llvm/include/llvm/Support/SHA1.h +++ b/llvm/include/llvm/Support/SHA1.h @@ -15,6 +15,7 @@ #ifndef LLVM_SUPPORT_SHA1_H #define LLVM_SUPPORT_SHA1_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Support/SHA256.h b/llvm/include/llvm/Support/SHA256.h index 68b32c7b483489..449effa0daf893 100644 --- a/llvm/include/llvm/Support/SHA256.h +++ b/llvm/include/llvm/Support/SHA256.h @@ -22,6 +22,7 @@ #ifndef LLVM_SUPPORT_SHA256_H #define LLVM_SUPPORT_SHA256_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Support/SMLoc.h b/llvm/include/llvm/Support/SMLoc.h index d7dde81ce0be7e..3466c9afec1930 100644 --- a/llvm/include/llvm/Support/SMLoc.h +++ b/llvm/include/llvm/Support/SMLoc.h @@ -14,6 +14,7 @@ #ifndef LLVM_SUPPORT_SMLOC_H #define LLVM_SUPPORT_SMLOC_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Support/SMTAPI.h b/llvm/include/llvm/Support/SMTAPI.h index 9389c96956dd13..970df1653adf2f 100644 --- a/llvm/include/llvm/Support/SMTAPI.h +++ b/llvm/include/llvm/Support/SMTAPI.h @@ -17,6 +17,7 @@ #include "llvm/ADT/APFloat.h" #include "llvm/ADT/APSInt.h" #include "llvm/ADT/FoldingSet.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include diff --git a/llvm/include/llvm/Support/SaveAndRestore.h b/llvm/include/llvm/Support/SaveAndRestore.h index 06cfdfffa0b7fe..a137b04fceae3c 100644 --- a/llvm/include/llvm/Support/SaveAndRestore.h +++ b/llvm/include/llvm/Support/SaveAndRestore.h @@ -15,6 +15,7 @@ #ifndef LLVM_SUPPORT_SAVEANDRESTORE_H #define LLVM_SUPPORT_SAVEANDRESTORE_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Support/ScaledNumber.h b/llvm/include/llvm/Support/ScaledNumber.h index faf3ce351c3e52..4804f58c7a24ac 100644 --- a/llvm/include/llvm/Support/ScaledNumber.h +++ b/llvm/include/llvm/Support/ScaledNumber.h @@ -21,6 +21,7 @@ #ifndef LLVM_SUPPORT_SCALEDNUMBER_H #define LLVM_SUPPORT_SCALEDNUMBER_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/MathExtras.h" #include #include diff --git a/llvm/include/llvm/Support/ScopedPrinter.h b/llvm/include/llvm/Support/ScopedPrinter.h index aaaed3f5ceac62..a5b9c0308357eb 100644 --- a/llvm/include/llvm/Support/ScopedPrinter.h +++ b/llvm/include/llvm/Support/ScopedPrinter.h @@ -14,6 +14,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringExtras.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" #include "llvm/Support/Endian.h" #include "llvm/Support/JSON.h" diff --git a/llvm/include/llvm/Support/Signals.h b/llvm/include/llvm/Support/Signals.h index 70749ce30184a7..87c5d389ef48f3 100644 --- a/llvm/include/llvm/Support/Signals.h +++ b/llvm/include/llvm/Support/Signals.h @@ -14,6 +14,7 @@ #ifndef LLVM_SUPPORT_SIGNALS_H #define LLVM_SUPPORT_SIGNALS_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Support/Signposts.h b/llvm/include/llvm/Support/Signposts.h index 37089bd1c17d3c..8a2d7a639bdd71 100644 --- a/llvm/include/llvm/Support/Signposts.h +++ b/llvm/include/llvm/Support/Signposts.h @@ -16,6 +16,7 @@ #ifndef LLVM_SUPPORT_SIGNPOSTS_H #define LLVM_SUPPORT_SIGNPOSTS_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Support/SmallVectorMemoryBuffer.h b/llvm/include/llvm/Support/SmallVectorMemoryBuffer.h index f7f2d4e54e705d..a730ce8cce223b 100644 --- a/llvm/include/llvm/Support/SmallVectorMemoryBuffer.h +++ b/llvm/include/llvm/Support/SmallVectorMemoryBuffer.h @@ -15,6 +15,7 @@ #define LLVM_SUPPORT_SMALLVECTORMEMORYBUFFER_H #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/Support/SourceMgr.h b/llvm/include/llvm/Support/SourceMgr.h index 6f5bee7f8cc220..964b7d6ccdb694 100644 --- a/llvm/include/llvm/Support/SourceMgr.h +++ b/llvm/include/llvm/Support/SourceMgr.h @@ -16,6 +16,7 @@ #define LLVM_SUPPORT_SOURCEMGR_H #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/SMLoc.h" #include diff --git a/llvm/include/llvm/Support/SpecialCaseList.h b/llvm/include/llvm/Support/SpecialCaseList.h index 6dc1a29c5a281d..af342b740fdf28 100644 --- a/llvm/include/llvm/Support/SpecialCaseList.h +++ b/llvm/include/llvm/Support/SpecialCaseList.h @@ -14,6 +14,7 @@ #include "llvm/ADT/StringMap.h" #include "llvm/Support/GlobPattern.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Regex.h" #include #include diff --git a/llvm/include/llvm/Support/StringSaver.h b/llvm/include/llvm/Support/StringSaver.h index 95ace0e0e29a02..f415cd69dc8c05 100644 --- a/llvm/include/llvm/Support/StringSaver.h +++ b/llvm/include/llvm/Support/StringSaver.h @@ -13,6 +13,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/ADT/Twine.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Support/SuffixTree.h b/llvm/include/llvm/Support/SuffixTree.h index 4940fbbf308d8b..7ab495e78e73b0 100644 --- a/llvm/include/llvm/Support/SuffixTree.h +++ b/llvm/include/llvm/Support/SuffixTree.h @@ -34,6 +34,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/SuffixTreeNode.h" namespace llvm { diff --git a/llvm/include/llvm/Support/SuffixTreeNode.h b/llvm/include/llvm/Support/SuffixTreeNode.h index 7d0d1cf0c58b95..96c1588782a2b0 100644 --- a/llvm/include/llvm/Support/SuffixTreeNode.h +++ b/llvm/include/llvm/Support/SuffixTreeNode.h @@ -26,6 +26,7 @@ #ifndef LLVM_SUPPORT_SUFFIXTREE_NODE_H #define LLVM_SUPPORT_SUFFIXTREE_NODE_H #include "llvm/ADT/DenseMap.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Support/SystemUtils.h b/llvm/include/llvm/Support/SystemUtils.h index 786bea3fcfae68..bba1d34112f7a8 100644 --- a/llvm/include/llvm/Support/SystemUtils.h +++ b/llvm/include/llvm/Support/SystemUtils.h @@ -14,6 +14,8 @@ #ifndef LLVM_SUPPORT_SYSTEMUTILS_H #define LLVM_SUPPORT_SYSTEMUTILS_H +#include "llvm/Support/Compiler.h" + namespace llvm { class raw_ostream; diff --git a/llvm/include/llvm/Support/TarWriter.h b/llvm/include/llvm/Support/TarWriter.h index 48d810ac65e351..706324a603da50 100644 --- a/llvm/include/llvm/Support/TarWriter.h +++ b/llvm/include/llvm/Support/TarWriter.h @@ -11,6 +11,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringSet.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/Support/ThreadPool.h b/llvm/include/llvm/Support/ThreadPool.h index 5e67a312d5c7b5..d25347f0d7d380 100644 --- a/llvm/include/llvm/Support/ThreadPool.h +++ b/llvm/include/llvm/Support/ThreadPool.h @@ -15,6 +15,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/Config/llvm-config.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/RWMutex.h" #include "llvm/Support/Threading.h" #include "llvm/Support/thread.h" diff --git a/llvm/include/llvm/Support/TimeProfiler.h b/llvm/include/llvm/Support/TimeProfiler.h index 454a65f70231f4..1305bcf6c0fab5 100644 --- a/llvm/include/llvm/Support/TimeProfiler.h +++ b/llvm/include/llvm/Support/TimeProfiler.h @@ -77,6 +77,7 @@ #define LLVM_SUPPORT_TIMEPROFILER_H #include "llvm/ADT/STLFunctionalExtras.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/Support/Timer.h b/llvm/include/llvm/Support/Timer.h index 1a32832b6c6536..4edf63e42bca67 100644 --- a/llvm/include/llvm/Support/Timer.h +++ b/llvm/include/llvm/Support/Timer.h @@ -11,6 +11,7 @@ #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" #include #include diff --git a/llvm/include/llvm/Support/ToolOutputFile.h b/llvm/include/llvm/Support/ToolOutputFile.h index e3fb83fdfd2c3f..8bf27c5dff5872 100644 --- a/llvm/include/llvm/Support/ToolOutputFile.h +++ b/llvm/include/llvm/Support/ToolOutputFile.h @@ -13,6 +13,7 @@ #ifndef LLVM_SUPPORT_TOOLOUTPUTFILE_H #define LLVM_SUPPORT_TOOLOUTPUTFILE_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include diff --git a/llvm/include/llvm/Support/Unicode.h b/llvm/include/llvm/Support/Unicode.h index 861548728d4f85..6c343245c803c3 100644 --- a/llvm/include/llvm/Support/Unicode.h +++ b/llvm/include/llvm/Support/Unicode.h @@ -15,6 +15,7 @@ #define LLVM_SUPPORT_UNICODE_H #include "llvm/ADT/SmallString.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Support/Valgrind.h b/llvm/include/llvm/Support/Valgrind.h index 1e14dfec9a6186..b0d68f8a49cfca 100644 --- a/llvm/include/llvm/Support/Valgrind.h +++ b/llvm/include/llvm/Support/Valgrind.h @@ -15,6 +15,7 @@ #ifndef LLVM_SUPPORT_VALGRIND_H #define LLVM_SUPPORT_VALGRIND_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Support/VersionTuple.h b/llvm/include/llvm/Support/VersionTuple.h index 0a4623f049d288..f78e1830fb690c 100644 --- a/llvm/include/llvm/Support/VersionTuple.h +++ b/llvm/include/llvm/Support/VersionTuple.h @@ -16,6 +16,7 @@ #include "llvm/ADT/DenseMapInfo.h" #include "llvm/ADT/Hashing.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Support/VirtualFileSystem.h b/llvm/include/llvm/Support/VirtualFileSystem.h index 44a56e54a0a09c..813d7f4e77b95e 100644 --- a/llvm/include/llvm/Support/VirtualFileSystem.h +++ b/llvm/include/llvm/Support/VirtualFileSystem.h @@ -19,6 +19,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/ADT/STLFunctionalExtras.h" #include "llvm/Support/Chrono.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorOr.h" #include "llvm/Support/Errc.h" #include "llvm/Support/FileSystem.h" diff --git a/llvm/include/llvm/Support/Win64EH.h b/llvm/include/llvm/Support/Win64EH.h index e84fd6d72bedbe..f7c06d6c77bc3f 100644 --- a/llvm/include/llvm/Support/Win64EH.h +++ b/llvm/include/llvm/Support/Win64EH.h @@ -15,6 +15,7 @@ #ifndef LLVM_SUPPORT_WIN64EH_H #define LLVM_SUPPORT_WIN64EH_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" #include "llvm/Support/Endian.h" diff --git a/llvm/include/llvm/Support/WindowsError.h b/llvm/include/llvm/Support/WindowsError.h index 19540522412438..12624a2fab81e0 100644 --- a/llvm/include/llvm/Support/WindowsError.h +++ b/llvm/include/llvm/Support/WindowsError.h @@ -9,6 +9,7 @@ #ifndef LLVM_SUPPORT_WINDOWSERROR_H #define LLVM_SUPPORT_WINDOWSERROR_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Support/X86DisassemblerDecoderCommon.h b/llvm/include/llvm/Support/X86DisassemblerDecoderCommon.h index 6e08fc6a0ccb65..97a22a86bd8fde 100644 --- a/llvm/include/llvm/Support/X86DisassemblerDecoderCommon.h +++ b/llvm/include/llvm/Support/X86DisassemblerDecoderCommon.h @@ -16,6 +16,7 @@ #ifndef LLVM_SUPPORT_X86DISASSEMBLERDECODERCOMMON_H #define LLVM_SUPPORT_X86DISASSEMBLERDECODERCOMMON_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" namespace llvm { diff --git a/llvm/include/llvm/Support/YAMLParser.h b/llvm/include/llvm/Support/YAMLParser.h index f4767641647c21..5280c0f9b94151 100644 --- a/llvm/include/llvm/Support/YAMLParser.h +++ b/llvm/include/llvm/Support/YAMLParser.h @@ -38,6 +38,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/SMLoc.h" #include "llvm/Support/SourceMgr.h" #include diff --git a/llvm/include/llvm/Support/YAMLTraits.h b/llvm/include/llvm/Support/YAMLTraits.h index 99074105a55698..2b9cea03b467c8 100644 --- a/llvm/include/llvm/Support/YAMLTraits.h +++ b/llvm/include/llvm/Support/YAMLTraits.h @@ -18,6 +18,7 @@ #include "llvm/ADT/Twine.h" #include "llvm/Support/AlignOf.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Endian.h" #include "llvm/Support/SMLoc.h" #include "llvm/Support/SourceMgr.h" diff --git a/llvm/include/llvm/Support/circular_raw_ostream.h b/llvm/include/llvm/Support/circular_raw_ostream.h index 17fb8fa0e476f6..859a575c362a7b 100644 --- a/llvm/include/llvm/Support/circular_raw_ostream.h +++ b/llvm/include/llvm/Support/circular_raw_ostream.h @@ -14,6 +14,7 @@ #ifndef LLVM_SUPPORT_CIRCULAR_RAW_OSTREAM_H #define LLVM_SUPPORT_CIRCULAR_RAW_OSTREAM_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" namespace llvm { diff --git a/llvm/include/llvm/Support/raw_os_ostream.h b/llvm/include/llvm/Support/raw_os_ostream.h index c51a94da3a28d2..3c9f4e94b1efb1 100644 --- a/llvm/include/llvm/Support/raw_os_ostream.h +++ b/llvm/include/llvm/Support/raw_os_ostream.h @@ -13,6 +13,7 @@ #ifndef LLVM_SUPPORT_RAW_OS_OSTREAM_H #define LLVM_SUPPORT_RAW_OS_OSTREAM_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include diff --git a/llvm/include/llvm/Support/raw_ostream.h b/llvm/include/llvm/Support/raw_ostream.h index 1e01eb9ea19c41..ddbcb8d1c64ac3 100644 --- a/llvm/include/llvm/Support/raw_ostream.h +++ b/llvm/include/llvm/Support/raw_ostream.h @@ -15,6 +15,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" #include #include diff --git a/llvm/include/llvm/Support/thread.h b/llvm/include/llvm/Support/thread.h index 69c06c050aac5f..01f7a6049fd084 100644 --- a/llvm/include/llvm/Support/thread.h +++ b/llvm/include/llvm/Support/thread.h @@ -17,6 +17,7 @@ #define LLVM_SUPPORT_THREAD_H #include "llvm/Config/llvm-config.h" +#include "llvm/Support/Compiler.h" #include #ifdef _WIN32 diff --git a/llvm/include/llvm/Support/xxhash.h b/llvm/include/llvm/Support/xxhash.h index 0cef3a54e50d70..19daf44b51ef75 100644 --- a/llvm/include/llvm/Support/xxhash.h +++ b/llvm/include/llvm/Support/xxhash.h @@ -40,6 +40,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" namespace llvm { uint64_t xxHash64(llvm::StringRef Data); diff --git a/llvm/include/llvm/TableGen/Error.h b/llvm/include/llvm/TableGen/Error.h index 04618995e0fe6d..1e46f7ba0f4692 100644 --- a/llvm/include/llvm/TableGen/Error.h +++ b/llvm/include/llvm/TableGen/Error.h @@ -14,6 +14,7 @@ #ifndef LLVM_TABLEGEN_ERROR_H #define LLVM_TABLEGEN_ERROR_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/SourceMgr.h" #include "llvm/TableGen/Record.h" diff --git a/llvm/include/llvm/TableGen/Main.h b/llvm/include/llvm/TableGen/Main.h index 4639ec756e9b17..c983da3c9201ab 100644 --- a/llvm/include/llvm/TableGen/Main.h +++ b/llvm/include/llvm/TableGen/Main.h @@ -13,6 +13,7 @@ #ifndef LLVM_TABLEGEN_MAIN_H #define LLVM_TABLEGEN_MAIN_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/TableGen/Parser.h b/llvm/include/llvm/TableGen/Parser.h index 411259e4033cf0..36771d57eac6b3 100644 --- a/llvm/include/llvm/TableGen/Parser.h +++ b/llvm/include/llvm/TableGen/Parser.h @@ -14,6 +14,7 @@ #define LLVM_TABLEGEN_PARSER_H #include "llvm/ADT/STLExtras.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/TableGen/Record.h b/llvm/include/llvm/TableGen/Record.h index c1b352e974eed9..9411d2e06176d0 100644 --- a/llvm/include/llvm/TableGen/Record.h +++ b/llvm/include/llvm/TableGen/Record.h @@ -23,6 +23,7 @@ #include "llvm/ADT/StringExtras.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/SMLoc.h" #include "llvm/Support/Timer.h" diff --git a/llvm/include/llvm/TableGen/SetTheory.h b/llvm/include/llvm/TableGen/SetTheory.h index 4cff688164b0c4..146905451b2711 100644 --- a/llvm/include/llvm/TableGen/SetTheory.h +++ b/llvm/include/llvm/TableGen/SetTheory.h @@ -51,6 +51,7 @@ #include "llvm/ADT/SetVector.h" #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/SMLoc.h" #include #include diff --git a/llvm/include/llvm/TableGen/StringMatcher.h b/llvm/include/llvm/TableGen/StringMatcher.h index 795b7a6d41dcc6..856a3cd7a68961 100644 --- a/llvm/include/llvm/TableGen/StringMatcher.h +++ b/llvm/include/llvm/TableGen/StringMatcher.h @@ -14,6 +14,7 @@ #define LLVM_TABLEGEN_STRINGMATCHER_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/TableGen/TableGenBackend.h b/llvm/include/llvm/TableGen/TableGenBackend.h index 9c5a785f45a403..e4be0a98a3aee2 100644 --- a/llvm/include/llvm/TableGen/TableGenBackend.h +++ b/llvm/include/llvm/TableGen/TableGenBackend.h @@ -15,6 +15,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/ManagedStatic.h" #include "llvm/TableGen/Record.h" diff --git a/llvm/include/llvm/Target/CGPassBuilderOption.h b/llvm/include/llvm/Target/CGPassBuilderOption.h index bf297ae498b2de..08969ee7c22a91 100644 --- a/llvm/include/llvm/Target/CGPassBuilderOption.h +++ b/llvm/include/llvm/Target/CGPassBuilderOption.h @@ -15,6 +15,7 @@ #define LLVM_TARGET_CGPASSBUILDEROPTION_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Target/TargetOptions.h" #include diff --git a/llvm/include/llvm/Target/TargetIntrinsicInfo.h b/llvm/include/llvm/Target/TargetIntrinsicInfo.h index dc59f11c8d9a13..ef571b15153e7d 100644 --- a/llvm/include/llvm/Target/TargetIntrinsicInfo.h +++ b/llvm/include/llvm/Target/TargetIntrinsicInfo.h @@ -14,6 +14,7 @@ #define LLVM_TARGET_TARGETINTRINSICINFO_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Target/TargetLoweringObjectFile.h b/llvm/include/llvm/Target/TargetLoweringObjectFile.h index 0c09cfe684783b..4ebbf95466c9e3 100644 --- a/llvm/include/llvm/Target/TargetLoweringObjectFile.h +++ b/llvm/include/llvm/Target/TargetLoweringObjectFile.h @@ -16,6 +16,7 @@ #include "llvm/MC/MCObjectFileInfo.h" #include "llvm/MC/MCRegister.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Target/TargetMachine.h b/llvm/include/llvm/Target/TargetMachine.h index c1d05b25ea21f8..c6ca29060e6d38 100644 --- a/llvm/include/llvm/Target/TargetMachine.h +++ b/llvm/include/llvm/Target/TargetMachine.h @@ -18,6 +18,7 @@ #include "llvm/IR/PassManager.h" #include "llvm/Support/Allocator.h" #include "llvm/Support/CodeGen.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/PGOOptions.h" #include "llvm/Target/CGPassBuilderOption.h" diff --git a/llvm/include/llvm/Target/TargetOptions.h b/llvm/include/llvm/Target/TargetOptions.h index d6d767f3d22c73..ee6598fda4fbb7 100644 --- a/llvm/include/llvm/Target/TargetOptions.h +++ b/llvm/include/llvm/Target/TargetOptions.h @@ -16,6 +16,7 @@ #include "llvm/ADT/FloatingPointMode.h" #include "llvm/MC/MCTargetOptions.h" +#include "llvm/Support/Compiler.h" #include diff --git a/llvm/include/llvm/TargetParser/AArch64TargetParser.h b/llvm/include/llvm/TargetParser/AArch64TargetParser.h index c2f9bb29027135..708787a0e7eb92 100644 --- a/llvm/include/llvm/TargetParser/AArch64TargetParser.h +++ b/llvm/include/llvm/TargetParser/AArch64TargetParser.h @@ -18,6 +18,7 @@ #include "llvm/ADT/Bitset.h" #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/VersionTuple.h" #include #include diff --git a/llvm/include/llvm/TargetParser/ARMTargetParser.h b/llvm/include/llvm/TargetParser/ARMTargetParser.h index c42d66f048fccc..db6bb456c19d6f 100644 --- a/llvm/include/llvm/TargetParser/ARMTargetParser.h +++ b/llvm/include/llvm/TargetParser/ARMTargetParser.h @@ -17,6 +17,7 @@ #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/ARMBuildAttributes.h" +#include "llvm/Support/Compiler.h" #include "llvm/TargetParser/ARMTargetParserCommon.h" #include diff --git a/llvm/include/llvm/TargetParser/ARMTargetParserCommon.h b/llvm/include/llvm/TargetParser/ARMTargetParserCommon.h index e3d9ffc1d4db52..0e9bae86fed558 100644 --- a/llvm/include/llvm/TargetParser/ARMTargetParserCommon.h +++ b/llvm/include/llvm/TargetParser/ARMTargetParserCommon.h @@ -14,6 +14,7 @@ #define LLVM_TARGETPARSER_ARMTARGETPARSERCOMMON_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace ARM { diff --git a/llvm/include/llvm/TargetParser/CSKYTargetParser.h b/llvm/include/llvm/TargetParser/CSKYTargetParser.h index 4c4ec06f758a88..5a9f95056801e3 100644 --- a/llvm/include/llvm/TargetParser/CSKYTargetParser.h +++ b/llvm/include/llvm/TargetParser/CSKYTargetParser.h @@ -15,6 +15,7 @@ #ifndef LLVM_TARGETPARSER_CSKYTARGETPARSER_H #define LLVM_TARGETPARSER_CSKYTARGETPARSER_H +#include "llvm/Support/Compiler.h" #include "llvm/TargetParser/Triple.h" #include diff --git a/llvm/include/llvm/TargetParser/Host.h b/llvm/include/llvm/TargetParser/Host.h index af72045a8fe67f..2c86d26c395ce7 100644 --- a/llvm/include/llvm/TargetParser/Host.h +++ b/llvm/include/llvm/TargetParser/Host.h @@ -13,6 +13,7 @@ #ifndef LLVM_TARGETPARSER_HOST_H #define LLVM_TARGETPARSER_HOST_H +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/TargetParser/LoongArchTargetParser.h b/llvm/include/llvm/TargetParser/LoongArchTargetParser.h index 028844187584b2..1a2afe1a09cb1e 100644 --- a/llvm/include/llvm/TargetParser/LoongArchTargetParser.h +++ b/llvm/include/llvm/TargetParser/LoongArchTargetParser.h @@ -14,6 +14,7 @@ #ifndef LLVM_TARGETPARSER_LOONGARCHTARGETPARSER_H #define LLVM_TARGETPARSER_LOONGARCHTARGETPARSER_H +#include "llvm/Support/Compiler.h" #include "llvm/TargetParser/Triple.h" #include diff --git a/llvm/include/llvm/TargetParser/RISCVTargetParser.h b/llvm/include/llvm/TargetParser/RISCVTargetParser.h index 5cc8a4a9530453..7149b49c251a6d 100644 --- a/llvm/include/llvm/TargetParser/RISCVTargetParser.h +++ b/llvm/include/llvm/TargetParser/RISCVTargetParser.h @@ -15,6 +15,7 @@ #define LLVM_TARGETPARSER_RISCVTARGETPARSER_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/TargetParser/SubtargetFeature.h b/llvm/include/llvm/TargetParser/SubtargetFeature.h index 2e1f00dad2df36..0051ab06a3ea93 100644 --- a/llvm/include/llvm/TargetParser/SubtargetFeature.h +++ b/llvm/include/llvm/TargetParser/SubtargetFeature.h @@ -20,6 +20,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MathExtras.h" #include #include diff --git a/llvm/include/llvm/TargetParser/TargetParser.h b/llvm/include/llvm/TargetParser/TargetParser.h index a40599c88f28eb..507e77e062a8d5 100644 --- a/llvm/include/llvm/TargetParser/TargetParser.h +++ b/llvm/include/llvm/TargetParser/TargetParser.h @@ -16,6 +16,7 @@ #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/TargetParser/Triple.h b/llvm/include/llvm/TargetParser/Triple.h index 414b86d53aff6b..1730779362cb35 100644 --- a/llvm/include/llvm/TargetParser/Triple.h +++ b/llvm/include/llvm/TargetParser/Triple.h @@ -10,6 +10,7 @@ #define LLVM_TARGETPARSER_TRIPLE_H #include "llvm/ADT/Twine.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/VersionTuple.h" // Some system headers or GCC predefined macros conflict with identifiers in diff --git a/llvm/include/llvm/TargetParser/X86TargetParser.h b/llvm/include/llvm/TargetParser/X86TargetParser.h index 2083e585af4ac8..d5730c94ca8884 100644 --- a/llvm/include/llvm/TargetParser/X86TargetParser.h +++ b/llvm/include/llvm/TargetParser/X86TargetParser.h @@ -16,6 +16,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringMap.h" #include +#include "llvm/Support/Compiler.h" namespace llvm { template class SmallVectorImpl; diff --git a/llvm/include/llvm/Testing/Annotations/Annotations.h b/llvm/include/llvm/Testing/Annotations/Annotations.h index 4d38002f029de2..cba192d12bcb79 100644 --- a/llvm/include/llvm/Testing/Annotations/Annotations.h +++ b/llvm/include/llvm/Testing/Annotations/Annotations.h @@ -11,6 +11,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Testing/Support/Error.h b/llvm/include/llvm/Testing/Support/Error.h index 5ed8f11e6189b5..6987b0c38e342d 100644 --- a/llvm/include/llvm/Testing/Support/Error.h +++ b/llvm/include/llvm/Testing/Support/Error.h @@ -9,6 +9,7 @@ #ifndef LLVM_TESTING_SUPPORT_ERROR_H #define LLVM_TESTING_SUPPORT_ERROR_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Testing/Support/SupportHelpers.h" diff --git a/llvm/include/llvm/Testing/Support/SupportHelpers.h b/llvm/include/llvm/Testing/Support/SupportHelpers.h index 95c2765027ba0e..e82c413bea769f 100644 --- a/llvm/include/llvm/Testing/Support/SupportHelpers.h +++ b/llvm/include/llvm/Testing/Support/SupportHelpers.h @@ -10,6 +10,7 @@ #define LLVM_TESTING_SUPPORT_SUPPORTHELPERS_H #include "llvm/ADT/SmallString.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/Path.h" diff --git a/llvm/include/llvm/TextAPI/Architecture.h b/llvm/include/llvm/TextAPI/Architecture.h index 978359995074b9..ece107731f1ceb 100644 --- a/llvm/include/llvm/TextAPI/Architecture.h +++ b/llvm/include/llvm/TextAPI/Architecture.h @@ -13,6 +13,7 @@ #ifndef LLVM_TEXTAPI_ARCHITECTURE_H #define LLVM_TEXTAPI_ARCHITECTURE_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/TextAPI/ArchitectureSet.h b/llvm/include/llvm/TextAPI/ArchitectureSet.h index 2cce9dbf0d80c3..6f628dc5cee8e9 100644 --- a/llvm/include/llvm/TextAPI/ArchitectureSet.h +++ b/llvm/include/llvm/TextAPI/ArchitectureSet.h @@ -13,6 +13,7 @@ #ifndef LLVM_TEXTAPI_ARCHITECTURESET_H #define LLVM_TEXTAPI_ARCHITECTURESET_H +#include "llvm/Support/Compiler.h" #include "llvm/TextAPI/Architecture.h" #include #include diff --git a/llvm/include/llvm/TextAPI/InterfaceFile.h b/llvm/include/llvm/TextAPI/InterfaceFile.h index ae2bf78403f4f1..fb918b3ac38ec1 100644 --- a/llvm/include/llvm/TextAPI/InterfaceFile.h +++ b/llvm/include/llvm/TextAPI/InterfaceFile.h @@ -20,6 +20,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/ADT/iterator.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/TextAPI/ArchitectureSet.h" #include "llvm/TextAPI/PackedVersion.h" #include "llvm/TextAPI/Platform.h" diff --git a/llvm/include/llvm/TextAPI/PackedVersion.h b/llvm/include/llvm/TextAPI/PackedVersion.h index e680d40c71044b..7280954cd2d6ea 100644 --- a/llvm/include/llvm/TextAPI/PackedVersion.h +++ b/llvm/include/llvm/TextAPI/PackedVersion.h @@ -14,6 +14,7 @@ #define LLVM_TEXTAPI_PACKEDVERSION_H #include "llvm/Support/VersionTuple.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/TextAPI/Platform.h b/llvm/include/llvm/TextAPI/Platform.h index d828d9ac49f65f..56938e85b21965 100644 --- a/llvm/include/llvm/TextAPI/Platform.h +++ b/llvm/include/llvm/TextAPI/Platform.h @@ -14,6 +14,7 @@ #include "llvm/ADT/SmallSet.h" #include "llvm/BinaryFormat/MachO.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/VersionTuple.h" namespace llvm { diff --git a/llvm/include/llvm/TextAPI/Symbol.h b/llvm/include/llvm/TextAPI/Symbol.h index 35d9a64dee1c19..3b5713faa8a09f 100644 --- a/llvm/include/llvm/TextAPI/Symbol.h +++ b/llvm/include/llvm/TextAPI/Symbol.h @@ -11,6 +11,7 @@ #include "llvm/ADT/BitmaskEnum.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include "llvm/TextAPI/ArchitectureSet.h" #include "llvm/TextAPI/Target.h" diff --git a/llvm/include/llvm/TextAPI/Target.h b/llvm/include/llvm/TextAPI/Target.h index edcc0708d14789..a889cb6f9934f9 100644 --- a/llvm/include/llvm/TextAPI/Target.h +++ b/llvm/include/llvm/TextAPI/Target.h @@ -9,6 +9,7 @@ #ifndef LLVM_TEXTAPI_TARGET_H #define LLVM_TEXTAPI_TARGET_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/Support/VersionTuple.h" #include "llvm/TargetParser/Triple.h" diff --git a/llvm/include/llvm/TextAPI/TextAPIReader.h b/llvm/include/llvm/TextAPI/TextAPIReader.h index 32af0e3601f187..123547a3434fab 100644 --- a/llvm/include/llvm/TextAPI/TextAPIReader.h +++ b/llvm/include/llvm/TextAPI/TextAPIReader.h @@ -9,6 +9,7 @@ #ifndef LLVM_TEXTAPI_TEXTAPIREADER_H #define LLVM_TEXTAPI_TEXTAPIREADER_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/TextAPI/TextAPIWriter.h b/llvm/include/llvm/TextAPI/TextAPIWriter.h index 89fc984854dbae..15f9b47457cc45 100644 --- a/llvm/include/llvm/TextAPI/TextAPIWriter.h +++ b/llvm/include/llvm/TextAPI/TextAPIWriter.h @@ -10,6 +10,7 @@ #define LLVM_TEXTAPI_TEXTAPIWRITER_H #include "llvm/TextAPI/InterfaceFile.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/ToolDrivers/llvm-dlltool/DlltoolDriver.h b/llvm/include/llvm/ToolDrivers/llvm-dlltool/DlltoolDriver.h index d144f62f1cc1ad..4d4e0128ecee11 100644 --- a/llvm/include/llvm/ToolDrivers/llvm-dlltool/DlltoolDriver.h +++ b/llvm/include/llvm/ToolDrivers/llvm-dlltool/DlltoolDriver.h @@ -14,6 +14,8 @@ #ifndef LLVM_TOOLDRIVERS_LLVM_DLLTOOL_DLLTOOLDRIVER_H #define LLVM_TOOLDRIVERS_LLVM_DLLTOOL_DLLTOOLDRIVER_H +#include "llvm/Support/Compiler.h" + namespace llvm { template class ArrayRef; diff --git a/llvm/include/llvm/ToolDrivers/llvm-lib/LibDriver.h b/llvm/include/llvm/ToolDrivers/llvm-lib/LibDriver.h index 23a2fc348a8927..badfa57ddf8d6e 100644 --- a/llvm/include/llvm/ToolDrivers/llvm-lib/LibDriver.h +++ b/llvm/include/llvm/ToolDrivers/llvm-lib/LibDriver.h @@ -14,6 +14,8 @@ #ifndef LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H #define LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H +#include "llvm/Support/Compiler.h" + namespace llvm { template class ArrayRef; diff --git a/llvm/include/llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h b/llvm/include/llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h index 2d76546316fafb..c7d4124a0b3853 100644 --- a/llvm/include/llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h +++ b/llvm/include/llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h @@ -16,6 +16,7 @@ #define LLVM_TRANSFORMS_AGGRESSIVEINSTCOMBINE_AGGRESSIVEINSTCOMBINE_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/CFGuard.h b/llvm/include/llvm/Transforms/CFGuard.h index 86fcbc3c13e8b7..35ed6144dbe8f5 100644 --- a/llvm/include/llvm/Transforms/CFGuard.h +++ b/llvm/include/llvm/Transforms/CFGuard.h @@ -11,6 +11,8 @@ #ifndef LLVM_TRANSFORMS_CFGUARD_H #define LLVM_TRANSFORMS_CFGUARD_H +#include "llvm/Support/Compiler.h" + namespace llvm { class FunctionPass; diff --git a/llvm/include/llvm/Transforms/Coroutines/CoroCleanup.h b/llvm/include/llvm/Transforms/Coroutines/CoroCleanup.h index 3000a38258f4ff..19c727952cfcc2 100644 --- a/llvm/include/llvm/Transforms/Coroutines/CoroCleanup.h +++ b/llvm/include/llvm/Transforms/Coroutines/CoroCleanup.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_COROUTINES_COROCLEANUP_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Coroutines/CoroConditionalWrapper.h b/llvm/include/llvm/Transforms/Coroutines/CoroConditionalWrapper.h index 86b0449b8713df..6433072c332d82 100644 --- a/llvm/include/llvm/Transforms/Coroutines/CoroConditionalWrapper.h +++ b/llvm/include/llvm/Transforms/Coroutines/CoroConditionalWrapper.h @@ -10,6 +10,7 @@ #define LLVM_TRANSFORMS_COROUTINES_COROCONDITIONALWRAPPER_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Coroutines/CoroEarly.h b/llvm/include/llvm/Transforms/Coroutines/CoroEarly.h index d55dcc6dfa6db8..71b312dbf5170e 100644 --- a/llvm/include/llvm/Transforms/Coroutines/CoroEarly.h +++ b/llvm/include/llvm/Transforms/Coroutines/CoroEarly.h @@ -18,6 +18,7 @@ #define LLVM_TRANSFORMS_COROUTINES_COROEARLY_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Coroutines/CoroElide.h b/llvm/include/llvm/Transforms/Coroutines/CoroElide.h index ff73cf20c5bf2a..b458584374da5f 100644 --- a/llvm/include/llvm/Transforms/Coroutines/CoroElide.h +++ b/llvm/include/llvm/Transforms/Coroutines/CoroElide.h @@ -17,6 +17,7 @@ #define LLVM_TRANSFORMS_COROUTINES_COROELIDE_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Coroutines/CoroSplit.h b/llvm/include/llvm/Transforms/Coroutines/CoroSplit.h index a2be1099ff68fc..c0ce3cf648efb5 100644 --- a/llvm/include/llvm/Transforms/Coroutines/CoroSplit.h +++ b/llvm/include/llvm/Transforms/Coroutines/CoroSplit.h @@ -18,6 +18,7 @@ #include "llvm/Analysis/CGSCCPassManager.h" #include "llvm/Analysis/LazyCallGraph.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO.h b/llvm/include/llvm/Transforms/IPO.h index 4995b000c45424..a509ea9ecadd0d 100644 --- a/llvm/include/llvm/Transforms/IPO.h +++ b/llvm/include/llvm/Transforms/IPO.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_IPO_H #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Transforms/IPO/AlwaysInliner.h b/llvm/include/llvm/Transforms/IPO/AlwaysInliner.h index 252cfd4dc5f372..6dac984a66bab8 100644 --- a/llvm/include/llvm/Transforms/IPO/AlwaysInliner.h +++ b/llvm/include/llvm/Transforms/IPO/AlwaysInliner.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_IPO_ALWAYSINLINER_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/Annotation2Metadata.h b/llvm/include/llvm/Transforms/IPO/Annotation2Metadata.h index dee2759d854f7a..f2cd083c37af40 100644 --- a/llvm/include/llvm/Transforms/IPO/Annotation2Metadata.h +++ b/llvm/include/llvm/Transforms/IPO/Annotation2Metadata.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_IPO_ANNOTATION2METADATA_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/ArgumentPromotion.h b/llvm/include/llvm/Transforms/IPO/ArgumentPromotion.h index 3865f098b8de06..60b8350f221af8 100644 --- a/llvm/include/llvm/Transforms/IPO/ArgumentPromotion.h +++ b/llvm/include/llvm/Transforms/IPO/ArgumentPromotion.h @@ -12,6 +12,7 @@ #include "llvm/Analysis/CGSCCPassManager.h" #include "llvm/Analysis/LazyCallGraph.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/Attributor.h b/llvm/include/llvm/Transforms/IPO/Attributor.h index 7190036d60c8c6..8991715f86ac7d 100644 --- a/llvm/include/llvm/Transforms/IPO/Attributor.h +++ b/llvm/include/llvm/Transforms/IPO/Attributor.h @@ -127,6 +127,7 @@ #include "llvm/Support/Alignment.h" #include "llvm/Support/Allocator.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DOTGraphTraits.h" #include "llvm/Support/DebugCounter.h" #include "llvm/Support/ErrorHandling.h" diff --git a/llvm/include/llvm/Transforms/IPO/BlockExtractor.h b/llvm/include/llvm/Transforms/IPO/BlockExtractor.h index 6211027bd672a4..b596e24732f1e6 100644 --- a/llvm/include/llvm/Transforms/IPO/BlockExtractor.h +++ b/llvm/include/llvm/Transforms/IPO/BlockExtractor.h @@ -18,6 +18,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class BasicBlock; diff --git a/llvm/include/llvm/Transforms/IPO/CalledValuePropagation.h b/llvm/include/llvm/Transforms/IPO/CalledValuePropagation.h index 782633799ede62..89af01b7e8f2bb 100644 --- a/llvm/include/llvm/Transforms/IPO/CalledValuePropagation.h +++ b/llvm/include/llvm/Transforms/IPO/CalledValuePropagation.h @@ -20,6 +20,7 @@ #define LLVM_TRANSFORMS_IPO_CALLEDVALUEPROPAGATION_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/ConstantMerge.h b/llvm/include/llvm/Transforms/IPO/ConstantMerge.h index 12d38b5f58fa0d..1a3e0fd20f7aaa 100644 --- a/llvm/include/llvm/Transforms/IPO/ConstantMerge.h +++ b/llvm/include/llvm/Transforms/IPO/ConstantMerge.h @@ -20,6 +20,7 @@ #define LLVM_TRANSFORMS_IPO_CONSTANTMERGE_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/CrossDSOCFI.h b/llvm/include/llvm/Transforms/IPO/CrossDSOCFI.h index d34a5108110180..709a63a4f8a2a7 100644 --- a/llvm/include/llvm/Transforms/IPO/CrossDSOCFI.h +++ b/llvm/include/llvm/Transforms/IPO/CrossDSOCFI.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_IPO_CROSSDSOCFI_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class CrossDSOCFIPass : public PassInfoMixin { diff --git a/llvm/include/llvm/Transforms/IPO/DeadArgumentElimination.h b/llvm/include/llvm/Transforms/IPO/DeadArgumentElimination.h index 63e1ad043d49f6..1193946d20ed4a 100644 --- a/llvm/include/llvm/Transforms/IPO/DeadArgumentElimination.h +++ b/llvm/include/llvm/Transforms/IPO/DeadArgumentElimination.h @@ -23,6 +23,7 @@ #include "llvm/ADT/Twine.h" #include "llvm/IR/Function.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Transforms/IPO/ElimAvailExtern.h b/llvm/include/llvm/Transforms/IPO/ElimAvailExtern.h index 92c319b3cce30a..4ddbc4ba0ae6f5 100644 --- a/llvm/include/llvm/Transforms/IPO/ElimAvailExtern.h +++ b/llvm/include/llvm/Transforms/IPO/ElimAvailExtern.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_IPO_ELIMAVAILEXTERN_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/EmbedBitcodePass.h b/llvm/include/llvm/Transforms/IPO/EmbedBitcodePass.h index f323c61483fd30..47303a8e8618b1 100644 --- a/llvm/include/llvm/Transforms/IPO/EmbedBitcodePass.h +++ b/llvm/include/llvm/Transforms/IPO/EmbedBitcodePass.h @@ -19,6 +19,7 @@ #define LLVM_TRANSFORMS_IPO_EMBEDBITCODEPASS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Module; diff --git a/llvm/include/llvm/Transforms/IPO/ExtractGV.h b/llvm/include/llvm/Transforms/IPO/ExtractGV.h index 45e29ba9a3ecfe..df68ed63d176a7 100644 --- a/llvm/include/llvm/Transforms/IPO/ExtractGV.h +++ b/llvm/include/llvm/Transforms/IPO/ExtractGV.h @@ -11,6 +11,7 @@ #include "llvm/ADT/SetVector.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/ForceFunctionAttrs.h b/llvm/include/llvm/Transforms/IPO/ForceFunctionAttrs.h index 52667e19bc88b3..d52e296e103797 100644 --- a/llvm/include/llvm/Transforms/IPO/ForceFunctionAttrs.h +++ b/llvm/include/llvm/Transforms/IPO/ForceFunctionAttrs.h @@ -14,6 +14,7 @@ #define LLVM_TRANSFORMS_IPO_FORCEFUNCTIONATTRS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Module; diff --git a/llvm/include/llvm/Transforms/IPO/FunctionAttrs.h b/llvm/include/llvm/Transforms/IPO/FunctionAttrs.h index 6a21ff616d5067..320efbb22b2051 100644 --- a/llvm/include/llvm/Transforms/IPO/FunctionAttrs.h +++ b/llvm/include/llvm/Transforms/IPO/FunctionAttrs.h @@ -19,6 +19,7 @@ #include "llvm/Analysis/CGSCCPassManager.h" #include "llvm/Analysis/LazyCallGraph.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/FunctionImport.h b/llvm/include/llvm/Transforms/IPO/FunctionImport.h index f251087923547b..15523744082105 100644 --- a/llvm/include/llvm/Transforms/IPO/FunctionImport.h +++ b/llvm/include/llvm/Transforms/IPO/FunctionImport.h @@ -15,6 +15,7 @@ #include "llvm/IR/GlobalValue.h" #include "llvm/IR/ModuleSummaryIndex.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/Transforms/IPO/FunctionSpecialization.h b/llvm/include/llvm/Transforms/IPO/FunctionSpecialization.h index 50f9aae73dc53e..b948879db83369 100644 --- a/llvm/include/llvm/Transforms/IPO/FunctionSpecialization.h +++ b/llvm/include/llvm/Transforms/IPO/FunctionSpecialization.h @@ -79,6 +79,7 @@ #include "llvm/Analysis/InlineCost.h" #include "llvm/Analysis/TargetTransformInfo.h" #include "llvm/IR/InstVisitor.h" +#include "llvm/Support/Compiler.h" #include "llvm/Transforms/Scalar/SCCP.h" #include "llvm/Transforms/Utils/Cloning.h" #include "llvm/Transforms/Utils/SCCPSolver.h" diff --git a/llvm/include/llvm/Transforms/IPO/GlobalDCE.h b/llvm/include/llvm/Transforms/IPO/GlobalDCE.h index 92c30d4b54a261..9072df72d12e37 100644 --- a/llvm/include/llvm/Transforms/IPO/GlobalDCE.h +++ b/llvm/include/llvm/Transforms/IPO/GlobalDCE.h @@ -21,6 +21,7 @@ #include "llvm/ADT/SmallSet.h" #include "llvm/IR/GlobalValue.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/GlobalOpt.h b/llvm/include/llvm/Transforms/IPO/GlobalOpt.h index 48a861ff2cf8f4..f75c99c64343ec 100644 --- a/llvm/include/llvm/Transforms/IPO/GlobalOpt.h +++ b/llvm/include/llvm/Transforms/IPO/GlobalOpt.h @@ -16,6 +16,7 @@ #define LLVM_TRANSFORMS_IPO_GLOBALOPT_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/GlobalSplit.h b/llvm/include/llvm/Transforms/IPO/GlobalSplit.h index 690b23a2d78535..e7f158cc55d08d 100644 --- a/llvm/include/llvm/Transforms/IPO/GlobalSplit.h +++ b/llvm/include/llvm/Transforms/IPO/GlobalSplit.h @@ -17,6 +17,7 @@ #define LLVM_TRANSFORMS_IPO_GLOBALSPLIT_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/HotColdSplitting.h b/llvm/include/llvm/Transforms/IPO/HotColdSplitting.h index c87c6453500c57..560aaf9dfa2972 100644 --- a/llvm/include/llvm/Transforms/IPO/HotColdSplitting.h +++ b/llvm/include/llvm/Transforms/IPO/HotColdSplitting.h @@ -14,6 +14,7 @@ #include "llvm/IR/PassManager.h" #include "llvm/Support/BranchProbability.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/IROutliner.h b/llvm/include/llvm/Transforms/IPO/IROutliner.h index 28970f7dcdf10e..2f21deab0b56c9 100644 --- a/llvm/include/llvm/Transforms/IPO/IROutliner.h +++ b/llvm/include/llvm/Transforms/IPO/IROutliner.h @@ -43,6 +43,7 @@ #include "llvm/Analysis/IRSimilarityIdentifier.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/InstructionCost.h" #include "llvm/Transforms/Utils/CodeExtractor.h" diff --git a/llvm/include/llvm/Transforms/IPO/InferFunctionAttrs.h b/llvm/include/llvm/Transforms/IPO/InferFunctionAttrs.h index 8addf49fc0d81f..68fadcd0989643 100644 --- a/llvm/include/llvm/Transforms/IPO/InferFunctionAttrs.h +++ b/llvm/include/llvm/Transforms/IPO/InferFunctionAttrs.h @@ -16,6 +16,7 @@ #define LLVM_TRANSFORMS_IPO_INFERFUNCTIONATTRS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Module; diff --git a/llvm/include/llvm/Transforms/IPO/Inliner.h b/llvm/include/llvm/Transforms/IPO/Inliner.h index 401aa2d3a0cc63..b9ab31191c4791 100644 --- a/llvm/include/llvm/Transforms/IPO/Inliner.h +++ b/llvm/include/llvm/Transforms/IPO/Inliner.h @@ -15,6 +15,7 @@ #include "llvm/Analysis/LazyCallGraph.h" #include "llvm/Analysis/Utils/ImportedFunctionsInliningStatistics.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/Internalize.h b/llvm/include/llvm/Transforms/IPO/Internalize.h index ece5bfe77b7983..3ccef96f6ab4d3 100644 --- a/llvm/include/llvm/Transforms/IPO/Internalize.h +++ b/llvm/include/llvm/Transforms/IPO/Internalize.h @@ -24,6 +24,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/StringSet.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/LoopExtractor.h b/llvm/include/llvm/Transforms/IPO/LoopExtractor.h index aa697484d0e95e..06971e7c8a2196 100644 --- a/llvm/include/llvm/Transforms/IPO/LoopExtractor.h +++ b/llvm/include/llvm/Transforms/IPO/LoopExtractor.h @@ -17,6 +17,7 @@ #define LLVM_TRANSFORMS_IPO_LOOPEXTRACTOR_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/LowerTypeTests.h b/llvm/include/llvm/Transforms/IPO/LowerTypeTests.h index eb682c437b94bc..105d7823afc346 100644 --- a/llvm/include/llvm/Transforms/IPO/LowerTypeTests.h +++ b/llvm/include/llvm/Transforms/IPO/LowerTypeTests.h @@ -16,6 +16,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Transforms/IPO/MemProfContextDisambiguation.h b/llvm/include/llvm/Transforms/IPO/MemProfContextDisambiguation.h index f4c20a5749f0be..88e3aa2722a73e 100644 --- a/llvm/include/llvm/Transforms/IPO/MemProfContextDisambiguation.h +++ b/llvm/include/llvm/Transforms/IPO/MemProfContextDisambiguation.h @@ -20,6 +20,7 @@ #include "llvm/IR/GlobalValue.h" #include "llvm/IR/ModuleSummaryIndex.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/MergeFunctions.h b/llvm/include/llvm/Transforms/IPO/MergeFunctions.h index 822f0fd99188d0..67c17b2ebe6aeb 100644 --- a/llvm/include/llvm/Transforms/IPO/MergeFunctions.h +++ b/llvm/include/llvm/Transforms/IPO/MergeFunctions.h @@ -16,6 +16,7 @@ #define LLVM_TRANSFORMS_IPO_MERGEFUNCTIONS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/ModuleInliner.h b/llvm/include/llvm/Transforms/IPO/ModuleInliner.h index 24cfff6083ffb3..def16aecc09580 100644 --- a/llvm/include/llvm/Transforms/IPO/ModuleInliner.h +++ b/llvm/include/llvm/Transforms/IPO/ModuleInliner.h @@ -12,6 +12,7 @@ #include "llvm/Analysis/InlineAdvisor.h" #include "llvm/Analysis/InlineCost.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/OpenMPOpt.h b/llvm/include/llvm/Transforms/IPO/OpenMPOpt.h index 2499c2bbccf455..1f371eb92d5d2f 100644 --- a/llvm/include/llvm/Transforms/IPO/OpenMPOpt.h +++ b/llvm/include/llvm/Transforms/IPO/OpenMPOpt.h @@ -12,6 +12,7 @@ #include "llvm/Analysis/CGSCCPassManager.h" #include "llvm/Analysis/LazyCallGraph.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/PartialInlining.h b/llvm/include/llvm/Transforms/IPO/PartialInlining.h index 3b8297d6598756..a56beeb6d0b2db 100644 --- a/llvm/include/llvm/Transforms/IPO/PartialInlining.h +++ b/llvm/include/llvm/Transforms/IPO/PartialInlining.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_IPO_PARTIALINLINING_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/ProfiledCallGraph.h b/llvm/include/llvm/Transforms/IPO/ProfiledCallGraph.h index 9436e7b41a98f6..4abcc39df34c83 100644 --- a/llvm/include/llvm/Transforms/IPO/ProfiledCallGraph.h +++ b/llvm/include/llvm/Transforms/IPO/ProfiledCallGraph.h @@ -14,6 +14,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/ProfileData/SampleProf.h" #include "llvm/ProfileData/SampleProfReader.h" +#include "llvm/Support/Compiler.h" #include "llvm/Transforms/IPO/SampleContextTracker.h" #include #include diff --git a/llvm/include/llvm/Transforms/IPO/SCCP.h b/llvm/include/llvm/Transforms/IPO/SCCP.h index 980737253eef51..dbb59e16a8d1a7 100644 --- a/llvm/include/llvm/Transforms/IPO/SCCP.h +++ b/llvm/include/llvm/Transforms/IPO/SCCP.h @@ -21,6 +21,7 @@ #define LLVM_TRANSFORMS_IPO_SCCP_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/SampleContextTracker.h b/llvm/include/llvm/Transforms/IPO/SampleContextTracker.h index f4c999ab93d8aa..9be3f8cd725bde 100644 --- a/llvm/include/llvm/Transforms/IPO/SampleContextTracker.h +++ b/llvm/include/llvm/Transforms/IPO/SampleContextTracker.h @@ -19,6 +19,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/ADT/iterator.h" #include "llvm/ProfileData/SampleProf.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Transforms/IPO/SampleProfileProbe.h b/llvm/include/llvm/Transforms/IPO/SampleProfileProbe.h index 601fe6ce8a2e25..fccfcb3ab62313 100644 --- a/llvm/include/llvm/Transforms/IPO/SampleProfileProbe.h +++ b/llvm/include/llvm/Transforms/IPO/SampleProfileProbe.h @@ -19,6 +19,7 @@ #include "llvm/Analysis/LazyCallGraph.h" #include "llvm/IR/PassManager.h" #include "llvm/ProfileData/SampleProf.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/StripDeadPrototypes.h b/llvm/include/llvm/Transforms/IPO/StripDeadPrototypes.h index 4a2eaad63113e2..7947bb7acf0cf1 100644 --- a/llvm/include/llvm/Transforms/IPO/StripDeadPrototypes.h +++ b/llvm/include/llvm/Transforms/IPO/StripDeadPrototypes.h @@ -17,6 +17,7 @@ #define LLVM_TRANSFORMS_IPO_STRIPDEADPROTOTYPES_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/StripSymbols.h b/llvm/include/llvm/Transforms/IPO/StripSymbols.h index dd76d481d668c5..3e5425e3e3d5bd 100644 --- a/llvm/include/llvm/Transforms/IPO/StripSymbols.h +++ b/llvm/include/llvm/Transforms/IPO/StripSymbols.h @@ -23,6 +23,7 @@ #define LLVM_TRANSFORMS_IPO_STRIPSYMBOLS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/IPO/SyntheticCountsPropagation.h b/llvm/include/llvm/Transforms/IPO/SyntheticCountsPropagation.h index 5338ac9b0ebc57..36c3450b60e5f4 100644 --- a/llvm/include/llvm/Transforms/IPO/SyntheticCountsPropagation.h +++ b/llvm/include/llvm/Transforms/IPO/SyntheticCountsPropagation.h @@ -10,6 +10,7 @@ #define LLVM_TRANSFORMS_IPO_SYNTHETICCOUNTSPROPAGATION_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Module; diff --git a/llvm/include/llvm/Transforms/IPO/ThinLTOBitcodeWriter.h b/llvm/include/llvm/Transforms/IPO/ThinLTOBitcodeWriter.h index 9bcb01c9dbe43e..c48488d367af5e 100644 --- a/llvm/include/llvm/Transforms/IPO/ThinLTOBitcodeWriter.h +++ b/llvm/include/llvm/Transforms/IPO/ThinLTOBitcodeWriter.h @@ -17,6 +17,7 @@ #define LLVM_TRANSFORMS_IPO_THINLTOBITCODEWRITER_H #include +#include "llvm/Support/Compiler.h" namespace llvm { class Module; diff --git a/llvm/include/llvm/Transforms/IPO/WholeProgramDevirt.h b/llvm/include/llvm/Transforms/IPO/WholeProgramDevirt.h index 0be3146f695a67..21c9d236c2f074 100644 --- a/llvm/include/llvm/Transforms/IPO/WholeProgramDevirt.h +++ b/llvm/include/llvm/Transforms/IPO/WholeProgramDevirt.h @@ -16,6 +16,7 @@ #include "llvm/IR/GlobalValue.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Transforms/InstCombine/InstCombine.h b/llvm/include/llvm/Transforms/InstCombine/InstCombine.h index f38ec2debb1813..c94a07aba860af 100644 --- a/llvm/include/llvm/Transforms/InstCombine/InstCombine.h +++ b/llvm/include/llvm/Transforms/InstCombine/InstCombine.h @@ -19,6 +19,7 @@ #include "llvm/IR/Function.h" #include "llvm/IR/PassManager.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" #define DEBUG_TYPE "instcombine" #include "llvm/Transforms/Utils/InstructionWorklist.h" diff --git a/llvm/include/llvm/Transforms/Instrumentation.h b/llvm/include/llvm/Transforms/Instrumentation.h index 392983a1984445..72a9d09a019864 100644 --- a/llvm/include/llvm/Transforms/Instrumentation.h +++ b/llvm/include/llvm/Transforms/Instrumentation.h @@ -19,6 +19,7 @@ #include "llvm/IR/Function.h" #include "llvm/IR/IRBuilder.h" #include "llvm/IR/Instruction.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Transforms/Instrumentation/AddressSanitizer.h b/llvm/include/llvm/Transforms/Instrumentation/AddressSanitizer.h index ca54387306664c..0cb701021ab407 100644 --- a/llvm/include/llvm/Transforms/Instrumentation/AddressSanitizer.h +++ b/llvm/include/llvm/Transforms/Instrumentation/AddressSanitizer.h @@ -15,6 +15,7 @@ #include "llvm/IR/PassManager.h" #include "llvm/Transforms/Instrumentation/AddressSanitizerOptions.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Module; diff --git a/llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h b/llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h index 4affc11429016c..1bbf120e3f5d84 100644 --- a/llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h +++ b/llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h @@ -19,6 +19,7 @@ #include "llvm/IR/Instruction.h" #include "llvm/IR/IntrinsicInst.h" #include "llvm/IR/Module.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Instrumentation/BlockCoverageInference.h b/llvm/include/llvm/Transforms/Instrumentation/BlockCoverageInference.h index 12f236481b251e..28e2f26432dd2f 100644 --- a/llvm/include/llvm/Transforms/Instrumentation/BlockCoverageInference.h +++ b/llvm/include/llvm/Transforms/Instrumentation/BlockCoverageInference.h @@ -18,6 +18,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/SetVector.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Instrumentation/BoundsChecking.h b/llvm/include/llvm/Transforms/Instrumentation/BoundsChecking.h index b1b1ece3eff5a0..e2703bd4cc6e50 100644 --- a/llvm/include/llvm/Transforms/Instrumentation/BoundsChecking.h +++ b/llvm/include/llvm/Transforms/Instrumentation/BoundsChecking.h @@ -10,6 +10,7 @@ #define LLVM_TRANSFORMS_INSTRUMENTATION_BOUNDSCHECKING_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Function; diff --git a/llvm/include/llvm/Transforms/Instrumentation/CFGMST.h b/llvm/include/llvm/Transforms/Instrumentation/CFGMST.h index 6ed8a6c6eaf019..7aa8dabd1757ec 100644 --- a/llvm/include/llvm/Transforms/Instrumentation/CFGMST.h +++ b/llvm/include/llvm/Transforms/Instrumentation/CFGMST.h @@ -20,6 +20,7 @@ #include "llvm/Analysis/BranchProbabilityInfo.h" #include "llvm/Analysis/CFG.h" #include "llvm/Support/BranchProbability.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Transforms/Utils/BasicBlockUtils.h" diff --git a/llvm/include/llvm/Transforms/Instrumentation/CGProfile.h b/llvm/include/llvm/Transforms/Instrumentation/CGProfile.h index 9f9ce42277a0c1..561dd7a53e98c1 100644 --- a/llvm/include/llvm/Transforms/Instrumentation/CGProfile.h +++ b/llvm/include/llvm/Transforms/Instrumentation/CGProfile.h @@ -13,6 +13,7 @@ #define LLVM_TRANSFORMS_INSTRUMENTATION_CGPROFILE_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Module; diff --git a/llvm/include/llvm/Transforms/Instrumentation/ControlHeightReduction.h b/llvm/include/llvm/Transforms/Instrumentation/ControlHeightReduction.h index 0bace514c36195..4f4ac2df4bba63 100644 --- a/llvm/include/llvm/Transforms/Instrumentation/ControlHeightReduction.h +++ b/llvm/include/llvm/Transforms/Instrumentation/ControlHeightReduction.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_INSTRUMENTATION_CONTROLHEIGHTREDUCTION_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Instrumentation/DataFlowSanitizer.h b/llvm/include/llvm/Transforms/Instrumentation/DataFlowSanitizer.h index 41ba05cd67f0c8..a1fcc401fdc598 100644 --- a/llvm/include/llvm/Transforms/Instrumentation/DataFlowSanitizer.h +++ b/llvm/include/llvm/Transforms/Instrumentation/DataFlowSanitizer.h @@ -9,6 +9,7 @@ #define LLVM_TRANSFORMS_INSTRUMENTATION_DATAFLOWSANITIZER_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Transforms/Instrumentation/GCOVProfiler.h b/llvm/include/llvm/Transforms/Instrumentation/GCOVProfiler.h index e5b4520f36a2fd..42d337bb71dbb1 100644 --- a/llvm/include/llvm/Transforms/Instrumentation/GCOVProfiler.h +++ b/llvm/include/llvm/Transforms/Instrumentation/GCOVProfiler.h @@ -13,6 +13,7 @@ #define LLVM_TRANSFORMS_INSTRUMENTATION_GCOVPROFILER_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include "llvm/Transforms/Instrumentation.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Instrumentation/HWAddressSanitizer.h b/llvm/include/llvm/Transforms/Instrumentation/HWAddressSanitizer.h index 11ea66780d8c5d..05c17195272f37 100644 --- a/llvm/include/llvm/Transforms/Instrumentation/HWAddressSanitizer.h +++ b/llvm/include/llvm/Transforms/Instrumentation/HWAddressSanitizer.h @@ -15,6 +15,7 @@ #include "llvm/ADT/STLFunctionalExtras.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Module; diff --git a/llvm/include/llvm/Transforms/Instrumentation/InstrOrderFile.h b/llvm/include/llvm/Transforms/Instrumentation/InstrOrderFile.h index e3d75f675c93bc..dc18f71b011faf 100644 --- a/llvm/include/llvm/Transforms/Instrumentation/InstrOrderFile.h +++ b/llvm/include/llvm/Transforms/Instrumentation/InstrOrderFile.h @@ -12,6 +12,7 @@ #define LLVM_TRANSFORMS_INSTRUMENTATION_INSTRORDERFILE_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Module; diff --git a/llvm/include/llvm/Transforms/Instrumentation/InstrProfiling.h b/llvm/include/llvm/Transforms/Instrumentation/InstrProfiling.h index d8f3e75087ace6..ad2c0b6700b6de 100644 --- a/llvm/include/llvm/Transforms/Instrumentation/InstrProfiling.h +++ b/llvm/include/llvm/Transforms/Instrumentation/InstrProfiling.h @@ -18,6 +18,7 @@ #include "llvm/IR/IntrinsicInst.h" #include "llvm/IR/PassManager.h" #include "llvm/ProfileData/InstrProf.h" +#include "llvm/Support/Compiler.h" #include "llvm/Transforms/Instrumentation.h" #include #include diff --git a/llvm/include/llvm/Transforms/Instrumentation/KCFI.h b/llvm/include/llvm/Transforms/Instrumentation/KCFI.h index 9caa644f4747eb..1eb2def3482ab7 100644 --- a/llvm/include/llvm/Transforms/Instrumentation/KCFI.h +++ b/llvm/include/llvm/Transforms/Instrumentation/KCFI.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_INSTRUMENTATION_KCFI_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class KCFIPass : public PassInfoMixin { diff --git a/llvm/include/llvm/Transforms/Instrumentation/MemProfiler.h b/llvm/include/llvm/Transforms/Instrumentation/MemProfiler.h index 293133b29cd9f9..6fabbf783940f7 100644 --- a/llvm/include/llvm/Transforms/Instrumentation/MemProfiler.h +++ b/llvm/include/llvm/Transforms/Instrumentation/MemProfiler.h @@ -14,6 +14,7 @@ #include "llvm/ADT/IntrusiveRefCntPtr.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Function; diff --git a/llvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h b/llvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h index 0984e8ec32656a..c25d15756b139e 100644 --- a/llvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h +++ b/llvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h @@ -15,6 +15,7 @@ #include "llvm/ADT/STLFunctionalExtras.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Module; diff --git a/llvm/include/llvm/Transforms/Instrumentation/PGOInstrumentation.h b/llvm/include/llvm/Transforms/Instrumentation/PGOInstrumentation.h index 5b1977b7de9a2a..6d597a63c6662d 100644 --- a/llvm/include/llvm/Transforms/Instrumentation/PGOInstrumentation.h +++ b/llvm/include/llvm/Transforms/Instrumentation/PGOInstrumentation.h @@ -19,6 +19,7 @@ #include "llvm/ADT/IntrusiveRefCntPtr.h" #include "llvm/IR/PassManager.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Transforms/Instrumentation/PoisonChecking.h b/llvm/include/llvm/Transforms/Instrumentation/PoisonChecking.h index 4ec7ec809db710..28e3af7c40f1e0 100644 --- a/llvm/include/llvm/Transforms/Instrumentation/PoisonChecking.h +++ b/llvm/include/llvm/Transforms/Instrumentation/PoisonChecking.h @@ -10,6 +10,7 @@ #define LLVM_TRANSFORMS_INSTRUMENTATION_POISONCHECKING_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Instrumentation/SanitizerBinaryMetadata.h b/llvm/include/llvm/Transforms/Instrumentation/SanitizerBinaryMetadata.h index 800a1d583f8015..140428cda4c88e 100644 --- a/llvm/include/llvm/Transforms/Instrumentation/SanitizerBinaryMetadata.h +++ b/llvm/include/llvm/Transforms/Instrumentation/SanitizerBinaryMetadata.h @@ -16,6 +16,7 @@ #include "llvm/IR/Function.h" #include "llvm/IR/Module.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include "llvm/Transforms/Instrumentation.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Instrumentation/SanitizerCoverage.h b/llvm/include/llvm/Transforms/Instrumentation/SanitizerCoverage.h index 89ab4fd114fccf..d2e31eb78c4a78 100644 --- a/llvm/include/llvm/Transforms/Instrumentation/SanitizerCoverage.h +++ b/llvm/include/llvm/Transforms/Instrumentation/SanitizerCoverage.h @@ -16,6 +16,7 @@ #define LLVM_TRANSFORMS_INSTRUMENTATION_SANITIZERCOVERAGE_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/SpecialCaseList.h" #include "llvm/Support/VirtualFileSystem.h" #include "llvm/Transforms/Instrumentation.h" diff --git a/llvm/include/llvm/Transforms/Instrumentation/ThreadSanitizer.h b/llvm/include/llvm/Transforms/Instrumentation/ThreadSanitizer.h index fd37130d545968..cde17227cc1590 100644 --- a/llvm/include/llvm/Transforms/Instrumentation/ThreadSanitizer.h +++ b/llvm/include/llvm/Transforms/Instrumentation/ThreadSanitizer.h @@ -14,6 +14,7 @@ #define LLVM_TRANSFORMS_INSTRUMENTATION_THREADSANITIZER_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Function; diff --git a/llvm/include/llvm/Transforms/ObjCARC.h b/llvm/include/llvm/Transforms/ObjCARC.h index bd17c58e842eeb..d675eca43874a9 100644 --- a/llvm/include/llvm/Transforms/ObjCARC.h +++ b/llvm/include/llvm/Transforms/ObjCARC.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_OBJCARC_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar.h b/llvm/include/llvm/Transforms/Scalar.h index 0676f485f3fbcf..5095a7d0653e47 100644 --- a/llvm/include/llvm/Transforms/Scalar.h +++ b/llvm/include/llvm/Transforms/Scalar.h @@ -14,6 +14,7 @@ #ifndef LLVM_TRANSFORMS_SCALAR_H #define LLVM_TRANSFORMS_SCALAR_H +#include "llvm/Support/Compiler.h" #include "llvm/Transforms/Utils/SimplifyCFGOptions.h" #include diff --git a/llvm/include/llvm/Transforms/Scalar/ADCE.h b/llvm/include/llvm/Transforms/Scalar/ADCE.h index 7d8b7ae68c0046..4b53757482d122 100644 --- a/llvm/include/llvm/Transforms/Scalar/ADCE.h +++ b/llvm/include/llvm/Transforms/Scalar/ADCE.h @@ -17,6 +17,7 @@ #define LLVM_TRANSFORMS_SCALAR_ADCE_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/AlignmentFromAssumptions.h b/llvm/include/llvm/Transforms/Scalar/AlignmentFromAssumptions.h index 10b6e1c6a21b63..9c057fd6d7c270 100644 --- a/llvm/include/llvm/Transforms/Scalar/AlignmentFromAssumptions.h +++ b/llvm/include/llvm/Transforms/Scalar/AlignmentFromAssumptions.h @@ -18,6 +18,7 @@ #define LLVM_TRANSFORMS_SCALAR_ALIGNMENTFROMASSUMPTIONS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/AnnotationRemarks.h b/llvm/include/llvm/Transforms/Scalar/AnnotationRemarks.h index 45983ad9d57167..66713f7cd2e94f 100644 --- a/llvm/include/llvm/Transforms/Scalar/AnnotationRemarks.h +++ b/llvm/include/llvm/Transforms/Scalar/AnnotationRemarks.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_SCALAR_ANNOTATIONREMARKS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/BDCE.h b/llvm/include/llvm/Transforms/Scalar/BDCE.h index 0763f31dfad45b..c7df1ac9ca79b0 100644 --- a/llvm/include/llvm/Transforms/Scalar/BDCE.h +++ b/llvm/include/llvm/Transforms/Scalar/BDCE.h @@ -17,6 +17,7 @@ #define LLVM_TRANSFORMS_SCALAR_BDCE_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/CallSiteSplitting.h b/llvm/include/llvm/Transforms/Scalar/CallSiteSplitting.h index 661340f4598f13..0dc26db470aae0 100644 --- a/llvm/include/llvm/Transforms/Scalar/CallSiteSplitting.h +++ b/llvm/include/llvm/Transforms/Scalar/CallSiteSplitting.h @@ -10,6 +10,7 @@ #define LLVM_TRANSFORMS_SCALAR_CALLSITESPLITTING_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h b/llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h index fa13ed73d506a4..54ea13f7ada178 100644 --- a/llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h +++ b/llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h @@ -43,6 +43,7 @@ #include "llvm/ADT/SetVector.h" #include "llvm/ADT/SmallVector.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Transforms/Scalar/ConstraintElimination.h b/llvm/include/llvm/Transforms/Scalar/ConstraintElimination.h index 544a6c2eae552e..6db317bc2b90e4 100644 --- a/llvm/include/llvm/Transforms/Scalar/ConstraintElimination.h +++ b/llvm/include/llvm/Transforms/Scalar/ConstraintElimination.h @@ -10,6 +10,7 @@ #define LLVM_TRANSFORMS_SCALAR_CONSTRAINTELIMINATION_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/CorrelatedValuePropagation.h b/llvm/include/llvm/Transforms/Scalar/CorrelatedValuePropagation.h index 25795de5d951fa..9767d40e98e68c 100644 --- a/llvm/include/llvm/Transforms/Scalar/CorrelatedValuePropagation.h +++ b/llvm/include/llvm/Transforms/Scalar/CorrelatedValuePropagation.h @@ -10,6 +10,7 @@ #define LLVM_TRANSFORMS_SCALAR_CORRELATEDVALUEPROPAGATION_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/DCE.h b/llvm/include/llvm/Transforms/Scalar/DCE.h index 8d1616a7b75dbc..34c35000038015 100644 --- a/llvm/include/llvm/Transforms/Scalar/DCE.h +++ b/llvm/include/llvm/Transforms/Scalar/DCE.h @@ -14,6 +14,7 @@ #define LLVM_TRANSFORMS_SCALAR_DCE_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/DFAJumpThreading.h b/llvm/include/llvm/Transforms/Scalar/DFAJumpThreading.h index 4e9fbf65e16362..b7b0824b67e4d2 100644 --- a/llvm/include/llvm/Transforms/Scalar/DFAJumpThreading.h +++ b/llvm/include/llvm/Transforms/Scalar/DFAJumpThreading.h @@ -14,6 +14,7 @@ #define LLVM_TRANSFORMS_SCALAR_DFAJUMPTHREADING_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/DeadStoreElimination.h b/llvm/include/llvm/Transforms/Scalar/DeadStoreElimination.h index b66b0de90c790b..73e82c7c97aaba 100644 --- a/llvm/include/llvm/Transforms/Scalar/DeadStoreElimination.h +++ b/llvm/include/llvm/Transforms/Scalar/DeadStoreElimination.h @@ -18,6 +18,7 @@ #define LLVM_TRANSFORMS_SCALAR_DEADSTOREELIMINATION_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/DivRemPairs.h b/llvm/include/llvm/Transforms/Scalar/DivRemPairs.h index 7401e02cb4ab45..bb490af353ea44 100644 --- a/llvm/include/llvm/Transforms/Scalar/DivRemPairs.h +++ b/llvm/include/llvm/Transforms/Scalar/DivRemPairs.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_SCALAR_DIVREMPAIRS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/EarlyCSE.h b/llvm/include/llvm/Transforms/Scalar/EarlyCSE.h index 877d8145e746c0..14a65c0d9919ee 100644 --- a/llvm/include/llvm/Transforms/Scalar/EarlyCSE.h +++ b/llvm/include/llvm/Transforms/Scalar/EarlyCSE.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_SCALAR_EARLYCSE_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/FlattenCFG.h b/llvm/include/llvm/Transforms/Scalar/FlattenCFG.h index ff49a4ab7ceb16..fdf5c09be42105 100644 --- a/llvm/include/llvm/Transforms/Scalar/FlattenCFG.h +++ b/llvm/include/llvm/Transforms/Scalar/FlattenCFG.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_SCALAR_FLATTENCFG_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { struct FlattenCFGPass : PassInfoMixin { diff --git a/llvm/include/llvm/Transforms/Scalar/Float2Int.h b/llvm/include/llvm/Transforms/Scalar/Float2Int.h index 83be329bed60ba..63e0c3f24bf327 100644 --- a/llvm/include/llvm/Transforms/Scalar/Float2Int.h +++ b/llvm/include/llvm/Transforms/Scalar/Float2Int.h @@ -19,6 +19,7 @@ #include "llvm/ADT/SetVector.h" #include "llvm/IR/ConstantRange.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class DominatorTree; diff --git a/llvm/include/llvm/Transforms/Scalar/GuardWidening.h b/llvm/include/llvm/Transforms/Scalar/GuardWidening.h index fa03d5f678fd40..5f9aba64d8bdda 100644 --- a/llvm/include/llvm/Transforms/Scalar/GuardWidening.h +++ b/llvm/include/llvm/Transforms/Scalar/GuardWidening.h @@ -17,6 +17,7 @@ #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/IVUsersPrinter.h b/llvm/include/llvm/Transforms/Scalar/IVUsersPrinter.h index 4136c45e190519..f5446e4767d268 100644 --- a/llvm/include/llvm/Transforms/Scalar/IVUsersPrinter.h +++ b/llvm/include/llvm/Transforms/Scalar/IVUsersPrinter.h @@ -11,6 +11,7 @@ #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class LPMUpdater; diff --git a/llvm/include/llvm/Transforms/Scalar/IndVarSimplify.h b/llvm/include/llvm/Transforms/Scalar/IndVarSimplify.h index b5d544f1149c6d..9589919b06408e 100644 --- a/llvm/include/llvm/Transforms/Scalar/IndVarSimplify.h +++ b/llvm/include/llvm/Transforms/Scalar/IndVarSimplify.h @@ -16,6 +16,7 @@ #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/InductiveRangeCheckElimination.h b/llvm/include/llvm/Transforms/Scalar/InductiveRangeCheckElimination.h index 11fb80e494867a..291edd5a33e65a 100644 --- a/llvm/include/llvm/Transforms/Scalar/InductiveRangeCheckElimination.h +++ b/llvm/include/llvm/Transforms/Scalar/InductiveRangeCheckElimination.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_SCALAR_INDUCTIVERANGECHECKELIMINATION_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/InferAddressSpaces.h b/llvm/include/llvm/Transforms/Scalar/InferAddressSpaces.h index 9a56b073f1c6b6..f23143034d56b3 100644 --- a/llvm/include/llvm/Transforms/Scalar/InferAddressSpaces.h +++ b/llvm/include/llvm/Transforms/Scalar/InferAddressSpaces.h @@ -10,6 +10,7 @@ #define LLVM_TRANSFORMS_SCALAR_INFERADDRESSSPACES_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/InstSimplifyPass.h b/llvm/include/llvm/Transforms/Scalar/InstSimplifyPass.h index 09a4a95401d84c..54b9c3e7f30f16 100644 --- a/llvm/include/llvm/Transforms/Scalar/InstSimplifyPass.h +++ b/llvm/include/llvm/Transforms/Scalar/InstSimplifyPass.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_SCALAR_INSTSIMPLIFYPASS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/JumpThreading.h b/llvm/include/llvm/Transforms/Scalar/JumpThreading.h index 3364d7eaee4247..1ce6d4dcb25535 100644 --- a/llvm/include/llvm/Transforms/Scalar/JumpThreading.h +++ b/llvm/include/llvm/Transforms/Scalar/JumpThreading.h @@ -22,6 +22,7 @@ #include "llvm/Analysis/BranchProbabilityInfo.h" #include "llvm/Analysis/DomTreeUpdater.h" #include "llvm/IR/ValueHandle.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Transforms/Scalar/LICM.h b/llvm/include/llvm/Transforms/Scalar/LICM.h index f7dd40be47e588..030196a2b3b9f5 100644 --- a/llvm/include/llvm/Transforms/Scalar/LICM.h +++ b/llvm/include/llvm/Transforms/Scalar/LICM.h @@ -35,6 +35,7 @@ #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/IR/PassManager.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/LoopAccessAnalysisPrinter.h b/llvm/include/llvm/Transforms/Scalar/LoopAccessAnalysisPrinter.h index 4d1f934ae91d72..cc65792b026295 100644 --- a/llvm/include/llvm/Transforms/Scalar/LoopAccessAnalysisPrinter.h +++ b/llvm/include/llvm/Transforms/Scalar/LoopAccessAnalysisPrinter.h @@ -10,6 +10,7 @@ #define LLVM_TRANSFORMS_SCALAR_LOOPACCESSANALYSISPRINTER_H #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/LoopBoundSplit.h b/llvm/include/llvm/Transforms/Scalar/LoopBoundSplit.h index 0c597bf295b2ec..4c995f61fe81f9 100644 --- a/llvm/include/llvm/Transforms/Scalar/LoopBoundSplit.h +++ b/llvm/include/llvm/Transforms/Scalar/LoopBoundSplit.h @@ -11,6 +11,7 @@ #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class LPMUpdater; diff --git a/llvm/include/llvm/Transforms/Scalar/LoopDataPrefetch.h b/llvm/include/llvm/Transforms/Scalar/LoopDataPrefetch.h index d5e15ffff07509..35ee3164aa6a8c 100644 --- a/llvm/include/llvm/Transforms/Scalar/LoopDataPrefetch.h +++ b/llvm/include/llvm/Transforms/Scalar/LoopDataPrefetch.h @@ -14,6 +14,7 @@ #define LLVM_TRANSFORMS_SCALAR_LOOPDATAPREFETCH_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/LoopDeletion.h b/llvm/include/llvm/Transforms/Scalar/LoopDeletion.h index 459a5cd3ece48c..3ba4ac42b584f5 100644 --- a/llvm/include/llvm/Transforms/Scalar/LoopDeletion.h +++ b/llvm/include/llvm/Transforms/Scalar/LoopDeletion.h @@ -15,6 +15,7 @@ #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/LoopDistribute.h b/llvm/include/llvm/Transforms/Scalar/LoopDistribute.h index 1a82176490c50d..8a455c1b022571 100644 --- a/llvm/include/llvm/Transforms/Scalar/LoopDistribute.h +++ b/llvm/include/llvm/Transforms/Scalar/LoopDistribute.h @@ -17,6 +17,7 @@ #define LLVM_TRANSFORMS_SCALAR_LOOPDISTRIBUTE_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/LoopFlatten.h b/llvm/include/llvm/Transforms/Scalar/LoopFlatten.h index 311b843e83b514..e531c919a48ea5 100644 --- a/llvm/include/llvm/Transforms/Scalar/LoopFlatten.h +++ b/llvm/include/llvm/Transforms/Scalar/LoopFlatten.h @@ -15,6 +15,7 @@ #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class LPMUpdater; diff --git a/llvm/include/llvm/Transforms/Scalar/LoopFuse.h b/llvm/include/llvm/Transforms/Scalar/LoopFuse.h index d3a02db6bd28d0..4dc81f8133ddc2 100644 --- a/llvm/include/llvm/Transforms/Scalar/LoopFuse.h +++ b/llvm/include/llvm/Transforms/Scalar/LoopFuse.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_SCALAR_LOOPFUSE_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/LoopIdiomRecognize.h b/llvm/include/llvm/Transforms/Scalar/LoopIdiomRecognize.h index 0c6406d8618518..1766d481cd3fe0 100644 --- a/llvm/include/llvm/Transforms/Scalar/LoopIdiomRecognize.h +++ b/llvm/include/llvm/Transforms/Scalar/LoopIdiomRecognize.h @@ -17,6 +17,7 @@ #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/LoopInstSimplify.h b/llvm/include/llvm/Transforms/Scalar/LoopInstSimplify.h index f6e86d11ed9561..9c40b4a1bd2f6e 100644 --- a/llvm/include/llvm/Transforms/Scalar/LoopInstSimplify.h +++ b/llvm/include/llvm/Transforms/Scalar/LoopInstSimplify.h @@ -15,6 +15,7 @@ #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/LoopInterchange.h b/llvm/include/llvm/Transforms/Scalar/LoopInterchange.h index 8fa14d747f5c05..b76711a604bd1d 100644 --- a/llvm/include/llvm/Transforms/Scalar/LoopInterchange.h +++ b/llvm/include/llvm/Transforms/Scalar/LoopInterchange.h @@ -11,6 +11,7 @@ #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/LoopLoadElimination.h b/llvm/include/llvm/Transforms/Scalar/LoopLoadElimination.h index 65b9aabb8f5189..40d19fa8f8c01e 100644 --- a/llvm/include/llvm/Transforms/Scalar/LoopLoadElimination.h +++ b/llvm/include/llvm/Transforms/Scalar/LoopLoadElimination.h @@ -17,6 +17,7 @@ #define LLVM_TRANSFORMS_SCALAR_LOOPLOADELIMINATION_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/LoopPassManager.h b/llvm/include/llvm/Transforms/Scalar/LoopPassManager.h index c8c4d5e9a53922..4515ab88996a76 100644 --- a/llvm/include/llvm/Transforms/Scalar/LoopPassManager.h +++ b/llvm/include/llvm/Transforms/Scalar/LoopPassManager.h @@ -41,6 +41,7 @@ #include "llvm/Analysis/LoopInfo.h" #include "llvm/Analysis/LoopNestAnalysis.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include "llvm/Transforms/Utils/LCSSA.h" #include "llvm/Transforms/Utils/LoopSimplify.h" #include "llvm/Transforms/Utils/LoopUtils.h" diff --git a/llvm/include/llvm/Transforms/Scalar/LoopPredication.h b/llvm/include/llvm/Transforms/Scalar/LoopPredication.h index 83f5336034192e..264189f988c172 100644 --- a/llvm/include/llvm/Transforms/Scalar/LoopPredication.h +++ b/llvm/include/llvm/Transforms/Scalar/LoopPredication.h @@ -16,6 +16,7 @@ #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/LoopReroll.h b/llvm/include/llvm/Transforms/Scalar/LoopReroll.h index 496e8df85ea05d..0e9a92d4b02083 100644 --- a/llvm/include/llvm/Transforms/Scalar/LoopReroll.h +++ b/llvm/include/llvm/Transforms/Scalar/LoopReroll.h @@ -10,6 +10,7 @@ #define LLVM_TRANSFORMS_SCALAR_LOOPREROLL_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include "llvm/Transforms/Scalar/LoopPassManager.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/LoopRotation.h b/llvm/include/llvm/Transforms/Scalar/LoopRotation.h index cd108f7383e4c5..89b8a4f35b3e84 100644 --- a/llvm/include/llvm/Transforms/Scalar/LoopRotation.h +++ b/llvm/include/llvm/Transforms/Scalar/LoopRotation.h @@ -15,6 +15,7 @@ #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class LPMUpdater; diff --git a/llvm/include/llvm/Transforms/Scalar/LoopSimplifyCFG.h b/llvm/include/llvm/Transforms/Scalar/LoopSimplifyCFG.h index 82c8a4406d00a3..e35265f40291b3 100644 --- a/llvm/include/llvm/Transforms/Scalar/LoopSimplifyCFG.h +++ b/llvm/include/llvm/Transforms/Scalar/LoopSimplifyCFG.h @@ -18,6 +18,7 @@ #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/LoopSink.h b/llvm/include/llvm/Transforms/Scalar/LoopSink.h index 26e50590a62572..08736bad975034 100644 --- a/llvm/include/llvm/Transforms/Scalar/LoopSink.h +++ b/llvm/include/llvm/Transforms/Scalar/LoopSink.h @@ -14,6 +14,7 @@ #define LLVM_TRANSFORMS_SCALAR_LOOPSINK_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/LoopStrengthReduce.h b/llvm/include/llvm/Transforms/Scalar/LoopStrengthReduce.h index 5cf805bc49393a..3f8269a68ab184 100644 --- a/llvm/include/llvm/Transforms/Scalar/LoopStrengthReduce.h +++ b/llvm/include/llvm/Transforms/Scalar/LoopStrengthReduce.h @@ -23,6 +23,7 @@ #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/LoopUnrollAndJamPass.h b/llvm/include/llvm/Transforms/Scalar/LoopUnrollAndJamPass.h index 54f70d7ed4b391..9a6b7bfc124d10 100644 --- a/llvm/include/llvm/Transforms/Scalar/LoopUnrollAndJamPass.h +++ b/llvm/include/llvm/Transforms/Scalar/LoopUnrollAndJamPass.h @@ -11,6 +11,7 @@ #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class LPMUpdater; diff --git a/llvm/include/llvm/Transforms/Scalar/LoopUnrollPass.h b/llvm/include/llvm/Transforms/Scalar/LoopUnrollPass.h index 8d8c2f254f02f4..696abf9cfd5c75 100644 --- a/llvm/include/llvm/Transforms/Scalar/LoopUnrollPass.h +++ b/llvm/include/llvm/Transforms/Scalar/LoopUnrollPass.h @@ -12,6 +12,7 @@ #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/IR/PassManager.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/LoopVersioningLICM.h b/llvm/include/llvm/Transforms/Scalar/LoopVersioningLICM.h index 04e0012330da7d..eee9ad538b0ec1 100644 --- a/llvm/include/llvm/Transforms/Scalar/LoopVersioningLICM.h +++ b/llvm/include/llvm/Transforms/Scalar/LoopVersioningLICM.h @@ -11,6 +11,7 @@ #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class LPMUpdater; diff --git a/llvm/include/llvm/Transforms/Scalar/LowerAtomicPass.h b/llvm/include/llvm/Transforms/Scalar/LowerAtomicPass.h index 60bbf916fced4b..b484a6679a988f 100644 --- a/llvm/include/llvm/Transforms/Scalar/LowerAtomicPass.h +++ b/llvm/include/llvm/Transforms/Scalar/LowerAtomicPass.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_SCALAR_LOWERATOMICPASS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/LowerConstantIntrinsics.h b/llvm/include/llvm/Transforms/Scalar/LowerConstantIntrinsics.h index e8e404bb93d6e4..7747ed98cbd964 100644 --- a/llvm/include/llvm/Transforms/Scalar/LowerConstantIntrinsics.h +++ b/llvm/include/llvm/Transforms/Scalar/LowerConstantIntrinsics.h @@ -16,6 +16,7 @@ #define LLVM_TRANSFORMS_SCALAR_LOWERCONSTANTINTRINSICS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/LowerExpectIntrinsic.h b/llvm/include/llvm/Transforms/Scalar/LowerExpectIntrinsic.h index 95ef0f73e8af5c..61ca1a18f562e9 100644 --- a/llvm/include/llvm/Transforms/Scalar/LowerExpectIntrinsic.h +++ b/llvm/include/llvm/Transforms/Scalar/LowerExpectIntrinsic.h @@ -16,6 +16,7 @@ #define LLVM_TRANSFORMS_SCALAR_LOWEREXPECTINTRINSIC_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/LowerGuardIntrinsic.h b/llvm/include/llvm/Transforms/Scalar/LowerGuardIntrinsic.h index 0c885b957b0fbc..cffe7ede71e4b8 100644 --- a/llvm/include/llvm/Transforms/Scalar/LowerGuardIntrinsic.h +++ b/llvm/include/llvm/Transforms/Scalar/LowerGuardIntrinsic.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_SCALAR_LOWERGUARDINTRINSIC_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/LowerMatrixIntrinsics.h b/llvm/include/llvm/Transforms/Scalar/LowerMatrixIntrinsics.h index d44d297dd4ffc7..0bcd681e8601a8 100644 --- a/llvm/include/llvm/Transforms/Scalar/LowerMatrixIntrinsics.h +++ b/llvm/include/llvm/Transforms/Scalar/LowerMatrixIntrinsics.h @@ -14,6 +14,7 @@ #define LLVM_TRANSFORMS_SCALAR_LOWERMATRIXINTRINSICS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class LowerMatrixIntrinsicsPass diff --git a/llvm/include/llvm/Transforms/Scalar/LowerWidenableCondition.h b/llvm/include/llvm/Transforms/Scalar/LowerWidenableCondition.h index 81c6f00e27fdf2..d2a966390ab2a0 100644 --- a/llvm/include/llvm/Transforms/Scalar/LowerWidenableCondition.h +++ b/llvm/include/llvm/Transforms/Scalar/LowerWidenableCondition.h @@ -14,6 +14,7 @@ #define LLVM_TRANSFORMS_SCALAR_LOWERWIDENABLECONDITION_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/MakeGuardsExplicit.h b/llvm/include/llvm/Transforms/Scalar/MakeGuardsExplicit.h index a20b31f3ab5e8c..1e195a81ef22fd 100644 --- a/llvm/include/llvm/Transforms/Scalar/MakeGuardsExplicit.h +++ b/llvm/include/llvm/Transforms/Scalar/MakeGuardsExplicit.h @@ -34,6 +34,7 @@ #define LLVM_TRANSFORMS_SCALAR_MAKEGUARDSEXPLICIT_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/MemCpyOptimizer.h b/llvm/include/llvm/Transforms/Scalar/MemCpyOptimizer.h index 6c809bc881d050..bd6ac54b30bf5e 100644 --- a/llvm/include/llvm/Transforms/Scalar/MemCpyOptimizer.h +++ b/llvm/include/llvm/Transforms/Scalar/MemCpyOptimizer.h @@ -16,6 +16,7 @@ #include "llvm/IR/BasicBlock.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/MergeICmps.h b/llvm/include/llvm/Transforms/Scalar/MergeICmps.h index 63bdbf8f4d095c..287e4a8a484f50 100644 --- a/llvm/include/llvm/Transforms/Scalar/MergeICmps.h +++ b/llvm/include/llvm/Transforms/Scalar/MergeICmps.h @@ -10,6 +10,7 @@ #define LLVM_TRANSFORMS_SCALAR_MERGEICMPS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/MergedLoadStoreMotion.h b/llvm/include/llvm/Transforms/Scalar/MergedLoadStoreMotion.h index 71e11e59a4712d..d7c60f500038c3 100644 --- a/llvm/include/llvm/Transforms/Scalar/MergedLoadStoreMotion.h +++ b/llvm/include/llvm/Transforms/Scalar/MergedLoadStoreMotion.h @@ -25,6 +25,7 @@ #include "llvm/ADT/STLFunctionalExtras.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Function; diff --git a/llvm/include/llvm/Transforms/Scalar/NaryReassociate.h b/llvm/include/llvm/Transforms/Scalar/NaryReassociate.h index f0474bc4352e36..4614a9c7b2ac83 100644 --- a/llvm/include/llvm/Transforms/Scalar/NaryReassociate.h +++ b/llvm/include/llvm/Transforms/Scalar/NaryReassociate.h @@ -82,6 +82,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/IR/PassManager.h" #include "llvm/IR/ValueHandle.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/NewGVN.h b/llvm/include/llvm/Transforms/Scalar/NewGVN.h index 1f3680fec79cfd..6b225cb8a171eb 100644 --- a/llvm/include/llvm/Transforms/Scalar/NewGVN.h +++ b/llvm/include/llvm/Transforms/Scalar/NewGVN.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_SCALAR_NEWGVN_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/PartiallyInlineLibCalls.h b/llvm/include/llvm/Transforms/Scalar/PartiallyInlineLibCalls.h index b8a8fcc71e57c6..03964150d75278 100644 --- a/llvm/include/llvm/Transforms/Scalar/PartiallyInlineLibCalls.h +++ b/llvm/include/llvm/Transforms/Scalar/PartiallyInlineLibCalls.h @@ -16,6 +16,7 @@ #define LLVM_TRANSFORMS_SCALAR_PARTIALLYINLINELIBCALLS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Function; diff --git a/llvm/include/llvm/Transforms/Scalar/PlaceSafepoints.h b/llvm/include/llvm/Transforms/Scalar/PlaceSafepoints.h index 60ffe6e58b11b2..a325d4181ad755 100644 --- a/llvm/include/llvm/Transforms/Scalar/PlaceSafepoints.h +++ b/llvm/include/llvm/Transforms/Scalar/PlaceSafepoints.h @@ -51,6 +51,7 @@ #define LLVM_TRANSFORMS_SCALAR_PLACESAFEPOINTS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/Reassociate.h b/llvm/include/llvm/Transforms/Scalar/Reassociate.h index 28794d27325ade..e1888ba908d113 100644 --- a/llvm/include/llvm/Transforms/Scalar/Reassociate.h +++ b/llvm/include/llvm/Transforms/Scalar/Reassociate.h @@ -27,6 +27,7 @@ #include "llvm/ADT/SetVector.h" #include "llvm/IR/PassManager.h" #include "llvm/IR/ValueHandle.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/Reg2Mem.h b/llvm/include/llvm/Transforms/Scalar/Reg2Mem.h index 25f6563d7dcfc2..dc86c1bd51dd87 100644 --- a/llvm/include/llvm/Transforms/Scalar/Reg2Mem.h +++ b/llvm/include/llvm/Transforms/Scalar/Reg2Mem.h @@ -14,6 +14,7 @@ #define LLVM_TRANSFORMS_SCALAR_REG2MEM_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/RewriteStatepointsForGC.h b/llvm/include/llvm/Transforms/Scalar/RewriteStatepointsForGC.h index 29845ce3b62da4..fc5a490dc8247f 100644 --- a/llvm/include/llvm/Transforms/Scalar/RewriteStatepointsForGC.h +++ b/llvm/include/llvm/Transforms/Scalar/RewriteStatepointsForGC.h @@ -17,6 +17,7 @@ #define LLVM_TRANSFORMS_SCALAR_REWRITESTATEPOINTSFORGC_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/SCCP.h b/llvm/include/llvm/Transforms/Scalar/SCCP.h index 7803f008c618b8..ae083bcb047d52 100644 --- a/llvm/include/llvm/Transforms/Scalar/SCCP.h +++ b/llvm/include/llvm/Transforms/Scalar/SCCP.h @@ -21,6 +21,7 @@ #define LLVM_TRANSFORMS_SCALAR_SCCP_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Function; diff --git a/llvm/include/llvm/Transforms/Scalar/SROA.h b/llvm/include/llvm/Transforms/Scalar/SROA.h index b18e3054ef3ae4..aa8f7e6abfd923 100644 --- a/llvm/include/llvm/Transforms/Scalar/SROA.h +++ b/llvm/include/llvm/Transforms/Scalar/SROA.h @@ -21,6 +21,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/IR/PassManager.h" #include "llvm/IR/ValueHandle.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Transforms/Scalar/ScalarizeMaskedMemIntrin.h b/llvm/include/llvm/Transforms/Scalar/ScalarizeMaskedMemIntrin.h index 5e876fc82ac17e..f5ea32121ebe6d 100644 --- a/llvm/include/llvm/Transforms/Scalar/ScalarizeMaskedMemIntrin.h +++ b/llvm/include/llvm/Transforms/Scalar/ScalarizeMaskedMemIntrin.h @@ -17,6 +17,7 @@ #define LLVM_TRANSFORMS_SCALAR_SCALARIZEMASKEDMEMINTRIN_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/Scalarizer.h b/llvm/include/llvm/Transforms/Scalar/Scalarizer.h index 5524b55b81b58a..4acc490be70a7d 100644 --- a/llvm/include/llvm/Transforms/Scalar/Scalarizer.h +++ b/llvm/include/llvm/Transforms/Scalar/Scalarizer.h @@ -19,6 +19,7 @@ #define LLVM_TRANSFORMS_SCALAR_SCALARIZER_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/SeparateConstOffsetFromGEP.h b/llvm/include/llvm/Transforms/Scalar/SeparateConstOffsetFromGEP.h index 7b37eb7118a04f..ca4a689d1e1a09 100644 --- a/llvm/include/llvm/Transforms/Scalar/SeparateConstOffsetFromGEP.h +++ b/llvm/include/llvm/Transforms/Scalar/SeparateConstOffsetFromGEP.h @@ -10,6 +10,7 @@ #define LLVM_TRANSFORMS_SCALAR_SEPARATECONSTOFFSETFROMGEP_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/SimpleLoopUnswitch.h b/llvm/include/llvm/Transforms/Scalar/SimpleLoopUnswitch.h index 68c121560b13ee..c0b34baa9fbf6a 100644 --- a/llvm/include/llvm/Transforms/Scalar/SimpleLoopUnswitch.h +++ b/llvm/include/llvm/Transforms/Scalar/SimpleLoopUnswitch.h @@ -12,6 +12,7 @@ #include "llvm/ADT/STLFunctionalExtras.h" #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/SimplifyCFG.h b/llvm/include/llvm/Transforms/Scalar/SimplifyCFG.h index 67db5031a44383..82bd2099af03e3 100644 --- a/llvm/include/llvm/Transforms/Scalar/SimplifyCFG.h +++ b/llvm/include/llvm/Transforms/Scalar/SimplifyCFG.h @@ -16,6 +16,7 @@ #include "llvm/IR/Function.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include "llvm/Transforms/Utils/SimplifyCFGOptions.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/Sink.h b/llvm/include/llvm/Transforms/Scalar/Sink.h index 759153f22853d0..ea93197a071bab 100644 --- a/llvm/include/llvm/Transforms/Scalar/Sink.h +++ b/llvm/include/llvm/Transforms/Scalar/Sink.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_SCALAR_SINK_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/SpeculativeExecution.h b/llvm/include/llvm/Transforms/Scalar/SpeculativeExecution.h index d17186682fb8f0..0a1f61f24f75e3 100644 --- a/llvm/include/llvm/Transforms/Scalar/SpeculativeExecution.h +++ b/llvm/include/llvm/Transforms/Scalar/SpeculativeExecution.h @@ -63,6 +63,7 @@ #define LLVM_TRANSFORMS_SCALAR_SPECULATIVEEXECUTION_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class TargetTransformInfo; diff --git a/llvm/include/llvm/Transforms/Scalar/StraightLineStrengthReduce.h b/llvm/include/llvm/Transforms/Scalar/StraightLineStrengthReduce.h index 11233cc65efac5..eda294a0720d35 100644 --- a/llvm/include/llvm/Transforms/Scalar/StraightLineStrengthReduce.h +++ b/llvm/include/llvm/Transforms/Scalar/StraightLineStrengthReduce.h @@ -10,6 +10,7 @@ #define LLVM_TRANSFORMS_SCALAR_STRAIGHTLINESTRENGTHREDUCE_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/StructurizeCFG.h b/llvm/include/llvm/Transforms/Scalar/StructurizeCFG.h index 50d41acd529e76..8e8db441326c76 100644 --- a/llvm/include/llvm/Transforms/Scalar/StructurizeCFG.h +++ b/llvm/include/llvm/Transforms/Scalar/StructurizeCFG.h @@ -10,6 +10,7 @@ #define LLVM_TRANSFORMS_SCALAR_STRUCTURIZECFG_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { struct StructurizeCFGPass : PassInfoMixin { diff --git a/llvm/include/llvm/Transforms/Scalar/TLSVariableHoist.h b/llvm/include/llvm/Transforms/Scalar/TLSVariableHoist.h index 2a1b02b40eebff..95e67e79050c67 100644 --- a/llvm/include/llvm/Transforms/Scalar/TLSVariableHoist.h +++ b/llvm/include/llvm/Transforms/Scalar/TLSVariableHoist.h @@ -65,6 +65,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/Analysis/LoopInfo.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/TailRecursionElimination.h b/llvm/include/llvm/Transforms/Scalar/TailRecursionElimination.h index 57b1ed9bf4fe84..152ea060e86b32 100644 --- a/llvm/include/llvm/Transforms/Scalar/TailRecursionElimination.h +++ b/llvm/include/llvm/Transforms/Scalar/TailRecursionElimination.h @@ -53,6 +53,7 @@ #define LLVM_TRANSFORMS_SCALAR_TAILRECURSIONELIMINATION_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Scalar/WarnMissedTransforms.h b/llvm/include/llvm/Transforms/Scalar/WarnMissedTransforms.h index 8f8cad0aab6de3..f809810cb98d4a 100644 --- a/llvm/include/llvm/Transforms/Scalar/WarnMissedTransforms.h +++ b/llvm/include/llvm/Transforms/Scalar/WarnMissedTransforms.h @@ -14,6 +14,7 @@ #define LLVM_TRANSFORMS_SCALAR_WARNMISSEDTRANSFORMS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { // New pass manager boilerplate. diff --git a/llvm/include/llvm/Transforms/Utils.h b/llvm/include/llvm/Transforms/Utils.h index 0fa6de3f67130a..34f504aed71c7b 100644 --- a/llvm/include/llvm/Transforms/Utils.h +++ b/llvm/include/llvm/Transforms/Utils.h @@ -14,6 +14,8 @@ #ifndef LLVM_TRANSFORMS_UTILS_H #define LLVM_TRANSFORMS_UTILS_H +#include "llvm/Support/Compiler.h" + namespace llvm { class ModulePass; diff --git a/llvm/include/llvm/Transforms/Utils/AMDGPUEmitPrintf.h b/llvm/include/llvm/Transforms/Utils/AMDGPUEmitPrintf.h index 55e92c37a16761..6627fb8f24b2bb 100644 --- a/llvm/include/llvm/Transforms/Utils/AMDGPUEmitPrintf.h +++ b/llvm/include/llvm/Transforms/Utils/AMDGPUEmitPrintf.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_UTILS_AMDGPUEMITPRINTF_H #include "llvm/IR/IRBuilder.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/ASanStackFrameLayout.h b/llvm/include/llvm/Transforms/Utils/ASanStackFrameLayout.h index f87588db4ee2a7..7e437e1ff663cc 100644 --- a/llvm/include/llvm/Transforms/Utils/ASanStackFrameLayout.h +++ b/llvm/include/llvm/Transforms/Utils/ASanStackFrameLayout.h @@ -13,6 +13,7 @@ #define LLVM_TRANSFORMS_UTILS_ASANSTACKFRAMELAYOUT_H #include "llvm/ADT/SmallString.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/AddDiscriminators.h b/llvm/include/llvm/Transforms/Utils/AddDiscriminators.h index 0aee2fe95cad3e..cb739e8b0ea907 100644 --- a/llvm/include/llvm/Transforms/Utils/AddDiscriminators.h +++ b/llvm/include/llvm/Transforms/Utils/AddDiscriminators.h @@ -16,6 +16,7 @@ #define LLVM_TRANSFORMS_UTILS_ADDDISCRIMINATORS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h b/llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h index e6dde450b7df9c..9aed3ebe4f0e7c 100644 --- a/llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h +++ b/llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h @@ -20,6 +20,7 @@ #include "llvm/ADT/SetVector.h" #include "llvm/IR/BasicBlock.h" #include "llvm/IR/Dominators.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/BreakCriticalEdges.h b/llvm/include/llvm/Transforms/Utils/BreakCriticalEdges.h index 6de080ce31281c..3223c26092b70c 100644 --- a/llvm/include/llvm/Transforms/Utils/BreakCriticalEdges.h +++ b/llvm/include/llvm/Transforms/Utils/BreakCriticalEdges.h @@ -18,6 +18,7 @@ #define LLVM_TRANSFORMS_UTILS_BREAKCRITICALEDGES_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/BuildLibCalls.h b/llvm/include/llvm/Transforms/Utils/BuildLibCalls.h index 9ebb9500777421..6be44ad38b7d56 100644 --- a/llvm/include/llvm/Transforms/Utils/BuildLibCalls.h +++ b/llvm/include/llvm/Transforms/Utils/BuildLibCalls.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_UTILS_BUILDLIBCALLS_H #include "llvm/Analysis/TargetLibraryInfo.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Value; diff --git a/llvm/include/llvm/Transforms/Utils/BypassSlowDivision.h b/llvm/include/llvm/Transforms/Utils/BypassSlowDivision.h index bd98c902d1ab42..abaff302fd21b1 100644 --- a/llvm/include/llvm/Transforms/Utils/BypassSlowDivision.h +++ b/llvm/include/llvm/Transforms/Utils/BypassSlowDivision.h @@ -20,6 +20,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/DenseMapInfo.h" #include "llvm/IR/ValueHandle.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/CallGraphUpdater.h b/llvm/include/llvm/Transforms/Utils/CallGraphUpdater.h index 7e6683fd0c8a22..f571ce542afee8 100644 --- a/llvm/include/llvm/Transforms/Utils/CallGraphUpdater.h +++ b/llvm/include/llvm/Transforms/Utils/CallGraphUpdater.h @@ -17,6 +17,7 @@ #include "llvm/Analysis/CGSCCPassManager.h" #include "llvm/Analysis/LazyCallGraph.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/CallPromotionUtils.h b/llvm/include/llvm/Transforms/Utils/CallPromotionUtils.h index fcb384ec361339..159e53f50c3c1c 100644 --- a/llvm/include/llvm/Transforms/Utils/CallPromotionUtils.h +++ b/llvm/include/llvm/Transforms/Utils/CallPromotionUtils.h @@ -14,6 +14,8 @@ #ifndef LLVM_TRANSFORMS_UTILS_CALLPROMOTIONUTILS_H #define LLVM_TRANSFORMS_UTILS_CALLPROMOTIONUTILS_H +#include "llvm/Support/Compiler.h" + namespace llvm { class CallBase; class CastInst; diff --git a/llvm/include/llvm/Transforms/Utils/CanonicalizeAliases.h b/llvm/include/llvm/Transforms/Utils/CanonicalizeAliases.h index 0bdc1a12d1fb0d..96414df506f806 100644 --- a/llvm/include/llvm/Transforms/Utils/CanonicalizeAliases.h +++ b/llvm/include/llvm/Transforms/Utils/CanonicalizeAliases.h @@ -14,6 +14,7 @@ #define LLVM_TRANSFORMS_UTILS_CANONICALIZEALIASES_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/CanonicalizeFreezeInLoops.h b/llvm/include/llvm/Transforms/Utils/CanonicalizeFreezeInLoops.h index 924b6cdf7ca0bd..28418513df92ef 100644 --- a/llvm/include/llvm/Transforms/Utils/CanonicalizeFreezeInLoops.h +++ b/llvm/include/llvm/Transforms/Utils/CanonicalizeFreezeInLoops.h @@ -15,6 +15,7 @@ #include "llvm/Analysis/LoopAnalysisManager.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Loop; diff --git a/llvm/include/llvm/Transforms/Utils/Cloning.h b/llvm/include/llvm/Transforms/Utils/Cloning.h index 1c342b871a4a45..29ac1eddeec4a8 100644 --- a/llvm/include/llvm/Transforms/Utils/Cloning.h +++ b/llvm/include/llvm/Transforms/Utils/Cloning.h @@ -22,6 +22,7 @@ #include "llvm/Analysis/AssumptionCache.h" #include "llvm/Analysis/InlineCost.h" #include "llvm/IR/ValueHandle.h" +#include "llvm/Support/Compiler.h" #include "llvm/Transforms/Utils/ValueMapper.h" #include #include diff --git a/llvm/include/llvm/Transforms/Utils/CodeExtractor.h b/llvm/include/llvm/Transforms/Utils/CodeExtractor.h index 27b34ef023db72..d9df70b530fee3 100644 --- a/llvm/include/llvm/Transforms/Utils/CodeExtractor.h +++ b/llvm/include/llvm/Transforms/Utils/CodeExtractor.h @@ -17,6 +17,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/SetVector.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/CodeLayout.h b/llvm/include/llvm/Transforms/Utils/CodeLayout.h index 9d550fae6dd067..a2b9b70cc57977 100644 --- a/llvm/include/llvm/Transforms/Utils/CodeLayout.h +++ b/llvm/include/llvm/Transforms/Utils/CodeLayout.h @@ -16,6 +16,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/DenseMap.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Transforms/Utils/CodeMoverUtils.h b/llvm/include/llvm/Transforms/Utils/CodeMoverUtils.h index 4fd147a1f7b3b9..8b72200b23238b 100644 --- a/llvm/include/llvm/Transforms/Utils/CodeMoverUtils.h +++ b/llvm/include/llvm/Transforms/Utils/CodeMoverUtils.h @@ -17,6 +17,8 @@ #ifndef LLVM_TRANSFORMS_UTILS_CODEMOVERUTILS_H #define LLVM_TRANSFORMS_UTILS_CODEMOVERUTILS_H +#include "llvm/Support/Compiler.h" + namespace llvm { class BasicBlock; diff --git a/llvm/include/llvm/Transforms/Utils/CountVisits.h b/llvm/include/llvm/Transforms/Utils/CountVisits.h index 7000afbc4985b7..84926b714fd352 100644 --- a/llvm/include/llvm/Transforms/Utils/CountVisits.h +++ b/llvm/include/llvm/Transforms/Utils/CountVisits.h @@ -11,6 +11,7 @@ #include "llvm/ADT/StringMap.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/CtorUtils.h b/llvm/include/llvm/Transforms/Utils/CtorUtils.h index 40b290a5a6f4e5..d1b9fe9386665a 100644 --- a/llvm/include/llvm/Transforms/Utils/CtorUtils.h +++ b/llvm/include/llvm/Transforms/Utils/CtorUtils.h @@ -14,6 +14,7 @@ #define LLVM_TRANSFORMS_UTILS_CTORUTILS_H #include "llvm/ADT/STLFunctionalExtras.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/Debugify.h b/llvm/include/llvm/Transforms/Utils/Debugify.h index d4440942a64efa..5a51d1f5c27ac0 100644 --- a/llvm/include/llvm/Transforms/Utils/Debugify.h +++ b/llvm/include/llvm/Transforms/Utils/Debugify.h @@ -22,6 +22,7 @@ #include "llvm/IR/PassManager.h" #include "llvm/IR/ValueHandle.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" using DebugFnMap = llvm::MapVector; diff --git a/llvm/include/llvm/Transforms/Utils/EntryExitInstrumenter.h b/llvm/include/llvm/Transforms/Utils/EntryExitInstrumenter.h index f2b038494a5db4..fe2775f69cca50 100644 --- a/llvm/include/llvm/Transforms/Utils/EntryExitInstrumenter.h +++ b/llvm/include/llvm/Transforms/Utils/EntryExitInstrumenter.h @@ -16,6 +16,7 @@ #define LLVM_TRANSFORMS_UTILS_ENTRYEXITINSTRUMENTER_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/EscapeEnumerator.h b/llvm/include/llvm/Transforms/Utils/EscapeEnumerator.h index 3d8447e9bf233f..4c829dfabe1cd5 100644 --- a/llvm/include/llvm/Transforms/Utils/EscapeEnumerator.h +++ b/llvm/include/llvm/Transforms/Utils/EscapeEnumerator.h @@ -16,6 +16,7 @@ #include "llvm/IR/Function.h" #include "llvm/IR/IRBuilder.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/Evaluator.h b/llvm/include/llvm/Transforms/Utils/Evaluator.h index 5d53773b5d6b65..d87bdd26d1e1b0 100644 --- a/llvm/include/llvm/Transforms/Utils/Evaluator.h +++ b/llvm/include/llvm/Transforms/Utils/Evaluator.h @@ -19,6 +19,7 @@ #include "llvm/IR/BasicBlock.h" #include "llvm/IR/GlobalVariable.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Transforms/Utils/FixIrreducible.h b/llvm/include/llvm/Transforms/Utils/FixIrreducible.h index 0c00b7bdbaf9a1..0d76879e9f489e 100644 --- a/llvm/include/llvm/Transforms/Utils/FixIrreducible.h +++ b/llvm/include/llvm/Transforms/Utils/FixIrreducible.h @@ -10,6 +10,7 @@ #define LLVM_TRANSFORMS_UTILS_FIXIRREDUCIBLE_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { struct FixIrreduciblePass : PassInfoMixin { diff --git a/llvm/include/llvm/Transforms/Utils/FunctionComparator.h b/llvm/include/llvm/Transforms/Utils/FunctionComparator.h index c28f868039a1f7..acdcff144d7a4d 100644 --- a/llvm/include/llvm/Transforms/Utils/FunctionComparator.h +++ b/llvm/include/llvm/Transforms/Utils/FunctionComparator.h @@ -21,6 +21,7 @@ #include "llvm/IR/ValueMap.h" #include "llvm/Support/AtomicOrdering.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Transforms/Utils/FunctionImportUtils.h b/llvm/include/llvm/Transforms/Utils/FunctionImportUtils.h index 749b7b2bb5d869..53c8a5b22051ce 100644 --- a/llvm/include/llvm/Transforms/Utils/FunctionImportUtils.h +++ b/llvm/include/llvm/Transforms/Utils/FunctionImportUtils.h @@ -16,6 +16,7 @@ #include "llvm/ADT/SetVector.h" #include "llvm/IR/ModuleSummaryIndex.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Module; diff --git a/llvm/include/llvm/Transforms/Utils/GlobalStatus.h b/llvm/include/llvm/Transforms/Utils/GlobalStatus.h index 60c91fc30174de..6efa07f02cb9c4 100644 --- a/llvm/include/llvm/Transforms/Utils/GlobalStatus.h +++ b/llvm/include/llvm/Transforms/Utils/GlobalStatus.h @@ -11,6 +11,7 @@ #include "llvm/IR/Instructions.h" #include "llvm/Support/AtomicOrdering.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/GuardUtils.h b/llvm/include/llvm/Transforms/Utils/GuardUtils.h index 7ab5d9ef4f2389..c3f49c0271fde0 100644 --- a/llvm/include/llvm/Transforms/Utils/GuardUtils.h +++ b/llvm/include/llvm/Transforms/Utils/GuardUtils.h @@ -12,6 +12,8 @@ #ifndef LLVM_TRANSFORMS_UTILS_GUARDUTILS_H #define LLVM_TRANSFORMS_UTILS_GUARDUTILS_H +#include "llvm/Support/Compiler.h" + namespace llvm { class BranchInst; diff --git a/llvm/include/llvm/Transforms/Utils/HelloWorld.h b/llvm/include/llvm/Transforms/Utils/HelloWorld.h index e29dda54586e74..f4beb523d0cd27 100644 --- a/llvm/include/llvm/Transforms/Utils/HelloWorld.h +++ b/llvm/include/llvm/Transforms/Utils/HelloWorld.h @@ -10,6 +10,7 @@ #define LLVM_TRANSFORMS_UTILS_HELLOWORLD_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/InjectTLIMappings.h b/llvm/include/llvm/Transforms/Utils/InjectTLIMappings.h index b6c402402b17a0..f2399ef10efb18 100644 --- a/llvm/include/llvm/Transforms/Utils/InjectTLIMappings.h +++ b/llvm/include/llvm/Transforms/Utils/InjectTLIMappings.h @@ -14,6 +14,7 @@ #define LLVM_TRANSFORMS_UTILS_INJECTTLIMAPPINGS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Function; diff --git a/llvm/include/llvm/Transforms/Utils/InstructionNamer.h b/llvm/include/llvm/Transforms/Utils/InstructionNamer.h index 4f4cc2666f1069..e7e92d792017c9 100644 --- a/llvm/include/llvm/Transforms/Utils/InstructionNamer.h +++ b/llvm/include/llvm/Transforms/Utils/InstructionNamer.h @@ -10,6 +10,7 @@ #define LLVM_TRANSFORMS_UTILS_INSTRUCTIONNAMER_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { struct InstructionNamerPass : PassInfoMixin { diff --git a/llvm/include/llvm/Transforms/Utils/IntegerDivision.h b/llvm/include/llvm/Transforms/Utils/IntegerDivision.h index 35cae9aa2269ed..aaf0c950d09df4 100644 --- a/llvm/include/llvm/Transforms/Utils/IntegerDivision.h +++ b/llvm/include/llvm/Transforms/Utils/IntegerDivision.h @@ -16,6 +16,8 @@ #ifndef LLVM_TRANSFORMS_UTILS_INTEGERDIVISION_H #define LLVM_TRANSFORMS_UTILS_INTEGERDIVISION_H +#include "llvm/Support/Compiler.h" + namespace llvm { class BinaryOperator; } diff --git a/llvm/include/llvm/Transforms/Utils/LCSSA.h b/llvm/include/llvm/Transforms/Utils/LCSSA.h index b01c8022a65bc8..a39e4a38cdf67c 100644 --- a/llvm/include/llvm/Transforms/Utils/LCSSA.h +++ b/llvm/include/llvm/Transforms/Utils/LCSSA.h @@ -30,6 +30,7 @@ #define LLVM_TRANSFORMS_UTILS_LCSSA_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/LibCallsShrinkWrap.h b/llvm/include/llvm/Transforms/Utils/LibCallsShrinkWrap.h index ff1537ace329ea..960952ce187656 100644 --- a/llvm/include/llvm/Transforms/Utils/LibCallsShrinkWrap.h +++ b/llvm/include/llvm/Transforms/Utils/LibCallsShrinkWrap.h @@ -12,6 +12,7 @@ #define LLVM_TRANSFORMS_UTILS_LIBCALLSSHRINKWRAP_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/Local.h b/llvm/include/llvm/Transforms/Utils/Local.h index fa8405a6191eba..c763c2426b1791 100644 --- a/llvm/include/llvm/Transforms/Utils/Local.h +++ b/llvm/include/llvm/Transforms/Utils/Local.h @@ -17,6 +17,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/IR/Dominators.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" #include "llvm/Transforms/Utils/SimplifyCFGOptions.h" #include diff --git a/llvm/include/llvm/Transforms/Utils/LoopPeel.h b/llvm/include/llvm/Transforms/Utils/LoopPeel.h index 0b78700ca71bb9..e1f941c6f47f40 100644 --- a/llvm/include/llvm/Transforms/Utils/LoopPeel.h +++ b/llvm/include/llvm/Transforms/Utils/LoopPeel.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_UTILS_LOOPPEEL_H #include "llvm/Analysis/TargetTransformInfo.h" +#include "llvm/Support/Compiler.h" #include "llvm/Transforms/Utils/ValueMapper.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/LoopRotationUtils.h b/llvm/include/llvm/Transforms/Utils/LoopRotationUtils.h index 61bf93b74a15a0..79f38fad4a9f0d 100644 --- a/llvm/include/llvm/Transforms/Utils/LoopRotationUtils.h +++ b/llvm/include/llvm/Transforms/Utils/LoopRotationUtils.h @@ -13,6 +13,8 @@ #ifndef LLVM_TRANSFORMS_UTILS_LOOPROTATIONUTILS_H #define LLVM_TRANSFORMS_UTILS_LOOPROTATIONUTILS_H +#include "llvm/Support/Compiler.h" + namespace llvm { class AssumptionCache; diff --git a/llvm/include/llvm/Transforms/Utils/LoopSimplify.h b/llvm/include/llvm/Transforms/Utils/LoopSimplify.h index d017fd12026d6a..bbdc4c24191ec4 100644 --- a/llvm/include/llvm/Transforms/Utils/LoopSimplify.h +++ b/llvm/include/llvm/Transforms/Utils/LoopSimplify.h @@ -39,6 +39,7 @@ #define LLVM_TRANSFORMS_UTILS_LOOPSIMPLIFY_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/LoopUtils.h b/llvm/include/llvm/Transforms/Utils/LoopUtils.h index 0d99249be41376..ec6d523c907137 100644 --- a/llvm/include/llvm/Transforms/Utils/LoopUtils.h +++ b/llvm/include/llvm/Transforms/Utils/LoopUtils.h @@ -15,6 +15,7 @@ #include "llvm/Analysis/IVDescriptors.h" #include "llvm/Analysis/LoopAccessAnalysis.h" +#include "llvm/Support/Compiler.h" #include "llvm/Transforms/Utils/ValueMapper.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/LoopVersioning.h b/llvm/include/llvm/Transforms/Utils/LoopVersioning.h index eeab98c56b66c1..8c4ec94a481f60 100644 --- a/llvm/include/llvm/Transforms/Utils/LoopVersioning.h +++ b/llvm/include/llvm/Transforms/Utils/LoopVersioning.h @@ -16,6 +16,7 @@ #define LLVM_TRANSFORMS_UTILS_LOOPVERSIONING_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include "llvm/Transforms/Utils/LoopUtils.h" #include "llvm/Transforms/Utils/ValueMapper.h" diff --git a/llvm/include/llvm/Transforms/Utils/LowerAtomic.h b/llvm/include/llvm/Transforms/Utils/LowerAtomic.h index b25b281667f9cb..04c0bb8ed4afc1 100644 --- a/llvm/include/llvm/Transforms/Utils/LowerAtomic.h +++ b/llvm/include/llvm/Transforms/Utils/LowerAtomic.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_UTILS_LOWERATOMIC_H #include "llvm/IR/Instructions.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/LowerGlobalDtors.h b/llvm/include/llvm/Transforms/Utils/LowerGlobalDtors.h index 993a6f57361ccf..dc340b24e4b83f 100644 --- a/llvm/include/llvm/Transforms/Utils/LowerGlobalDtors.h +++ b/llvm/include/llvm/Transforms/Utils/LowerGlobalDtors.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_UTILS_LOWERGLOBALDTORS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/LowerIFunc.h b/llvm/include/llvm/Transforms/Utils/LowerIFunc.h index 87ddc18d7c063c..f9438a99377b08 100644 --- a/llvm/include/llvm/Transforms/Utils/LowerIFunc.h +++ b/llvm/include/llvm/Transforms/Utils/LowerIFunc.h @@ -10,6 +10,7 @@ #define LLVM_TRANSFORMS_UTILS_LOWERIFUNC_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/LowerInvoke.h b/llvm/include/llvm/Transforms/Utils/LowerInvoke.h index c1198b08d3ded8..8a577ca7b62510 100644 --- a/llvm/include/llvm/Transforms/Utils/LowerInvoke.h +++ b/llvm/include/llvm/Transforms/Utils/LowerInvoke.h @@ -16,6 +16,7 @@ #define LLVM_TRANSFORMS_UTILS_LOWERINVOKE_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/LowerMemIntrinsics.h b/llvm/include/llvm/Transforms/Utils/LowerMemIntrinsics.h index 314435324b473b..94653e3201d4fe 100644 --- a/llvm/include/llvm/Transforms/Utils/LowerMemIntrinsics.h +++ b/llvm/include/llvm/Transforms/Utils/LowerMemIntrinsics.h @@ -14,6 +14,7 @@ #ifndef LLVM_TRANSFORMS_UTILS_LOWERMEMINTRINSICS_H #define LLVM_TRANSFORMS_UTILS_LOWERMEMINTRINSICS_H +#include "llvm/Support/Compiler.h" #include #include diff --git a/llvm/include/llvm/Transforms/Utils/LowerSwitch.h b/llvm/include/llvm/Transforms/Utils/LowerSwitch.h index 97086987ffcbdf..bdc8a9dbbedb63 100644 --- a/llvm/include/llvm/Transforms/Utils/LowerSwitch.h +++ b/llvm/include/llvm/Transforms/Utils/LowerSwitch.h @@ -16,6 +16,7 @@ #define LLVM_TRANSFORMS_UTILS_LOWERSWITCH_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { struct LowerSwitchPass : public PassInfoMixin { diff --git a/llvm/include/llvm/Transforms/Utils/MatrixUtils.h b/llvm/include/llvm/Transforms/Utils/MatrixUtils.h index ffad57002935e3..751d30a74ee96b 100644 --- a/llvm/include/llvm/Transforms/Utils/MatrixUtils.h +++ b/llvm/include/llvm/Transforms/Utils/MatrixUtils.h @@ -14,6 +14,7 @@ #define LLVM_TRANSFORMS_UTILS_MATRIXUTILS_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" namespace llvm { class DomTreeUpdater; diff --git a/llvm/include/llvm/Transforms/Utils/Mem2Reg.h b/llvm/include/llvm/Transforms/Utils/Mem2Reg.h index 76c1c2c5bffeca..005aeb3213c3ad 100644 --- a/llvm/include/llvm/Transforms/Utils/Mem2Reg.h +++ b/llvm/include/llvm/Transforms/Utils/Mem2Reg.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_UTILS_MEM2REG_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/MemoryOpRemark.h b/llvm/include/llvm/Transforms/Utils/MemoryOpRemark.h index fdb586e153ff91..bf40230ef4a719 100644 --- a/llvm/include/llvm/Transforms/Utils/MemoryOpRemark.h +++ b/llvm/include/llvm/Transforms/Utils/MemoryOpRemark.h @@ -17,6 +17,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/Analysis/TargetLibraryInfo.h" #include "llvm/IR/DiagnosticInfo.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/MemoryTaggingSupport.h b/llvm/include/llvm/Transforms/Utils/MemoryTaggingSupport.h index 990cf60a09c270..183679d18f9a64 100644 --- a/llvm/include/llvm/Transforms/Utils/MemoryTaggingSupport.h +++ b/llvm/include/llvm/Transforms/Utils/MemoryTaggingSupport.h @@ -18,6 +18,7 @@ #include "llvm/Analysis/LoopInfo.h" #include "llvm/Analysis/StackSafetyAnalysis.h" #include "llvm/Support/Alignment.h" +#include "llvm/Support/Compiler.h" namespace llvm { class DominatorTree; diff --git a/llvm/include/llvm/Transforms/Utils/MetaRenamer.h b/llvm/include/llvm/Transforms/Utils/MetaRenamer.h index fff3dff75837e0..3dc8fb22a4d244 100644 --- a/llvm/include/llvm/Transforms/Utils/MetaRenamer.h +++ b/llvm/include/llvm/Transforms/Utils/MetaRenamer.h @@ -16,6 +16,7 @@ #define LLVM_TRANSFORMS_UTILS_METARENAMER_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { struct MetaRenamerPass : PassInfoMixin { diff --git a/llvm/include/llvm/Transforms/Utils/MisExpect.h b/llvm/include/llvm/Transforms/Utils/MisExpect.h index be6deb1957f13f..abe5d5e7c23341 100644 --- a/llvm/include/llvm/Transforms/Utils/MisExpect.h +++ b/llvm/include/llvm/Transforms/Utils/MisExpect.h @@ -21,6 +21,7 @@ #include "llvm/IR/Function.h" #include "llvm/IR/Instructions.h" #include "llvm/IR/LLVMContext.h" +#include "llvm/Support/Compiler.h" namespace llvm { namespace misexpect { diff --git a/llvm/include/llvm/Transforms/Utils/ModuleUtils.h b/llvm/include/llvm/Transforms/Utils/ModuleUtils.h index e37547cb4efff4..2a83eefde31e82 100644 --- a/llvm/include/llvm/Transforms/Utils/ModuleUtils.h +++ b/llvm/include/llvm/Transforms/Utils/ModuleUtils.h @@ -17,6 +17,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/IR/GlobalIFunc.h" #include "llvm/Support/Alignment.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/MemoryBufferRef.h" #include // for std::pair diff --git a/llvm/include/llvm/Transforms/Utils/MoveAutoInit.h b/llvm/include/llvm/Transforms/Utils/MoveAutoInit.h index 980b55f46f114e..86cc076ef2f1cb 100644 --- a/llvm/include/llvm/Transforms/Utils/MoveAutoInit.h +++ b/llvm/include/llvm/Transforms/Utils/MoveAutoInit.h @@ -17,6 +17,7 @@ #define LLVM_TRANSFORMS_UTILS_MOVEAUTOINIT_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/NameAnonGlobals.h b/llvm/include/llvm/Transforms/Utils/NameAnonGlobals.h index a59f9bc3ebfb32..ef56312ec6b5a0 100644 --- a/llvm/include/llvm/Transforms/Utils/NameAnonGlobals.h +++ b/llvm/include/llvm/Transforms/Utils/NameAnonGlobals.h @@ -15,6 +15,7 @@ #define LLVM_TRANSFORMS_UTILS_NAMEANONGLOBALS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/PredicateInfo.h b/llvm/include/llvm/Transforms/Utils/PredicateInfo.h index d2224b61103c98..ec473f03d8ce92 100644 --- a/llvm/include/llvm/Transforms/Utils/PredicateInfo.h +++ b/llvm/include/llvm/Transforms/Utils/PredicateInfo.h @@ -58,6 +58,7 @@ #include "llvm/IR/PassManager.h" #include "llvm/IR/ValueHandle.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h b/llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h index f827ffd3e676ac..f9bf610d0ed1a9 100644 --- a/llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h +++ b/llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h @@ -14,6 +14,8 @@ #ifndef LLVM_TRANSFORMS_UTILS_PROMOTEMEMTOREG_H #define LLVM_TRANSFORMS_UTILS_PROMOTEMEMTOREG_H +#include "llvm/Support/Compiler.h" + namespace llvm { template class ArrayRef; diff --git a/llvm/include/llvm/Transforms/Utils/RelLookupTableConverter.h b/llvm/include/llvm/Transforms/Utils/RelLookupTableConverter.h index 0992a4456c9d0f..c4377c42bd5c72 100644 --- a/llvm/include/llvm/Transforms/Utils/RelLookupTableConverter.h +++ b/llvm/include/llvm/Transforms/Utils/RelLookupTableConverter.h @@ -52,6 +52,7 @@ #define LLVM_TRANSFORMS_UTILS_RELLOOKUPTABLECONVERTER_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/SCCPSolver.h b/llvm/include/llvm/Transforms/Utils/SCCPSolver.h index 1a95f80812aabd..bf7b4a46a350b8 100644 --- a/llvm/include/llvm/Transforms/Utils/SCCPSolver.h +++ b/llvm/include/llvm/Transforms/Utils/SCCPSolver.h @@ -18,6 +18,7 @@ #include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/Statistic.h" #include "llvm/Analysis/DomTreeUpdater.h" +#include "llvm/Support/Compiler.h" #include "llvm/Transforms/Utils/PredicateInfo.h" #include diff --git a/llvm/include/llvm/Transforms/Utils/SSAUpdater.h b/llvm/include/llvm/Transforms/Utils/SSAUpdater.h index 36fbf536f6d015..6c62d4fed4808a 100644 --- a/llvm/include/llvm/Transforms/Utils/SSAUpdater.h +++ b/llvm/include/llvm/Transforms/Utils/SSAUpdater.h @@ -15,6 +15,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/SSAUpdaterBulk.h b/llvm/include/llvm/Transforms/Utils/SSAUpdaterBulk.h index ad24cb454d5e75..5cf569a84431eb 100644 --- a/llvm/include/llvm/Transforms/Utils/SSAUpdaterBulk.h +++ b/llvm/include/llvm/Transforms/Utils/SSAUpdaterBulk.h @@ -16,6 +16,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/StringRef.h" #include "llvm/IR/PredIteratorCache.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/SSAUpdaterImpl.h b/llvm/include/llvm/Transforms/Utils/SSAUpdaterImpl.h index a3e5ac3ac19d45..8af392eeb7b9ba 100644 --- a/llvm/include/llvm/Transforms/Utils/SSAUpdaterImpl.h +++ b/llvm/include/llvm/Transforms/Utils/SSAUpdaterImpl.h @@ -17,6 +17,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/SmallVector.h" #include "llvm/Support/Allocator.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include "llvm/Support/raw_ostream.h" diff --git a/llvm/include/llvm/Transforms/Utils/SampleProfileInference.h b/llvm/include/llvm/Transforms/Utils/SampleProfileInference.h index b4ea1ad840f9d9..bc6e135283aed8 100644 --- a/llvm/include/llvm/Transforms/Utils/SampleProfileInference.h +++ b/llvm/include/llvm/Transforms/Utils/SampleProfileInference.h @@ -17,6 +17,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/DepthFirstIterator.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h b/llvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h index 66814d39527301..977ad7d29a9814 100644 --- a/llvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h +++ b/llvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h @@ -38,6 +38,7 @@ #include "llvm/ProfileData/SampleProf.h" #include "llvm/ProfileData/SampleProfReader.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/GenericDomTree.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Transforms/Utils/SampleProfileInference.h" diff --git a/llvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseUtil.h b/llvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseUtil.h index bd7175aa96ffed..5ec3d3be87c23c 100644 --- a/llvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseUtil.h +++ b/llvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseUtil.h @@ -18,6 +18,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ProfileData/SampleProf.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" namespace llvm { using namespace sampleprof; diff --git a/llvm/include/llvm/Transforms/Utils/SanitizerStats.h b/llvm/include/llvm/Transforms/Utils/SanitizerStats.h index 14e8ae045cddd1..36f0f341f46af1 100644 --- a/llvm/include/llvm/Transforms/Utils/SanitizerStats.h +++ b/llvm/include/llvm/Transforms/Utils/SanitizerStats.h @@ -14,6 +14,7 @@ #define LLVM_TRANSFORMS_UTILS_SANITIZERSTATS_H #include "llvm/IR/IRBuilder.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h b/llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h index 92dbe268c8fa49..80a4cce3b08aa4 100644 --- a/llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h +++ b/llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h @@ -23,6 +23,7 @@ #include "llvm/IR/IRBuilder.h" #include "llvm/IR/ValueHandle.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/InstructionCost.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/SimplifyCFGOptions.h b/llvm/include/llvm/Transforms/Utils/SimplifyCFGOptions.h index 8008fc6e8422d3..304e8c0ec6e9bd 100644 --- a/llvm/include/llvm/Transforms/Utils/SimplifyCFGOptions.h +++ b/llvm/include/llvm/Transforms/Utils/SimplifyCFGOptions.h @@ -16,6 +16,8 @@ #ifndef LLVM_TRANSFORMS_UTILS_SIMPLIFYCFGOPTIONS_H #define LLVM_TRANSFORMS_UTILS_SIMPLIFYCFGOPTIONS_H +#include "llvm/Support/Compiler.h" + namespace llvm { class AssumptionCache; diff --git a/llvm/include/llvm/Transforms/Utils/SimplifyIndVar.h b/llvm/include/llvm/Transforms/Utils/SimplifyIndVar.h index ff60811b616859..3ebb8bfb65620b 100644 --- a/llvm/include/llvm/Transforms/Utils/SimplifyIndVar.h +++ b/llvm/include/llvm/Transforms/Utils/SimplifyIndVar.h @@ -15,6 +15,8 @@ #ifndef LLVM_TRANSFORMS_UTILS_SIMPLIFYINDVAR_H #define LLVM_TRANSFORMS_UTILS_SIMPLIFYINDVAR_H +#include "llvm/Support/Compiler.h" + namespace llvm { class Type; diff --git a/llvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h b/llvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h index eb10545ee149e4..7588ddcca86f3f 100644 --- a/llvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h +++ b/llvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h @@ -16,6 +16,7 @@ #include "llvm/ADT/STLFunctionalExtras.h" #include "llvm/Analysis/TargetLibraryInfo.h" +#include "llvm/Support/Compiler.h" namespace llvm { class AssumptionCache; diff --git a/llvm/include/llvm/Transforms/Utils/SizeOpts.h b/llvm/include/llvm/Transforms/Utils/SizeOpts.h index a9e72768f81e39..ed629aa4ec54ec 100644 --- a/llvm/include/llvm/Transforms/Utils/SizeOpts.h +++ b/llvm/include/llvm/Transforms/Utils/SizeOpts.h @@ -15,6 +15,7 @@ #include "llvm/Analysis/ProfileSummaryInfo.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" namespace llvm { extern cl::opt EnablePGSO; diff --git a/llvm/include/llvm/Transforms/Utils/SplitModule.h b/llvm/include/llvm/Transforms/Utils/SplitModule.h index a5450738060a84..d01724ad574041 100644 --- a/llvm/include/llvm/Transforms/Utils/SplitModule.h +++ b/llvm/include/llvm/Transforms/Utils/SplitModule.h @@ -16,6 +16,7 @@ #define LLVM_TRANSFORMS_UTILS_SPLITMODULE_H #include "llvm/ADT/STLFunctionalExtras.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/StripGCRelocates.h b/llvm/include/llvm/Transforms/Utils/StripGCRelocates.h index 13e6d8ac26a7ff..2f741bfe203c13 100644 --- a/llvm/include/llvm/Transforms/Utils/StripGCRelocates.h +++ b/llvm/include/llvm/Transforms/Utils/StripGCRelocates.h @@ -10,6 +10,7 @@ #define LLVM_TRANSFORMS_UTILS_STRIPGCRELOCATES_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/StripNonLineTableDebugInfo.h b/llvm/include/llvm/Transforms/Utils/StripNonLineTableDebugInfo.h index 20d0aabd29385c..c51d52b5404386 100644 --- a/llvm/include/llvm/Transforms/Utils/StripNonLineTableDebugInfo.h +++ b/llvm/include/llvm/Transforms/Utils/StripNonLineTableDebugInfo.h @@ -10,6 +10,7 @@ #define LLVM_TRANSFORMS_UTILS_STRIPNONLINETABLEDEBUGINFO_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/SymbolRewriter.h b/llvm/include/llvm/Transforms/Utils/SymbolRewriter.h index 6f05e95b2f5be5..e5016b67b0d0ac 100644 --- a/llvm/include/llvm/Transforms/Utils/SymbolRewriter.h +++ b/llvm/include/llvm/Transforms/Utils/SymbolRewriter.h @@ -33,6 +33,7 @@ #define LLVM_TRANSFORMS_UTILS_SYMBOLREWRITER_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h b/llvm/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h index 461669d6a21787..ac5f0defb1c22f 100644 --- a/llvm/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h +++ b/llvm/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h @@ -16,6 +16,7 @@ #include "llvm/IR/PassManager.h" #include "llvm/Pass.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/UnifyLoopExits.h b/llvm/include/llvm/Transforms/Utils/UnifyLoopExits.h index 0b219cd122226c..2bc80295655d56 100644 --- a/llvm/include/llvm/Transforms/Utils/UnifyLoopExits.h +++ b/llvm/include/llvm/Transforms/Utils/UnifyLoopExits.h @@ -10,6 +10,7 @@ #define LLVM_TRANSFORMS_UTILS_UNIFYLOOPEXITS_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/UnrollLoop.h b/llvm/include/llvm/Transforms/Utils/UnrollLoop.h index e8b03f81b34830..c8883a82751b84 100644 --- a/llvm/include/llvm/Transforms/Utils/UnrollLoop.h +++ b/llvm/include/llvm/Transforms/Utils/UnrollLoop.h @@ -17,6 +17,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/Analysis/TargetTransformInfo.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/InstructionCost.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Utils/VNCoercion.h b/llvm/include/llvm/Transforms/Utils/VNCoercion.h index f1ea94bf60fcc6..8fb185d9c81f4e 100644 --- a/llvm/include/llvm/Transforms/Utils/VNCoercion.h +++ b/llvm/include/llvm/Transforms/Utils/VNCoercion.h @@ -21,6 +21,8 @@ #ifndef LLVM_TRANSFORMS_UTILS_VNCOERCION_H #define LLVM_TRANSFORMS_UTILS_VNCOERCION_H +#include "llvm/Support/Compiler.h" + namespace llvm { class Constant; class StoreInst; diff --git a/llvm/include/llvm/Transforms/Utils/ValueMapper.h b/llvm/include/llvm/Transforms/Utils/ValueMapper.h index e80951d50d56e8..1f64e24f6b4fbe 100644 --- a/llvm/include/llvm/Transforms/Utils/ValueMapper.h +++ b/llvm/include/llvm/Transforms/Utils/ValueMapper.h @@ -17,6 +17,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/IR/ValueHandle.h" #include "llvm/IR/ValueMap.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Vectorize/LoadStoreVectorizer.h b/llvm/include/llvm/Transforms/Vectorize/LoadStoreVectorizer.h index 15a46baa190d83..0f8a57a463daae 100644 --- a/llvm/include/llvm/Transforms/Vectorize/LoadStoreVectorizer.h +++ b/llvm/include/llvm/Transforms/Vectorize/LoadStoreVectorizer.h @@ -10,6 +10,7 @@ #define LLVM_TRANSFORMS_VECTORIZE_LOADSTOREVECTORIZER_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { class Pass; diff --git a/llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h b/llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h index 20cfc680e8f90b..01470a052b4064 100644 --- a/llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h +++ b/llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h @@ -28,6 +28,7 @@ #include "llvm/ADT/MapVector.h" #include "llvm/Analysis/LoopAccessAnalysis.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/TypeSize.h" #include "llvm/Transforms/Utils/LoopUtils.h" diff --git a/llvm/include/llvm/Transforms/Vectorize/LoopVectorize.h b/llvm/include/llvm/Transforms/Vectorize/LoopVectorize.h index d09fc328c452ff..74cab6408a1167 100644 --- a/llvm/include/llvm/Transforms/Vectorize/LoopVectorize.h +++ b/llvm/include/llvm/Transforms/Vectorize/LoopVectorize.h @@ -58,6 +58,7 @@ #include "llvm/IR/PassManager.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Compiler.h" #include namespace llvm { diff --git a/llvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h b/llvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h index 326006fbb88039..082dcbe41fc929 100644 --- a/llvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h +++ b/llvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h @@ -23,6 +23,7 @@ #include "llvm/ADT/SetVector.h" #include "llvm/ADT/SmallVector.h" #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/Transforms/Vectorize/VectorCombine.h b/llvm/include/llvm/Transforms/Vectorize/VectorCombine.h index 935f739b7667ac..da41a90b9062a0 100644 --- a/llvm/include/llvm/Transforms/Vectorize/VectorCombine.h +++ b/llvm/include/llvm/Transforms/Vectorize/VectorCombine.h @@ -16,6 +16,7 @@ #define LLVM_TRANSFORMS_VECTORIZE_VECTORCOMBINE_H #include "llvm/IR/PassManager.h" +#include "llvm/Support/Compiler.h" namespace llvm { diff --git a/llvm/include/llvm/WindowsDriver/MSVCPaths.h b/llvm/include/llvm/WindowsDriver/MSVCPaths.h index 51ffd6b6bc2c21..29a41dbc9ed60e 100644 --- a/llvm/include/llvm/WindowsDriver/MSVCPaths.h +++ b/llvm/include/llvm/WindowsDriver/MSVCPaths.h @@ -11,6 +11,7 @@ #include "llvm/ADT/SmallString.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/TargetParser/Triple.h" #include #include diff --git a/llvm/include/llvm/WindowsManifest/WindowsManifestMerger.h b/llvm/include/llvm/WindowsManifest/WindowsManifestMerger.h index 2da74bb9dce8c6..efbef51f17f5da 100644 --- a/llvm/include/llvm/WindowsManifest/WindowsManifestMerger.h +++ b/llvm/include/llvm/WindowsManifest/WindowsManifestMerger.h @@ -25,6 +25,7 @@ #ifndef LLVM_WINDOWSMANIFEST_WINDOWSMANIFESTMERGER_H #define LLVM_WINDOWSMANIFEST_WINDOWSMANIFESTMERGER_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" namespace llvm { diff --git a/llvm/include/llvm/XRay/BlockIndexer.h b/llvm/include/llvm/XRay/BlockIndexer.h index 77af77e5ec269c..02315002e69b99 100644 --- a/llvm/include/llvm/XRay/BlockIndexer.h +++ b/llvm/include/llvm/XRay/BlockIndexer.h @@ -14,6 +14,7 @@ #define LLVM_XRAY_BLOCKINDEXER_H #include "llvm/ADT/DenseMap.h" +#include "llvm/Support/Compiler.h" #include "llvm/XRay/FDRRecords.h" #include #include diff --git a/llvm/include/llvm/XRay/BlockPrinter.h b/llvm/include/llvm/XRay/BlockPrinter.h index 2f9fed668069c7..5c445e231114e8 100644 --- a/llvm/include/llvm/XRay/BlockPrinter.h +++ b/llvm/include/llvm/XRay/BlockPrinter.h @@ -13,6 +13,7 @@ #ifndef LLVM_XRAY_BLOCKPRINTER_H #define LLVM_XRAY_BLOCKPRINTER_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include "llvm/XRay/FDRRecords.h" #include "llvm/XRay/RecordPrinter.h" diff --git a/llvm/include/llvm/XRay/BlockVerifier.h b/llvm/include/llvm/XRay/BlockVerifier.h index 0175584d8235e5..83b0da89a664cb 100644 --- a/llvm/include/llvm/XRay/BlockVerifier.h +++ b/llvm/include/llvm/XRay/BlockVerifier.h @@ -13,6 +13,7 @@ #ifndef LLVM_XRAY_BLOCKVERIFIER_H #define LLVM_XRAY_BLOCKVERIFIER_H +#include "llvm/Support/Compiler.h" #include "llvm/XRay/FDRRecords.h" #include #include diff --git a/llvm/include/llvm/XRay/FDRRecordConsumer.h b/llvm/include/llvm/XRay/FDRRecordConsumer.h index 8fff9fb861582a..90132c380d9143 100644 --- a/llvm/include/llvm/XRay/FDRRecordConsumer.h +++ b/llvm/include/llvm/XRay/FDRRecordConsumer.h @@ -8,6 +8,7 @@ #ifndef LLVM_XRAY_FDRRECORDCONSUMER_H #define LLVM_XRAY_FDRRECORDCONSUMER_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/XRay/FDRRecords.h" #include diff --git a/llvm/include/llvm/XRay/FDRRecordProducer.h b/llvm/include/llvm/XRay/FDRRecordProducer.h index 25c123aec1b298..9a85b0e76f7bab 100644 --- a/llvm/include/llvm/XRay/FDRRecordProducer.h +++ b/llvm/include/llvm/XRay/FDRRecordProducer.h @@ -8,6 +8,7 @@ #ifndef LLVM_XRAY_FDRRECORDPRODUCER_H #define LLVM_XRAY_FDRRECORDPRODUCER_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include "llvm/XRay/FDRRecords.h" #include "llvm/XRay/XRayRecord.h" diff --git a/llvm/include/llvm/XRay/FDRRecords.h b/llvm/include/llvm/XRay/FDRRecords.h index 8af88f5b0e1329..e6391a4fb32278 100644 --- a/llvm/include/llvm/XRay/FDRRecords.h +++ b/llvm/include/llvm/XRay/FDRRecords.h @@ -18,6 +18,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataExtractor.h" #include "llvm/Support/Error.h" #include "llvm/XRay/XRayRecord.h" diff --git a/llvm/include/llvm/XRay/FDRTraceExpander.h b/llvm/include/llvm/XRay/FDRTraceExpander.h index 197c123fff1e36..2f46c4ab179828 100644 --- a/llvm/include/llvm/XRay/FDRTraceExpander.h +++ b/llvm/include/llvm/XRay/FDRTraceExpander.h @@ -14,6 +14,7 @@ #define LLVM_XRAY_FDRTRACEEXPANDER_H #include "llvm/ADT/STLExtras.h" +#include "llvm/Support/Compiler.h" #include "llvm/XRay/FDRRecords.h" #include "llvm/XRay/XRayRecord.h" diff --git a/llvm/include/llvm/XRay/FDRTraceWriter.h b/llvm/include/llvm/XRay/FDRTraceWriter.h index 40d5f5af91c927..ffa8717055b537 100644 --- a/llvm/include/llvm/XRay/FDRTraceWriter.h +++ b/llvm/include/llvm/XRay/FDRTraceWriter.h @@ -12,6 +12,7 @@ #ifndef LLVM_XRAY_FDRTRACEWRITER_H #define LLVM_XRAY_FDRTRACEWRITER_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Support/EndianStream.h" #include "llvm/XRay/FDRRecords.h" diff --git a/llvm/include/llvm/XRay/FileHeaderReader.h b/llvm/include/llvm/XRay/FileHeaderReader.h index 485d26d71456b5..c385129dbe1419 100644 --- a/llvm/include/llvm/XRay/FileHeaderReader.h +++ b/llvm/include/llvm/XRay/FileHeaderReader.h @@ -13,6 +13,7 @@ #ifndef LLVM_XRAY_FILEHEADERREADER_H #define LLVM_XRAY_FILEHEADERREADER_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataExtractor.h" #include "llvm/Support/Error.h" #include "llvm/XRay/XRayRecord.h" diff --git a/llvm/include/llvm/XRay/InstrumentationMap.h b/llvm/include/llvm/XRay/InstrumentationMap.h index 1979108ff4133b..b3eb96d9725ed7 100644 --- a/llvm/include/llvm/XRay/InstrumentationMap.h +++ b/llvm/include/llvm/XRay/InstrumentationMap.h @@ -16,6 +16,7 @@ #include "llvm/ADT/StringRef.h" #include "llvm/Support/Error.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/YAMLTraits.h" #include #include diff --git a/llvm/include/llvm/XRay/Profile.h b/llvm/include/llvm/XRay/Profile.h index 79d9b53387f393..721a5c67e1d382 100644 --- a/llvm/include/llvm/XRay/Profile.h +++ b/llvm/include/llvm/XRay/Profile.h @@ -16,6 +16,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Error.h" #include #include diff --git a/llvm/include/llvm/XRay/RecordPrinter.h b/llvm/include/llvm/XRay/RecordPrinter.h index 8ca4794dce5e20..13ecf23b39060d 100644 --- a/llvm/include/llvm/XRay/RecordPrinter.h +++ b/llvm/include/llvm/XRay/RecordPrinter.h @@ -13,6 +13,7 @@ #ifndef LLVM_XRAY_RECORDPRINTER_H #define LLVM_XRAY_RECORDPRINTER_H +#include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include "llvm/XRay/FDRRecords.h" diff --git a/llvm/include/llvm/XRay/Trace.h b/llvm/include/llvm/XRay/Trace.h index eb1f03b2a0d4a3..ec405f069d0c55 100644 --- a/llvm/include/llvm/XRay/Trace.h +++ b/llvm/include/llvm/XRay/Trace.h @@ -16,6 +16,7 @@ #include #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataExtractor.h" #include "llvm/Support/Error.h" #include "llvm/XRay/XRayRecord.h" diff --git a/llvm/include/llvm/XRay/XRayRecord.h b/llvm/include/llvm/XRay/XRayRecord.h index 238bf3daf6ea5e..221df9670acddc 100644 --- a/llvm/include/llvm/XRay/XRayRecord.h +++ b/llvm/include/llvm/XRay/XRayRecord.h @@ -14,6 +14,7 @@ #ifndef LLVM_XRAY_XRAYRECORD_H #define LLVM_XRAY_XRAYRECORD_H +#include "llvm/Support/Compiler.h" #include #include #include diff --git a/llvm/include/llvm/XRay/YAMLXRayRecord.h b/llvm/include/llvm/XRay/YAMLXRayRecord.h index 606260693fc4f4..2b81a368df5a3a 100644 --- a/llvm/include/llvm/XRay/YAMLXRayRecord.h +++ b/llvm/include/llvm/XRay/YAMLXRayRecord.h @@ -14,6 +14,7 @@ #include +#include "llvm/Support/Compiler.h" #include "llvm/Support/YAMLTraits.h" #include "llvm/XRay/XRayRecord.h" From 2278b1989b49686f2a230235e26b05a47ddcc75e Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 7 Nov 2023 22:40:49 +0000 Subject: [PATCH 09/34] Automated Annotations: bash run-users.sh 03418e88a15e292d901b0acbc168ad8ca2242a77 --- .../include/mach-o/compact_unwind_encoding.h | 12 +- llvm/include/llvm-c/Analysis.h | 8 +- llvm/include/llvm-c/BitReader.h | 16 +- llvm/include/llvm-c/BitWriter.h | 8 +- llvm/include/llvm-c/Comdat.h | 10 +- llvm/include/llvm-c/Core.h | 1226 ++++++++--------- llvm/include/llvm-c/DebugInfo.h | 180 +-- llvm/include/llvm-c/Disassembler.h | 12 +- llvm/include/llvm-c/DisassemblerTypes.h | 4 +- llvm/include/llvm-c/Error.h | 12 +- llvm/include/llvm-c/ErrorHandling.h | 6 +- llvm/include/llvm-c/ExecutionEngine.h | 78 +- llvm/include/llvm-c/IRReader.h | 2 +- llvm/include/llvm-c/LLJIT.h | 40 +- llvm/include/llvm-c/Linker.h | 2 +- llvm/include/llvm-c/Object.h | 74 +- llvm/include/llvm-c/Orc.h | 160 +-- llvm/include/llvm-c/Remarks.h | 50 +- llvm/include/llvm-c/Support.h | 8 +- llvm/include/llvm-c/Target.h | 44 +- llvm/include/llvm-c/TargetMachine.h | 74 +- llvm/include/llvm-c/Transforms/PassBuilder.h | 30 +- llvm/include/llvm-c/blake3.h | 22 +- llvm/include/llvm-c/lto.h | 156 +-- llvm/include/llvm/ADT/APFixedPoint.h | 8 +- llvm/include/llvm/ADT/APFloat.h | 44 +- llvm/include/llvm/ADT/APInt.h | 28 +- llvm/include/llvm/ADT/APSInt.h | 4 +- llvm/include/llvm/ADT/AddressRanges.h | 10 +- llvm/include/llvm/ADT/AllocatorList.h | 2 +- llvm/include/llvm/ADT/ArrayRef.h | 8 +- llvm/include/llvm/ADT/BitVector.h | 6 +- llvm/include/llvm/ADT/Bitfields.h | 16 +- llvm/include/llvm/ADT/BitmaskEnum.h | 6 +- llvm/include/llvm/ADT/Bitset.h | 2 +- llvm/include/llvm/ADT/BreadthFirstIterator.h | 4 +- llvm/include/llvm/ADT/CachedHashString.h | 8 +- llvm/include/llvm/ADT/CoalescingBitVector.h | 2 +- llvm/include/llvm/ADT/CombinationGenerator.h | 2 +- llvm/include/llvm/ADT/ConcurrentHashtable.h | 4 +- llvm/include/llvm/ADT/DAGDeltaAlgorithm.h | 2 +- llvm/include/llvm/ADT/DeltaAlgorithm.h | 2 +- llvm/include/llvm/ADT/DenseMap.h | 10 +- llvm/include/llvm/ADT/DenseMapInfo.h | 28 +- llvm/include/llvm/ADT/DenseMapInfoVariant.h | 2 +- llvm/include/llvm/ADT/DenseSet.h | 10 +- llvm/include/llvm/ADT/DepthFirstIterator.h | 14 +- llvm/include/llvm/ADT/DirectedGraph.h | 6 +- llvm/include/llvm/ADT/EnumeratedArray.h | 2 +- llvm/include/llvm/ADT/EpochTracker.h | 2 +- llvm/include/llvm/ADT/EquivalenceClasses.h | 2 +- llvm/include/llvm/ADT/FloatingPointMode.h | 10 +- llvm/include/llvm/ADT/FoldingSet.h | 40 +- llvm/include/llvm/ADT/FunctionExtras.h | 6 +- llvm/include/llvm/ADT/GenericCycleInfo.h | 10 +- llvm/include/llvm/ADT/GenericSSAContext.h | 2 +- llvm/include/llvm/ADT/GraphTraits.h | 6 +- llvm/include/llvm/ADT/Hashing.h | 18 +- llvm/include/llvm/ADT/ImmutableList.h | 8 +- llvm/include/llvm/ADT/ImmutableMap.h | 6 +- llvm/include/llvm/ADT/ImmutableSet.h | 28 +- llvm/include/llvm/ADT/IndexedMap.h | 2 +- llvm/include/llvm/ADT/IntEqClasses.h | 2 +- llvm/include/llvm/ADT/IntervalMap.h | 22 +- llvm/include/llvm/ADT/IntervalTree.h | 4 +- llvm/include/llvm/ADT/IntrusiveRefCntPtr.h | 12 +- llvm/include/llvm/ADT/LazyAtomicPointer.h | 2 +- llvm/include/llvm/ADT/MapVector.h | 4 +- llvm/include/llvm/ADT/PackedVector.h | 6 +- llvm/include/llvm/ADT/PagedVector.h | 2 +- llvm/include/llvm/ADT/PointerEmbeddedInt.h | 6 +- llvm/include/llvm/ADT/PointerIntPair.h | 14 +- llvm/include/llvm/ADT/PointerSumType.h | 8 +- llvm/include/llvm/ADT/PointerUnion.h | 20 +- llvm/include/llvm/ADT/PostOrderIterator.h | 14 +- llvm/include/llvm/ADT/PriorityQueue.h | 2 +- llvm/include/llvm/ADT/PriorityWorklist.h | 4 +- llvm/include/llvm/ADT/SCCIterator.h | 6 +- llvm/include/llvm/ADT/STLExtras.h | 128 +- llvm/include/llvm/ADT/STLForwardCompat.h | 2 +- llvm/include/llvm/ADT/STLFunctionalExtras.h | 2 +- llvm/include/llvm/ADT/ScopeExit.h | 2 +- llvm/include/llvm/ADT/Sequence.h | 10 +- llvm/include/llvm/ADT/SetVector.h | 4 +- llvm/include/llvm/ADT/SmallBitVector.h | 4 +- llvm/include/llvm/ADT/SmallPtrSet.h | 16 +- llvm/include/llvm/ADT/SmallSet.h | 6 +- llvm/include/llvm/ADT/SmallString.h | 2 +- llvm/include/llvm/ADT/SmallVector.h | 24 +- llvm/include/llvm/ADT/SparseBitVector.h | 4 +- llvm/include/llvm/ADT/SparseMultiSet.h | 2 +- llvm/include/llvm/ADT/SparseSet.h | 8 +- llvm/include/llvm/ADT/Statistic.h | 20 +- llvm/include/llvm/ADT/StringExtras.h | 20 +- llvm/include/llvm/ADT/StringMap.h | 12 +- llvm/include/llvm/ADT/StringMapEntry.h | 12 +- llvm/include/llvm/ADT/StringRef.h | 16 +- llvm/include/llvm/ADT/StringSet.h | 2 +- llvm/include/llvm/ADT/StringSwitch.h | 2 +- llvm/include/llvm/ADT/TinyPtrVector.h | 2 +- llvm/include/llvm/ADT/Twine.h | 2 +- llvm/include/llvm/ADT/TypeSwitch.h | 6 +- llvm/include/llvm/ADT/UniqueVector.h | 2 +- llvm/include/llvm/ADT/bit.h | 16 +- llvm/include/llvm/ADT/fallible_iterator.h | 2 +- llvm/include/llvm/ADT/identity.h | 2 +- llvm/include/llvm/ADT/ilist.h | 16 +- llvm/include/llvm/ADT/ilist_base.h | 2 +- llvm/include/llvm/ADT/ilist_iterator.h | 20 +- llvm/include/llvm/ADT/ilist_node.h | 16 +- llvm/include/llvm/ADT/ilist_node_base.h | 4 +- llvm/include/llvm/ADT/ilist_node_options.h | 42 +- llvm/include/llvm/ADT/iterator.h | 8 +- llvm/include/llvm/ADT/iterator_range.h | 6 +- llvm/include/llvm/ADT/simple_ilist.h | 2 +- llvm/include/llvm/Analysis/AliasAnalysis.h | 44 +- .../llvm/Analysis/AliasAnalysisEvaluator.h | 2 +- llvm/include/llvm/Analysis/AliasSetTracker.h | 6 +- .../llvm/Analysis/AssumeBundleQueries.h | 22 +- llvm/include/llvm/Analysis/AssumptionCache.h | 12 +- .../llvm/Analysis/BasicAliasAnalysis.h | 8 +- .../llvm/Analysis/BlockFrequencyInfo.h | 12 +- .../llvm/Analysis/BlockFrequencyInfoImpl.h | 32 +- .../llvm/Analysis/BranchProbabilityInfo.h | 8 +- llvm/include/llvm/Analysis/CFG.h | 14 +- llvm/include/llvm/Analysis/CFGPrinter.h | 18 +- llvm/include/llvm/Analysis/CGSCCPassManager.h | 26 +- llvm/include/llvm/Analysis/CallGraph.h | 20 +- llvm/include/llvm/Analysis/CallGraphSCCPass.h | 8 +- llvm/include/llvm/Analysis/CallPrinter.h | 8 +- llvm/include/llvm/Analysis/CaptureTracking.h | 16 +- llvm/include/llvm/Analysis/CodeMetrics.h | 2 +- llvm/include/llvm/Analysis/ConstantFolding.h | 54 +- llvm/include/llvm/Analysis/ConstraintSystem.h | 2 +- llvm/include/llvm/Analysis/DDG.h | 38 +- .../llvm/Analysis/DOTGraphTraitsPass.h | 16 +- llvm/include/llvm/Analysis/DemandedBits.h | 6 +- .../llvm/Analysis/DependenceAnalysis.h | 14 +- .../llvm/Analysis/DependenceGraphBuilder.h | 2 +- llvm/include/llvm/Analysis/DomPrinter.h | 38 +- llvm/include/llvm/Analysis/DomTreeUpdater.h | 2 +- .../Analysis/FunctionPropertiesAnalysis.h | 8 +- llvm/include/llvm/Analysis/GlobalsModRef.h | 10 +- llvm/include/llvm/Analysis/HeatUtils.h | 8 +- .../llvm/Analysis/IRSimilarityIdentifier.h | 20 +- llvm/include/llvm/Analysis/IVDescriptors.h | 4 +- llvm/include/llvm/Analysis/InlineAdvisor.h | 34 +- llvm/include/llvm/Analysis/InlineCost.h | 34 +- .../llvm/Analysis/InlineModelFeatureMaps.h | 12 +- llvm/include/llvm/Analysis/InlineOrder.h | 8 +- .../llvm/Analysis/InstSimplifyFolder.h | 2 +- .../Analysis/InstructionPrecedenceTracking.h | 6 +- .../llvm/Analysis/InstructionSimplify.h | 90 +- .../llvm/Analysis/InteractiveModelRunner.h | 2 +- .../include/llvm/Analysis/IntervalPartition.h | 2 +- .../llvm/Analysis/IteratedDominanceFrontier.h | 4 +- llvm/include/llvm/Analysis/LazyCallGraph.h | 12 +- llvm/include/llvm/Analysis/Loads.h | 22 +- .../llvm/Analysis/LoopAccessAnalysis.h | 26 +- .../llvm/Analysis/LoopAnalysisManager.h | 10 +- llvm/include/llvm/Analysis/LoopInfo.h | 44 +- llvm/include/llvm/Analysis/LoopNestAnalysis.h | 6 +- llvm/include/llvm/Analysis/LoopPass.h | 6 +- .../llvm/Analysis/LoopUnrollAnalyzer.h | 2 +- llvm/include/llvm/Analysis/MLModelRunner.h | 2 +- llvm/include/llvm/Analysis/MemoryBuiltins.h | 40 +- llvm/include/llvm/Analysis/MemoryLocation.h | 8 +- .../include/llvm/Analysis/MemoryProfileInfo.h | 16 +- llvm/include/llvm/Analysis/MemorySSA.h | 54 +- llvm/include/llvm/Analysis/MemorySSAUpdater.h | 2 +- .../llvm/Analysis/ModuleSummaryAnalysis.h | 14 +- llvm/include/llvm/Analysis/MustExecute.h | 16 +- .../llvm/Analysis/NoInferenceModelRunner.h | 2 +- llvm/include/llvm/Analysis/ObjCARCInstKind.h | 28 +- .../llvm/Analysis/OptimizationRemarkEmitter.h | 6 +- llvm/include/llvm/Analysis/PHITransAddr.h | 2 +- llvm/include/llvm/Analysis/Passes.h | 12 +- llvm/include/llvm/Analysis/PhiValues.h | 8 +- llvm/include/llvm/Analysis/PostDominators.h | 12 +- .../llvm/Analysis/ProfileSummaryInfo.h | 8 +- llvm/include/llvm/Analysis/RegionInfo.h | 26 +- llvm/include/llvm/Analysis/RegionPass.h | 4 +- llvm/include/llvm/Analysis/RegionPrinter.h | 10 +- .../llvm/Analysis/ReleaseModeModelRunner.h | 4 +- llvm/include/llvm/Analysis/ScalarEvolution.h | 32 +- .../Analysis/ScalarEvolutionAliasAnalysis.h | 8 +- .../Analysis/ScalarEvolutionExpressions.h | 56 +- .../Analysis/ScalarEvolutionNormalization.h | 6 +- llvm/include/llvm/Analysis/ScopedNoAliasAA.h | 8 +- llvm/include/llvm/Analysis/SimplifyQuery.h | 4 +- .../include/llvm/Analysis/SparsePropagation.h | 6 +- llvm/include/llvm/Analysis/TargetFolder.h | 2 +- .../include/llvm/Analysis/TargetLibraryInfo.h | 10 +- .../llvm/Analysis/TargetTransformInfo.h | 16 +- llvm/include/llvm/Analysis/TensorSpec.h | 6 +- .../llvm/Analysis/TypeBasedAliasAnalysis.h | 8 +- .../ImportedFunctionsInliningStatistics.h | 2 +- .../llvm/Analysis/Utils/TrainingLogger.h | 2 +- llvm/include/llvm/Analysis/ValueLattice.h | 4 +- llvm/include/llvm/Analysis/ValueTracking.h | 180 +-- llvm/include/llvm/Analysis/VectorUtils.h | 72 +- llvm/include/llvm/Analysis/WithCache.h | 4 +- llvm/include/llvm/AsmParser/Parser.h | 28 +- llvm/include/llvm/AsmParser/SlotMapping.h | 2 +- .../BinaryFormat/AMDGPUMetadataVerifier.h | 2 +- llvm/include/llvm/BinaryFormat/COFF.h | 34 +- llvm/include/llvm/BinaryFormat/DXContainer.h | 60 +- llvm/include/llvm/BinaryFormat/Dwarf.h | 142 +- llvm/include/llvm/BinaryFormat/ELF.h | 40 +- llvm/include/llvm/BinaryFormat/MachO.h | 184 +-- llvm/include/llvm/BinaryFormat/Magic.h | 6 +- llvm/include/llvm/BinaryFormat/Minidump.h | 26 +- .../llvm/BinaryFormat/MsgPackDocument.h | 10 +- .../include/llvm/BinaryFormat/MsgPackReader.h | 6 +- .../include/llvm/BinaryFormat/MsgPackWriter.h | 2 +- llvm/include/llvm/BinaryFormat/Wasm.h | 62 +- llvm/include/llvm/BinaryFormat/WasmTraits.h | 8 +- llvm/include/llvm/BinaryFormat/XCOFF.h | 18 +- llvm/include/llvm/Bitcode/BitcodeAnalyzer.h | 4 +- .../include/llvm/Bitcode/BitcodeConvenience.h | 34 +- llvm/include/llvm/Bitcode/BitcodeReader.h | 42 +- llvm/include/llvm/Bitcode/BitcodeWriter.h | 10 +- llvm/include/llvm/Bitcode/BitcodeWriterPass.h | 6 +- llvm/include/llvm/Bitstream/BitCodes.h | 4 +- llvm/include/llvm/Bitstream/BitstreamReader.h | 8 +- llvm/include/llvm/Bitstream/BitstreamWriter.h | 2 +- llvm/include/llvm/CodeGen/AccelTable.h | 26 +- llvm/include/llvm/CodeGen/AsmPrinter.h | 2 +- llvm/include/llvm/CodeGen/AsmPrinterHandler.h | 2 +- llvm/include/llvm/CodeGen/CSEConfigBase.h | 2 +- llvm/include/llvm/CodeGen/CallingConvLower.h | 6 +- llvm/include/llvm/CodeGen/CommandFlags.h | 148 +- .../llvm/CodeGen/ComplexDeinterleavingPass.h | 2 +- llvm/include/llvm/CodeGen/DIE.h | 46 +- .../llvm/CodeGen/DwarfStringPoolEntry.h | 6 +- .../llvm/CodeGen/FunctionLoweringInfo.h | 2 +- .../include/llvm/CodeGen/GlobalISel/CSEInfo.h | 16 +- .../llvm/CodeGen/GlobalISel/CSEMIRBuilder.h | 2 +- .../llvm/CodeGen/GlobalISel/CallLowering.h | 2 +- .../CodeGen/GlobalISel/GISelChangeObserver.h | 10 +- .../llvm/CodeGen/GlobalISel/GISelKnownBits.h | 4 +- .../llvm/CodeGen/GlobalISel/GISelWorkList.h | 2 +- .../CodeGen/GlobalISel/LegacyLegalizerInfo.h | 8 +- .../llvm/CodeGen/GlobalISel/Legalizer.h | 2 +- .../llvm/CodeGen/GlobalISel/LegalizerHelper.h | 8 +- .../llvm/CodeGen/GlobalISel/LegalizerInfo.h | 86 +- .../llvm/CodeGen/GlobalISel/LoadStoreOpt.h | 10 +- .../CodeGen/GlobalISel/LostDebugLocObserver.h | 2 +- .../llvm/CodeGen/GlobalISel/MIPatternMatch.h | 56 +- .../CodeGen/GlobalISel/MachineIRBuilder.h | 8 +- llvm/include/llvm/CodeGen/GlobalISel/Utils.h | 128 +- llvm/include/llvm/CodeGen/ISDOpcodes.h | 28 +- llvm/include/llvm/CodeGen/LexicalScopes.h | 4 +- .../llvm/CodeGen/LinkAllAsmWriterComponents.h | 2 +- .../llvm/CodeGen/LinkAllCodegenComponents.h | 2 +- llvm/include/llvm/CodeGen/LiveInterval.h | 14 +- llvm/include/llvm/CodeGen/LiveIntervals.h | 4 +- llvm/include/llvm/CodeGen/LivePhysRegs.h | 10 +- llvm/include/llvm/CodeGen/LiveRegUnits.h | 2 +- llvm/include/llvm/CodeGen/LiveVariables.h | 2 +- llvm/include/llvm/CodeGen/LowLevelType.h | 4 +- llvm/include/llvm/CodeGen/LowLevelTypeUtils.h | 10 +- llvm/include/llvm/CodeGen/MIRFormatter.h | 2 +- .../llvm/CodeGen/MIRParser/MIRParser.h | 6 +- llvm/include/llvm/CodeGen/MIRPrinter.h | 6 +- llvm/include/llvm/CodeGen/MachineBasicBlock.h | 24 +- .../llvm/CodeGen/MachineBlockFrequencyInfo.h | 6 +- .../CodeGen/MachineBranchProbabilityInfo.h | 2 +- .../llvm/CodeGen/MachineCycleAnalysis.h | 4 +- llvm/include/llvm/CodeGen/MachineDominators.h | 10 +- llvm/include/llvm/CodeGen/MachineFrameInfo.h | 4 +- llvm/include/llvm/CodeGen/MachineFunction.h | 22 +- .../llvm/CodeGen/MachineFunctionPass.h | 2 +- llvm/include/llvm/CodeGen/MachineInstr.h | 4 +- .../llvm/CodeGen/MachineInstrBuilder.h | 20 +- .../include/llvm/CodeGen/MachineInstrBundle.h | 22 +- .../llvm/CodeGen/MachineInstrBundleIterator.h | 14 +- .../llvm/CodeGen/MachineJumpTableInfo.h | 6 +- llvm/include/llvm/CodeGen/MachineLoopInfo.h | 10 +- llvm/include/llvm/CodeGen/MachineMemOperand.h | 4 +- llvm/include/llvm/CodeGen/MachineModuleInfo.h | 8 +- .../llvm/CodeGen/MachineModuleSlotTracker.h | 2 +- llvm/include/llvm/CodeGen/MachineOperand.h | 8 +- .../MachineOptimizationRemarkEmitter.h | 12 +- llvm/include/llvm/CodeGen/MachineOutliner.h | 4 +- .../include/llvm/CodeGen/MachinePassManager.h | 8 +- .../llvm/CodeGen/MachinePassRegistry.h | 8 +- .../llvm/CodeGen/MachineRegisterInfo.h | 4 +- llvm/include/llvm/CodeGen/MachineSSAContext.h | 2 +- llvm/include/llvm/CodeGen/MachineScheduler.h | 58 +- llvm/include/llvm/CodeGen/MachineSizeOpts.h | 6 +- llvm/include/llvm/CodeGen/MachineValueType.h | 2 +- .../llvm/CodeGen/NonRelocatableStringpool.h | 8 +- llvm/include/llvm/CodeGen/PBQPRAConstraint.h | 4 +- llvm/include/llvm/CodeGen/Passes.h | 292 ++-- llvm/include/llvm/CodeGen/PseudoSourceValue.h | 16 +- llvm/include/llvm/CodeGen/RegAllocRegistry.h | 4 +- llvm/include/llvm/CodeGen/Register.h | 4 +- llvm/include/llvm/CodeGen/RegisterBank.h | 2 +- llvm/include/llvm/CodeGen/RegisterClassInfo.h | 2 +- llvm/include/llvm/CodeGen/RegisterPressure.h | 24 +- llvm/include/llvm/CodeGen/RuntimeLibcalls.h | 30 +- llvm/include/llvm/CodeGen/ScheduleDAG.h | 16 +- llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h | 10 +- .../llvm/CodeGen/ScheduleDAGMutation.h | 2 +- llvm/include/llvm/CodeGen/SchedulerRegistry.h | 18 +- llvm/include/llvm/CodeGen/SelectionDAG.h | 14 +- .../CodeGen/SelectionDAGAddressAnalysis.h | 2 +- llvm/include/llvm/CodeGen/SelectionDAGNodes.h | 180 +-- llvm/include/llvm/CodeGen/SlotIndexes.h | 10 +- llvm/include/llvm/CodeGen/StackMaps.h | 8 +- llvm/include/llvm/CodeGen/TargetCallingConv.h | 6 +- .../llvm/CodeGen/TargetFrameLowering.h | 2 +- llvm/include/llvm/CodeGen/TargetInstrInfo.h | 10 +- llvm/include/llvm/CodeGen/TargetLowering.h | 8 +- llvm/include/llvm/CodeGen/TargetPassConfig.h | 6 +- .../include/llvm/CodeGen/TargetRegisterInfo.h | 22 +- llvm/include/llvm/CodeGen/TargetSchedule.h | 2 +- .../llvm/CodeGen/TargetSubtargetInfo.h | 2 +- llvm/include/llvm/CodeGen/TileShapeInfo.h | 2 +- llvm/include/llvm/CodeGen/ValueTypes.h | 2 +- llvm/include/llvm/CodeGen/VirtRegMap.h | 2 +- llvm/include/llvm/DWARFLinker/DWARFLinker.h | 10 +- .../llvm/DWARFLinker/DWARFLinkerCompileUnit.h | 4 +- .../llvm/DWARFLinker/DWARFLinkerDeclContext.h | 8 +- llvm/include/llvm/DWARFLinker/DWARFStreamer.h | 2 +- .../llvm/DWARFLinkerParallel/AddressesMap.h | 2 +- .../llvm/DWARFLinkerParallel/DWARFFile.h | 2 +- .../llvm/DWARFLinkerParallel/DWARFLinker.h | 4 +- .../llvm/DWARFLinkerParallel/StringPool.h | 4 +- llvm/include/llvm/DWP/DWP.h | 20 +- llvm/include/llvm/DWP/DWPError.h | 2 +- llvm/include/llvm/DWP/DWPStringPool.h | 2 +- llvm/include/llvm/DebugInfo/BTF/BTF.h | 38 +- llvm/include/llvm/DebugInfo/BTF/BTFContext.h | 2 +- llvm/include/llvm/DebugInfo/BTF/BTFParser.h | 2 +- .../CodeView/AppendingTypeTableBuilder.h | 2 +- .../llvm/DebugInfo/CodeView/CVRecord.h | 4 +- .../llvm/DebugInfo/CodeView/CVSymbolVisitor.h | 2 +- .../llvm/DebugInfo/CodeView/CVTypeVisitor.h | 16 +- .../llvm/DebugInfo/CodeView/CodeView.h | 12 +- .../llvm/DebugInfo/CodeView/CodeViewError.h | 6 +- .../DebugInfo/CodeView/CodeViewRecordIO.h | 4 +- .../CodeView/ContinuationRecordBuilder.h | 2 +- .../CodeView/DebugChecksumsSubsection.h | 8 +- .../CodeView/DebugCrossExSubsection.h | 4 +- .../CodeView/DebugCrossImpSubsection.h | 8 +- .../CodeView/DebugFrameDataSubsection.h | 4 +- .../CodeView/DebugInlineeLinesSubsection.h | 10 +- .../DebugInfo/CodeView/DebugLinesSubsection.h | 16 +- .../CodeView/DebugStringTableSubsection.h | 4 +- .../llvm/DebugInfo/CodeView/DebugSubsection.h | 4 +- .../CodeView/DebugSubsectionRecord.h | 8 +- .../CodeView/DebugSymbolsSubsection.h | 4 +- .../CodeView/DebugUnknownSubsection.h | 2 +- .../llvm/DebugInfo/CodeView/EnumTables.h | 60 +- .../llvm/DebugInfo/CodeView/Formatters.h | 6 +- llvm/include/llvm/DebugInfo/CodeView/GUID.h | 4 +- .../CodeView/GlobalTypeTableBuilder.h | 2 +- .../CodeView/LazyRandomTypeCollection.h | 2 +- llvm/include/llvm/DebugInfo/CodeView/Line.h | 6 +- .../CodeView/MergingTypeTableBuilder.h | 2 +- .../llvm/DebugInfo/CodeView/RecordName.h | 4 +- .../DebugInfo/CodeView/RecordSerialization.h | 32 +- .../DebugInfo/CodeView/SimpleTypeSerializer.h | 2 +- .../DebugInfo/CodeView/StringsAndChecksums.h | 4 +- .../DebugInfo/CodeView/SymbolDeserializer.h | 2 +- .../DebugInfo/CodeView/SymbolDumpDelegate.h | 2 +- .../llvm/DebugInfo/CodeView/SymbolDumper.h | 2 +- .../llvm/DebugInfo/CodeView/SymbolRecord.h | 104 +- .../DebugInfo/CodeView/SymbolRecordHelpers.h | 6 +- .../DebugInfo/CodeView/SymbolRecordMapping.h | 2 +- .../DebugInfo/CodeView/SymbolSerializer.h | 2 +- .../CodeView/SymbolVisitorCallbackPipeline.h | 2 +- .../CodeView/SymbolVisitorCallbacks.h | 2 +- .../CodeView/SymbolVisitorDelegate.h | 2 +- .../llvm/DebugInfo/CodeView/TypeCollection.h | 2 +- .../DebugInfo/CodeView/TypeDeserializer.h | 4 +- .../llvm/DebugInfo/CodeView/TypeDumpVisitor.h | 2 +- .../llvm/DebugInfo/CodeView/TypeHashing.h | 12 +- .../llvm/DebugInfo/CodeView/TypeIndex.h | 8 +- .../DebugInfo/CodeView/TypeIndexDiscovery.h | 16 +- .../llvm/DebugInfo/CodeView/TypeRecord.h | 80 +- .../DebugInfo/CodeView/TypeRecordHelpers.h | 8 +- .../DebugInfo/CodeView/TypeRecordMapping.h | 2 +- .../DebugInfo/CodeView/TypeStreamMerger.h | 14 +- .../DebugInfo/CodeView/TypeTableCollection.h | 2 +- .../DebugInfo/CodeView/TypeVisitorCallbacks.h | 2 +- llvm/include/llvm/DebugInfo/DIContext.h | 18 +- .../DWARF/DWARFAbbreviationDeclaration.h | 2 +- .../DebugInfo/DWARF/DWARFAcceleratorTable.h | 12 +- .../llvm/DebugInfo/DWARF/DWARFAddressRange.h | 4 +- .../llvm/DebugInfo/DWARF/DWARFAttribute.h | 2 +- .../llvm/DebugInfo/DWARF/DWARFCompileUnit.h | 2 +- .../llvm/DebugInfo/DWARF/DWARFContext.h | 2 +- .../llvm/DebugInfo/DWARF/DWARFDataExtractor.h | 2 +- .../llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h | 4 +- .../llvm/DebugInfo/DWARF/DWARFDebugAddr.h | 2 +- .../DebugInfo/DWARF/DWARFDebugArangeSet.h | 2 +- .../llvm/DebugInfo/DWARF/DWARFDebugFrame.h | 26 +- .../DebugInfo/DWARF/DWARFDebugInfoEntry.h | 2 +- .../llvm/DebugInfo/DWARF/DWARFDebugLine.h | 2 +- .../llvm/DebugInfo/DWARF/DWARFDebugLoc.h | 10 +- .../llvm/DebugInfo/DWARF/DWARFDebugPubTable.h | 2 +- .../DebugInfo/DWARF/DWARFDebugRangeList.h | 2 +- .../llvm/DebugInfo/DWARF/DWARFDebugRnglists.h | 6 +- llvm/include/llvm/DebugInfo/DWARF/DWARFDie.h | 12 +- .../llvm/DebugInfo/DWARF/DWARFExpression.h | 4 +- .../llvm/DebugInfo/DWARF/DWARFFormValue.h | 4 +- .../llvm/DebugInfo/DWARF/DWARFListTable.h | 8 +- .../DebugInfo/DWARF/DWARFLocationExpression.h | 4 +- .../llvm/DebugInfo/DWARF/DWARFObject.h | 2 +- .../llvm/DebugInfo/DWARF/DWARFRelocMap.h | 2 +- .../llvm/DebugInfo/DWARF/DWARFSection.h | 4 +- llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h | 12 +- .../llvm/DebugInfo/DWARF/DWARFUnitIndex.h | 6 +- .../llvm/DebugInfo/DWARF/DWARFVerifier.h | 2 +- .../llvm/DebugInfo/GSYM/DwarfTransformer.h | 2 +- .../llvm/DebugInfo/GSYM/ExtractRanges.h | 16 +- llvm/include/llvm/DebugInfo/GSYM/FileEntry.h | 4 +- llvm/include/llvm/DebugInfo/GSYM/FileWriter.h | 2 +- .../llvm/DebugInfo/GSYM/FunctionInfo.h | 4 +- .../include/llvm/DebugInfo/GSYM/GsymCreator.h | 2 +- llvm/include/llvm/DebugInfo/GSYM/GsymReader.h | 2 +- llvm/include/llvm/DebugInfo/GSYM/Header.h | 6 +- llvm/include/llvm/DebugInfo/GSYM/InlineInfo.h | 4 +- llvm/include/llvm/DebugInfo/GSYM/LineEntry.h | 2 +- llvm/include/llvm/DebugInfo/GSYM/LineTable.h | 4 +- .../llvm/DebugInfo/GSYM/LookupResult.h | 8 +- .../DebugInfo/GSYM/ObjectFileTransformer.h | 2 +- .../include/llvm/DebugInfo/GSYM/StringTable.h | 2 +- .../DebugInfo/LogicalView/Core/LVCompare.h | 2 +- .../DebugInfo/LogicalView/Core/LVElement.h | 2 +- .../llvm/DebugInfo/LogicalView/Core/LVLine.h | 6 +- .../DebugInfo/LogicalView/Core/LVLocation.h | 6 +- .../DebugInfo/LogicalView/Core/LVObject.h | 14 +- .../DebugInfo/LogicalView/Core/LVOptions.h | 4 +- .../llvm/DebugInfo/LogicalView/Core/LVRange.h | 4 +- .../DebugInfo/LogicalView/Core/LVReader.h | 4 +- .../llvm/DebugInfo/LogicalView/Core/LVScope.h | 26 +- .../llvm/DebugInfo/LogicalView/Core/LVSort.h | 18 +- .../DebugInfo/LogicalView/Core/LVStringPool.h | 2 +- .../DebugInfo/LogicalView/Core/LVSupport.h | 16 +- .../DebugInfo/LogicalView/Core/LVSymbol.h | 2 +- .../llvm/DebugInfo/LogicalView/Core/LVType.h | 12 +- .../DebugInfo/LogicalView/LVReaderHandler.h | 2 +- llvm/include/llvm/DebugInfo/MSF/IMSFFile.h | 2 +- llvm/include/llvm/DebugInfo/MSF/MSFBuilder.h | 2 +- llvm/include/llvm/DebugInfo/MSF/MSFCommon.h | 10 +- llvm/include/llvm/DebugInfo/MSF/MSFError.h | 6 +- .../llvm/DebugInfo/MSF/MappedBlockStream.h | 4 +- .../DebugInfo/PDB/ConcreteSymbolEnumerator.h | 2 +- .../include/llvm/DebugInfo/PDB/GenericError.h | 6 +- .../llvm/DebugInfo/PDB/IPDBDataStream.h | 2 +- .../llvm/DebugInfo/PDB/IPDBEnumChildren.h | 4 +- .../llvm/DebugInfo/PDB/IPDBFrameData.h | 2 +- .../llvm/DebugInfo/PDB/IPDBInjectedSource.h | 2 +- .../llvm/DebugInfo/PDB/IPDBLineNumber.h | 2 +- .../llvm/DebugInfo/PDB/IPDBRawSymbol.h | 4 +- .../llvm/DebugInfo/PDB/IPDBSectionContrib.h | 2 +- llvm/include/llvm/DebugInfo/PDB/IPDBSession.h | 2 +- .../llvm/DebugInfo/PDB/IPDBSourceFile.h | 2 +- llvm/include/llvm/DebugInfo/PDB/IPDBTable.h | 2 +- .../PDB/Native/DbiModuleDescriptor.h | 4 +- .../PDB/Native/DbiModuleDescriptorBuilder.h | 6 +- .../llvm/DebugInfo/PDB/Native/DbiModuleList.h | 4 +- .../llvm/DebugInfo/PDB/Native/DbiStream.h | 2 +- .../DebugInfo/PDB/Native/DbiStreamBuilder.h | 2 +- .../llvm/DebugInfo/PDB/Native/FormatUtil.h | 16 +- .../DebugInfo/PDB/Native/GSIStreamBuilder.h | 6 +- .../llvm/DebugInfo/PDB/Native/GlobalsStream.h | 6 +- llvm/include/llvm/DebugInfo/PDB/Native/Hash.h | 6 +- .../llvm/DebugInfo/PDB/Native/HashTable.h | 8 +- .../PDB/Native/ISectionContribVisitor.h | 2 +- .../llvm/DebugInfo/PDB/Native/InfoStream.h | 2 +- .../DebugInfo/PDB/Native/InfoStreamBuilder.h | 2 +- .../llvm/DebugInfo/PDB/Native/InputFile.h | 12 +- .../llvm/DebugInfo/PDB/Native/LinePrinter.h | 10 +- .../DebugInfo/PDB/Native/ModuleDebugStream.h | 2 +- .../DebugInfo/PDB/Native/NamedStreamMap.h | 4 +- .../DebugInfo/PDB/Native/NativeRawSymbol.h | 2 +- .../llvm/DebugInfo/PDB/Native/NativeSession.h | 2 +- .../DebugInfo/PDB/Native/NativeSourceFile.h | 2 +- .../llvm/DebugInfo/PDB/Native/PDBFile.h | 2 +- .../DebugInfo/PDB/Native/PDBFileBuilder.h | 2 +- .../DebugInfo/PDB/Native/PDBStringTable.h | 2 +- .../PDB/Native/PDBStringTableBuilder.h | 4 +- .../llvm/DebugInfo/PDB/Native/PublicsStream.h | 2 +- .../llvm/DebugInfo/PDB/Native/RawError.h | 6 +- .../llvm/DebugInfo/PDB/Native/RawTypes.h | 38 +- .../llvm/DebugInfo/PDB/Native/SymbolCache.h | 2 +- .../llvm/DebugInfo/PDB/Native/SymbolStream.h | 2 +- .../llvm/DebugInfo/PDB/Native/TpiHashing.h | 6 +- .../llvm/DebugInfo/PDB/Native/TpiStream.h | 2 +- .../DebugInfo/PDB/Native/TpiStreamBuilder.h | 4 +- llvm/include/llvm/DebugInfo/PDB/PDB.h | 4 +- llvm/include/llvm/DebugInfo/PDB/PDBExtras.h | 38 +- .../include/llvm/DebugInfo/PDB/PDBSymDumper.h | 2 +- llvm/include/llvm/DebugInfo/PDB/PDBSymbol.h | 2 +- .../llvm/DebugInfo/PDB/PDBSymbolAnnotation.h | 2 +- .../llvm/DebugInfo/PDB/PDBSymbolBlock.h | 2 +- .../llvm/DebugInfo/PDB/PDBSymbolCompiland.h | 2 +- .../DebugInfo/PDB/PDBSymbolCompilandDetails.h | 2 +- .../DebugInfo/PDB/PDBSymbolCompilandEnv.h | 2 +- .../llvm/DebugInfo/PDB/PDBSymbolCustom.h | 2 +- .../llvm/DebugInfo/PDB/PDBSymbolData.h | 2 +- .../include/llvm/DebugInfo/PDB/PDBSymbolExe.h | 2 +- .../llvm/DebugInfo/PDB/PDBSymbolFunc.h | 2 +- .../DebugInfo/PDB/PDBSymbolFuncDebugEnd.h | 2 +- .../DebugInfo/PDB/PDBSymbolFuncDebugStart.h | 2 +- .../llvm/DebugInfo/PDB/PDBSymbolLabel.h | 2 +- .../DebugInfo/PDB/PDBSymbolPublicSymbol.h | 2 +- .../llvm/DebugInfo/PDB/PDBSymbolThunk.h | 2 +- .../llvm/DebugInfo/PDB/PDBSymbolTypeArray.h | 2 +- .../DebugInfo/PDB/PDBSymbolTypeBaseClass.h | 2 +- .../llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h | 2 +- .../llvm/DebugInfo/PDB/PDBSymbolTypeCustom.h | 2 +- .../DebugInfo/PDB/PDBSymbolTypeDimension.h | 2 +- .../llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h | 2 +- .../llvm/DebugInfo/PDB/PDBSymbolTypeFriend.h | 2 +- .../DebugInfo/PDB/PDBSymbolTypeFunctionArg.h | 2 +- .../DebugInfo/PDB/PDBSymbolTypeFunctionSig.h | 2 +- .../llvm/DebugInfo/PDB/PDBSymbolTypeManaged.h | 2 +- .../llvm/DebugInfo/PDB/PDBSymbolTypePointer.h | 2 +- .../llvm/DebugInfo/PDB/PDBSymbolTypeTypedef.h | 2 +- .../llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h | 2 +- .../llvm/DebugInfo/PDB/PDBSymbolTypeVTable.h | 2 +- .../DebugInfo/PDB/PDBSymbolTypeVTableShape.h | 2 +- .../llvm/DebugInfo/PDB/PDBSymbolUnknown.h | 2 +- .../DebugInfo/PDB/PDBSymbolUsingNamespace.h | 2 +- llvm/include/llvm/DebugInfo/PDB/PDBTypes.h | 8 +- llvm/include/llvm/DebugInfo/PDB/UDTLayout.h | 14 +- .../llvm/DebugInfo/Symbolize/DIPrinter.h | 14 +- .../include/llvm/DebugInfo/Symbolize/Markup.h | 4 +- .../llvm/DebugInfo/Symbolize/MarkupFilter.h | 2 +- .../DebugInfo/Symbolize/SymbolizableModule.h | 2 +- .../llvm/DebugInfo/Symbolize/Symbolize.h | 4 +- llvm/include/llvm/Debuginfod/BuildIDFetcher.h | 2 +- llvm/include/llvm/Debuginfod/Debuginfod.h | 26 +- llvm/include/llvm/Debuginfod/HTTPClient.h | 8 +- llvm/include/llvm/Debuginfod/HTTPServer.h | 12 +- llvm/include/llvm/Demangle/Demangle.h | 14 +- llvm/include/llvm/Demangle/ItaniumDemangle.h | 188 +-- .../include/llvm/Demangle/MicrosoftDemangle.h | 6 +- .../llvm/Demangle/MicrosoftDemangleNodes.h | 60 +- llvm/include/llvm/Demangle/Utility.h | 4 +- .../llvm/ExecutionEngine/ExecutionEngine.h | 6 +- .../llvm/ExecutionEngine/GenericValue.h | 2 +- .../llvm/ExecutionEngine/Interpreter.h | 2 +- .../llvm/ExecutionEngine/JITEventListener.h | 2 +- .../ExecutionEngine/JITLink/EHFrameSupport.h | 8 +- .../llvm/ExecutionEngine/JITLink/JITLink.h | 58 +- .../ExecutionEngine/JITLink/JITLinkDylib.h | 2 +- .../JITLink/JITLinkMemoryManager.h | 8 +- .../ExecutionEngine/JITLink/MachO_arm64.h | 8 +- .../ExecutionEngine/JITLink/MachO_x86_64.h | 8 +- .../ExecutionEngine/JITLink/TableManager.h | 2 +- .../llvm/ExecutionEngine/JITLink/aarch32.h | 42 +- .../llvm/ExecutionEngine/JITLink/aarch64.h | 10 +- .../llvm/ExecutionEngine/JITLink/i386.h | 12 +- .../llvm/ExecutionEngine/JITLink/loongarch.h | 12 +- .../llvm/ExecutionEngine/JITLink/x86_64.h | 12 +- llvm/include/llvm/ExecutionEngine/JITSymbol.h | 12 +- llvm/include/llvm/ExecutionEngine/MCJIT.h | 2 +- .../llvm/ExecutionEngine/ObjectCache.h | 2 +- .../llvm/ExecutionEngine/Orc/COFFPlatform.h | 2 +- .../Orc/COFFVCRuntimeSupport.h | 2 +- .../Orc/CompileOnDemandLayer.h | 2 +- .../llvm/ExecutionEngine/Orc/CompileUtils.h | 8 +- llvm/include/llvm/ExecutionEngine/Orc/Core.h | 50 +- .../Orc/DebugObjectManagerPlugin.h | 2 +- .../llvm/ExecutionEngine/Orc/DebugUtils.h | 44 +- .../Orc/Debugging/DebugInfoSupport.h | 6 +- .../Orc/Debugging/DebuggerSupport.h | 2 +- .../Orc/Debugging/DebuggerSupportPlugin.h | 2 +- .../Orc/Debugging/PerfSupportPlugin.h | 2 +- .../llvm/ExecutionEngine/Orc/ELFNixPlatform.h | 14 +- .../Orc/EPCDebugObjectRegistrar.h | 6 +- .../Orc/EPCDynamicLibrarySearchGenerator.h | 2 +- .../ExecutionEngine/Orc/EPCEHFrameRegistrar.h | 2 +- .../Orc/EPCGenericDylibManager.h | 2 +- .../Orc/EPCGenericJITLinkMemoryManager.h | 4 +- .../Orc/EPCGenericMemoryAccess.h | 2 +- .../Orc/EPCGenericRTDyldMemoryManager.h | 2 +- .../llvm/ExecutionEngine/Orc/ExecutionUtils.h | 22 +- .../Orc/ExecutorProcessControl.h | 8 +- .../llvm/ExecutionEngine/Orc/IRCompileLayer.h | 2 +- .../ExecutionEngine/Orc/IRTransformLayer.h | 2 +- .../ExecutionEngine/Orc/IndirectionUtils.h | 34 +- .../Orc/JITTargetMachineBuilder.h | 2 +- llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h | 26 +- llvm/include/llvm/ExecutionEngine/Orc/Layer.h | 10 +- .../llvm/ExecutionEngine/Orc/LazyReexports.h | 8 +- .../Orc/LookupAndRecordAddrs.h | 6 +- .../llvm/ExecutionEngine/Orc/MachOPlatform.h | 2 +- .../llvm/ExecutionEngine/Orc/Mangling.h | 4 +- .../Orc/MapperJITLinkMemoryManager.h | 2 +- .../llvm/ExecutionEngine/Orc/MemoryMapper.h | 6 +- .../ExecutionEngine/Orc/ObjectFileInterface.h | 4 +- .../ExecutionEngine/Orc/ObjectLinkingLayer.h | 4 +- .../llvm/ExecutionEngine/Orc/OrcABISupport.h | 26 +- .../Orc/RTDyldObjectLinkingLayer.h | 2 +- .../Orc/Shared/AllocationActions.h | 8 +- .../Orc/Shared/ExecutorAddress.h | 12 +- .../Orc/Shared/ExecutorSymbolDef.h | 2 +- .../ExecutionEngine/Orc/Shared/MemoryFlags.h | 8 +- .../Orc/Shared/ObjectFormats.h | 82 +- .../ExecutionEngine/Orc/Shared/OrcError.h | 6 +- .../ExecutionEngine/Orc/Shared/OrcRTBridge.h | 44 +- .../Orc/Shared/PerfSharedStructs.h | 24 +- .../Orc/Shared/SimplePackedSerialization.h | 66 +- .../Orc/Shared/SimpleRemoteEPCUtils.h | 22 +- .../Orc/Shared/TargetProcessControlTypes.h | 32 +- .../Orc/Shared/WrapperFunctionUtils.h | 54 +- .../ExecutionEngine/Orc/SimpleRemoteEPC.h | 2 +- .../llvm/ExecutionEngine/Orc/Speculation.h | 6 +- .../ExecutionEngine/Orc/SymbolStringPool.h | 14 +- .../TargetProcess/ExecutorBootstrapService.h | 2 +- .../ExecutorSharedMemoryMapperService.h | 2 +- .../Orc/TargetProcess/JITLoaderGDB.h | 4 +- .../Orc/TargetProcess/JITLoaderPerf.h | 6 +- .../Orc/TargetProcess/RegisterEHFrames.h | 8 +- .../SimpleExecutorDylibManager.h | 2 +- .../SimpleExecutorMemoryManager.h | 2 +- .../Orc/TargetProcess/SimpleRemoteEPCServer.h | 2 +- .../Orc/TargetProcess/TargetExecutionUtils.h | 6 +- .../llvm/ExecutionEngine/Orc/TaskDispatch.h | 12 +- .../ExecutionEngine/Orc/ThreadSafeModule.h | 6 +- .../ExecutionEngine/RTDyldMemoryManager.h | 4 +- .../llvm/ExecutionEngine/RuntimeDyld.h | 8 +- .../llvm/ExecutionEngine/RuntimeDyldChecker.h | 2 +- .../ExecutionEngine/SectionMemoryManager.h | 2 +- llvm/include/llvm/FileCheck/FileCheck.h | 8 +- .../include/llvm/Frontend/HLSL/HLSLResource.h | 2 +- .../llvm/Frontend/Offloading/Utility.h | 2 +- llvm/include/llvm/Frontend/OpenMP/OMPAssume.h | 2 +- .../include/llvm/Frontend/OpenMP/OMPContext.h | 42 +- .../llvm/Frontend/OpenMP/OMPGridValues.h | 2 +- .../llvm/Frontend/OpenMP/OMPIRBuilder.h | 22 +- llvm/include/llvm/FuzzMutate/FuzzerCLI.h | 8 +- llvm/include/llvm/FuzzMutate/IRMutator.h | 26 +- llvm/include/llvm/FuzzMutate/OpDescriptor.h | 8 +- llvm/include/llvm/FuzzMutate/Operations.h | 38 +- llvm/include/llvm/FuzzMutate/Random.h | 2 +- .../include/llvm/FuzzMutate/RandomIRBuilder.h | 2 +- llvm/include/llvm/IR/AbstractCallSite.h | 2 +- llvm/include/llvm/IR/Argument.h | 2 +- .../llvm/IR/AssemblyAnnotationWriter.h | 2 +- llvm/include/llvm/IR/Assumptions.h | 16 +- llvm/include/llvm/IR/AttributeMask.h | 2 +- llvm/include/llvm/IR/Attributes.h | 28 +- llvm/include/llvm/IR/AutoUpgrade.h | 34 +- llvm/include/llvm/IR/BasicBlock.h | 4 +- llvm/include/llvm/IR/BuiltinGCs.h | 6 +- llvm/include/llvm/IR/CFG.h | 20 +- llvm/include/llvm/IR/Comdat.h | 2 +- llvm/include/llvm/IR/Constant.h | 2 +- llvm/include/llvm/IR/ConstantFold.h | 22 +- llvm/include/llvm/IR/ConstantFolder.h | 2 +- llvm/include/llvm/IR/ConstantRange.h | 4 +- llvm/include/llvm/IR/Constants.h | 50 +- llvm/include/llvm/IR/DIBuilder.h | 2 +- llvm/include/llvm/IR/DataLayout.h | 8 +- llvm/include/llvm/IR/DebugInfo.h | 54 +- llvm/include/llvm/IR/DebugInfoMetadata.h | 92 +- llvm/include/llvm/IR/DebugLoc.h | 2 +- llvm/include/llvm/IR/DerivedTypes.h | 20 +- llvm/include/llvm/IR/DerivedUser.h | 2 +- llvm/include/llvm/IR/DiagnosticHandler.h | 2 +- llvm/include/llvm/IR/DiagnosticInfo.h | 52 +- llvm/include/llvm/IR/DiagnosticPrinter.h | 4 +- llvm/include/llvm/IR/Dominators.h | 26 +- llvm/include/llvm/IR/EHPersonalities.h | 10 +- llvm/include/llvm/IR/FMF.h | 2 +- llvm/include/llvm/IR/FPEnv.h | 10 +- llvm/include/llvm/IR/FixedPointBuilder.h | 2 +- llvm/include/llvm/IR/Function.h | 4 +- .../llvm/IR/GetElementPtrTypeIterator.h | 2 +- llvm/include/llvm/IR/GlobalAlias.h | 4 +- llvm/include/llvm/IR/GlobalIFunc.h | 4 +- llvm/include/llvm/IR/GlobalObject.h | 2 +- llvm/include/llvm/IR/GlobalValue.h | 2 +- llvm/include/llvm/IR/GlobalVariable.h | 4 +- llvm/include/llvm/IR/IRBuilder.h | 16 +- llvm/include/llvm/IR/IRBuilderFolder.h | 2 +- llvm/include/llvm/IR/IRPrintingPasses.h | 8 +- llvm/include/llvm/IR/InlineAsm.h | 2 +- llvm/include/llvm/IR/InstIterator.h | 2 +- llvm/include/llvm/IR/InstVisitor.h | 2 +- llvm/include/llvm/IR/InstrTypes.h | 32 +- llvm/include/llvm/IR/Instruction.h | 4 +- llvm/include/llvm/IR/Instructions.h | 132 +- llvm/include/llvm/IR/IntrinsicInst.h | 122 +- llvm/include/llvm/IR/Intrinsics.h | 34 +- llvm/include/llvm/IR/LLVMContext.h | 2 +- llvm/include/llvm/IR/LLVMRemarkStreamer.h | 14 +- llvm/include/llvm/IR/LegacyPassManager.h | 8 +- llvm/include/llvm/IR/LegacyPassManagers.h | 10 +- llvm/include/llvm/IR/LegacyPassNameParser.h | 2 +- llvm/include/llvm/IR/MDBuilder.h | 2 +- llvm/include/llvm/IR/Mangler.h | 6 +- llvm/include/llvm/IR/MatrixBuilder.h | 2 +- llvm/include/llvm/IR/Metadata.h | 50 +- llvm/include/llvm/IR/Module.h | 2 +- llvm/include/llvm/IR/ModuleSlotTracker.h | 4 +- llvm/include/llvm/IR/ModuleSummaryIndex.h | 42 +- llvm/include/llvm/IR/NoFolder.h | 2 +- llvm/include/llvm/IR/OperandTraits.h | 8 +- llvm/include/llvm/IR/Operator.h | 30 +- llvm/include/llvm/IR/OptBisect.h | 6 +- llvm/include/llvm/IR/PassInstrumentation.h | 6 +- llvm/include/llvm/IR/PassManager.h | 46 +- llvm/include/llvm/IR/PassManagerInternal.h | 16 +- llvm/include/llvm/IR/PassTimingInfo.h | 6 +- llvm/include/llvm/IR/PatternMatch.h | 198 +-- llvm/include/llvm/IR/PredIteratorCache.h | 2 +- llvm/include/llvm/IR/ProfDataUtils.h | 24 +- llvm/include/llvm/IR/ProfileSummary.h | 4 +- llvm/include/llvm/IR/PseudoProbe.h | 10 +- llvm/include/llvm/IR/ReplaceConstant.h | 2 +- llvm/include/llvm/IR/StructuralHash.h | 4 +- llvm/include/llvm/IR/SymbolTableListTraits.h | 6 +- llvm/include/llvm/IR/TrackingMDRef.h | 12 +- llvm/include/llvm/IR/Type.h | 4 +- llvm/include/llvm/IR/TypedPointerType.h | 2 +- llvm/include/llvm/IR/Use.h | 6 +- llvm/include/llvm/IR/UseListOrder.h | 2 +- llvm/include/llvm/IR/User.h | 6 +- llvm/include/llvm/IR/Value.h | 30 +- llvm/include/llvm/IR/ValueHandle.h | 28 +- llvm/include/llvm/IR/ValueMap.h | 12 +- llvm/include/llvm/IR/ValueSymbolTable.h | 2 +- llvm/include/llvm/IR/VectorBuilder.h | 2 +- llvm/include/llvm/IR/Verifier.h | 12 +- .../include/llvm/IRPrinter/IRPrintingPasses.h | 4 +- llvm/include/llvm/IRReader/IRReader.h | 8 +- llvm/include/llvm/InitializePasses.h | 602 ++++---- .../llvm/InterfaceStub/ELFObjHandler.h | 4 +- llvm/include/llvm/InterfaceStub/IFSHandler.h | 14 +- llvm/include/llvm/InterfaceStub/IFSStub.h | 20 +- llvm/include/llvm/LTO/Config.h | 6 +- llvm/include/llvm/LTO/LTO.h | 26 +- llvm/include/llvm/LTO/LTOBackend.h | 14 +- .../llvm/LTO/legacy/LTOCodeGenerator.h | 6 +- llvm/include/llvm/LTO/legacy/LTOModule.h | 2 +- .../llvm/LTO/legacy/ThinLTOCodeGenerator.h | 4 +- llvm/include/llvm/LineEditor/LineEditor.h | 2 +- llvm/include/llvm/LinkAllIR.h | 2 +- llvm/include/llvm/LinkAllPasses.h | 2 +- llvm/include/llvm/Linker/IRMover.h | 2 +- llvm/include/llvm/Linker/Linker.h | 2 +- llvm/include/llvm/MC/LaneBitmask.h | 2 +- llvm/include/llvm/MC/MCAsmBackend.h | 2 +- llvm/include/llvm/MC/MCAsmInfo.h | 2 +- llvm/include/llvm/MC/MCAsmLayout.h | 2 +- llvm/include/llvm/MC/MCAsmMacro.h | 6 +- llvm/include/llvm/MC/MCAssembler.h | 8 +- llvm/include/llvm/MC/MCCodeEmitter.h | 2 +- llvm/include/llvm/MC/MCContext.h | 2 +- .../llvm/MC/MCDisassembler/MCDisassembler.h | 6 +- .../MC/MCDisassembler/MCExternalSymbolizer.h | 2 +- .../llvm/MC/MCDisassembler/MCRelocationInfo.h | 2 +- .../llvm/MC/MCDisassembler/MCSymbolizer.h | 2 +- llvm/include/llvm/MC/MCDwarf.h | 32 +- llvm/include/llvm/MC/MCExpr.h | 12 +- llvm/include/llvm/MC/MCFixup.h | 2 +- llvm/include/llvm/MC/MCFragment.h | 40 +- llvm/include/llvm/MC/MCInst.h | 4 +- llvm/include/llvm/MC/MCInstBuilder.h | 2 +- llvm/include/llvm/MC/MCInstPrinter.h | 12 +- llvm/include/llvm/MC/MCInstrAnalysis.h | 2 +- llvm/include/llvm/MC/MCInstrDesc.h | 4 +- llvm/include/llvm/MC/MCInstrInfo.h | 2 +- llvm/include/llvm/MC/MCInstrItineraries.h | 6 +- .../llvm/MC/MCLinkerOptimizationHint.h | 4 +- llvm/include/llvm/MC/MCMachObjectWriter.h | 6 +- llvm/include/llvm/MC/MCObjectFileInfo.h | 2 +- llvm/include/llvm/MC/MCObjectStreamer.h | 2 +- llvm/include/llvm/MC/MCObjectWriter.h | 4 +- llvm/include/llvm/MC/MCParser/AsmLexer.h | 2 +- llvm/include/llvm/MC/MCParser/MCAsmLexer.h | 4 +- llvm/include/llvm/MC/MCParser/MCAsmParser.h | 14 +- .../llvm/MC/MCParser/MCAsmParserExtension.h | 2 +- .../llvm/MC/MCParser/MCParsedAsmOperand.h | 2 +- .../llvm/MC/MCParser/MCTargetAsmParser.h | 14 +- llvm/include/llvm/MC/MCPseudoProbe.h | 20 +- llvm/include/llvm/MC/MCRegister.h | 6 +- llvm/include/llvm/MC/MCRegisterInfo.h | 20 +- llvm/include/llvm/MC/MCSchedule.h | 18 +- llvm/include/llvm/MC/MCSection.h | 4 +- llvm/include/llvm/MC/MCSectionELF.h | 2 +- llvm/include/llvm/MC/MCSectionMachO.h | 2 +- llvm/include/llvm/MC/MCStreamer.h | 8 +- llvm/include/llvm/MC/MCSubtargetInfo.h | 6 +- llvm/include/llvm/MC/MCSymbol.h | 2 +- llvm/include/llvm/MC/MCSymbolELF.h | 2 +- llvm/include/llvm/MC/MCSymbolWasm.h | 2 +- llvm/include/llvm/MC/MCTargetOptions.h | 2 +- .../llvm/MC/MCTargetOptionsCommandFlags.h | 32 +- llvm/include/llvm/MC/MCWinEH.h | 6 +- llvm/include/llvm/MC/SectionKind.h | 2 +- llvm/include/llvm/MC/StringTableBuilder.h | 2 +- llvm/include/llvm/MC/TargetRegistry.h | 68 +- llvm/include/llvm/MCA/CodeEmitter.h | 2 +- llvm/include/llvm/MCA/Context.h | 4 +- llvm/include/llvm/MCA/CustomBehaviour.h | 8 +- llvm/include/llvm/MCA/HWEventListener.h | 14 +- .../llvm/MCA/HardwareUnits/HardwareUnit.h | 2 +- llvm/include/llvm/MCA/HardwareUnits/LSUnit.h | 6 +- .../llvm/MCA/HardwareUnits/ResourceManager.h | 8 +- .../llvm/MCA/HardwareUnits/Scheduler.h | 6 +- llvm/include/llvm/MCA/IncrementalSourceMgr.h | 2 +- llvm/include/llvm/MCA/InstrBuilder.h | 4 +- llvm/include/llvm/MCA/Instruction.h | 24 +- llvm/include/llvm/MCA/Pipeline.h | 2 +- llvm/include/llvm/MCA/SourceMgr.h | 4 +- llvm/include/llvm/MCA/Stages/EntryStage.h | 2 +- .../llvm/MCA/Stages/InstructionTables.h | 2 +- llvm/include/llvm/MCA/Stages/Stage.h | 4 +- llvm/include/llvm/MCA/Support.h | 8 +- llvm/include/llvm/MCA/View.h | 2 +- llvm/include/llvm/ObjCopy/COFF/COFFConfig.h | 2 +- llvm/include/llvm/ObjCopy/COFF/COFFObjcopy.h | 2 +- llvm/include/llvm/ObjCopy/CommonConfig.h | 16 +- llvm/include/llvm/ObjCopy/ConfigManager.h | 2 +- llvm/include/llvm/ObjCopy/ELF/ELFConfig.h | 2 +- llvm/include/llvm/ObjCopy/ELF/ELFObjcopy.h | 6 +- llvm/include/llvm/ObjCopy/MachO/MachOConfig.h | 2 +- .../include/llvm/ObjCopy/MachO/MachOObjcopy.h | 4 +- llvm/include/llvm/ObjCopy/MultiFormatConfig.h | 2 +- llvm/include/llvm/ObjCopy/ObjCopy.h | 4 +- llvm/include/llvm/ObjCopy/XCOFF/XCOFFConfig.h | 2 +- llvm/include/llvm/ObjCopy/wasm/WasmConfig.h | 2 +- llvm/include/llvm/ObjCopy/wasm/WasmObjcopy.h | 2 +- llvm/include/llvm/Object/Archive.h | 16 +- llvm/include/llvm/Object/ArchiveWriter.h | 8 +- llvm/include/llvm/Object/Binary.h | 8 +- llvm/include/llvm/Object/BuildID.h | 6 +- llvm/include/llvm/Object/COFF.h | 94 +- llvm/include/llvm/Object/COFFImportFile.h | 6 +- .../llvm/Object/COFFModuleDefinition.h | 4 +- llvm/include/llvm/Object/CVDebugRecord.h | 6 +- llvm/include/llvm/Object/DXContainer.h | 8 +- llvm/include/llvm/Object/Decompressor.h | 2 +- llvm/include/llvm/Object/ELF.h | 20 +- llvm/include/llvm/Object/ELFObjectFile.h | 20 +- llvm/include/llvm/Object/ELFTypes.h | 70 +- llvm/include/llvm/Object/Error.h | 10 +- llvm/include/llvm/Object/FaultMapParser.h | 8 +- llvm/include/llvm/Object/GOFFObjectFile.h | 2 +- llvm/include/llvm/Object/IRObjectFile.h | 6 +- llvm/include/llvm/Object/IRSymtab.h | 24 +- llvm/include/llvm/Object/MachO.h | 20 +- llvm/include/llvm/Object/MachOUniversal.h | 2 +- .../llvm/Object/MachOUniversalWriter.h | 6 +- llvm/include/llvm/Object/Minidump.h | 2 +- llvm/include/llvm/Object/ModuleSymbolTable.h | 2 +- llvm/include/llvm/Object/ObjectFile.h | 20 +- llvm/include/llvm/Object/OffloadBinary.h | 14 +- llvm/include/llvm/Object/RelocationResolver.h | 4 +- llvm/include/llvm/Object/StackMapParser.h | 2 +- llvm/include/llvm/Object/SymbolSize.h | 6 +- llvm/include/llvm/Object/SymbolicFile.h | 6 +- llvm/include/llvm/Object/TapiFile.h | 2 +- llvm/include/llvm/Object/TapiUniversal.h | 2 +- llvm/include/llvm/Object/Wasm.h | 10 +- llvm/include/llvm/Object/WindowsMachineFlag.h | 4 +- llvm/include/llvm/Object/WindowsResource.h | 18 +- llvm/include/llvm/Object/XCOFFObjectFile.h | 88 +- llvm/include/llvm/ObjectYAML/ArchiveYAML.h | 6 +- llvm/include/llvm/ObjectYAML/COFFYAML.h | 74 +- .../ObjectYAML/CodeViewYAMLDebugSections.h | 28 +- .../llvm/ObjectYAML/CodeViewYAMLSymbols.h | 2 +- .../llvm/ObjectYAML/CodeViewYAMLTypeHashing.h | 8 +- .../llvm/ObjectYAML/CodeViewYAMLTypes.h | 8 +- llvm/include/llvm/ObjectYAML/DWARFEmitter.h | 36 +- llvm/include/llvm/ObjectYAML/DWARFYAML.h | 120 +- .../include/llvm/ObjectYAML/DXContainerYAML.h | 46 +- llvm/include/llvm/ObjectYAML/ELFYAML.h | 180 +-- llvm/include/llvm/ObjectYAML/MachOYAML.h | 76 +- llvm/include/llvm/ObjectYAML/MinidumpYAML.h | 28 +- llvm/include/llvm/ObjectYAML/ObjectYAML.h | 4 +- llvm/include/llvm/ObjectYAML/OffloadYAML.h | 12 +- llvm/include/llvm/ObjectYAML/WasmYAML.h | 162 +-- llvm/include/llvm/ObjectYAML/XCOFFYAML.h | 56 +- llvm/include/llvm/ObjectYAML/YAML.h | 6 +- llvm/include/llvm/ObjectYAML/yaml2obj.h | 22 +- llvm/include/llvm/Option/Arg.h | 2 +- llvm/include/llvm/Option/ArgList.h | 8 +- llvm/include/llvm/Option/OptSpecifier.h | 2 +- llvm/include/llvm/Option/OptTable.h | 8 +- llvm/include/llvm/Option/Option.h | 2 +- llvm/include/llvm/Pass.h | 12 +- llvm/include/llvm/PassAnalysisSupport.h | 4 +- llvm/include/llvm/PassInfo.h | 2 +- llvm/include/llvm/PassRegistry.h | 2 +- llvm/include/llvm/PassSupport.h | 8 +- llvm/include/llvm/Passes/OptimizationLevel.h | 2 +- llvm/include/llvm/Passes/PassBuilder.h | 4 +- llvm/include/llvm/Passes/PassPlugin.h | 6 +- .../llvm/Passes/StandardInstrumentations.h | 50 +- .../ProfileData/Coverage/CoverageMapping.h | 52 +- .../Coverage/CoverageMappingReader.h | 16 +- .../Coverage/CoverageMappingWriter.h | 6 +- llvm/include/llvm/ProfileData/FunctionId.h | 8 +- llvm/include/llvm/ProfileData/GCOV.h | 14 +- llvm/include/llvm/ProfileData/HashKeyMap.h | 2 +- llvm/include/llvm/ProfileData/InstrProf.h | 76 +- .../llvm/ProfileData/InstrProfCorrelator.h | 6 +- .../llvm/ProfileData/InstrProfData.inc | 16 +- .../llvm/ProfileData/InstrProfReader.h | 18 +- .../llvm/ProfileData/InstrProfWriter.h | 2 +- .../ItaniumManglingCanonicalizer.h | 2 +- llvm/include/llvm/ProfileData/MemProf.h | 22 +- llvm/include/llvm/ProfileData/MemProfData.inc | 2 +- llvm/include/llvm/ProfileData/ProfileCommon.h | 20 +- .../llvm/ProfileData/RawMemProfReader.h | 4 +- llvm/include/llvm/ProfileData/SampleProf.h | 40 +- .../llvm/ProfileData/SampleProfReader.h | 16 +- .../llvm/ProfileData/SampleProfWriter.h | 16 +- .../llvm/ProfileData/SymbolRemappingReader.h | 4 +- .../llvm/Remarks/BitstreamRemarkSerializer.h | 6 +- .../llvm/Remarks/HotnessThresholdParser.h | 2 +- llvm/include/llvm/Remarks/Remark.h | 6 +- llvm/include/llvm/Remarks/RemarkFormat.h | 4 +- llvm/include/llvm/Remarks/RemarkLinker.h | 4 +- llvm/include/llvm/Remarks/RemarkParser.h | 12 +- llvm/include/llvm/Remarks/RemarkSerializer.h | 8 +- llvm/include/llvm/Remarks/RemarkStringTable.h | 2 +- .../llvm/Remarks/YAMLRemarkSerializer.h | 8 +- llvm/include/llvm/Support/AMDGPUMetadata.h | 16 +- .../include/llvm/Support/ARMAttributeParser.h | 2 +- .../include/llvm/Support/ARMBuildAttributes.h | 2 +- llvm/include/llvm/Support/ARMWinEH.h | 12 +- llvm/include/llvm/Support/AlignOf.h | 2 +- llvm/include/llvm/Support/Alignment.h | 22 +- llvm/include/llvm/Support/Allocator.h | 6 +- llvm/include/llvm/Support/AllocatorBase.h | 8 +- llvm/include/llvm/Support/ArrayRecycler.h | 2 +- llvm/include/llvm/Support/Automaton.h | 6 +- llvm/include/llvm/Support/BLAKE3.h | 4 +- .../llvm/Support/BalancedPartitioning.h | 6 +- llvm/include/llvm/Support/Base64.h | 2 +- llvm/include/llvm/Support/BinaryByteStream.h | 10 +- llvm/include/llvm/Support/BinaryItemStream.h | 4 +- llvm/include/llvm/Support/BinaryStream.h | 4 +- llvm/include/llvm/Support/BinaryStreamArray.h | 10 +- llvm/include/llvm/Support/BinaryStreamError.h | 2 +- .../include/llvm/Support/BinaryStreamReader.h | 2 +- llvm/include/llvm/Support/BinaryStreamRef.h | 8 +- .../include/llvm/Support/BinaryStreamWriter.h | 2 +- llvm/include/llvm/Support/BlockFrequency.h | 2 +- llvm/include/llvm/Support/BranchProbability.h | 2 +- llvm/include/llvm/Support/BuryPointer.h | 2 +- llvm/include/llvm/Support/CFGDiff.h | 2 +- llvm/include/llvm/Support/CFGUpdate.h | 2 +- llvm/include/llvm/Support/COM.h | 2 +- llvm/include/llvm/Support/CRC.h | 6 +- .../llvm/Support/CSKYAttributeParser.h | 2 +- llvm/include/llvm/Support/CSKYAttributes.h | 2 +- llvm/include/llvm/Support/CachePruning.h | 6 +- llvm/include/llvm/Support/Caching.h | 4 +- llvm/include/llvm/Support/Casting.h | 86 +- llvm/include/llvm/Support/Chrono.h | 26 +- llvm/include/llvm/Support/CommandLine.h | 212 +-- llvm/include/llvm/Support/Compression.h | 28 +- llvm/include/llvm/Support/ConvertEBCDIC.h | 4 +- llvm/include/llvm/Support/ConvertUTF.h | 44 +- .../llvm/Support/CrashRecoveryContext.h | 14 +- llvm/include/llvm/Support/DJB.h | 2 +- llvm/include/llvm/Support/DOTGraphTraits.h | 4 +- llvm/include/llvm/Support/DataExtractor.h | 4 +- llvm/include/llvm/Support/Debug.h | 6 +- llvm/include/llvm/Support/DebugCounter.h | 2 +- .../llvm/Support/DivisionByConstantInfo.h | 4 +- llvm/include/llvm/Support/Duration.h | 2 +- llvm/include/llvm/Support/DynamicLibrary.h | 2 +- .../include/llvm/Support/ELFAttributeParser.h | 2 +- llvm/include/llvm/Support/ELFAttributes.h | 6 +- llvm/include/llvm/Support/Endian.h | 4 +- llvm/include/llvm/Support/EndianStream.h | 2 +- llvm/include/llvm/Support/Errc.h | 2 +- llvm/include/llvm/Support/Errno.h | 4 +- llvm/include/llvm/Support/Error.h | 70 +- llvm/include/llvm/Support/ErrorHandling.h | 22 +- llvm/include/llvm/Support/ErrorOr.h | 2 +- llvm/include/llvm/Support/ExtensibleRTTI.h | 4 +- llvm/include/llvm/Support/FileCollector.h | 4 +- llvm/include/llvm/Support/FileOutputBuffer.h | 2 +- llvm/include/llvm/Support/FileSystem.h | 172 +-- .../llvm/Support/FileSystem/UniqueID.h | 4 +- llvm/include/llvm/Support/FileUtilities.h | 6 +- llvm/include/llvm/Support/Format.h | 14 +- llvm/include/llvm/Support/FormatAdapters.h | 10 +- llvm/include/llvm/Support/FormatCommon.h | 2 +- llvm/include/llvm/Support/FormatProviders.h | 32 +- llvm/include/llvm/Support/FormatVariadic.h | 6 +- .../llvm/Support/FormatVariadicDetails.h | 20 +- llvm/include/llvm/Support/FormattedStream.h | 8 +- llvm/include/llvm/Support/GenericDomTree.h | 8 +- .../llvm/Support/GenericDomTreeConstruction.h | 2 +- .../GenericIteratedDominanceFrontier.h | 4 +- llvm/include/llvm/Support/GenericLoopInfo.h | 6 +- llvm/include/llvm/Support/GlobPattern.h | 2 +- llvm/include/llvm/Support/GraphWriter.h | 10 +- llvm/include/llvm/Support/HashBuilder.h | 8 +- llvm/include/llvm/Support/InitLLVM.h | 2 +- llvm/include/llvm/Support/InstructionCost.h | 2 +- llvm/include/llvm/Support/JSON.h | 32 +- llvm/include/llvm/Support/KnownBits.h | 2 +- llvm/include/llvm/Support/LEB128.h | 4 +- llvm/include/llvm/Support/LLVMDriver.h | 2 +- llvm/include/llvm/Support/LineIterator.h | 2 +- llvm/include/llvm/Support/Locale.h | 4 +- llvm/include/llvm/Support/LockFileManager.h | 2 +- llvm/include/llvm/Support/MD5.h | 2 +- .../llvm/Support/MSP430AttributeParser.h | 2 +- llvm/include/llvm/Support/MSP430Attributes.h | 2 +- .../llvm/Support/MSVCErrorWorkarounds.h | 4 +- llvm/include/llvm/Support/ManagedStatic.h | 14 +- llvm/include/llvm/Support/MathExtras.h | 2 +- llvm/include/llvm/Support/MemAlloc.h | 4 +- llvm/include/llvm/Support/Memory.h | 6 +- llvm/include/llvm/Support/MemoryBuffer.h | 6 +- llvm/include/llvm/Support/MemoryBufferRef.h | 2 +- llvm/include/llvm/Support/ModRef.h | 6 +- llvm/include/llvm/Support/Mutex.h | 2 +- llvm/include/llvm/Support/NativeFormatting.h | 20 +- llvm/include/llvm/Support/OnDiskHashTable.h | 6 +- .../llvm/Support/OptimizedStructLayout.h | 4 +- llvm/include/llvm/Support/PGOOptions.h | 2 +- llvm/include/llvm/Support/Parallel.h | 12 +- llvm/include/llvm/Support/Path.h | 92 +- .../llvm/Support/PerThreadBumpPtrAllocator.h | 2 +- llvm/include/llvm/Support/PluginLoader.h | 2 +- .../llvm/Support/PointerLikeTypeTraits.h | 26 +- llvm/include/llvm/Support/PrettyStackTrace.h | 22 +- llvm/include/llvm/Support/Printable.h | 2 +- llvm/include/llvm/Support/Process.h | 2 +- llvm/include/llvm/Support/Program.h | 28 +- .../llvm/Support/RISCVAttributeParser.h | 2 +- llvm/include/llvm/Support/RISCVAttributes.h | 2 +- llvm/include/llvm/Support/RISCVISAInfo.h | 6 +- llvm/include/llvm/Support/RWMutex.h | 2 +- .../llvm/Support/RandomNumberGenerator.h | 4 +- llvm/include/llvm/Support/Recycler.h | 4 +- .../include/llvm/Support/RecyclingAllocator.h | 2 +- llvm/include/llvm/Support/Regex.h | 2 +- llvm/include/llvm/Support/Registry.h | 4 +- llvm/include/llvm/Support/SHA1.h | 2 +- llvm/include/llvm/Support/SHA256.h | 2 +- llvm/include/llvm/Support/SMLoc.h | 4 +- llvm/include/llvm/Support/SMTAPI.h | 8 +- llvm/include/llvm/Support/SaveAndRestore.h | 2 +- llvm/include/llvm/Support/ScaledNumber.h | 12 +- llvm/include/llvm/Support/ScopedPrinter.h | 18 +- llvm/include/llvm/Support/Signals.h | 28 +- llvm/include/llvm/Support/Signposts.h | 2 +- .../llvm/Support/SmallVectorMemoryBuffer.h | 2 +- llvm/include/llvm/Support/SourceMgr.h | 6 +- llvm/include/llvm/Support/SpecialCaseList.h | 2 +- llvm/include/llvm/Support/StringSaver.h | 4 +- llvm/include/llvm/Support/SuffixTree.h | 2 +- llvm/include/llvm/Support/SuffixTreeNode.h | 6 +- llvm/include/llvm/Support/SystemUtils.h | 2 +- llvm/include/llvm/Support/TarWriter.h | 2 +- llvm/include/llvm/Support/ThreadPool.h | 4 +- .../llvm/Support/ThreadSafeAllocator.h | 2 +- llvm/include/llvm/Support/Threading.h | 20 +- llvm/include/llvm/Support/TimeProfiler.h | 20 +- llvm/include/llvm/Support/Timer.h | 12 +- llvm/include/llvm/Support/ToolOutputFile.h | 2 +- llvm/include/llvm/Support/TrailingObjects.h | 16 +- llvm/include/llvm/Support/TypeSize.h | 12 +- llvm/include/llvm/Support/Unicode.h | 18 +- llvm/include/llvm/Support/UnicodeCharRanges.h | 4 +- llvm/include/llvm/Support/Valgrind.h | 4 +- llvm/include/llvm/Support/VersionTuple.h | 6 +- llvm/include/llvm/Support/VirtualFileSystem.h | 42 +- llvm/include/llvm/Support/Win64EH.h | 4 +- llvm/include/llvm/Support/WindowsError.h | 2 +- llvm/include/llvm/Support/WithColor.h | 4 +- llvm/include/llvm/Support/YAMLParser.h | 32 +- llvm/include/llvm/Support/YAMLTraits.h | 154 +-- llvm/include/llvm/Support/raw_os_ostream.h | 2 +- llvm/include/llvm/Support/raw_ostream.h | 28 +- llvm/include/llvm/Support/raw_sha1_ostream.h | 2 +- llvm/include/llvm/Support/thread.h | 12 +- llvm/include/llvm/Support/type_traits.h | 18 +- llvm/include/llvm/Support/xxhash.h | 6 +- llvm/include/llvm/TableGen/Error.h | 56 +- llvm/include/llvm/TableGen/Main.h | 2 +- llvm/include/llvm/TableGen/Parser.h | 2 +- llvm/include/llvm/TableGen/Record.h | 100 +- llvm/include/llvm/TableGen/StringMatcher.h | 2 +- llvm/include/llvm/TableGen/TableGenBackend.h | 10 +- .../include/llvm/Target/CGPassBuilderOption.h | 4 +- .../llvm/Target/TargetLoweringObjectFile.h | 2 +- llvm/include/llvm/Target/TargetMachine.h | 4 +- llvm/include/llvm/Target/TargetOptions.h | 2 +- .../llvm/TargetParser/AArch64TargetParser.h | 30 +- .../llvm/TargetParser/ARMTargetParser.h | 72 +- .../llvm/TargetParser/ARMTargetParserCommon.h | 12 +- .../llvm/TargetParser/CSKYTargetParser.h | 34 +- llvm/include/llvm/TargetParser/Host.h | 24 +- .../llvm/TargetParser/LoongArchTargetParser.h | 14 +- .../llvm/TargetParser/RISCVTargetParser.h | 12 +- .../llvm/TargetParser/SubtargetFeature.h | 6 +- llvm/include/llvm/TargetParser/TargetParser.h | 26 +- llvm/include/llvm/TargetParser/Triple.h | 2 +- .../llvm/TargetParser/X86TargetParser.h | 22 +- .../include/llvm/Testing/ADT/StringMapEntry.h | 8 +- .../llvm/Testing/Annotations/Annotations.h | 4 +- llvm/include/llvm/Testing/Support/Error.h | 10 +- .../llvm/Testing/Support/SupportHelpers.h | 14 +- llvm/include/llvm/TextAPI/Architecture.h | 14 +- llvm/include/llvm/TextAPI/ArchitectureSet.h | 4 +- llvm/include/llvm/TextAPI/InterfaceFile.h | 4 +- llvm/include/llvm/TextAPI/PackedVersion.h | 2 +- llvm/include/llvm/TextAPI/Platform.h | 14 +- llvm/include/llvm/TextAPI/Symbol.h | 2 +- llvm/include/llvm/TextAPI/SymbolSet.h | 6 +- llvm/include/llvm/TextAPI/Target.h | 12 +- llvm/include/llvm/TextAPI/TextAPIReader.h | 2 +- llvm/include/llvm/TextAPI/TextAPIWriter.h | 2 +- .../ToolDrivers/llvm-dlltool/DlltoolDriver.h | 2 +- .../llvm/ToolDrivers/llvm-lib/LibDriver.h | 2 +- .../llvm/Transforms/Coroutines/CoroSplit.h | 2 +- .../llvm/Transforms/HipStdPar/HipStdPar.h | 4 +- llvm/include/llvm/Transforms/IPO.h | 10 +- .../llvm/Transforms/IPO/AlwaysInliner.h | 4 +- llvm/include/llvm/Transforms/IPO/Attributor.h | 216 +-- .../llvm/Transforms/IPO/BlockExtractor.h | 2 +- .../llvm/Transforms/IPO/EmbedBitcodePass.h | 4 +- llvm/include/llvm/Transforms/IPO/ExtractGV.h | 2 +- .../llvm/Transforms/IPO/FunctionAttrs.h | 8 +- .../llvm/Transforms/IPO/FunctionImport.h | 22 +- .../Transforms/IPO/FunctionSpecialization.h | 10 +- llvm/include/llvm/Transforms/IPO/GlobalDCE.h | 2 +- llvm/include/llvm/Transforms/IPO/Inliner.h | 4 +- .../include/llvm/Transforms/IPO/Internalize.h | 2 +- .../llvm/Transforms/IPO/LowerTypeTests.h | 12 +- .../llvm/Transforms/IPO/ModuleInliner.h | 2 +- .../llvm/Transforms/IPO/ProfiledCallGraph.h | 10 +- .../Transforms/IPO/SampleContextTracker.h | 4 +- .../llvm/Transforms/IPO/SampleProfile.h | 14 +- .../llvm/Transforms/IPO/SampleProfileProbe.h | 8 +- .../llvm/Transforms/IPO/StripDeadPrototypes.h | 2 +- .../llvm/Transforms/IPO/StripSymbols.h | 8 +- .../Transforms/IPO/ThinLTOBitcodeWriter.h | 2 +- .../llvm/Transforms/IPO/WholeProgramDevirt.h | 32 +- .../llvm/Transforms/InstCombine/InstCombine.h | 8 +- .../include/llvm/Transforms/Instrumentation.h | 16 +- .../Instrumentation/AddressSanitizer.h | 6 +- .../Instrumentation/BoundsChecking.h | 2 +- .../Instrumentation/DataFlowSanitizer.h | 2 +- .../Transforms/Instrumentation/GCOVProfiler.h | 2 +- .../Instrumentation/HWAddressSanitizer.h | 4 +- .../Instrumentation/InstrProfiling.h | 2 +- .../llvm/Transforms/Instrumentation/KCFI.h | 2 +- .../Transforms/Instrumentation/MemProfiler.h | 6 +- .../Instrumentation/MemorySanitizer.h | 4 +- .../Instrumentation/PGOInstrumentation.h | 16 +- .../Instrumentation/SanitizerBinaryMetadata.h | 4 +- .../Instrumentation/SanitizerCoverage.h | 2 +- .../Instrumentation/ThreadSanitizer.h | 4 +- llvm/include/llvm/Transforms/ObjCARC.h | 12 +- llvm/include/llvm/Transforms/Scalar.h | 80 +- .../include/llvm/Transforms/Scalar/EarlyCSE.h | 2 +- llvm/include/llvm/Transforms/Scalar/GVN.h | 10 +- .../llvm/Transforms/Scalar/JumpThreading.h | 2 +- llvm/include/llvm/Transforms/Scalar/LICM.h | 10 +- .../llvm/Transforms/Scalar/LoopPassManager.h | 10 +- .../Transforms/Scalar/LowerExpectIntrinsic.h | 2 +- llvm/include/llvm/Transforms/Scalar/SCCP.h | 2 +- .../llvm/Transforms/Scalar/Scalarizer.h | 6 +- .../llvm/Transforms/Scalar/SimplifyCFG.h | 2 +- llvm/include/llvm/Transforms/Utils.h | 30 +- .../llvm/Transforms/Utils/AMDGPUEmitPrintf.h | 2 +- .../Transforms/Utils/ASanStackFrameLayout.h | 12 +- .../Transforms/Utils/AssumeBundleBuilder.h | 16 +- .../llvm/Transforms/Utils/BasicBlockUtils.h | 84 +- .../llvm/Transforms/Utils/CallGraphUpdater.h | 2 +- .../Transforms/Utils/CallPromotionUtils.h | 10 +- llvm/include/llvm/Transforms/Utils/Cloning.h | 42 +- .../llvm/Transforms/Utils/CodeExtractor.h | 4 +- .../llvm/Transforms/Utils/CodeLayout.h | 14 +- .../llvm/Transforms/Utils/CodeMoverUtils.h | 16 +- llvm/include/llvm/Transforms/Utils/Debugify.h | 30 +- .../Transforms/Utils/EntryExitInstrumenter.h | 2 +- .../Transforms/Utils/FunctionComparator.h | 4 +- .../Transforms/Utils/FunctionImportUtils.h | 4 +- .../Transforms/Utils/InstructionWorklist.h | 2 +- .../llvm/Transforms/Utils/IntegerDivision.h | 12 +- llvm/include/llvm/Transforms/Utils/LCSSA.h | 2 +- llvm/include/llvm/Transforms/Utils/Local.h | 116 +- .../llvm/Transforms/Utils/LoopRotationUtils.h | 2 +- .../llvm/Transforms/Utils/LoopSimplify.h | 4 +- .../include/llvm/Transforms/Utils/LoopUtils.h | 110 +- .../Transforms/Utils/LowerMemIntrinsics.h | 12 +- .../llvm/Transforms/Utils/ModuleUtils.h | 32 +- .../llvm/Transforms/Utils/PredicateInfo.h | 20 +- .../llvm/Transforms/Utils/PromoteMemToReg.h | 4 +- .../llvm/Transforms/Utils/SCCPSolver.h | 4 +- .../llvm/Transforms/Utils/SSAUpdaterBulk.h | 2 +- .../llvm/Transforms/Utils/SanitizerStats.h | 2 +- .../Utils/ScalarEvolutionExpander.h | 8 +- .../Transforms/Utils/SimplifyCFGOptions.h | 2 +- llvm/include/llvm/Transforms/Utils/SizeOpts.h | 22 +- .../llvm/Transforms/Utils/SplitModule.h | 2 +- .../llvm/Transforms/Utils/SymbolRewriter.h | 6 +- .../Transforms/Utils/UnifyFunctionExitNodes.h | 6 +- .../llvm/Transforms/Utils/UnrollLoop.h | 22 +- .../llvm/Transforms/Utils/ValueMapper.h | 6 +- .../Vectorize/LoadStoreVectorizer.h | 4 +- .../llvm/Transforms/Vectorize/LoopVectorize.h | 18 +- llvm/include/llvm/WindowsDriver/MSVCPaths.h | 24 +- .../WindowsManifest/WindowsManifestMerger.h | 6 +- llvm/include/llvm/XRay/BlockIndexer.h | 2 +- llvm/include/llvm/XRay/BlockPrinter.h | 2 +- llvm/include/llvm/XRay/BlockVerifier.h | 2 +- llvm/include/llvm/XRay/FDRLogBuilder.h | 2 +- llvm/include/llvm/XRay/FDRRecordConsumer.h | 6 +- llvm/include/llvm/XRay/FDRRecordProducer.h | 4 +- llvm/include/llvm/XRay/FDRRecords.h | 32 +- llvm/include/llvm/XRay/FDRTraceWriter.h | 2 +- llvm/include/llvm/XRay/FileHeaderReader.h | 2 +- llvm/include/llvm/XRay/Graph.h | 2 +- llvm/include/llvm/XRay/InstrumentationMap.h | 14 +- llvm/include/llvm/XRay/Profile.h | 10 +- llvm/include/llvm/XRay/RecordPrinter.h | 2 +- llvm/include/llvm/XRay/Trace.h | 8 +- llvm/include/llvm/XRay/XRayRecord.h | 4 +- llvm/include/llvm/XRay/YAMLXRayRecord.h | 14 +- llvm/utils/TableGen/GlobalISel/CodeExpander.h | 2 +- .../TableGen/GlobalISel/CodeExpansions.h | 2 +- 1236 files changed, 9250 insertions(+), 9250 deletions(-) diff --git a/libunwind/include/mach-o/compact_unwind_encoding.h b/libunwind/include/mach-o/compact_unwind_encoding.h index 4c48e33c3c177d..51ca943062c1fe 100644 --- a/libunwind/include/mach-o/compact_unwind_encoding.h +++ b/libunwind/include/mach-o/compact_unwind_encoding.h @@ -406,7 +406,7 @@ enum { // #define UNWIND_SECTION_VERSION 1 -struct unwind_info_section_header +struct LLVM_CLASS_ABI unwind_info_section_header { uint32_t version; // UNWIND_SECTION_VERSION uint32_t commonEncodingsArraySectionOffset; @@ -421,14 +421,14 @@ struct unwind_info_section_header // unwind_info_section_header_lsda_index_entry[] }; -struct unwind_info_section_header_index_entry +struct LLVM_CLASS_ABI unwind_info_section_header_index_entry { uint32_t functionOffset; uint32_t secondLevelPagesSectionOffset; // section offset to start of regular or compress page uint32_t lsdaIndexArraySectionOffset; // section offset to start of lsda_index array for this range }; -struct unwind_info_section_header_lsda_index_entry +struct LLVM_CLASS_ABI unwind_info_section_header_lsda_index_entry { uint32_t functionOffset; uint32_t lsdaOffset; @@ -441,14 +441,14 @@ struct unwind_info_section_header_lsda_index_entry // 511 entries. // -struct unwind_info_regular_second_level_entry +struct LLVM_CLASS_ABI unwind_info_regular_second_level_entry { uint32_t functionOffset; compact_unwind_encoding_t encoding; }; #define UNWIND_SECOND_LEVEL_REGULAR 2 -struct unwind_info_regular_second_level_page_header +struct LLVM_CLASS_ABI unwind_info_regular_second_level_page_header { uint32_t kind; // UNWIND_SECOND_LEVEL_REGULAR uint16_t entryPageOffset; @@ -457,7 +457,7 @@ struct unwind_info_regular_second_level_page_header }; #define UNWIND_SECOND_LEVEL_COMPRESSED 3 -struct unwind_info_compressed_second_level_page_header +struct LLVM_CLASS_ABI unwind_info_compressed_second_level_page_header { uint32_t kind; // UNWIND_SECOND_LEVEL_COMPRESSED uint16_t entryPageOffset; diff --git a/llvm/include/llvm-c/Analysis.h b/llvm/include/llvm-c/Analysis.h index e515ef311aee3e..26538ce7cd6d68 100644 --- a/llvm/include/llvm-c/Analysis.h +++ b/llvm/include/llvm-c/Analysis.h @@ -42,17 +42,17 @@ typedef enum { /* Verifies that a module is valid, taking the specified action if not. Optionally returns a human-readable description of any invalid constructs. OutMessage must be disposed with LLVMDisposeMessage. */ -LLVMBool LLVMVerifyModule(LLVMModuleRef M, LLVMVerifierFailureAction Action, +LLVM_FUNC_ABI LLVMBool LLVMVerifyModule(LLVMModuleRef M, LLVMVerifierFailureAction Action, char **OutMessage); /* Verifies that a single function is valid, taking the specified action. Useful for debugging. */ -LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action); +LLVM_FUNC_ABI LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action); /* Open up a ghostview window that displays the CFG of the current function. Useful for debugging. */ -void LLVMViewFunctionCFG(LLVMValueRef Fn); -void LLVMViewFunctionCFGOnly(LLVMValueRef Fn); +LLVM_FUNC_ABI void LLVMViewFunctionCFG(LLVMValueRef Fn); +LLVM_FUNC_ABI void LLVMViewFunctionCFGOnly(LLVMValueRef Fn); /** * @} diff --git a/llvm/include/llvm-c/BitReader.h b/llvm/include/llvm-c/BitReader.h index 1a960118979a22..fbfa4a5186fd58 100644 --- a/llvm/include/llvm-c/BitReader.h +++ b/llvm/include/llvm-c/BitReader.h @@ -37,20 +37,20 @@ LLVM_C_EXTERN_C_BEGIN Optionally returns a human-readable error message via OutMessage. This is deprecated. Use LLVMParseBitcode2. */ -LLVMBool LLVMParseBitcode(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule, +LLVM_FUNC_ABI LLVMBool LLVMParseBitcode(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule, char **OutMessage); /* Builds a module from the bitcode in the specified memory buffer, returning a reference to the module via the OutModule parameter. Returns 0 on success. */ -LLVMBool LLVMParseBitcode2(LLVMMemoryBufferRef MemBuf, +LLVM_FUNC_ABI LLVMBool LLVMParseBitcode2(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule); /* This is deprecated. Use LLVMParseBitcodeInContext2. */ -LLVMBool LLVMParseBitcodeInContext(LLVMContextRef ContextRef, +LLVM_FUNC_ABI LLVMBool LLVMParseBitcodeInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule, char **OutMessage); -LLVMBool LLVMParseBitcodeInContext2(LLVMContextRef ContextRef, +LLVM_FUNC_ABI LLVMBool LLVMParseBitcodeInContext2(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule); @@ -58,7 +58,7 @@ LLVMBool LLVMParseBitcodeInContext2(LLVMContextRef ContextRef, a module provider which performs lazy deserialization. Returns 0 on success. Optionally returns a human-readable error message via OutMessage. This is deprecated. Use LLVMGetBitcodeModuleInContext2. */ -LLVMBool LLVMGetBitcodeModuleInContext(LLVMContextRef ContextRef, +LLVM_FUNC_ABI LLVMBool LLVMGetBitcodeModuleInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM, char **OutMessage); @@ -69,15 +69,15 @@ LLVMBool LLVMGetBitcodeModuleInContext(LLVMContextRef ContextRef, * * Takes ownership of \p MemBuf if (and only if) the module was read * successfully. */ -LLVMBool LLVMGetBitcodeModuleInContext2(LLVMContextRef ContextRef, +LLVM_FUNC_ABI LLVMBool LLVMGetBitcodeModuleInContext2(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM); /* This is deprecated. Use LLVMGetBitcodeModule2. */ -LLVMBool LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM, +LLVM_FUNC_ABI LLVMBool LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM, char **OutMessage); -LLVMBool LLVMGetBitcodeModule2(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM); +LLVM_FUNC_ABI LLVMBool LLVMGetBitcodeModule2(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM); /** * @} diff --git a/llvm/include/llvm-c/BitWriter.h b/llvm/include/llvm-c/BitWriter.h index 5baba8cbe7cf45..c7c9c065cfc266 100644 --- a/llvm/include/llvm-c/BitWriter.h +++ b/llvm/include/llvm-c/BitWriter.h @@ -35,18 +35,18 @@ LLVM_C_EXTERN_C_BEGIN /*===-- Operations on modules ---------------------------------------------===*/ /** Writes a module to the specified path. Returns 0 on success. */ -int LLVMWriteBitcodeToFile(LLVMModuleRef M, const char *Path); +LLVM_FUNC_ABI int LLVMWriteBitcodeToFile(LLVMModuleRef M, const char *Path); /** Writes a module to an open file descriptor. Returns 0 on success. */ -int LLVMWriteBitcodeToFD(LLVMModuleRef M, int FD, int ShouldClose, +LLVM_FUNC_ABI int LLVMWriteBitcodeToFD(LLVMModuleRef M, int FD, int ShouldClose, int Unbuffered); /** Deprecated for LLVMWriteBitcodeToFD. Writes a module to an open file descriptor. Returns 0 on success. Closes the Handle. */ -int LLVMWriteBitcodeToFileHandle(LLVMModuleRef M, int Handle); +LLVM_FUNC_ABI int LLVMWriteBitcodeToFileHandle(LLVMModuleRef M, int Handle); /** Writes a module to a new memory buffer and returns it. */ -LLVMMemoryBufferRef LLVMWriteBitcodeToMemoryBuffer(LLVMModuleRef M); +LLVM_FUNC_ABI LLVMMemoryBufferRef LLVMWriteBitcodeToMemoryBuffer(LLVMModuleRef M); /** * @} diff --git a/llvm/include/llvm-c/Comdat.h b/llvm/include/llvm-c/Comdat.h index 8ef628366cf36e..c391f50a1f1238 100644 --- a/llvm/include/llvm-c/Comdat.h +++ b/llvm/include/llvm-c/Comdat.h @@ -44,35 +44,35 @@ typedef enum { * * @see llvm::Module::getOrInsertComdat() */ -LLVMComdatRef LLVMGetOrInsertComdat(LLVMModuleRef M, const char *Name); +LLVM_FUNC_ABI LLVMComdatRef LLVMGetOrInsertComdat(LLVMModuleRef M, const char *Name); /** * Get the Comdat assigned to the given global object. * * @see llvm::GlobalObject::getComdat() */ -LLVMComdatRef LLVMGetComdat(LLVMValueRef V); +LLVM_FUNC_ABI LLVMComdatRef LLVMGetComdat(LLVMValueRef V); /** * Assign the Comdat to the given global object. * * @see llvm::GlobalObject::setComdat() */ -void LLVMSetComdat(LLVMValueRef V, LLVMComdatRef C); +LLVM_FUNC_ABI void LLVMSetComdat(LLVMValueRef V, LLVMComdatRef C); /* * Get the conflict resolution selection kind for the Comdat. * * @see llvm::Comdat::getSelectionKind() */ -LLVMComdatSelectionKind LLVMGetComdatSelectionKind(LLVMComdatRef C); +LLVM_FUNC_ABI LLVMComdatSelectionKind LLVMGetComdatSelectionKind(LLVMComdatRef C); /* * Set the conflict resolution selection kind for the Comdat. * * @see llvm::Comdat::setSelectionKind() */ -void LLVMSetComdatSelectionKind(LLVMComdatRef C, LLVMComdatSelectionKind Kind); +LLVM_FUNC_ABI void LLVMSetComdatSelectionKind(LLVMComdatRef C, LLVMComdatSelectionKind Kind); /** * @} diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h index 03395be17481eb..40ee61754f72f9 100644 --- a/llvm/include/llvm-c/Core.h +++ b/llvm/include/llvm-c/Core.h @@ -492,7 +492,7 @@ typedef unsigned LLVMAttributeIndex; /** Deallocate and destroy all ManagedStatic variables. @see llvm::llvm_shutdown @see ManagedStatic */ -void LLVMShutdown(void); +LLVM_FUNC_ABI void LLVMShutdown(void); /*===-- Version query -----------------------------------------------------===*/ @@ -502,12 +502,12 @@ void LLVMShutdown(void); * The version components are returned via the function's three output * parameters or skipped if a NULL pointer was supplied. */ -void LLVMGetVersion(unsigned *Major, unsigned *Minor, unsigned *Patch); +LLVM_FUNC_ABI void LLVMGetVersion(unsigned *Major, unsigned *Minor, unsigned *Patch); /*===-- Error handling ----------------------------------------------------===*/ -char *LLVMCreateMessage(const char *Message); -void LLVMDisposeMessage(char *Message); +LLVM_FUNC_ABI char *LLVMCreateMessage(const char *Message); +LLVM_FUNC_ABI void LLVMDisposeMessage(char *Message); /** * @defgroup LLVMCCoreContext Contexts @@ -530,36 +530,36 @@ typedef void (*LLVMYieldCallback)(LLVMContextRef, void *); * Every call to this function should be paired with a call to * LLVMContextDispose() or the context will leak memory. */ -LLVMContextRef LLVMContextCreate(void); +LLVM_FUNC_ABI LLVMContextRef LLVMContextCreate(void); /** * Obtain the global context instance. */ -LLVMContextRef LLVMGetGlobalContext(void); +LLVM_FUNC_ABI LLVMContextRef LLVMGetGlobalContext(void); /** * Set the diagnostic handler for this context. */ -void LLVMContextSetDiagnosticHandler(LLVMContextRef C, +LLVM_FUNC_ABI void LLVMContextSetDiagnosticHandler(LLVMContextRef C, LLVMDiagnosticHandler Handler, void *DiagnosticContext); /** * Get the diagnostic handler of this context. */ -LLVMDiagnosticHandler LLVMContextGetDiagnosticHandler(LLVMContextRef C); +LLVM_FUNC_ABI LLVMDiagnosticHandler LLVMContextGetDiagnosticHandler(LLVMContextRef C); /** * Get the diagnostic context of this context. */ -void *LLVMContextGetDiagnosticContext(LLVMContextRef C); +LLVM_FUNC_ABI void *LLVMContextGetDiagnosticContext(LLVMContextRef C); /** * Set the yield callback function for this context. * * @see LLVMContext::setYieldCallback() */ -void LLVMContextSetYieldCallback(LLVMContextRef C, LLVMYieldCallback Callback, +LLVM_FUNC_ABI void LLVMContextSetYieldCallback(LLVMContextRef C, LLVMYieldCallback Callback, void *OpaqueHandle); /** @@ -567,7 +567,7 @@ void LLVMContextSetYieldCallback(LLVMContextRef C, LLVMYieldCallback Callback, * * @see LLVMContext::shouldDiscardValueNames() */ -LLVMBool LLVMContextShouldDiscardValueNames(LLVMContextRef C); +LLVM_FUNC_ABI LLVMBool LLVMContextShouldDiscardValueNames(LLVMContextRef C); /** * Set whether the given context discards all value names. @@ -577,7 +577,7 @@ LLVMBool LLVMContextShouldDiscardValueNames(LLVMContextRef C); * * @see LLVMContext::setDiscardValueNames() */ -void LLVMContextSetDiscardValueNames(LLVMContextRef C, LLVMBool Discard); +LLVM_FUNC_ABI void LLVMContextSetDiscardValueNames(LLVMContextRef C, LLVMBool Discard); /** * Destroy a context instance. @@ -585,7 +585,7 @@ void LLVMContextSetDiscardValueNames(LLVMContextRef C, LLVMBool Discard); * This should be called for every call to LLVMContextCreate() or memory * will be leaked. */ -void LLVMContextDispose(LLVMContextRef C); +LLVM_FUNC_ABI void LLVMContextDispose(LLVMContextRef C); /** * Return a string representation of the DiagnosticInfo. Use @@ -593,18 +593,18 @@ void LLVMContextDispose(LLVMContextRef C); * * @see DiagnosticInfo::print() */ -char *LLVMGetDiagInfoDescription(LLVMDiagnosticInfoRef DI); +LLVM_FUNC_ABI char *LLVMGetDiagInfoDescription(LLVMDiagnosticInfoRef DI); /** * Return an enum LLVMDiagnosticSeverity. * * @see DiagnosticInfo::getSeverity() */ -LLVMDiagnosticSeverity LLVMGetDiagInfoSeverity(LLVMDiagnosticInfoRef DI); +LLVM_FUNC_ABI LLVMDiagnosticSeverity LLVMGetDiagInfoSeverity(LLVMDiagnosticInfoRef DI); -unsigned LLVMGetMDKindIDInContext(LLVMContextRef C, const char *Name, +LLVM_FUNC_ABI unsigned LLVMGetMDKindIDInContext(LLVMContextRef C, const char *Name, unsigned SLen); -unsigned LLVMGetMDKindID(const char *Name, unsigned SLen); +LLVM_FUNC_ABI unsigned LLVMGetMDKindID(const char *Name, unsigned SLen); /** * Return an unique id given the name of a enum attribute, @@ -617,65 +617,65 @@ unsigned LLVMGetMDKindID(const char *Name, unsigned SLen); * NB: Attribute names and/or id are subject to change without * going through the C API deprecation cycle. */ -unsigned LLVMGetEnumAttributeKindForName(const char *Name, size_t SLen); -unsigned LLVMGetLastEnumAttributeKind(void); +LLVM_FUNC_ABI unsigned LLVMGetEnumAttributeKindForName(const char *Name, size_t SLen); +LLVM_FUNC_ABI unsigned LLVMGetLastEnumAttributeKind(void); /** * Create an enum attribute. */ -LLVMAttributeRef LLVMCreateEnumAttribute(LLVMContextRef C, unsigned KindID, +LLVM_FUNC_ABI LLVMAttributeRef LLVMCreateEnumAttribute(LLVMContextRef C, unsigned KindID, uint64_t Val); /** * Get the unique id corresponding to the enum attribute * passed as argument. */ -unsigned LLVMGetEnumAttributeKind(LLVMAttributeRef A); +LLVM_FUNC_ABI unsigned LLVMGetEnumAttributeKind(LLVMAttributeRef A); /** * Get the enum attribute's value. 0 is returned if none exists. */ -uint64_t LLVMGetEnumAttributeValue(LLVMAttributeRef A); +LLVM_FUNC_ABI uint64_t LLVMGetEnumAttributeValue(LLVMAttributeRef A); /** * Create a type attribute */ -LLVMAttributeRef LLVMCreateTypeAttribute(LLVMContextRef C, unsigned KindID, +LLVM_FUNC_ABI LLVMAttributeRef LLVMCreateTypeAttribute(LLVMContextRef C, unsigned KindID, LLVMTypeRef type_ref); /** * Get the type attribute's value. */ -LLVMTypeRef LLVMGetTypeAttributeValue(LLVMAttributeRef A); +LLVM_FUNC_ABI LLVMTypeRef LLVMGetTypeAttributeValue(LLVMAttributeRef A); /** * Create a string attribute. */ -LLVMAttributeRef LLVMCreateStringAttribute(LLVMContextRef C, +LLVM_FUNC_ABI LLVMAttributeRef LLVMCreateStringAttribute(LLVMContextRef C, const char *K, unsigned KLength, const char *V, unsigned VLength); /** * Get the string attribute's kind. */ -const char *LLVMGetStringAttributeKind(LLVMAttributeRef A, unsigned *Length); +LLVM_FUNC_ABI const char *LLVMGetStringAttributeKind(LLVMAttributeRef A, unsigned *Length); /** * Get the string attribute's value. */ -const char *LLVMGetStringAttributeValue(LLVMAttributeRef A, unsigned *Length); +LLVM_FUNC_ABI const char *LLVMGetStringAttributeValue(LLVMAttributeRef A, unsigned *Length); /** * Check for the different types of attributes. */ -LLVMBool LLVMIsEnumAttribute(LLVMAttributeRef A); -LLVMBool LLVMIsStringAttribute(LLVMAttributeRef A); -LLVMBool LLVMIsTypeAttribute(LLVMAttributeRef A); +LLVM_FUNC_ABI LLVMBool LLVMIsEnumAttribute(LLVMAttributeRef A); +LLVM_FUNC_ABI LLVMBool LLVMIsStringAttribute(LLVMAttributeRef A); +LLVM_FUNC_ABI LLVMBool LLVMIsTypeAttribute(LLVMAttributeRef A); /** * Obtain a Type from a context by its registered name. */ -LLVMTypeRef LLVMGetTypeByName2(LLVMContextRef C, const char *Name); +LLVM_FUNC_ABI LLVMTypeRef LLVMGetTypeByName2(LLVMContextRef C, const char *Name); /** * @} @@ -700,7 +700,7 @@ LLVMTypeRef LLVMGetTypeByName2(LLVMContextRef C, const char *Name); * Every invocation should be paired with LLVMDisposeModule() or memory * will be leaked. */ -LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID); +LLVM_FUNC_ABI LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID); /** * Create a new, empty module in a specific context. @@ -708,12 +708,12 @@ LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID); * Every invocation should be paired with LLVMDisposeModule() or memory * will be leaked. */ -LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID, +LLVM_FUNC_ABI LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID, LLVMContextRef C); /** * Return an exact copy of the specified module. */ -LLVMModuleRef LLVMCloneModule(LLVMModuleRef M); +LLVM_FUNC_ABI LLVMModuleRef LLVMCloneModule(LLVMModuleRef M); /** * Destroy a module instance. @@ -721,7 +721,7 @@ LLVMModuleRef LLVMCloneModule(LLVMModuleRef M); * This must be called for every created module or memory will be * leaked. */ -void LLVMDisposeModule(LLVMModuleRef M); +LLVM_FUNC_ABI void LLVMDisposeModule(LLVMModuleRef M); /** * Obtain the identifier of a module. @@ -731,7 +731,7 @@ void LLVMDisposeModule(LLVMModuleRef M); * @return The identifier of M. * @see Module::getModuleIdentifier() */ -const char *LLVMGetModuleIdentifier(LLVMModuleRef M, size_t *Len); +LLVM_FUNC_ABI const char *LLVMGetModuleIdentifier(LLVMModuleRef M, size_t *Len); /** * Set the identifier of a module to a string Ident with length Len. @@ -741,7 +741,7 @@ const char *LLVMGetModuleIdentifier(LLVMModuleRef M, size_t *Len); * @param Len Length of Ident * @see Module::setModuleIdentifier() */ -void LLVMSetModuleIdentifier(LLVMModuleRef M, const char *Ident, size_t Len); +LLVM_FUNC_ABI void LLVMSetModuleIdentifier(LLVMModuleRef M, const char *Ident, size_t Len); /** * Obtain the module's original source file name. @@ -751,7 +751,7 @@ void LLVMSetModuleIdentifier(LLVMModuleRef M, const char *Ident, size_t Len); * @return The original source file name of M * @see Module::getSourceFileName() */ -const char *LLVMGetSourceFileName(LLVMModuleRef M, size_t *Len); +LLVM_FUNC_ABI const char *LLVMGetSourceFileName(LLVMModuleRef M, size_t *Len); /** * Set the original source file name of a module to a string Name with length @@ -762,7 +762,7 @@ const char *LLVMGetSourceFileName(LLVMModuleRef M, size_t *Len); * @param Len Length of Name * @see Module::setSourceFileName() */ -void LLVMSetSourceFileName(LLVMModuleRef M, const char *Name, size_t Len); +LLVM_FUNC_ABI void LLVMSetSourceFileName(LLVMModuleRef M, const char *Name, size_t Len); /** * Obtain the data layout for a module. @@ -773,29 +773,29 @@ void LLVMSetSourceFileName(LLVMModuleRef M, const char *Name, size_t Len); * but match the name of another method on the module. Prefer the use * of LLVMGetDataLayoutStr, which is not ambiguous. */ -const char *LLVMGetDataLayoutStr(LLVMModuleRef M); -const char *LLVMGetDataLayout(LLVMModuleRef M); +LLVM_FUNC_ABI const char *LLVMGetDataLayoutStr(LLVMModuleRef M); +LLVM_FUNC_ABI const char *LLVMGetDataLayout(LLVMModuleRef M); /** * Set the data layout for a module. * * @see Module::setDataLayout() */ -void LLVMSetDataLayout(LLVMModuleRef M, const char *DataLayoutStr); +LLVM_FUNC_ABI void LLVMSetDataLayout(LLVMModuleRef M, const char *DataLayoutStr); /** * Obtain the target triple for a module. * * @see Module::getTargetTriple() */ -const char *LLVMGetTarget(LLVMModuleRef M); +LLVM_FUNC_ABI const char *LLVMGetTarget(LLVMModuleRef M); /** * Set the target triple for a module. * * @see Module::setTargetTriple() */ -void LLVMSetTarget(LLVMModuleRef M, const char *Triple); +LLVM_FUNC_ABI void LLVMSetTarget(LLVMModuleRef M, const char *Triple); /** * Returns the module flags as an array of flag-key-value triples. The caller @@ -804,19 +804,19 @@ void LLVMSetTarget(LLVMModuleRef M, const char *Triple); * * @see Module::getModuleFlagsMetadata() */ -LLVMModuleFlagEntry *LLVMCopyModuleFlagsMetadata(LLVMModuleRef M, size_t *Len); +LLVM_FUNC_ABI LLVMModuleFlagEntry *LLVMCopyModuleFlagsMetadata(LLVMModuleRef M, size_t *Len); /** * Destroys module flags metadata entries. */ -void LLVMDisposeModuleFlagsMetadata(LLVMModuleFlagEntry *Entries); +LLVM_FUNC_ABI void LLVMDisposeModuleFlagsMetadata(LLVMModuleFlagEntry *Entries); /** * Returns the flag behavior for a module flag entry at a specific index. * * @see Module::ModuleFlagEntry::Behavior */ -LLVMModuleFlagBehavior +LLVM_FUNC_ABI LLVMModuleFlagBehavior LLVMModuleFlagEntriesGetFlagBehavior(LLVMModuleFlagEntry *Entries, unsigned Index); @@ -825,7 +825,7 @@ LLVMModuleFlagEntriesGetFlagBehavior(LLVMModuleFlagEntry *Entries, * * @see Module::ModuleFlagEntry::Key */ -const char *LLVMModuleFlagEntriesGetKey(LLVMModuleFlagEntry *Entries, +LLVM_FUNC_ABI const char *LLVMModuleFlagEntriesGetKey(LLVMModuleFlagEntry *Entries, unsigned Index, size_t *Len); /** @@ -833,7 +833,7 @@ const char *LLVMModuleFlagEntriesGetKey(LLVMModuleFlagEntry *Entries, * * @see Module::ModuleFlagEntry::Val */ -LLVMMetadataRef LLVMModuleFlagEntriesGetMetadata(LLVMModuleFlagEntry *Entries, +LLVM_FUNC_ABI LLVMMetadataRef LLVMModuleFlagEntriesGetMetadata(LLVMModuleFlagEntry *Entries, unsigned Index); /** @@ -842,7 +842,7 @@ LLVMMetadataRef LLVMModuleFlagEntriesGetMetadata(LLVMModuleFlagEntry *Entries, * * @see Module::getModuleFlag() */ -LLVMMetadataRef LLVMGetModuleFlag(LLVMModuleRef M, +LLVM_FUNC_ABI LLVMMetadataRef LLVMGetModuleFlag(LLVMModuleRef M, const char *Key, size_t KeyLen); /** @@ -851,7 +851,7 @@ LLVMMetadataRef LLVMGetModuleFlag(LLVMModuleRef M, * * @see Module::addModuleFlag() */ -void LLVMAddModuleFlag(LLVMModuleRef M, LLVMModuleFlagBehavior Behavior, +LLVM_FUNC_ABI void LLVMAddModuleFlag(LLVMModuleRef M, LLVMModuleFlagBehavior Behavior, const char *Key, size_t KeyLen, LLVMMetadataRef Val); @@ -860,7 +860,7 @@ void LLVMAddModuleFlag(LLVMModuleRef M, LLVMModuleFlagBehavior Behavior, * * @see Module::dump() */ -void LLVMDumpModule(LLVMModuleRef M); +LLVM_FUNC_ABI void LLVMDumpModule(LLVMModuleRef M); /** * Print a representation of a module to a file. The ErrorMessage needs to be @@ -868,7 +868,7 @@ void LLVMDumpModule(LLVMModuleRef M); * * @see Module::print() */ -LLVMBool LLVMPrintModuleToFile(LLVMModuleRef M, const char *Filename, +LLVM_FUNC_ABI LLVMBool LLVMPrintModuleToFile(LLVMModuleRef M, const char *Filename, char **ErrorMessage); /** @@ -877,35 +877,35 @@ LLVMBool LLVMPrintModuleToFile(LLVMModuleRef M, const char *Filename, * * @see Module::print() */ -char *LLVMPrintModuleToString(LLVMModuleRef M); +LLVM_FUNC_ABI char *LLVMPrintModuleToString(LLVMModuleRef M); /** * Get inline assembly for a module. * * @see Module::getModuleInlineAsm() */ -const char *LLVMGetModuleInlineAsm(LLVMModuleRef M, size_t *Len); +LLVM_FUNC_ABI const char *LLVMGetModuleInlineAsm(LLVMModuleRef M, size_t *Len); /** * Set inline assembly for a module. * * @see Module::setModuleInlineAsm() */ -void LLVMSetModuleInlineAsm2(LLVMModuleRef M, const char *Asm, size_t Len); +LLVM_FUNC_ABI void LLVMSetModuleInlineAsm2(LLVMModuleRef M, const char *Asm, size_t Len); /** * Append inline assembly to a module. * * @see Module::appendModuleInlineAsm() */ -void LLVMAppendModuleInlineAsm(LLVMModuleRef M, const char *Asm, size_t Len); +LLVM_FUNC_ABI void LLVMAppendModuleInlineAsm(LLVMModuleRef M, const char *Asm, size_t Len); /** * Create the specified uniqued inline asm string. * * @see InlineAsm::get() */ -LLVMValueRef LLVMGetInlineAsm(LLVMTypeRef Ty, const char *AsmString, +LLVM_FUNC_ABI LLVMValueRef LLVMGetInlineAsm(LLVMTypeRef Ty, const char *AsmString, size_t AsmStringSize, const char *Constraints, size_t ConstraintsSize, LLVMBool HasSideEffects, LLVMBool IsAlignStack, @@ -915,20 +915,20 @@ LLVMValueRef LLVMGetInlineAsm(LLVMTypeRef Ty, const char *AsmString, * Get the template string used for an inline assembly snippet * */ -const char *LLVMGetInlineAsmAsmString(LLVMValueRef InlineAsmVal, size_t *Len); +LLVM_FUNC_ABI const char *LLVMGetInlineAsmAsmString(LLVMValueRef InlineAsmVal, size_t *Len); /** * Get the raw constraint string for an inline assembly snippet * */ -const char *LLVMGetInlineAsmConstraintString(LLVMValueRef InlineAsmVal, +LLVM_FUNC_ABI const char *LLVMGetInlineAsmConstraintString(LLVMValueRef InlineAsmVal, size_t *Len); /** * Get the dialect used by the inline asm snippet * */ -LLVMInlineAsmDialect LLVMGetInlineAsmDialect(LLVMValueRef InlineAsmVal); +LLVM_FUNC_ABI LLVMInlineAsmDialect LLVMGetInlineAsmDialect(LLVMValueRef InlineAsmVal); /** * Get the function type of the inline assembly snippet. The same type that @@ -937,49 +937,49 @@ LLVMInlineAsmDialect LLVMGetInlineAsmDialect(LLVMValueRef InlineAsmVal); * @see LLVMGetInlineAsm * */ -LLVMTypeRef LLVMGetInlineAsmFunctionType(LLVMValueRef InlineAsmVal); +LLVM_FUNC_ABI LLVMTypeRef LLVMGetInlineAsmFunctionType(LLVMValueRef InlineAsmVal); /** * Get if the inline asm snippet has side effects * */ -LLVMBool LLVMGetInlineAsmHasSideEffects(LLVMValueRef InlineAsmVal); +LLVM_FUNC_ABI LLVMBool LLVMGetInlineAsmHasSideEffects(LLVMValueRef InlineAsmVal); /** * Get if the inline asm snippet needs an aligned stack * */ -LLVMBool LLVMGetInlineAsmNeedsAlignedStack(LLVMValueRef InlineAsmVal); +LLVM_FUNC_ABI LLVMBool LLVMGetInlineAsmNeedsAlignedStack(LLVMValueRef InlineAsmVal); /** * Get if the inline asm snippet may unwind the stack * */ -LLVMBool LLVMGetInlineAsmCanUnwind(LLVMValueRef InlineAsmVal); +LLVM_FUNC_ABI LLVMBool LLVMGetInlineAsmCanUnwind(LLVMValueRef InlineAsmVal); /** * Obtain the context to which this module is associated. * * @see Module::getContext() */ -LLVMContextRef LLVMGetModuleContext(LLVMModuleRef M); +LLVM_FUNC_ABI LLVMContextRef LLVMGetModuleContext(LLVMModuleRef M); /** Deprecated: Use LLVMGetTypeByName2 instead. */ -LLVMTypeRef LLVMGetTypeByName(LLVMModuleRef M, const char *Name); +LLVM_FUNC_ABI LLVMTypeRef LLVMGetTypeByName(LLVMModuleRef M, const char *Name); /** * Obtain an iterator to the first NamedMDNode in a Module. * * @see llvm::Module::named_metadata_begin() */ -LLVMNamedMDNodeRef LLVMGetFirstNamedMetadata(LLVMModuleRef M); +LLVM_FUNC_ABI LLVMNamedMDNodeRef LLVMGetFirstNamedMetadata(LLVMModuleRef M); /** * Obtain an iterator to the last NamedMDNode in a Module. * * @see llvm::Module::named_metadata_end() */ -LLVMNamedMDNodeRef LLVMGetLastNamedMetadata(LLVMModuleRef M); +LLVM_FUNC_ABI LLVMNamedMDNodeRef LLVMGetLastNamedMetadata(LLVMModuleRef M); /** * Advance a NamedMDNode iterator to the next NamedMDNode. @@ -987,7 +987,7 @@ LLVMNamedMDNodeRef LLVMGetLastNamedMetadata(LLVMModuleRef M); * Returns NULL if the iterator was already at the end and there are no more * named metadata nodes. */ -LLVMNamedMDNodeRef LLVMGetNextNamedMetadata(LLVMNamedMDNodeRef NamedMDNode); +LLVM_FUNC_ABI LLVMNamedMDNodeRef LLVMGetNextNamedMetadata(LLVMNamedMDNodeRef NamedMDNode); /** * Decrement a NamedMDNode iterator to the previous NamedMDNode. @@ -995,7 +995,7 @@ LLVMNamedMDNodeRef LLVMGetNextNamedMetadata(LLVMNamedMDNodeRef NamedMDNode); * Returns NULL if the iterator was already at the beginning and there are * no previous named metadata nodes. */ -LLVMNamedMDNodeRef LLVMGetPreviousNamedMetadata(LLVMNamedMDNodeRef NamedMDNode); +LLVM_FUNC_ABI LLVMNamedMDNodeRef LLVMGetPreviousNamedMetadata(LLVMNamedMDNodeRef NamedMDNode); /** * Retrieve a NamedMDNode with the given name, returning NULL if no such @@ -1003,7 +1003,7 @@ LLVMNamedMDNodeRef LLVMGetPreviousNamedMetadata(LLVMNamedMDNodeRef NamedMDNode); * * @see llvm::Module::getNamedMetadata() */ -LLVMNamedMDNodeRef LLVMGetNamedMetadata(LLVMModuleRef M, +LLVM_FUNC_ABI LLVMNamedMDNodeRef LLVMGetNamedMetadata(LLVMModuleRef M, const char *Name, size_t NameLen); /** @@ -1012,7 +1012,7 @@ LLVMNamedMDNodeRef LLVMGetNamedMetadata(LLVMModuleRef M, * * @see llvm::Module::getOrInsertNamedMetadata() */ -LLVMNamedMDNodeRef LLVMGetOrInsertNamedMetadata(LLVMModuleRef M, +LLVM_FUNC_ABI LLVMNamedMDNodeRef LLVMGetOrInsertNamedMetadata(LLVMModuleRef M, const char *Name, size_t NameLen); @@ -1021,7 +1021,7 @@ LLVMNamedMDNodeRef LLVMGetOrInsertNamedMetadata(LLVMModuleRef M, * * @see llvm::NamedMDNode::getName() */ -const char *LLVMGetNamedMetadataName(LLVMNamedMDNodeRef NamedMD, +LLVM_FUNC_ABI const char *LLVMGetNamedMetadataName(LLVMNamedMDNodeRef NamedMD, size_t *NameLen); /** @@ -1029,7 +1029,7 @@ const char *LLVMGetNamedMetadataName(LLVMNamedMDNodeRef NamedMD, * * @see llvm::Module::getNamedMetadata() */ -unsigned LLVMGetNamedMetadataNumOperands(LLVMModuleRef M, const char *Name); +LLVM_FUNC_ABI unsigned LLVMGetNamedMetadataNumOperands(LLVMModuleRef M, const char *Name); /** * Obtain the named metadata operands for a module. @@ -1042,7 +1042,7 @@ unsigned LLVMGetNamedMetadataNumOperands(LLVMModuleRef M, const char *Name); * @see llvm::Module::getNamedMetadata() * @see llvm::MDNode::getOperand() */ -void LLVMGetNamedMetadataOperands(LLVMModuleRef M, const char *Name, +LLVM_FUNC_ABI void LLVMGetNamedMetadataOperands(LLVMModuleRef M, const char *Name, LLVMValueRef *Dest); /** @@ -1051,7 +1051,7 @@ void LLVMGetNamedMetadataOperands(LLVMModuleRef M, const char *Name, * @see llvm::Module::getNamedMetadata() * @see llvm::MDNode::addOperand() */ -void LLVMAddNamedMetadataOperand(LLVMModuleRef M, const char *Name, +LLVM_FUNC_ABI void LLVMAddNamedMetadataOperand(LLVMModuleRef M, const char *Name, LLVMValueRef Val); /** @@ -1062,7 +1062,7 @@ void LLVMAddNamedMetadataOperand(LLVMModuleRef M, const char *Name, * @see llvm::GlobalVariable::getDebugInfo() * @see llvm::Function::getSubprogram() */ -const char *LLVMGetDebugLocDirectory(LLVMValueRef Val, unsigned *Length); +LLVM_FUNC_ABI const char *LLVMGetDebugLocDirectory(LLVMValueRef Val, unsigned *Length); /** * Return the filename of the debug location for this value, which must be @@ -1072,7 +1072,7 @@ const char *LLVMGetDebugLocDirectory(LLVMValueRef Val, unsigned *Length); * @see llvm::GlobalVariable::getDebugInfo() * @see llvm::Function::getSubprogram() */ -const char *LLVMGetDebugLocFilename(LLVMValueRef Val, unsigned *Length); +LLVM_FUNC_ABI const char *LLVMGetDebugLocFilename(LLVMValueRef Val, unsigned *Length); /** * Return the line number of the debug location for this value, which must be @@ -1082,7 +1082,7 @@ const char *LLVMGetDebugLocFilename(LLVMValueRef Val, unsigned *Length); * @see llvm::GlobalVariable::getDebugInfo() * @see llvm::Function::getSubprogram() */ -unsigned LLVMGetDebugLocLine(LLVMValueRef Val); +LLVM_FUNC_ABI unsigned LLVMGetDebugLocLine(LLVMValueRef Val); /** * Return the column number of the debug location for this value, which must be @@ -1090,14 +1090,14 @@ unsigned LLVMGetDebugLocLine(LLVMValueRef Val); * * @see llvm::Instruction::getDebugLoc() */ -unsigned LLVMGetDebugLocColumn(LLVMValueRef Val); +LLVM_FUNC_ABI unsigned LLVMGetDebugLocColumn(LLVMValueRef Val); /** * Add a function to a module under a specified name. * * @see llvm::Function::Create() */ -LLVMValueRef LLVMAddFunction(LLVMModuleRef M, const char *Name, +LLVM_FUNC_ABI LLVMValueRef LLVMAddFunction(LLVMModuleRef M, const char *Name, LLVMTypeRef FunctionTy); /** @@ -1107,21 +1107,21 @@ LLVMValueRef LLVMAddFunction(LLVMModuleRef M, const char *Name, * * @see llvm::Module::getFunction() */ -LLVMValueRef LLVMGetNamedFunction(LLVMModuleRef M, const char *Name); +LLVM_FUNC_ABI LLVMValueRef LLVMGetNamedFunction(LLVMModuleRef M, const char *Name); /** * Obtain an iterator to the first Function in a Module. * * @see llvm::Module::begin() */ -LLVMValueRef LLVMGetFirstFunction(LLVMModuleRef M); +LLVM_FUNC_ABI LLVMValueRef LLVMGetFirstFunction(LLVMModuleRef M); /** * Obtain an iterator to the last Function in a Module. * * @see llvm::Module::end() */ -LLVMValueRef LLVMGetLastFunction(LLVMModuleRef M); +LLVM_FUNC_ABI LLVMValueRef LLVMGetLastFunction(LLVMModuleRef M); /** * Advance a Function iterator to the next Function. @@ -1129,7 +1129,7 @@ LLVMValueRef LLVMGetLastFunction(LLVMModuleRef M); * Returns NULL if the iterator was already at the end and there are no more * functions. */ -LLVMValueRef LLVMGetNextFunction(LLVMValueRef Fn); +LLVM_FUNC_ABI LLVMValueRef LLVMGetNextFunction(LLVMValueRef Fn); /** * Decrement a Function iterator to the previous Function. @@ -1137,10 +1137,10 @@ LLVMValueRef LLVMGetNextFunction(LLVMValueRef Fn); * Returns NULL if the iterator was already at the beginning and there are * no previous functions. */ -LLVMValueRef LLVMGetPreviousFunction(LLVMValueRef Fn); +LLVM_FUNC_ABI LLVMValueRef LLVMGetPreviousFunction(LLVMValueRef Fn); /** Deprecated: Use LLVMSetModuleInlineAsm2 instead. */ -void LLVMSetModuleInlineAsm(LLVMModuleRef M, const char *Asm); +LLVM_FUNC_ABI void LLVMSetModuleInlineAsm(LLVMModuleRef M, const char *Asm); /** * @} @@ -1180,7 +1180,7 @@ void LLVMSetModuleInlineAsm(LLVMModuleRef M, const char *Asm); * * @see llvm::Type:getTypeID() */ -LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty); +LLVM_FUNC_ABI LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty); /** * Whether the type has a known size. @@ -1189,21 +1189,21 @@ LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty); * * @see llvm::Type::isSized() */ -LLVMBool LLVMTypeIsSized(LLVMTypeRef Ty); +LLVM_FUNC_ABI LLVMBool LLVMTypeIsSized(LLVMTypeRef Ty); /** * Obtain the context to which this type instance is associated. * * @see llvm::Type::getContext() */ -LLVMContextRef LLVMGetTypeContext(LLVMTypeRef Ty); +LLVM_FUNC_ABI LLVMContextRef LLVMGetTypeContext(LLVMTypeRef Ty); /** * Dump a representation of a type to stderr. * * @see llvm::Type::dump() */ -void LLVMDumpType(LLVMTypeRef Val); +LLVM_FUNC_ABI void LLVMDumpType(LLVMTypeRef Val); /** * Return a string representation of the type. Use @@ -1211,7 +1211,7 @@ void LLVMDumpType(LLVMTypeRef Val); * * @see llvm::Type::print() */ -char *LLVMPrintTypeToString(LLVMTypeRef Val); +LLVM_FUNC_ABI char *LLVMPrintTypeToString(LLVMTypeRef Val); /** * @defgroup LLVMCCoreTypeInt Integer Types @@ -1224,26 +1224,26 @@ char *LLVMPrintTypeToString(LLVMTypeRef Val); /** * Obtain an integer type from a context with specified bit width. */ -LLVMTypeRef LLVMInt1TypeInContext(LLVMContextRef C); -LLVMTypeRef LLVMInt8TypeInContext(LLVMContextRef C); -LLVMTypeRef LLVMInt16TypeInContext(LLVMContextRef C); -LLVMTypeRef LLVMInt32TypeInContext(LLVMContextRef C); -LLVMTypeRef LLVMInt64TypeInContext(LLVMContextRef C); -LLVMTypeRef LLVMInt128TypeInContext(LLVMContextRef C); -LLVMTypeRef LLVMIntTypeInContext(LLVMContextRef C, unsigned NumBits); +LLVM_FUNC_ABI LLVMTypeRef LLVMInt1TypeInContext(LLVMContextRef C); +LLVM_FUNC_ABI LLVMTypeRef LLVMInt8TypeInContext(LLVMContextRef C); +LLVM_FUNC_ABI LLVMTypeRef LLVMInt16TypeInContext(LLVMContextRef C); +LLVM_FUNC_ABI LLVMTypeRef LLVMInt32TypeInContext(LLVMContextRef C); +LLVM_FUNC_ABI LLVMTypeRef LLVMInt64TypeInContext(LLVMContextRef C); +LLVM_FUNC_ABI LLVMTypeRef LLVMInt128TypeInContext(LLVMContextRef C); +LLVM_FUNC_ABI LLVMTypeRef LLVMIntTypeInContext(LLVMContextRef C, unsigned NumBits); /** * Obtain an integer type from the global context with a specified bit * width. */ -LLVMTypeRef LLVMInt1Type(void); -LLVMTypeRef LLVMInt8Type(void); -LLVMTypeRef LLVMInt16Type(void); -LLVMTypeRef LLVMInt32Type(void); -LLVMTypeRef LLVMInt64Type(void); -LLVMTypeRef LLVMInt128Type(void); -LLVMTypeRef LLVMIntType(unsigned NumBits); -unsigned LLVMGetIntTypeWidth(LLVMTypeRef IntegerTy); +LLVM_FUNC_ABI LLVMTypeRef LLVMInt1Type(void); +LLVM_FUNC_ABI LLVMTypeRef LLVMInt8Type(void); +LLVM_FUNC_ABI LLVMTypeRef LLVMInt16Type(void); +LLVM_FUNC_ABI LLVMTypeRef LLVMInt32Type(void); +LLVM_FUNC_ABI LLVMTypeRef LLVMInt64Type(void); +LLVM_FUNC_ABI LLVMTypeRef LLVMInt128Type(void); +LLVM_FUNC_ABI LLVMTypeRef LLVMIntType(unsigned NumBits); +LLVM_FUNC_ABI unsigned LLVMGetIntTypeWidth(LLVMTypeRef IntegerTy); /** * @} @@ -1258,51 +1258,51 @@ unsigned LLVMGetIntTypeWidth(LLVMTypeRef IntegerTy); /** * Obtain a 16-bit floating point type from a context. */ -LLVMTypeRef LLVMHalfTypeInContext(LLVMContextRef C); +LLVM_FUNC_ABI LLVMTypeRef LLVMHalfTypeInContext(LLVMContextRef C); /** * Obtain a 16-bit brain floating point type from a context. */ -LLVMTypeRef LLVMBFloatTypeInContext(LLVMContextRef C); +LLVM_FUNC_ABI LLVMTypeRef LLVMBFloatTypeInContext(LLVMContextRef C); /** * Obtain a 32-bit floating point type from a context. */ -LLVMTypeRef LLVMFloatTypeInContext(LLVMContextRef C); +LLVM_FUNC_ABI LLVMTypeRef LLVMFloatTypeInContext(LLVMContextRef C); /** * Obtain a 64-bit floating point type from a context. */ -LLVMTypeRef LLVMDoubleTypeInContext(LLVMContextRef C); +LLVM_FUNC_ABI LLVMTypeRef LLVMDoubleTypeInContext(LLVMContextRef C); /** * Obtain a 80-bit floating point type (X87) from a context. */ -LLVMTypeRef LLVMX86FP80TypeInContext(LLVMContextRef C); +LLVM_FUNC_ABI LLVMTypeRef LLVMX86FP80TypeInContext(LLVMContextRef C); /** * Obtain a 128-bit floating point type (112-bit mantissa) from a * context. */ -LLVMTypeRef LLVMFP128TypeInContext(LLVMContextRef C); +LLVM_FUNC_ABI LLVMTypeRef LLVMFP128TypeInContext(LLVMContextRef C); /** * Obtain a 128-bit floating point type (two 64-bits) from a context. */ -LLVMTypeRef LLVMPPCFP128TypeInContext(LLVMContextRef C); +LLVM_FUNC_ABI LLVMTypeRef LLVMPPCFP128TypeInContext(LLVMContextRef C); /** * Obtain a floating point type from the global context. * * These map to the functions in this group of the same name. */ -LLVMTypeRef LLVMHalfType(void); -LLVMTypeRef LLVMBFloatType(void); -LLVMTypeRef LLVMFloatType(void); -LLVMTypeRef LLVMDoubleType(void); -LLVMTypeRef LLVMX86FP80Type(void); -LLVMTypeRef LLVMFP128Type(void); -LLVMTypeRef LLVMPPCFP128Type(void); +LLVM_FUNC_ABI LLVMTypeRef LLVMHalfType(void); +LLVM_FUNC_ABI LLVMTypeRef LLVMBFloatType(void); +LLVM_FUNC_ABI LLVMTypeRef LLVMFloatType(void); +LLVM_FUNC_ABI LLVMTypeRef LLVMDoubleType(void); +LLVM_FUNC_ABI LLVMTypeRef LLVMX86FP80Type(void); +LLVM_FUNC_ABI LLVMTypeRef LLVMFP128Type(void); +LLVM_FUNC_ABI LLVMTypeRef LLVMPPCFP128Type(void); /** * @} @@ -1320,24 +1320,24 @@ LLVMTypeRef LLVMPPCFP128Type(void); * The function is defined as a tuple of a return Type, a list of * parameter types, and whether the function is variadic. */ -LLVMTypeRef LLVMFunctionType(LLVMTypeRef ReturnType, +LLVM_FUNC_ABI LLVMTypeRef LLVMFunctionType(LLVMTypeRef ReturnType, LLVMTypeRef *ParamTypes, unsigned ParamCount, LLVMBool IsVarArg); /** * Returns whether a function type is variadic. */ -LLVMBool LLVMIsFunctionVarArg(LLVMTypeRef FunctionTy); +LLVM_FUNC_ABI LLVMBool LLVMIsFunctionVarArg(LLVMTypeRef FunctionTy); /** * Obtain the Type this function Type returns. */ -LLVMTypeRef LLVMGetReturnType(LLVMTypeRef FunctionTy); +LLVM_FUNC_ABI LLVMTypeRef LLVMGetReturnType(LLVMTypeRef FunctionTy); /** * Obtain the number of parameters this function accepts. */ -unsigned LLVMCountParamTypes(LLVMTypeRef FunctionTy); +LLVM_FUNC_ABI unsigned LLVMCountParamTypes(LLVMTypeRef FunctionTy); /** * Obtain the types of a function's parameters. @@ -1350,7 +1350,7 @@ unsigned LLVMCountParamTypes(LLVMTypeRef FunctionTy); * @param FunctionTy The function type to operate on. * @param Dest Memory address of an array to be filled with result. */ -void LLVMGetParamTypes(LLVMTypeRef FunctionTy, LLVMTypeRef *Dest); +LLVM_FUNC_ABI void LLVMGetParamTypes(LLVMTypeRef FunctionTy, LLVMTypeRef *Dest); /** * @} @@ -1374,7 +1374,7 @@ void LLVMGetParamTypes(LLVMTypeRef FunctionTy, LLVMTypeRef *Dest); * * @see llvm::StructType::create() */ -LLVMTypeRef LLVMStructTypeInContext(LLVMContextRef C, LLVMTypeRef *ElementTypes, +LLVM_FUNC_ABI LLVMTypeRef LLVMStructTypeInContext(LLVMContextRef C, LLVMTypeRef *ElementTypes, unsigned ElementCount, LLVMBool Packed); /** @@ -1382,7 +1382,7 @@ LLVMTypeRef LLVMStructTypeInContext(LLVMContextRef C, LLVMTypeRef *ElementTypes, * * @see llvm::StructType::create() */ -LLVMTypeRef LLVMStructType(LLVMTypeRef *ElementTypes, unsigned ElementCount, +LLVM_FUNC_ABI LLVMTypeRef LLVMStructType(LLVMTypeRef *ElementTypes, unsigned ElementCount, LLVMBool Packed); /** @@ -1390,21 +1390,21 @@ LLVMTypeRef LLVMStructType(LLVMTypeRef *ElementTypes, unsigned ElementCount, * * @see llvm::StructType::create() */ -LLVMTypeRef LLVMStructCreateNamed(LLVMContextRef C, const char *Name); +LLVM_FUNC_ABI LLVMTypeRef LLVMStructCreateNamed(LLVMContextRef C, const char *Name); /** * Obtain the name of a structure. * * @see llvm::StructType::getName() */ -const char *LLVMGetStructName(LLVMTypeRef Ty); +LLVM_FUNC_ABI const char *LLVMGetStructName(LLVMTypeRef Ty); /** * Set the contents of a structure type. * * @see llvm::StructType::setBody() */ -void LLVMStructSetBody(LLVMTypeRef StructTy, LLVMTypeRef *ElementTypes, +LLVM_FUNC_ABI void LLVMStructSetBody(LLVMTypeRef StructTy, LLVMTypeRef *ElementTypes, unsigned ElementCount, LLVMBool Packed); /** @@ -1412,7 +1412,7 @@ void LLVMStructSetBody(LLVMTypeRef StructTy, LLVMTypeRef *ElementTypes, * * @see llvm::StructType::getNumElements() */ -unsigned LLVMCountStructElementTypes(LLVMTypeRef StructTy); +LLVM_FUNC_ABI unsigned LLVMCountStructElementTypes(LLVMTypeRef StructTy); /** * Get the elements within a structure. @@ -1424,35 +1424,35 @@ unsigned LLVMCountStructElementTypes(LLVMTypeRef StructTy); * of the structure type itself, which is the lifetime of the context it * is contained in. */ -void LLVMGetStructElementTypes(LLVMTypeRef StructTy, LLVMTypeRef *Dest); +LLVM_FUNC_ABI void LLVMGetStructElementTypes(LLVMTypeRef StructTy, LLVMTypeRef *Dest); /** * Get the type of the element at a given index in the structure. * * @see llvm::StructType::getTypeAtIndex() */ -LLVMTypeRef LLVMStructGetTypeAtIndex(LLVMTypeRef StructTy, unsigned i); +LLVM_FUNC_ABI LLVMTypeRef LLVMStructGetTypeAtIndex(LLVMTypeRef StructTy, unsigned i); /** * Determine whether a structure is packed. * * @see llvm::StructType::isPacked() */ -LLVMBool LLVMIsPackedStruct(LLVMTypeRef StructTy); +LLVM_FUNC_ABI LLVMBool LLVMIsPackedStruct(LLVMTypeRef StructTy); /** * Determine whether a structure is opaque. * * @see llvm::StructType::isOpaque() */ -LLVMBool LLVMIsOpaqueStruct(LLVMTypeRef StructTy); +LLVM_FUNC_ABI LLVMBool LLVMIsOpaqueStruct(LLVMTypeRef StructTy); /** * Determine whether a structure is literal. * * @see llvm::StructType::isLiteral() */ -LLVMBool LLVMIsLiteralStruct(LLVMTypeRef StructTy); +LLVM_FUNC_ABI LLVMBool LLVMIsLiteralStruct(LLVMTypeRef StructTy); /** * @} @@ -1472,21 +1472,21 @@ LLVMBool LLVMIsLiteralStruct(LLVMTypeRef StructTy); * * @see llvm::SequentialType::getElementType() */ -LLVMTypeRef LLVMGetElementType(LLVMTypeRef Ty); +LLVM_FUNC_ABI LLVMTypeRef LLVMGetElementType(LLVMTypeRef Ty); /** * Returns type's subtypes * * @see llvm::Type::subtypes() */ -void LLVMGetSubtypes(LLVMTypeRef Tp, LLVMTypeRef *Arr); +LLVM_FUNC_ABI void LLVMGetSubtypes(LLVMTypeRef Tp, LLVMTypeRef *Arr); /** * Return the number of types in the derived type. * * @see llvm::Type::getNumContainedTypes() */ -unsigned LLVMGetNumContainedTypes(LLVMTypeRef Tp); +LLVM_FUNC_ABI unsigned LLVMGetNumContainedTypes(LLVMTypeRef Tp); /** * Create a fixed size array type that refers to a specific type. @@ -1498,7 +1498,7 @@ unsigned LLVMGetNumContainedTypes(LLVMTypeRef Tp); * LLVMArrayType2 * @see llvm::ArrayType::get() */ -LLVMTypeRef LLVMArrayType(LLVMTypeRef ElementType, unsigned ElementCount); +LLVM_FUNC_ABI LLVMTypeRef LLVMArrayType(LLVMTypeRef ElementType, unsigned ElementCount); /** * Create a fixed size array type that refers to a specific type. @@ -1508,7 +1508,7 @@ LLVMTypeRef LLVMArrayType(LLVMTypeRef ElementType, unsigned ElementCount); * * @see llvm::ArrayType::get() */ -LLVMTypeRef LLVMArrayType2(LLVMTypeRef ElementType, uint64_t ElementCount); +LLVM_FUNC_ABI LLVMTypeRef LLVMArrayType2(LLVMTypeRef ElementType, uint64_t ElementCount); /** * Obtain the length of an array type. @@ -1519,7 +1519,7 @@ LLVMTypeRef LLVMArrayType2(LLVMTypeRef ElementType, uint64_t ElementCount); * LLVMGetArrayLength2 * @see llvm::ArrayType::getNumElements() */ -unsigned LLVMGetArrayLength(LLVMTypeRef ArrayTy); +LLVM_FUNC_ABI unsigned LLVMGetArrayLength(LLVMTypeRef ArrayTy); /** * Obtain the length of an array type. @@ -1528,7 +1528,7 @@ unsigned LLVMGetArrayLength(LLVMTypeRef ArrayTy); * * @see llvm::ArrayType::getNumElements() */ -uint64_t LLVMGetArrayLength2(LLVMTypeRef ArrayTy); +LLVM_FUNC_ABI uint64_t LLVMGetArrayLength2(LLVMTypeRef ArrayTy); /** * Create a pointer type that points to a defined type. @@ -1538,7 +1538,7 @@ uint64_t LLVMGetArrayLength2(LLVMTypeRef ArrayTy); * * @see llvm::PointerType::get() */ -LLVMTypeRef LLVMPointerType(LLVMTypeRef ElementType, unsigned AddressSpace); +LLVM_FUNC_ABI LLVMTypeRef LLVMPointerType(LLVMTypeRef ElementType, unsigned AddressSpace); /** * Determine whether a pointer is opaque. @@ -1547,14 +1547,14 @@ LLVMTypeRef LLVMPointerType(LLVMTypeRef ElementType, unsigned AddressSpace); * * @see llvm::Type::isOpaquePointerTy() */ -LLVMBool LLVMPointerTypeIsOpaque(LLVMTypeRef Ty); +LLVM_FUNC_ABI LLVMBool LLVMPointerTypeIsOpaque(LLVMTypeRef Ty); /** * Create an opaque pointer type in a context. * * @see llvm::PointerType::get() */ -LLVMTypeRef LLVMPointerTypeInContext(LLVMContextRef C, unsigned AddressSpace); +LLVM_FUNC_ABI LLVMTypeRef LLVMPointerTypeInContext(LLVMContextRef C, unsigned AddressSpace); /** * Obtain the address space of a pointer type. @@ -1563,7 +1563,7 @@ LLVMTypeRef LLVMPointerTypeInContext(LLVMContextRef C, unsigned AddressSpace); * * @see llvm::PointerType::getAddressSpace() */ -unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy); +LLVM_FUNC_ABI unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy); /** * Create a vector type that contains a defined type and has a specific @@ -1574,7 +1574,7 @@ unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy); * * @see llvm::VectorType::get() */ -LLVMTypeRef LLVMVectorType(LLVMTypeRef ElementType, unsigned ElementCount); +LLVM_FUNC_ABI LLVMTypeRef LLVMVectorType(LLVMTypeRef ElementType, unsigned ElementCount); /** * Create a vector type that contains a defined type and has a scalable @@ -1585,7 +1585,7 @@ LLVMTypeRef LLVMVectorType(LLVMTypeRef ElementType, unsigned ElementCount); * * @see llvm::ScalableVectorType::get() */ -LLVMTypeRef LLVMScalableVectorType(LLVMTypeRef ElementType, +LLVM_FUNC_ABI LLVMTypeRef LLVMScalableVectorType(LLVMTypeRef ElementType, unsigned ElementCount); /** @@ -1595,7 +1595,7 @@ LLVMTypeRef LLVMScalableVectorType(LLVMTypeRef ElementType, * * @see llvm::VectorType::getNumElements() */ -unsigned LLVMGetVectorSize(LLVMTypeRef VectorTy); +LLVM_FUNC_ABI unsigned LLVMGetVectorSize(LLVMTypeRef VectorTy); /** * @} @@ -1610,46 +1610,46 @@ unsigned LLVMGetVectorSize(LLVMTypeRef VectorTy); /** * Create a void type in a context. */ -LLVMTypeRef LLVMVoidTypeInContext(LLVMContextRef C); +LLVM_FUNC_ABI LLVMTypeRef LLVMVoidTypeInContext(LLVMContextRef C); /** * Create a label type in a context. */ -LLVMTypeRef LLVMLabelTypeInContext(LLVMContextRef C); +LLVM_FUNC_ABI LLVMTypeRef LLVMLabelTypeInContext(LLVMContextRef C); /** * Create a X86 MMX type in a context. */ -LLVMTypeRef LLVMX86MMXTypeInContext(LLVMContextRef C); +LLVM_FUNC_ABI LLVMTypeRef LLVMX86MMXTypeInContext(LLVMContextRef C); /** * Create a X86 AMX type in a context. */ -LLVMTypeRef LLVMX86AMXTypeInContext(LLVMContextRef C); +LLVM_FUNC_ABI LLVMTypeRef LLVMX86AMXTypeInContext(LLVMContextRef C); /** * Create a token type in a context. */ -LLVMTypeRef LLVMTokenTypeInContext(LLVMContextRef C); +LLVM_FUNC_ABI LLVMTypeRef LLVMTokenTypeInContext(LLVMContextRef C); /** * Create a metadata type in a context. */ -LLVMTypeRef LLVMMetadataTypeInContext(LLVMContextRef C); +LLVM_FUNC_ABI LLVMTypeRef LLVMMetadataTypeInContext(LLVMContextRef C); /** * These are similar to the above functions except they operate on the * global context. */ -LLVMTypeRef LLVMVoidType(void); -LLVMTypeRef LLVMLabelType(void); -LLVMTypeRef LLVMX86MMXType(void); -LLVMTypeRef LLVMX86AMXType(void); +LLVM_FUNC_ABI LLVMTypeRef LLVMVoidType(void); +LLVM_FUNC_ABI LLVMTypeRef LLVMLabelType(void); +LLVM_FUNC_ABI LLVMTypeRef LLVMX86MMXType(void); +LLVM_FUNC_ABI LLVMTypeRef LLVMX86AMXType(void); /** * Create a target extension type in LLVM context. */ -LLVMTypeRef LLVMTargetExtTypeInContext(LLVMContextRef C, const char *Name, +LLVM_FUNC_ABI LLVMTypeRef LLVMTargetExtTypeInContext(LLVMContextRef C, const char *Name, LLVMTypeRef *TypeParams, unsigned TypeParamCount, unsigned *IntParams, @@ -1789,35 +1789,35 @@ LLVMTypeRef LLVMTargetExtTypeInContext(LLVMContextRef C, const char *Name, * * @see llvm::Value::getType() */ -LLVMTypeRef LLVMTypeOf(LLVMValueRef Val); +LLVM_FUNC_ABI LLVMTypeRef LLVMTypeOf(LLVMValueRef Val); /** * Obtain the enumerated type of a Value instance. * * @see llvm::Value::getValueID() */ -LLVMValueKind LLVMGetValueKind(LLVMValueRef Val); +LLVM_FUNC_ABI LLVMValueKind LLVMGetValueKind(LLVMValueRef Val); /** * Obtain the string name of a value. * * @see llvm::Value::getName() */ -const char *LLVMGetValueName2(LLVMValueRef Val, size_t *Length); +LLVM_FUNC_ABI const char *LLVMGetValueName2(LLVMValueRef Val, size_t *Length); /** * Set the string name of a value. * * @see llvm::Value::setName() */ -void LLVMSetValueName2(LLVMValueRef Val, const char *Name, size_t NameLen); +LLVM_FUNC_ABI void LLVMSetValueName2(LLVMValueRef Val, const char *Name, size_t NameLen); /** * Dump a representation of a value to stderr. * * @see llvm::Value::dump() */ -void LLVMDumpValue(LLVMValueRef Val); +LLVM_FUNC_ABI void LLVMDumpValue(LLVMValueRef Val); /** * Return a string representation of the value. Use @@ -1825,29 +1825,29 @@ void LLVMDumpValue(LLVMValueRef Val); * * @see llvm::Value::print() */ -char *LLVMPrintValueToString(LLVMValueRef Val); +LLVM_FUNC_ABI char *LLVMPrintValueToString(LLVMValueRef Val); /** * Replace all uses of a value with another one. * * @see llvm::Value::replaceAllUsesWith() */ -void LLVMReplaceAllUsesWith(LLVMValueRef OldVal, LLVMValueRef NewVal); +LLVM_FUNC_ABI void LLVMReplaceAllUsesWith(LLVMValueRef OldVal, LLVMValueRef NewVal); /** * Determine whether the specified value instance is constant. */ -LLVMBool LLVMIsConstant(LLVMValueRef Val); +LLVM_FUNC_ABI LLVMBool LLVMIsConstant(LLVMValueRef Val); /** * Determine whether a value instance is undefined. */ -LLVMBool LLVMIsUndef(LLVMValueRef Val); +LLVM_FUNC_ABI LLVMBool LLVMIsUndef(LLVMValueRef Val); /** * Determine whether a value instance is poisonous. */ -LLVMBool LLVMIsPoison(LLVMValueRef Val); +LLVM_FUNC_ABI LLVMBool LLVMIsPoison(LLVMValueRef Val); /** * Convert value instances between types. @@ -1862,16 +1862,16 @@ LLVMBool LLVMIsPoison(LLVMValueRef Val); */ #define LLVM_DECLARE_VALUE_CAST(name) \ LLVMValueRef LLVMIsA##name(LLVMValueRef Val); -LLVM_FOR_EACH_VALUE_SUBCLASS(LLVM_DECLARE_VALUE_CAST) +LLVM_FUNC_ABI LLVM_FOR_EACH_VALUE_SUBCLASS(LLVM_DECLARE_VALUE_CAST) -LLVMValueRef LLVMIsAMDNode(LLVMValueRef Val); -LLVMValueRef LLVMIsAValueAsMetadata(LLVMValueRef Val); -LLVMValueRef LLVMIsAMDString(LLVMValueRef Val); +LLVM_FUNC_ABI LLVMValueRef LLVMIsAMDNode(LLVMValueRef Val); +LLVM_FUNC_ABI LLVMValueRef LLVMIsAValueAsMetadata(LLVMValueRef Val); +LLVM_FUNC_ABI LLVMValueRef LLVMIsAMDString(LLVMValueRef Val); /** Deprecated: Use LLVMGetValueName2 instead. */ -const char *LLVMGetValueName(LLVMValueRef Val); +LLVM_FUNC_ABI const char *LLVMGetValueName(LLVMValueRef Val); /** Deprecated: Use LLVMSetValueName2 instead. */ -void LLVMSetValueName(LLVMValueRef Val, const char *Name); +LLVM_FUNC_ABI void LLVMSetValueName(LLVMValueRef Val, const char *Name); /** * @} @@ -1900,7 +1900,7 @@ void LLVMSetValueName(LLVMValueRef Val, const char *Name); * * @see llvm::Value::use_begin() */ -LLVMUseRef LLVMGetFirstUse(LLVMValueRef Val); +LLVM_FUNC_ABI LLVMUseRef LLVMGetFirstUse(LLVMValueRef Val); /** * Obtain the next use of a value. @@ -1908,7 +1908,7 @@ LLVMUseRef LLVMGetFirstUse(LLVMValueRef Val); * This effectively advances the iterator. It returns NULL if you are on * the final use and no more are available. */ -LLVMUseRef LLVMGetNextUse(LLVMUseRef U); +LLVM_FUNC_ABI LLVMUseRef LLVMGetNextUse(LLVMUseRef U); /** * Obtain the user value for a user. @@ -1917,14 +1917,14 @@ LLVMUseRef LLVMGetNextUse(LLVMUseRef U); * * @see llvm::Use::getUser() */ -LLVMValueRef LLVMGetUser(LLVMUseRef U); +LLVM_FUNC_ABI LLVMValueRef LLVMGetUser(LLVMUseRef U); /** * Obtain the value this use corresponds to. * * @see llvm::Use::get(). */ -LLVMValueRef LLVMGetUsedValue(LLVMUseRef U); +LLVM_FUNC_ABI LLVMValueRef LLVMGetUsedValue(LLVMUseRef U); /** * @} @@ -1945,28 +1945,28 @@ LLVMValueRef LLVMGetUsedValue(LLVMUseRef U); * * @see llvm::User::getOperand() */ -LLVMValueRef LLVMGetOperand(LLVMValueRef Val, unsigned Index); +LLVM_FUNC_ABI LLVMValueRef LLVMGetOperand(LLVMValueRef Val, unsigned Index); /** * Obtain the use of an operand at a specific index in a llvm::User value. * * @see llvm::User::getOperandUse() */ -LLVMUseRef LLVMGetOperandUse(LLVMValueRef Val, unsigned Index); +LLVM_FUNC_ABI LLVMUseRef LLVMGetOperandUse(LLVMValueRef Val, unsigned Index); /** * Set an operand at a specific index in a llvm::User value. * * @see llvm::User::setOperand() */ -void LLVMSetOperand(LLVMValueRef User, unsigned Index, LLVMValueRef Val); +LLVM_FUNC_ABI void LLVMSetOperand(LLVMValueRef User, unsigned Index, LLVMValueRef Val); /** * Obtain the number of operands in a llvm::User value. * * @see llvm::User::getNumOperands() */ -int LLVMGetNumOperands(LLVMValueRef Val); +LLVM_FUNC_ABI int LLVMGetNumOperands(LLVMValueRef Val); /** * @} @@ -1989,7 +1989,7 @@ int LLVMGetNumOperands(LLVMValueRef Val); * * @see llvm::Constant::getNullValue() */ -LLVMValueRef LLVMConstNull(LLVMTypeRef Ty); /* all zeroes */ +LLVM_FUNC_ABI LLVMValueRef LLVMConstNull(LLVMTypeRef Ty); /* all zeroes */ /** * Obtain a constant value referring to the instance of a type @@ -1999,34 +1999,34 @@ LLVMValueRef LLVMConstNull(LLVMTypeRef Ty); /* all zeroes */ * * @see llvm::Constant::getAllOnesValue() */ -LLVMValueRef LLVMConstAllOnes(LLVMTypeRef Ty); +LLVM_FUNC_ABI LLVMValueRef LLVMConstAllOnes(LLVMTypeRef Ty); /** * Obtain a constant value referring to an undefined value of a type. * * @see llvm::UndefValue::get() */ -LLVMValueRef LLVMGetUndef(LLVMTypeRef Ty); +LLVM_FUNC_ABI LLVMValueRef LLVMGetUndef(LLVMTypeRef Ty); /** * Obtain a constant value referring to a poison value of a type. * * @see llvm::PoisonValue::get() */ -LLVMValueRef LLVMGetPoison(LLVMTypeRef Ty); +LLVM_FUNC_ABI LLVMValueRef LLVMGetPoison(LLVMTypeRef Ty); /** * Determine whether a value instance is null. * * @see llvm::Constant::isNullValue() */ -LLVMBool LLVMIsNull(LLVMValueRef Val); +LLVM_FUNC_ABI LLVMBool LLVMIsNull(LLVMValueRef Val); /** * Obtain a constant that is a constant pointer pointing to NULL for a * specified type. */ -LLVMValueRef LLVMConstPointerNull(LLVMTypeRef Ty); +LLVM_FUNC_ABI LLVMValueRef LLVMConstPointerNull(LLVMTypeRef Ty); /** * @defgroup LLVMCCoreValueConstantScalar Scalar constants @@ -2055,7 +2055,7 @@ LLVMValueRef LLVMConstPointerNull(LLVMTypeRef Ty); * @param N The value the returned instance should refer to. * @param SignExtend Whether to sign extend the produced value. */ -LLVMValueRef LLVMConstInt(LLVMTypeRef IntTy, unsigned long long N, +LLVM_FUNC_ABI LLVMValueRef LLVMConstInt(LLVMTypeRef IntTy, unsigned long long N, LLVMBool SignExtend); /** @@ -2063,7 +2063,7 @@ LLVMValueRef LLVMConstInt(LLVMTypeRef IntTy, unsigned long long N, * * @see llvm::ConstantInt::get() */ -LLVMValueRef LLVMConstIntOfArbitraryPrecision(LLVMTypeRef IntTy, +LLVM_FUNC_ABI LLVMValueRef LLVMConstIntOfArbitraryPrecision(LLVMTypeRef IntTy, unsigned NumWords, const uint64_t Words[]); @@ -2076,7 +2076,7 @@ LLVMValueRef LLVMConstIntOfArbitraryPrecision(LLVMTypeRef IntTy, * * @see llvm::ConstantInt::get() */ -LLVMValueRef LLVMConstIntOfString(LLVMTypeRef IntTy, const char *Text, +LLVM_FUNC_ABI LLVMValueRef LLVMConstIntOfString(LLVMTypeRef IntTy, const char *Text, uint8_t Radix); /** @@ -2085,13 +2085,13 @@ LLVMValueRef LLVMConstIntOfString(LLVMTypeRef IntTy, const char *Text, * * @see llvm::ConstantInt::get() */ -LLVMValueRef LLVMConstIntOfStringAndSize(LLVMTypeRef IntTy, const char *Text, +LLVM_FUNC_ABI LLVMValueRef LLVMConstIntOfStringAndSize(LLVMTypeRef IntTy, const char *Text, unsigned SLen, uint8_t Radix); /** * Obtain a constant value referring to a double floating point value. */ -LLVMValueRef LLVMConstReal(LLVMTypeRef RealTy, double N); +LLVM_FUNC_ABI LLVMValueRef LLVMConstReal(LLVMTypeRef RealTy, double N); /** * Obtain a constant for a floating point value parsed from a string. @@ -2099,12 +2099,12 @@ LLVMValueRef LLVMConstReal(LLVMTypeRef RealTy, double N); * A similar API, LLVMConstRealOfStringAndSize is also available. It * should be used if the input string's length is known. */ -LLVMValueRef LLVMConstRealOfString(LLVMTypeRef RealTy, const char *Text); +LLVM_FUNC_ABI LLVMValueRef LLVMConstRealOfString(LLVMTypeRef RealTy, const char *Text); /** * Obtain a constant for a floating point value parsed from a string. */ -LLVMValueRef LLVMConstRealOfStringAndSize(LLVMTypeRef RealTy, const char *Text, +LLVM_FUNC_ABI LLVMValueRef LLVMConstRealOfStringAndSize(LLVMTypeRef RealTy, const char *Text, unsigned SLen); /** @@ -2112,14 +2112,14 @@ LLVMValueRef LLVMConstRealOfStringAndSize(LLVMTypeRef RealTy, const char *Text, * * @see llvm::ConstantInt::getZExtValue() */ -unsigned long long LLVMConstIntGetZExtValue(LLVMValueRef ConstantVal); +LLVM_FUNC_ABI unsigned long long LLVMConstIntGetZExtValue(LLVMValueRef ConstantVal); /** * Obtain the sign extended value for an integer constant value. * * @see llvm::ConstantInt::getSExtValue() */ -long long LLVMConstIntGetSExtValue(LLVMValueRef ConstantVal); +LLVM_FUNC_ABI long long LLVMConstIntGetSExtValue(LLVMValueRef ConstantVal); /** * Obtain the double value for an floating point constant value. @@ -2127,7 +2127,7 @@ long long LLVMConstIntGetSExtValue(LLVMValueRef ConstantVal); * * @see llvm::ConstantFP::getDoubleValue */ -double LLVMConstRealGetDouble(LLVMValueRef ConstantVal, LLVMBool *losesInfo); +LLVM_FUNC_ABI double LLVMConstRealGetDouble(LLVMValueRef ConstantVal, LLVMBool *losesInfo); /** * @} @@ -2146,7 +2146,7 @@ double LLVMConstRealGetDouble(LLVMValueRef ConstantVal, LLVMBool *losesInfo); * * @see llvm::ConstantDataArray::getString() */ -LLVMValueRef LLVMConstStringInContext(LLVMContextRef C, const char *Str, +LLVM_FUNC_ABI LLVMValueRef LLVMConstStringInContext(LLVMContextRef C, const char *Str, unsigned Length, LLVMBool DontNullTerminate); /** @@ -2158,7 +2158,7 @@ LLVMValueRef LLVMConstStringInContext(LLVMContextRef C, const char *Str, * @see LLVMConstStringInContext() * @see llvm::ConstantDataArray::getString() */ -LLVMValueRef LLVMConstString(const char *Str, unsigned Length, +LLVM_FUNC_ABI LLVMValueRef LLVMConstString(const char *Str, unsigned Length, LLVMBool DontNullTerminate); /** @@ -2166,21 +2166,21 @@ LLVMValueRef LLVMConstString(const char *Str, unsigned Length, * * @see ConstantDataSequential::getAsString() */ -LLVMBool LLVMIsConstantString(LLVMValueRef c); +LLVM_FUNC_ABI LLVMBool LLVMIsConstantString(LLVMValueRef c); /** * Get the given constant data sequential as a string. * * @see ConstantDataSequential::getAsString() */ -const char *LLVMGetAsString(LLVMValueRef c, size_t *Length); +LLVM_FUNC_ABI const char *LLVMGetAsString(LLVMValueRef c, size_t *Length); /** * Create an anonymous ConstantStruct with the specified values. * * @see llvm::ConstantStruct::getAnon() */ -LLVMValueRef LLVMConstStructInContext(LLVMContextRef C, +LLVM_FUNC_ABI LLVMValueRef LLVMConstStructInContext(LLVMContextRef C, LLVMValueRef *ConstantVals, unsigned Count, LLVMBool Packed); @@ -2192,7 +2192,7 @@ LLVMValueRef LLVMConstStructInContext(LLVMContextRef C, * * @see LLVMConstStructInContext() */ -LLVMValueRef LLVMConstStruct(LLVMValueRef *ConstantVals, unsigned Count, +LLVM_FUNC_ABI LLVMValueRef LLVMConstStruct(LLVMValueRef *ConstantVals, unsigned Count, LLVMBool Packed); /** @@ -2202,7 +2202,7 @@ LLVMValueRef LLVMConstStruct(LLVMValueRef *ConstantVals, unsigned Count, * LLVMConstArray2 * @see llvm::ConstantArray::get() */ -LLVMValueRef LLVMConstArray(LLVMTypeRef ElementTy, +LLVM_FUNC_ABI LLVMValueRef LLVMConstArray(LLVMTypeRef ElementTy, LLVMValueRef *ConstantVals, unsigned Length); /** @@ -2210,7 +2210,7 @@ LLVMValueRef LLVMConstArray(LLVMTypeRef ElementTy, * * @see llvm::ConstantArray::get() */ -LLVMValueRef LLVMConstArray2(LLVMTypeRef ElementTy, LLVMValueRef *ConstantVals, +LLVM_FUNC_ABI LLVMValueRef LLVMConstArray2(LLVMTypeRef ElementTy, LLVMValueRef *ConstantVals, uint64_t Length); /** @@ -2218,7 +2218,7 @@ LLVMValueRef LLVMConstArray2(LLVMTypeRef ElementTy, LLVMValueRef *ConstantVals, * * @see llvm::ConstantStruct::get() */ -LLVMValueRef LLVMConstNamedStruct(LLVMTypeRef StructTy, +LLVM_FUNC_ABI LLVMValueRef LLVMConstNamedStruct(LLVMTypeRef StructTy, LLVMValueRef *ConstantVals, unsigned Count); @@ -2230,14 +2230,14 @@ LLVMValueRef LLVMConstNamedStruct(LLVMTypeRef StructTy, * * @see llvm::Constant::getAggregateElement() */ -LLVMValueRef LLVMGetAggregateElement(LLVMValueRef C, unsigned Idx); +LLVM_FUNC_ABI LLVMValueRef LLVMGetAggregateElement(LLVMValueRef C, unsigned Idx); /** * Get an element at specified index as a constant. * * @see ConstantDataSequential::getElementAsConstant() */ -LLVM_ATTRIBUTE_C_DEPRECATED( +LLVM_FUNC_ABI LLVM_ATTRIBUTE_C_DEPRECATED( LLVMValueRef LLVMGetElementAsConstant(LLVMValueRef C, unsigned idx), "Use LLVMGetAggregateElement instead"); @@ -2246,7 +2246,7 @@ LLVM_ATTRIBUTE_C_DEPRECATED( * * @see llvm::ConstantVector::get() */ -LLVMValueRef LLVMConstVector(LLVMValueRef *ScalarConstantVals, unsigned Size); +LLVM_FUNC_ABI LLVMValueRef LLVMConstVector(LLVMValueRef *ScalarConstantVals, unsigned Size); /** * @} @@ -2261,56 +2261,56 @@ LLVMValueRef LLVMConstVector(LLVMValueRef *ScalarConstantVals, unsigned Size); * * @{ */ -LLVMOpcode LLVMGetConstOpcode(LLVMValueRef ConstantVal); -LLVMValueRef LLVMAlignOf(LLVMTypeRef Ty); -LLVMValueRef LLVMSizeOf(LLVMTypeRef Ty); -LLVMValueRef LLVMConstNeg(LLVMValueRef ConstantVal); -LLVMValueRef LLVMConstNSWNeg(LLVMValueRef ConstantVal); -LLVMValueRef LLVMConstNUWNeg(LLVMValueRef ConstantVal); -LLVMValueRef LLVMConstNot(LLVMValueRef ConstantVal); -LLVMValueRef LLVMConstAdd(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); -LLVMValueRef LLVMConstNSWAdd(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); -LLVMValueRef LLVMConstNUWAdd(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); -LLVMValueRef LLVMConstSub(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); -LLVMValueRef LLVMConstNSWSub(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); -LLVMValueRef LLVMConstNUWSub(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); -LLVMValueRef LLVMConstMul(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); -LLVMValueRef LLVMConstNSWMul(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); -LLVMValueRef LLVMConstNUWMul(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); -LLVMValueRef LLVMConstXor(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); -LLVMValueRef LLVMConstICmp(LLVMIntPredicate Predicate, +LLVM_FUNC_ABI LLVMOpcode LLVMGetConstOpcode(LLVMValueRef ConstantVal); +LLVM_FUNC_ABI LLVMValueRef LLVMAlignOf(LLVMTypeRef Ty); +LLVM_FUNC_ABI LLVMValueRef LLVMSizeOf(LLVMTypeRef Ty); +LLVM_FUNC_ABI LLVMValueRef LLVMConstNeg(LLVMValueRef ConstantVal); +LLVM_FUNC_ABI LLVMValueRef LLVMConstNSWNeg(LLVMValueRef ConstantVal); +LLVM_FUNC_ABI LLVMValueRef LLVMConstNUWNeg(LLVMValueRef ConstantVal); +LLVM_FUNC_ABI LLVMValueRef LLVMConstNot(LLVMValueRef ConstantVal); +LLVM_FUNC_ABI LLVMValueRef LLVMConstAdd(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); +LLVM_FUNC_ABI LLVMValueRef LLVMConstNSWAdd(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); +LLVM_FUNC_ABI LLVMValueRef LLVMConstNUWAdd(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); +LLVM_FUNC_ABI LLVMValueRef LLVMConstSub(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); +LLVM_FUNC_ABI LLVMValueRef LLVMConstNSWSub(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); +LLVM_FUNC_ABI LLVMValueRef LLVMConstNUWSub(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); +LLVM_FUNC_ABI LLVMValueRef LLVMConstMul(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); +LLVM_FUNC_ABI LLVMValueRef LLVMConstNSWMul(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); +LLVM_FUNC_ABI LLVMValueRef LLVMConstNUWMul(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); +LLVM_FUNC_ABI LLVMValueRef LLVMConstXor(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); +LLVM_FUNC_ABI LLVMValueRef LLVMConstICmp(LLVMIntPredicate Predicate, LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); -LLVMValueRef LLVMConstFCmp(LLVMRealPredicate Predicate, +LLVM_FUNC_ABI LLVMValueRef LLVMConstFCmp(LLVMRealPredicate Predicate, LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); -LLVMValueRef LLVMConstShl(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); -LLVMValueRef LLVMConstLShr(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); -LLVMValueRef LLVMConstAShr(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); -LLVMValueRef LLVMConstGEP2(LLVMTypeRef Ty, LLVMValueRef ConstantVal, +LLVM_FUNC_ABI LLVMValueRef LLVMConstShl(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); +LLVM_FUNC_ABI LLVMValueRef LLVMConstLShr(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); +LLVM_FUNC_ABI LLVMValueRef LLVMConstAShr(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant); +LLVM_FUNC_ABI LLVMValueRef LLVMConstGEP2(LLVMTypeRef Ty, LLVMValueRef ConstantVal, LLVMValueRef *ConstantIndices, unsigned NumIndices); -LLVMValueRef LLVMConstInBoundsGEP2(LLVMTypeRef Ty, LLVMValueRef ConstantVal, +LLVM_FUNC_ABI LLVMValueRef LLVMConstInBoundsGEP2(LLVMTypeRef Ty, LLVMValueRef ConstantVal, LLVMValueRef *ConstantIndices, unsigned NumIndices); -LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType); -LLVMValueRef LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType); -LLVMValueRef LLVMConstIntToPtr(LLVMValueRef ConstantVal, LLVMTypeRef ToType); -LLVMValueRef LLVMConstBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType); -LLVMValueRef LLVMConstAddrSpaceCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType); -LLVMValueRef LLVMConstTruncOrBitCast(LLVMValueRef ConstantVal, +LLVM_FUNC_ABI LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType); +LLVM_FUNC_ABI LLVMValueRef LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType); +LLVM_FUNC_ABI LLVMValueRef LLVMConstIntToPtr(LLVMValueRef ConstantVal, LLVMTypeRef ToType); +LLVM_FUNC_ABI LLVMValueRef LLVMConstBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType); +LLVM_FUNC_ABI LLVMValueRef LLVMConstAddrSpaceCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType); +LLVM_FUNC_ABI LLVMValueRef LLVMConstTruncOrBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType); -LLVMValueRef LLVMConstPointerCast(LLVMValueRef ConstantVal, +LLVM_FUNC_ABI LLVMValueRef LLVMConstPointerCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType); -LLVMValueRef LLVMConstExtractElement(LLVMValueRef VectorConstant, +LLVM_FUNC_ABI LLVMValueRef LLVMConstExtractElement(LLVMValueRef VectorConstant, LLVMValueRef IndexConstant); -LLVMValueRef LLVMConstInsertElement(LLVMValueRef VectorConstant, +LLVM_FUNC_ABI LLVMValueRef LLVMConstInsertElement(LLVMValueRef VectorConstant, LLVMValueRef ElementValueConstant, LLVMValueRef IndexConstant); -LLVMValueRef LLVMConstShuffleVector(LLVMValueRef VectorAConstant, +LLVM_FUNC_ABI LLVMValueRef LLVMConstShuffleVector(LLVMValueRef VectorAConstant, LLVMValueRef VectorBConstant, LLVMValueRef MaskConstant); -LLVMValueRef LLVMBlockAddress(LLVMValueRef F, LLVMBasicBlockRef BB); +LLVM_FUNC_ABI LLVMValueRef LLVMBlockAddress(LLVMValueRef F, LLVMBasicBlockRef BB); /** Deprecated: Use LLVMGetInlineAsm instead. */ -LLVMValueRef LLVMConstInlineAsm(LLVMTypeRef Ty, +LLVM_FUNC_ABI LLVMValueRef LLVMConstInlineAsm(LLVMTypeRef Ty, const char *AsmString, const char *Constraints, LLVMBool HasSideEffects, LLVMBool IsAlignStack); @@ -2329,18 +2329,18 @@ LLVMValueRef LLVMConstInlineAsm(LLVMTypeRef Ty, * @{ */ -LLVMModuleRef LLVMGetGlobalParent(LLVMValueRef Global); -LLVMBool LLVMIsDeclaration(LLVMValueRef Global); -LLVMLinkage LLVMGetLinkage(LLVMValueRef Global); -void LLVMSetLinkage(LLVMValueRef Global, LLVMLinkage Linkage); -const char *LLVMGetSection(LLVMValueRef Global); -void LLVMSetSection(LLVMValueRef Global, const char *Section); -LLVMVisibility LLVMGetVisibility(LLVMValueRef Global); -void LLVMSetVisibility(LLVMValueRef Global, LLVMVisibility Viz); -LLVMDLLStorageClass LLVMGetDLLStorageClass(LLVMValueRef Global); -void LLVMSetDLLStorageClass(LLVMValueRef Global, LLVMDLLStorageClass Class); -LLVMUnnamedAddr LLVMGetUnnamedAddress(LLVMValueRef Global); -void LLVMSetUnnamedAddress(LLVMValueRef Global, LLVMUnnamedAddr UnnamedAddr); +LLVM_FUNC_ABI LLVMModuleRef LLVMGetGlobalParent(LLVMValueRef Global); +LLVM_FUNC_ABI LLVMBool LLVMIsDeclaration(LLVMValueRef Global); +LLVM_FUNC_ABI LLVMLinkage LLVMGetLinkage(LLVMValueRef Global); +LLVM_FUNC_ABI void LLVMSetLinkage(LLVMValueRef Global, LLVMLinkage Linkage); +LLVM_FUNC_ABI const char *LLVMGetSection(LLVMValueRef Global); +LLVM_FUNC_ABI void LLVMSetSection(LLVMValueRef Global, const char *Section); +LLVM_FUNC_ABI LLVMVisibility LLVMGetVisibility(LLVMValueRef Global); +LLVM_FUNC_ABI void LLVMSetVisibility(LLVMValueRef Global, LLVMVisibility Viz); +LLVM_FUNC_ABI LLVMDLLStorageClass LLVMGetDLLStorageClass(LLVMValueRef Global); +LLVM_FUNC_ABI void LLVMSetDLLStorageClass(LLVMValueRef Global, LLVMDLLStorageClass Class); +LLVM_FUNC_ABI LLVMUnnamedAddr LLVMGetUnnamedAddress(LLVMValueRef Global); +LLVM_FUNC_ABI void LLVMSetUnnamedAddress(LLVMValueRef Global, LLVMUnnamedAddr UnnamedAddr); /** * Returns the "value type" of a global value. This differs from the formal @@ -2348,12 +2348,12 @@ void LLVMSetUnnamedAddress(LLVMValueRef Global, LLVMUnnamedAddr UnnamedAddr); * * @see llvm::GlobalValue::getValueType() */ -LLVMTypeRef LLVMGlobalGetValueType(LLVMValueRef Global); +LLVM_FUNC_ABI LLVMTypeRef LLVMGlobalGetValueType(LLVMValueRef Global); /** Deprecated: Use LLVMGetUnnamedAddress instead. */ -LLVMBool LLVMHasUnnamedAddr(LLVMValueRef Global); +LLVM_FUNC_ABI LLVMBool LLVMHasUnnamedAddr(LLVMValueRef Global); /** Deprecated: Use LLVMSetUnnamedAddress instead. */ -void LLVMSetUnnamedAddr(LLVMValueRef Global, LLVMBool HasUnnamedAddr); +LLVM_FUNC_ABI void LLVMSetUnnamedAddr(LLVMValueRef Global, LLVMBool HasUnnamedAddr); /** * @defgroup LLVMCCoreValueWithAlignment Values with alignment @@ -2371,7 +2371,7 @@ void LLVMSetUnnamedAddr(LLVMValueRef Global, LLVMBool HasUnnamedAddr); * @see llvm::AtomicCmpXchgInst::setAlignment() * @see llvm::GlobalValue::getAlignment() */ -unsigned LLVMGetAlignment(LLVMValueRef V); +LLVM_FUNC_ABI unsigned LLVMGetAlignment(LLVMValueRef V); /** * Set the preferred alignment of the value. @@ -2382,7 +2382,7 @@ unsigned LLVMGetAlignment(LLVMValueRef V); * @see llvm::AtomicCmpXchgInst::setAlignment() * @see llvm::GlobalValue::setAlignment() */ -void LLVMSetAlignment(LLVMValueRef V, unsigned Bytes); +LLVM_FUNC_ABI void LLVMSetAlignment(LLVMValueRef V, unsigned Bytes); /** * Sets a metadata attachment, erasing the existing metadata attachment if @@ -2390,7 +2390,7 @@ void LLVMSetAlignment(LLVMValueRef V, unsigned Bytes); * * @see llvm::GlobalObject::setMetadata() */ -void LLVMGlobalSetMetadata(LLVMValueRef Global, unsigned Kind, +LLVM_FUNC_ABI void LLVMGlobalSetMetadata(LLVMValueRef Global, unsigned Kind, LLVMMetadataRef MD); /** @@ -2398,14 +2398,14 @@ void LLVMGlobalSetMetadata(LLVMValueRef Global, unsigned Kind, * * @see llvm::GlobalObject::eraseMetadata() */ -void LLVMGlobalEraseMetadata(LLVMValueRef Global, unsigned Kind); +LLVM_FUNC_ABI void LLVMGlobalEraseMetadata(LLVMValueRef Global, unsigned Kind); /** * Removes all metadata attachments from this value. * * @see llvm::GlobalObject::clearMetadata() */ -void LLVMGlobalClearMetadata(LLVMValueRef Global); +LLVM_FUNC_ABI void LLVMGlobalClearMetadata(LLVMValueRef Global); /** * Retrieves an array of metadata entries representing the metadata attached to @@ -2414,25 +2414,25 @@ void LLVMGlobalClearMetadata(LLVMValueRef Global); * * @see llvm::GlobalObject::getAllMetadata() */ -LLVMValueMetadataEntry *LLVMGlobalCopyAllMetadata(LLVMValueRef Value, +LLVM_FUNC_ABI LLVMValueMetadataEntry *LLVMGlobalCopyAllMetadata(LLVMValueRef Value, size_t *NumEntries); /** * Destroys value metadata entries. */ -void LLVMDisposeValueMetadataEntries(LLVMValueMetadataEntry *Entries); +LLVM_FUNC_ABI void LLVMDisposeValueMetadataEntries(LLVMValueMetadataEntry *Entries); /** * Returns the kind of a value metadata entry at a specific index. */ -unsigned LLVMValueMetadataEntriesGetKind(LLVMValueMetadataEntry *Entries, +LLVM_FUNC_ABI unsigned LLVMValueMetadataEntriesGetKind(LLVMValueMetadataEntry *Entries, unsigned Index); /** * Returns the underlying metadata node of a value metadata entry at a * specific index. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMValueMetadataEntriesGetMetadata(LLVMValueMetadataEntry *Entries, unsigned Index); @@ -2449,26 +2449,26 @@ LLVMValueMetadataEntriesGetMetadata(LLVMValueMetadataEntry *Entries, * * @{ */ -LLVMValueRef LLVMAddGlobal(LLVMModuleRef M, LLVMTypeRef Ty, const char *Name); -LLVMValueRef LLVMAddGlobalInAddressSpace(LLVMModuleRef M, LLVMTypeRef Ty, +LLVM_FUNC_ABI LLVMValueRef LLVMAddGlobal(LLVMModuleRef M, LLVMTypeRef Ty, const char *Name); +LLVM_FUNC_ABI LLVMValueRef LLVMAddGlobalInAddressSpace(LLVMModuleRef M, LLVMTypeRef Ty, const char *Name, unsigned AddressSpace); -LLVMValueRef LLVMGetNamedGlobal(LLVMModuleRef M, const char *Name); -LLVMValueRef LLVMGetFirstGlobal(LLVMModuleRef M); -LLVMValueRef LLVMGetLastGlobal(LLVMModuleRef M); -LLVMValueRef LLVMGetNextGlobal(LLVMValueRef GlobalVar); -LLVMValueRef LLVMGetPreviousGlobal(LLVMValueRef GlobalVar); -void LLVMDeleteGlobal(LLVMValueRef GlobalVar); -LLVMValueRef LLVMGetInitializer(LLVMValueRef GlobalVar); -void LLVMSetInitializer(LLVMValueRef GlobalVar, LLVMValueRef ConstantVal); -LLVMBool LLVMIsThreadLocal(LLVMValueRef GlobalVar); -void LLVMSetThreadLocal(LLVMValueRef GlobalVar, LLVMBool IsThreadLocal); -LLVMBool LLVMIsGlobalConstant(LLVMValueRef GlobalVar); -void LLVMSetGlobalConstant(LLVMValueRef GlobalVar, LLVMBool IsConstant); -LLVMThreadLocalMode LLVMGetThreadLocalMode(LLVMValueRef GlobalVar); -void LLVMSetThreadLocalMode(LLVMValueRef GlobalVar, LLVMThreadLocalMode Mode); -LLVMBool LLVMIsExternallyInitialized(LLVMValueRef GlobalVar); -void LLVMSetExternallyInitialized(LLVMValueRef GlobalVar, LLVMBool IsExtInit); +LLVM_FUNC_ABI LLVMValueRef LLVMGetNamedGlobal(LLVMModuleRef M, const char *Name); +LLVM_FUNC_ABI LLVMValueRef LLVMGetFirstGlobal(LLVMModuleRef M); +LLVM_FUNC_ABI LLVMValueRef LLVMGetLastGlobal(LLVMModuleRef M); +LLVM_FUNC_ABI LLVMValueRef LLVMGetNextGlobal(LLVMValueRef GlobalVar); +LLVM_FUNC_ABI LLVMValueRef LLVMGetPreviousGlobal(LLVMValueRef GlobalVar); +LLVM_FUNC_ABI void LLVMDeleteGlobal(LLVMValueRef GlobalVar); +LLVM_FUNC_ABI LLVMValueRef LLVMGetInitializer(LLVMValueRef GlobalVar); +LLVM_FUNC_ABI void LLVMSetInitializer(LLVMValueRef GlobalVar, LLVMValueRef ConstantVal); +LLVM_FUNC_ABI LLVMBool LLVMIsThreadLocal(LLVMValueRef GlobalVar); +LLVM_FUNC_ABI void LLVMSetThreadLocal(LLVMValueRef GlobalVar, LLVMBool IsThreadLocal); +LLVM_FUNC_ABI LLVMBool LLVMIsGlobalConstant(LLVMValueRef GlobalVar); +LLVM_FUNC_ABI void LLVMSetGlobalConstant(LLVMValueRef GlobalVar, LLVMBool IsConstant); +LLVM_FUNC_ABI LLVMThreadLocalMode LLVMGetThreadLocalMode(LLVMValueRef GlobalVar); +LLVM_FUNC_ABI void LLVMSetThreadLocalMode(LLVMValueRef GlobalVar, LLVMThreadLocalMode Mode); +LLVM_FUNC_ABI LLVMBool LLVMIsExternallyInitialized(LLVMValueRef GlobalVar); +LLVM_FUNC_ABI void LLVMSetExternallyInitialized(LLVMValueRef GlobalVar, LLVMBool IsExtInit); /** * @} @@ -2489,7 +2489,7 @@ void LLVMSetExternallyInitialized(LLVMValueRef GlobalVar, LLVMBool IsExtInit); * * @see llvm::GlobalAlias::create() */ -LLVMValueRef LLVMAddAlias2(LLVMModuleRef M, LLVMTypeRef ValueTy, +LLVM_FUNC_ABI LLVMValueRef LLVMAddAlias2(LLVMModuleRef M, LLVMTypeRef ValueTy, unsigned AddrSpace, LLVMValueRef Aliasee, const char *Name); @@ -2500,7 +2500,7 @@ LLVMValueRef LLVMAddAlias2(LLVMModuleRef M, LLVMTypeRef ValueTy, * * @see llvm::Module::getNamedAlias() */ -LLVMValueRef LLVMGetNamedGlobalAlias(LLVMModuleRef M, +LLVM_FUNC_ABI LLVMValueRef LLVMGetNamedGlobalAlias(LLVMModuleRef M, const char *Name, size_t NameLen); /** @@ -2508,14 +2508,14 @@ LLVMValueRef LLVMGetNamedGlobalAlias(LLVMModuleRef M, * * @see llvm::Module::alias_begin() */ -LLVMValueRef LLVMGetFirstGlobalAlias(LLVMModuleRef M); +LLVM_FUNC_ABI LLVMValueRef LLVMGetFirstGlobalAlias(LLVMModuleRef M); /** * Obtain an iterator to the last GlobalAlias in a Module. * * @see llvm::Module::alias_end() */ -LLVMValueRef LLVMGetLastGlobalAlias(LLVMModuleRef M); +LLVM_FUNC_ABI LLVMValueRef LLVMGetLastGlobalAlias(LLVMModuleRef M); /** * Advance a GlobalAlias iterator to the next GlobalAlias. @@ -2523,7 +2523,7 @@ LLVMValueRef LLVMGetLastGlobalAlias(LLVMModuleRef M); * Returns NULL if the iterator was already at the end and there are no more * global aliases. */ -LLVMValueRef LLVMGetNextGlobalAlias(LLVMValueRef GA); +LLVM_FUNC_ABI LLVMValueRef LLVMGetNextGlobalAlias(LLVMValueRef GA); /** * Decrement a GlobalAlias iterator to the previous GlobalAlias. @@ -2531,17 +2531,17 @@ LLVMValueRef LLVMGetNextGlobalAlias(LLVMValueRef GA); * Returns NULL if the iterator was already at the beginning and there are * no previous global aliases. */ -LLVMValueRef LLVMGetPreviousGlobalAlias(LLVMValueRef GA); +LLVM_FUNC_ABI LLVMValueRef LLVMGetPreviousGlobalAlias(LLVMValueRef GA); /** * Retrieve the target value of an alias. */ -LLVMValueRef LLVMAliasGetAliasee(LLVMValueRef Alias); +LLVM_FUNC_ABI LLVMValueRef LLVMAliasGetAliasee(LLVMValueRef Alias); /** * Set the target value of an alias. */ -void LLVMAliasSetAliasee(LLVMValueRef Alias, LLVMValueRef Aliasee); +LLVM_FUNC_ABI void LLVMAliasSetAliasee(LLVMValueRef Alias, LLVMValueRef Aliasee); /** * @} @@ -2563,42 +2563,42 @@ void LLVMAliasSetAliasee(LLVMValueRef Alias, LLVMValueRef Aliasee); * * @see llvm::Function::eraseFromParent() */ -void LLVMDeleteFunction(LLVMValueRef Fn); +LLVM_FUNC_ABI void LLVMDeleteFunction(LLVMValueRef Fn); /** * Check whether the given function has a personality function. * * @see llvm::Function::hasPersonalityFn() */ -LLVMBool LLVMHasPersonalityFn(LLVMValueRef Fn); +LLVM_FUNC_ABI LLVMBool LLVMHasPersonalityFn(LLVMValueRef Fn); /** * Obtain the personality function attached to the function. * * @see llvm::Function::getPersonalityFn() */ -LLVMValueRef LLVMGetPersonalityFn(LLVMValueRef Fn); +LLVM_FUNC_ABI LLVMValueRef LLVMGetPersonalityFn(LLVMValueRef Fn); /** * Set the personality function attached to the function. * * @see llvm::Function::setPersonalityFn() */ -void LLVMSetPersonalityFn(LLVMValueRef Fn, LLVMValueRef PersonalityFn); +LLVM_FUNC_ABI void LLVMSetPersonalityFn(LLVMValueRef Fn, LLVMValueRef PersonalityFn); /** * Obtain the intrinsic ID number which matches the given function name. * * @see llvm::Function::lookupIntrinsicID() */ -unsigned LLVMLookupIntrinsicID(const char *Name, size_t NameLen); +LLVM_FUNC_ABI unsigned LLVMLookupIntrinsicID(const char *Name, size_t NameLen); /** * Obtain the ID number from a function instance. * * @see llvm::Function::getIntrinsicID() */ -unsigned LLVMGetIntrinsicID(LLVMValueRef Fn); +LLVM_FUNC_ABI unsigned LLVMGetIntrinsicID(LLVMValueRef Fn); /** * Create or insert the declaration of an intrinsic. For overloaded intrinsics, @@ -2606,7 +2606,7 @@ unsigned LLVMGetIntrinsicID(LLVMValueRef Fn); * * @see llvm::Intrinsic::getDeclaration() */ -LLVMValueRef LLVMGetIntrinsicDeclaration(LLVMModuleRef Mod, +LLVM_FUNC_ABI LLVMValueRef LLVMGetIntrinsicDeclaration(LLVMModuleRef Mod, unsigned ID, LLVMTypeRef *ParamTypes, size_t ParamCount); @@ -2617,7 +2617,7 @@ LLVMValueRef LLVMGetIntrinsicDeclaration(LLVMModuleRef Mod, * * @see llvm::Intrinsic::getType() */ -LLVMTypeRef LLVMIntrinsicGetType(LLVMContextRef Ctx, unsigned ID, +LLVM_FUNC_ABI LLVMTypeRef LLVMIntrinsicGetType(LLVMContextRef Ctx, unsigned ID, LLVMTypeRef *ParamTypes, size_t ParamCount); /** @@ -2625,10 +2625,10 @@ LLVMTypeRef LLVMIntrinsicGetType(LLVMContextRef Ctx, unsigned ID, * * @see llvm::Intrinsic::getName() */ -const char *LLVMIntrinsicGetName(unsigned ID, size_t *NameLength); +LLVM_FUNC_ABI const char *LLVMIntrinsicGetName(unsigned ID, size_t *NameLength); /** Deprecated: Use LLVMIntrinsicCopyOverloadedName2 instead. */ -const char *LLVMIntrinsicCopyOverloadedName(unsigned ID, +LLVM_FUNC_ABI const char *LLVMIntrinsicCopyOverloadedName(unsigned ID, LLVMTypeRef *ParamTypes, size_t ParamCount, size_t *NameLength); @@ -2644,7 +2644,7 @@ const char *LLVMIntrinsicCopyOverloadedName(unsigned ID, * * @see llvm::Intrinsic::getName() */ -const char *LLVMIntrinsicCopyOverloadedName2(LLVMModuleRef Mod, unsigned ID, +LLVM_FUNC_ABI const char *LLVMIntrinsicCopyOverloadedName2(LLVMModuleRef Mod, unsigned ID, LLVMTypeRef *ParamTypes, size_t ParamCount, size_t *NameLength); @@ -2654,7 +2654,7 @@ const char *LLVMIntrinsicCopyOverloadedName2(LLVMModuleRef Mod, unsigned ID, * * @see llvm::Intrinsic::isOverloaded() */ -LLVMBool LLVMIntrinsicIsOverloaded(unsigned ID); +LLVM_FUNC_ABI LLVMBool LLVMIntrinsicIsOverloaded(unsigned ID); /** * Obtain the calling function of a function. @@ -2663,7 +2663,7 @@ LLVMBool LLVMIntrinsicIsOverloaded(unsigned ID); * * @see llvm::Function::getCallingConv() */ -unsigned LLVMGetFunctionCallConv(LLVMValueRef Fn); +LLVM_FUNC_ABI unsigned LLVMGetFunctionCallConv(LLVMValueRef Fn); /** * Set the calling convention of a function. @@ -2673,7 +2673,7 @@ unsigned LLVMGetFunctionCallConv(LLVMValueRef Fn); * @param Fn Function to operate on * @param CC LLVMCallConv to set calling convention to */ -void LLVMSetFunctionCallConv(LLVMValueRef Fn, unsigned CC); +LLVM_FUNC_ABI void LLVMSetFunctionCallConv(LLVMValueRef Fn, unsigned CC); /** * Obtain the name of the garbage collector to use during code @@ -2681,41 +2681,41 @@ void LLVMSetFunctionCallConv(LLVMValueRef Fn, unsigned CC); * * @see llvm::Function::getGC() */ -const char *LLVMGetGC(LLVMValueRef Fn); +LLVM_FUNC_ABI const char *LLVMGetGC(LLVMValueRef Fn); /** * Define the garbage collector to use during code generation. * * @see llvm::Function::setGC() */ -void LLVMSetGC(LLVMValueRef Fn, const char *Name); +LLVM_FUNC_ABI void LLVMSetGC(LLVMValueRef Fn, const char *Name); /** * Add an attribute to a function. * * @see llvm::Function::addAttribute() */ -void LLVMAddAttributeAtIndex(LLVMValueRef F, LLVMAttributeIndex Idx, +LLVM_FUNC_ABI void LLVMAddAttributeAtIndex(LLVMValueRef F, LLVMAttributeIndex Idx, LLVMAttributeRef A); -unsigned LLVMGetAttributeCountAtIndex(LLVMValueRef F, LLVMAttributeIndex Idx); -void LLVMGetAttributesAtIndex(LLVMValueRef F, LLVMAttributeIndex Idx, +LLVM_FUNC_ABI unsigned LLVMGetAttributeCountAtIndex(LLVMValueRef F, LLVMAttributeIndex Idx); +LLVM_FUNC_ABI void LLVMGetAttributesAtIndex(LLVMValueRef F, LLVMAttributeIndex Idx, LLVMAttributeRef *Attrs); -LLVMAttributeRef LLVMGetEnumAttributeAtIndex(LLVMValueRef F, +LLVM_FUNC_ABI LLVMAttributeRef LLVMGetEnumAttributeAtIndex(LLVMValueRef F, LLVMAttributeIndex Idx, unsigned KindID); -LLVMAttributeRef LLVMGetStringAttributeAtIndex(LLVMValueRef F, +LLVM_FUNC_ABI LLVMAttributeRef LLVMGetStringAttributeAtIndex(LLVMValueRef F, LLVMAttributeIndex Idx, const char *K, unsigned KLen); -void LLVMRemoveEnumAttributeAtIndex(LLVMValueRef F, LLVMAttributeIndex Idx, +LLVM_FUNC_ABI void LLVMRemoveEnumAttributeAtIndex(LLVMValueRef F, LLVMAttributeIndex Idx, unsigned KindID); -void LLVMRemoveStringAttributeAtIndex(LLVMValueRef F, LLVMAttributeIndex Idx, +LLVM_FUNC_ABI void LLVMRemoveStringAttributeAtIndex(LLVMValueRef F, LLVMAttributeIndex Idx, const char *K, unsigned KLen); /** * Add a target-dependent attribute to a function * @see llvm::AttrBuilder::addAttribute() */ -void LLVMAddTargetDependentFunctionAttr(LLVMValueRef Fn, const char *A, +LLVM_FUNC_ABI void LLVMAddTargetDependentFunctionAttr(LLVMValueRef Fn, const char *A, const char *V); /** @@ -2734,7 +2734,7 @@ void LLVMAddTargetDependentFunctionAttr(LLVMValueRef Fn, const char *A, * * @see llvm::Function::arg_size() */ -unsigned LLVMCountParams(LLVMValueRef Fn); +LLVM_FUNC_ABI unsigned LLVMCountParams(LLVMValueRef Fn); /** * Obtain the parameters in a function. @@ -2747,7 +2747,7 @@ unsigned LLVMCountParams(LLVMValueRef Fn); * * @see llvm::Function::arg_begin() */ -void LLVMGetParams(LLVMValueRef Fn, LLVMValueRef *Params); +LLVM_FUNC_ABI void LLVMGetParams(LLVMValueRef Fn, LLVMValueRef *Params); /** * Obtain the parameter at the specified index. @@ -2756,7 +2756,7 @@ void LLVMGetParams(LLVMValueRef Fn, LLVMValueRef *Params); * * @see llvm::Function::arg_begin() */ -LLVMValueRef LLVMGetParam(LLVMValueRef Fn, unsigned Index); +LLVM_FUNC_ABI LLVMValueRef LLVMGetParam(LLVMValueRef Fn, unsigned Index); /** * Obtain the function to which this argument belongs. @@ -2767,21 +2767,21 @@ LLVMValueRef LLVMGetParam(LLVMValueRef Fn, unsigned Index); * The returned LLVMValueRef is the llvm::Function to which this * argument belongs. */ -LLVMValueRef LLVMGetParamParent(LLVMValueRef Inst); +LLVM_FUNC_ABI LLVMValueRef LLVMGetParamParent(LLVMValueRef Inst); /** * Obtain the first parameter to a function. * * @see llvm::Function::arg_begin() */ -LLVMValueRef LLVMGetFirstParam(LLVMValueRef Fn); +LLVM_FUNC_ABI LLVMValueRef LLVMGetFirstParam(LLVMValueRef Fn); /** * Obtain the last parameter to a function. * * @see llvm::Function::arg_end() */ -LLVMValueRef LLVMGetLastParam(LLVMValueRef Fn); +LLVM_FUNC_ABI LLVMValueRef LLVMGetLastParam(LLVMValueRef Fn); /** * Obtain the next parameter to a function. @@ -2790,14 +2790,14 @@ LLVMValueRef LLVMGetLastParam(LLVMValueRef Fn); * actually a wrapped iterator) and obtains the next parameter from the * underlying iterator. */ -LLVMValueRef LLVMGetNextParam(LLVMValueRef Arg); +LLVM_FUNC_ABI LLVMValueRef LLVMGetNextParam(LLVMValueRef Arg); /** * Obtain the previous parameter to a function. * * This is the opposite of LLVMGetNextParam(). */ -LLVMValueRef LLVMGetPreviousParam(LLVMValueRef Arg); +LLVM_FUNC_ABI LLVMValueRef LLVMGetPreviousParam(LLVMValueRef Arg); /** * Set the alignment for a function parameter. @@ -2805,7 +2805,7 @@ LLVMValueRef LLVMGetPreviousParam(LLVMValueRef Arg); * @see llvm::Argument::addAttr() * @see llvm::AttrBuilder::addAlignmentAttr() */ -void LLVMSetParamAlignment(LLVMValueRef Arg, unsigned Align); +LLVM_FUNC_ABI void LLVMSetParamAlignment(LLVMValueRef Arg, unsigned Align); /** * @} @@ -2827,7 +2827,7 @@ void LLVMSetParamAlignment(LLVMValueRef Arg, unsigned Align); * * @see llvm::GlobalIFunc::create() */ -LLVMValueRef LLVMAddGlobalIFunc(LLVMModuleRef M, +LLVM_FUNC_ABI LLVMValueRef LLVMAddGlobalIFunc(LLVMModuleRef M, const char *Name, size_t NameLen, LLVMTypeRef Ty, unsigned AddrSpace, LLVMValueRef Resolver); @@ -2839,7 +2839,7 @@ LLVMValueRef LLVMAddGlobalIFunc(LLVMModuleRef M, * * @see llvm::Module::getNamedIFunc() */ -LLVMValueRef LLVMGetNamedGlobalIFunc(LLVMModuleRef M, +LLVM_FUNC_ABI LLVMValueRef LLVMGetNamedGlobalIFunc(LLVMModuleRef M, const char *Name, size_t NameLen); /** @@ -2847,14 +2847,14 @@ LLVMValueRef LLVMGetNamedGlobalIFunc(LLVMModuleRef M, * * @see llvm::Module::ifunc_begin() */ -LLVMValueRef LLVMGetFirstGlobalIFunc(LLVMModuleRef M); +LLVM_FUNC_ABI LLVMValueRef LLVMGetFirstGlobalIFunc(LLVMModuleRef M); /** * Obtain an iterator to the last GlobalIFunc in a Module. * * @see llvm::Module::ifunc_end() */ -LLVMValueRef LLVMGetLastGlobalIFunc(LLVMModuleRef M); +LLVM_FUNC_ABI LLVMValueRef LLVMGetLastGlobalIFunc(LLVMModuleRef M); /** * Advance a GlobalIFunc iterator to the next GlobalIFunc. @@ -2862,7 +2862,7 @@ LLVMValueRef LLVMGetLastGlobalIFunc(LLVMModuleRef M); * Returns NULL if the iterator was already at the end and there are no more * global aliases. */ -LLVMValueRef LLVMGetNextGlobalIFunc(LLVMValueRef IFunc); +LLVM_FUNC_ABI LLVMValueRef LLVMGetNextGlobalIFunc(LLVMValueRef IFunc); /** * Decrement a GlobalIFunc iterator to the previous GlobalIFunc. @@ -2870,7 +2870,7 @@ LLVMValueRef LLVMGetNextGlobalIFunc(LLVMValueRef IFunc); * Returns NULL if the iterator was already at the beginning and there are * no previous global aliases. */ -LLVMValueRef LLVMGetPreviousGlobalIFunc(LLVMValueRef IFunc); +LLVM_FUNC_ABI LLVMValueRef LLVMGetPreviousGlobalIFunc(LLVMValueRef IFunc); /** * Retrieves the resolver function associated with this indirect function, or @@ -2878,21 +2878,21 @@ LLVMValueRef LLVMGetPreviousGlobalIFunc(LLVMValueRef IFunc); * * @see llvm::GlobalIFunc::getResolver() */ -LLVMValueRef LLVMGetGlobalIFuncResolver(LLVMValueRef IFunc); +LLVM_FUNC_ABI LLVMValueRef LLVMGetGlobalIFuncResolver(LLVMValueRef IFunc); /** * Sets the resolver function associated with this indirect function. * * @see llvm::GlobalIFunc::setResolver() */ -void LLVMSetGlobalIFuncResolver(LLVMValueRef IFunc, LLVMValueRef Resolver); +LLVM_FUNC_ABI void LLVMSetGlobalIFuncResolver(LLVMValueRef IFunc, LLVMValueRef Resolver); /** * Remove a global indirect function from its parent module and delete it. * * @see llvm::GlobalIFunc::eraseFromParent() */ -void LLVMEraseGlobalIFunc(LLVMValueRef IFunc); +LLVM_FUNC_ABI void LLVMEraseGlobalIFunc(LLVMValueRef IFunc); /** * Remove a global indirect function from its parent module. @@ -2902,7 +2902,7 @@ void LLVMEraseGlobalIFunc(LLVMValueRef IFunc); * * @see llvm::GlobalIFunc::removeFromParent() */ -void LLVMRemoveGlobalIFunc(LLVMValueRef IFunc); +LLVM_FUNC_ABI void LLVMRemoveGlobalIFunc(LLVMValueRef IFunc); /** * @} @@ -2934,7 +2934,7 @@ void LLVMRemoveGlobalIFunc(LLVMValueRef IFunc); * * @see llvm::MDString::get() */ -LLVMMetadataRef LLVMMDStringInContext2(LLVMContextRef C, const char *Str, +LLVM_FUNC_ABI LLVMMetadataRef LLVMMDStringInContext2(LLVMContextRef C, const char *Str, size_t SLen); /** @@ -2942,18 +2942,18 @@ LLVMMetadataRef LLVMMDStringInContext2(LLVMContextRef C, const char *Str, * * @see llvm::MDNode::get() */ -LLVMMetadataRef LLVMMDNodeInContext2(LLVMContextRef C, LLVMMetadataRef *MDs, +LLVM_FUNC_ABI LLVMMetadataRef LLVMMDNodeInContext2(LLVMContextRef C, LLVMMetadataRef *MDs, size_t Count); /** * Obtain a Metadata as a Value. */ -LLVMValueRef LLVMMetadataAsValue(LLVMContextRef C, LLVMMetadataRef MD); +LLVM_FUNC_ABI LLVMValueRef LLVMMetadataAsValue(LLVMContextRef C, LLVMMetadataRef MD); /** * Obtain a Value as a Metadata. */ -LLVMMetadataRef LLVMValueAsMetadata(LLVMValueRef Val); +LLVM_FUNC_ABI LLVMMetadataRef LLVMValueAsMetadata(LLVMValueRef Val); /** * Obtain the underlying string from a MDString value. @@ -2962,7 +2962,7 @@ LLVMMetadataRef LLVMValueAsMetadata(LLVMValueRef Val); * @param Length Memory address which will hold length of returned string. * @return String data in MDString. */ -const char *LLVMGetMDString(LLVMValueRef V, unsigned *Length); +LLVM_FUNC_ABI const char *LLVMGetMDString(LLVMValueRef V, unsigned *Length); /** * Obtain the number of operands from an MDNode value. @@ -2970,7 +2970,7 @@ const char *LLVMGetMDString(LLVMValueRef V, unsigned *Length); * @param V MDNode to get number of operands from. * @return Number of operands of the MDNode. */ -unsigned LLVMGetMDNodeNumOperands(LLVMValueRef V); +LLVM_FUNC_ABI unsigned LLVMGetMDNodeNumOperands(LLVMValueRef V); /** * Obtain the given MDNode's operands. @@ -2983,26 +2983,26 @@ unsigned LLVMGetMDNodeNumOperands(LLVMValueRef V); * @param V MDNode to get the operands from. * @param Dest Destination array for operands. */ -void LLVMGetMDNodeOperands(LLVMValueRef V, LLVMValueRef *Dest); +LLVM_FUNC_ABI void LLVMGetMDNodeOperands(LLVMValueRef V, LLVMValueRef *Dest); /** * Replace an operand at a specific index in a llvm::MDNode value. * * @see llvm::MDNode::replaceOperandWith() */ -void LLVMReplaceMDNodeOperandWith(LLVMValueRef V, unsigned Index, +LLVM_FUNC_ABI void LLVMReplaceMDNodeOperandWith(LLVMValueRef V, unsigned Index, LLVMMetadataRef Replacement); /** Deprecated: Use LLVMMDStringInContext2 instead. */ -LLVMValueRef LLVMMDStringInContext(LLVMContextRef C, const char *Str, +LLVM_FUNC_ABI LLVMValueRef LLVMMDStringInContext(LLVMContextRef C, const char *Str, unsigned SLen); /** Deprecated: Use LLVMMDStringInContext2 instead. */ -LLVMValueRef LLVMMDString(const char *Str, unsigned SLen); +LLVM_FUNC_ABI LLVMValueRef LLVMMDString(const char *Str, unsigned SLen); /** Deprecated: Use LLVMMDNodeInContext2 instead. */ -LLVMValueRef LLVMMDNodeInContext(LLVMContextRef C, LLVMValueRef *Vals, +LLVM_FUNC_ABI LLVMValueRef LLVMMDNodeInContext(LLVMContextRef C, LLVMValueRef *Vals, unsigned Count); /** Deprecated: Use LLVMMDNodeInContext2 instead. */ -LLVMValueRef LLVMMDNode(LLVMValueRef *Vals, unsigned Count); +LLVM_FUNC_ABI LLVMValueRef LLVMMDNode(LLVMValueRef *Vals, unsigned Count); /** * @} @@ -3028,29 +3028,29 @@ LLVMValueRef LLVMMDNode(LLVMValueRef *Vals, unsigned Count); /** * Convert a basic block instance to a value type. */ -LLVMValueRef LLVMBasicBlockAsValue(LLVMBasicBlockRef BB); +LLVM_FUNC_ABI LLVMValueRef LLVMBasicBlockAsValue(LLVMBasicBlockRef BB); /** * Determine whether an LLVMValueRef is itself a basic block. */ -LLVMBool LLVMValueIsBasicBlock(LLVMValueRef Val); +LLVM_FUNC_ABI LLVMBool LLVMValueIsBasicBlock(LLVMValueRef Val); /** * Convert an LLVMValueRef to an LLVMBasicBlockRef instance. */ -LLVMBasicBlockRef LLVMValueAsBasicBlock(LLVMValueRef Val); +LLVM_FUNC_ABI LLVMBasicBlockRef LLVMValueAsBasicBlock(LLVMValueRef Val); /** * Obtain the string name of a basic block. */ -const char *LLVMGetBasicBlockName(LLVMBasicBlockRef BB); +LLVM_FUNC_ABI const char *LLVMGetBasicBlockName(LLVMBasicBlockRef BB); /** * Obtain the function to which a basic block belongs. * * @see llvm::BasicBlock::getParent() */ -LLVMValueRef LLVMGetBasicBlockParent(LLVMBasicBlockRef BB); +LLVM_FUNC_ABI LLVMValueRef LLVMGetBasicBlockParent(LLVMBasicBlockRef BB); /** * Obtain the terminator instruction for a basic block. @@ -3062,14 +3062,14 @@ LLVMValueRef LLVMGetBasicBlockParent(LLVMBasicBlockRef BB); * * @see llvm::BasicBlock::getTerminator() */ -LLVMValueRef LLVMGetBasicBlockTerminator(LLVMBasicBlockRef BB); +LLVM_FUNC_ABI LLVMValueRef LLVMGetBasicBlockTerminator(LLVMBasicBlockRef BB); /** * Obtain the number of basic blocks in a function. * * @param Fn Function value to operate on. */ -unsigned LLVMCountBasicBlocks(LLVMValueRef Fn); +LLVM_FUNC_ABI unsigned LLVMCountBasicBlocks(LLVMValueRef Fn); /** * Obtain all of the basic blocks in a function. @@ -3079,7 +3079,7 @@ unsigned LLVMCountBasicBlocks(LLVMValueRef Fn); * LLVMCountBasicBlocks() in length. This array is populated with * LLVMBasicBlockRef instances. */ -void LLVMGetBasicBlocks(LLVMValueRef Fn, LLVMBasicBlockRef *BasicBlocks); +LLVM_FUNC_ABI void LLVMGetBasicBlocks(LLVMValueRef Fn, LLVMBasicBlockRef *BasicBlocks); /** * Obtain the first basic block in a function. @@ -3089,24 +3089,24 @@ void LLVMGetBasicBlocks(LLVMValueRef Fn, LLVMBasicBlockRef *BasicBlocks); * * @see llvm::Function::begin() */ -LLVMBasicBlockRef LLVMGetFirstBasicBlock(LLVMValueRef Fn); +LLVM_FUNC_ABI LLVMBasicBlockRef LLVMGetFirstBasicBlock(LLVMValueRef Fn); /** * Obtain the last basic block in a function. * * @see llvm::Function::end() */ -LLVMBasicBlockRef LLVMGetLastBasicBlock(LLVMValueRef Fn); +LLVM_FUNC_ABI LLVMBasicBlockRef LLVMGetLastBasicBlock(LLVMValueRef Fn); /** * Advance a basic block iterator. */ -LLVMBasicBlockRef LLVMGetNextBasicBlock(LLVMBasicBlockRef BB); +LLVM_FUNC_ABI LLVMBasicBlockRef LLVMGetNextBasicBlock(LLVMBasicBlockRef BB); /** * Go backwards in a basic block iterator. */ -LLVMBasicBlockRef LLVMGetPreviousBasicBlock(LLVMBasicBlockRef BB); +LLVM_FUNC_ABI LLVMBasicBlockRef LLVMGetPreviousBasicBlock(LLVMBasicBlockRef BB); /** * Obtain the basic block that corresponds to the entry point of a @@ -3114,7 +3114,7 @@ LLVMBasicBlockRef LLVMGetPreviousBasicBlock(LLVMBasicBlockRef BB); * * @see llvm::Function::getEntryBlock() */ -LLVMBasicBlockRef LLVMGetEntryBasicBlock(LLVMValueRef Fn); +LLVM_FUNC_ABI LLVMBasicBlockRef LLVMGetEntryBasicBlock(LLVMValueRef Fn); /** * Insert the given basic block after the insertion point of the given builder. @@ -3123,7 +3123,7 @@ LLVMBasicBlockRef LLVMGetEntryBasicBlock(LLVMValueRef Fn); * * @see llvm::Function::BasicBlockListType::insertAfter() */ -void LLVMInsertExistingBasicBlockAfterInsertBlock(LLVMBuilderRef Builder, +LLVM_FUNC_ABI void LLVMInsertExistingBasicBlockAfterInsertBlock(LLVMBuilderRef Builder, LLVMBasicBlockRef BB); /** @@ -3131,7 +3131,7 @@ void LLVMInsertExistingBasicBlockAfterInsertBlock(LLVMBuilderRef Builder, * * @see llvm::Function::BasicBlockListType::push_back() */ -void LLVMAppendExistingBasicBlock(LLVMValueRef Fn, +LLVM_FUNC_ABI void LLVMAppendExistingBasicBlock(LLVMValueRef Fn, LLVMBasicBlockRef BB); /** @@ -3139,7 +3139,7 @@ void LLVMAppendExistingBasicBlock(LLVMValueRef Fn, * * @see llvm::BasicBlock::Create() */ -LLVMBasicBlockRef LLVMCreateBasicBlockInContext(LLVMContextRef C, +LLVM_FUNC_ABI LLVMBasicBlockRef LLVMCreateBasicBlockInContext(LLVMContextRef C, const char *Name); /** @@ -3147,7 +3147,7 @@ LLVMBasicBlockRef LLVMCreateBasicBlockInContext(LLVMContextRef C, * * @see llvm::BasicBlock::Create() */ -LLVMBasicBlockRef LLVMAppendBasicBlockInContext(LLVMContextRef C, +LLVM_FUNC_ABI LLVMBasicBlockRef LLVMAppendBasicBlockInContext(LLVMContextRef C, LLVMValueRef Fn, const char *Name); @@ -3157,7 +3157,7 @@ LLVMBasicBlockRef LLVMAppendBasicBlockInContext(LLVMContextRef C, * * @see llvm::BasicBlock::Create() */ -LLVMBasicBlockRef LLVMAppendBasicBlock(LLVMValueRef Fn, const char *Name); +LLVM_FUNC_ABI LLVMBasicBlockRef LLVMAppendBasicBlock(LLVMValueRef Fn, const char *Name); /** * Insert a basic block in a function before another basic block. @@ -3167,7 +3167,7 @@ LLVMBasicBlockRef LLVMAppendBasicBlock(LLVMValueRef Fn, const char *Name); * * @see llvm::BasicBlock::Create() */ -LLVMBasicBlockRef LLVMInsertBasicBlockInContext(LLVMContextRef C, +LLVM_FUNC_ABI LLVMBasicBlockRef LLVMInsertBasicBlockInContext(LLVMContextRef C, LLVMBasicBlockRef BB, const char *Name); @@ -3176,7 +3176,7 @@ LLVMBasicBlockRef LLVMInsertBasicBlockInContext(LLVMContextRef C, * * @see llvm::BasicBlock::Create() */ -LLVMBasicBlockRef LLVMInsertBasicBlock(LLVMBasicBlockRef InsertBeforeBB, +LLVM_FUNC_ABI LLVMBasicBlockRef LLVMInsertBasicBlock(LLVMBasicBlockRef InsertBeforeBB, const char *Name); /** @@ -3187,7 +3187,7 @@ LLVMBasicBlockRef LLVMInsertBasicBlock(LLVMBasicBlockRef InsertBeforeBB, * * @see llvm::BasicBlock::eraseFromParent() */ -void LLVMDeleteBasicBlock(LLVMBasicBlockRef BB); +LLVM_FUNC_ABI void LLVMDeleteBasicBlock(LLVMBasicBlockRef BB); /** * Remove a basic block from a function. @@ -3197,21 +3197,21 @@ void LLVMDeleteBasicBlock(LLVMBasicBlockRef BB); * * @see llvm::BasicBlock::removeFromParent() */ -void LLVMRemoveBasicBlockFromParent(LLVMBasicBlockRef BB); +LLVM_FUNC_ABI void LLVMRemoveBasicBlockFromParent(LLVMBasicBlockRef BB); /** * Move a basic block to before another one. * * @see llvm::BasicBlock::moveBefore() */ -void LLVMMoveBasicBlockBefore(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos); +LLVM_FUNC_ABI void LLVMMoveBasicBlockBefore(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos); /** * Move a basic block to after another one. * * @see llvm::BasicBlock::moveAfter() */ -void LLVMMoveBasicBlockAfter(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos); +LLVM_FUNC_ABI void LLVMMoveBasicBlockAfter(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos); /** * Obtain the first instruction in a basic block. @@ -3219,14 +3219,14 @@ void LLVMMoveBasicBlockAfter(LLVMBasicBlockRef BB, LLVMBasicBlockRef MovePos); * The returned LLVMValueRef corresponds to a llvm::Instruction * instance. */ -LLVMValueRef LLVMGetFirstInstruction(LLVMBasicBlockRef BB); +LLVM_FUNC_ABI LLVMValueRef LLVMGetFirstInstruction(LLVMBasicBlockRef BB); /** * Obtain the last instruction in a basic block. * * The returned LLVMValueRef corresponds to an LLVM:Instruction. */ -LLVMValueRef LLVMGetLastInstruction(LLVMBasicBlockRef BB); +LLVM_FUNC_ABI LLVMValueRef LLVMGetLastInstruction(LLVMBasicBlockRef BB); /** * @} @@ -3252,17 +3252,17 @@ LLVMValueRef LLVMGetLastInstruction(LLVMBasicBlockRef BB); /** * Determine whether an instruction has any metadata attached. */ -int LLVMHasMetadata(LLVMValueRef Val); +LLVM_FUNC_ABI int LLVMHasMetadata(LLVMValueRef Val); /** * Return metadata associated with an instruction value. */ -LLVMValueRef LLVMGetMetadata(LLVMValueRef Val, unsigned KindID); +LLVM_FUNC_ABI LLVMValueRef LLVMGetMetadata(LLVMValueRef Val, unsigned KindID); /** * Set metadata associated with an instruction value. */ -void LLVMSetMetadata(LLVMValueRef Val, unsigned KindID, LLVMValueRef Node); +LLVM_FUNC_ABI void LLVMSetMetadata(LLVMValueRef Val, unsigned KindID, LLVMValueRef Node); /** * Returns the metadata associated with an instruction value, but filters out @@ -3270,7 +3270,7 @@ void LLVMSetMetadata(LLVMValueRef Val, unsigned KindID, LLVMValueRef Node); * * @see llvm::Instruction::getAllMetadataOtherThanDebugLoc() */ -LLVMValueMetadataEntry * +LLVM_FUNC_ABI LLVMValueMetadataEntry * LLVMInstructionGetAllMetadataOtherThanDebugLoc(LLVMValueRef Instr, size_t *NumEntries); @@ -3279,7 +3279,7 @@ LLVMInstructionGetAllMetadataOtherThanDebugLoc(LLVMValueRef Instr, * * @see llvm::Instruction::getParent() */ -LLVMBasicBlockRef LLVMGetInstructionParent(LLVMValueRef Inst); +LLVM_FUNC_ABI LLVMBasicBlockRef LLVMGetInstructionParent(LLVMValueRef Inst); /** * Obtain the instruction that occurs after the one specified. @@ -3289,7 +3289,7 @@ LLVMBasicBlockRef LLVMGetInstructionParent(LLVMValueRef Inst); * If this is the last instruction in a basic block, NULL will be * returned. */ -LLVMValueRef LLVMGetNextInstruction(LLVMValueRef Inst); +LLVM_FUNC_ABI LLVMValueRef LLVMGetNextInstruction(LLVMValueRef Inst); /** * Obtain the instruction that occurred before this one. @@ -3297,7 +3297,7 @@ LLVMValueRef LLVMGetNextInstruction(LLVMValueRef Inst); * If the instruction is the first instruction in a basic block, NULL * will be returned. */ -LLVMValueRef LLVMGetPreviousInstruction(LLVMValueRef Inst); +LLVM_FUNC_ABI LLVMValueRef LLVMGetPreviousInstruction(LLVMValueRef Inst); /** * Remove an instruction. @@ -3307,7 +3307,7 @@ LLVMValueRef LLVMGetPreviousInstruction(LLVMValueRef Inst); * * @see llvm::Instruction::removeFromParent() */ -void LLVMInstructionRemoveFromParent(LLVMValueRef Inst); +LLVM_FUNC_ABI void LLVMInstructionRemoveFromParent(LLVMValueRef Inst); /** * Remove and delete an instruction. @@ -3317,7 +3317,7 @@ void LLVMInstructionRemoveFromParent(LLVMValueRef Inst); * * @see llvm::Instruction::eraseFromParent() */ -void LLVMInstructionEraseFromParent(LLVMValueRef Inst); +LLVM_FUNC_ABI void LLVMInstructionEraseFromParent(LLVMValueRef Inst); /** * Delete an instruction. @@ -3327,14 +3327,14 @@ void LLVMInstructionEraseFromParent(LLVMValueRef Inst); * * @see llvm::Value::deleteValue() */ -void LLVMDeleteInstruction(LLVMValueRef Inst); +LLVM_FUNC_ABI void LLVMDeleteInstruction(LLVMValueRef Inst); /** * Obtain the code opcode for an individual instruction. * * @see llvm::Instruction::getOpCode() */ -LLVMOpcode LLVMGetInstructionOpcode(LLVMValueRef Inst); +LLVM_FUNC_ABI LLVMOpcode LLVMGetInstructionOpcode(LLVMValueRef Inst); /** * Obtain the predicate of an instruction. @@ -3344,7 +3344,7 @@ LLVMOpcode LLVMGetInstructionOpcode(LLVMValueRef Inst); * * @see llvm::ICmpInst::getPredicate() */ -LLVMIntPredicate LLVMGetICmpPredicate(LLVMValueRef Inst); +LLVM_FUNC_ABI LLVMIntPredicate LLVMGetICmpPredicate(LLVMValueRef Inst); /** * Obtain the float predicate of an instruction. @@ -3354,7 +3354,7 @@ LLVMIntPredicate LLVMGetICmpPredicate(LLVMValueRef Inst); * * @see llvm::FCmpInst::getPredicate() */ -LLVMRealPredicate LLVMGetFCmpPredicate(LLVMValueRef Inst); +LLVM_FUNC_ABI LLVMRealPredicate LLVMGetFCmpPredicate(LLVMValueRef Inst); /** * Create a copy of 'this' instruction that is identical in all ways @@ -3364,7 +3364,7 @@ LLVMRealPredicate LLVMGetFCmpPredicate(LLVMValueRef Inst); * * @see llvm::Instruction::clone() */ -LLVMValueRef LLVMInstructionClone(LLVMValueRef Inst); +LLVM_FUNC_ABI LLVMValueRef LLVMInstructionClone(LLVMValueRef Inst); /** * Determine whether an instruction is a terminator. This routine is named to @@ -3373,7 +3373,7 @@ LLVMValueRef LLVMInstructionClone(LLVMValueRef Inst); * * @see llvm::Instruction::isTerminator() */ -LLVMValueRef LLVMIsATerminatorInst(LLVMValueRef Inst); +LLVM_FUNC_ABI LLVMValueRef LLVMIsATerminatorInst(LLVMValueRef Inst); /** * @defgroup LLVMCCoreValueInstructionCall Call Sites and Invocations @@ -3395,7 +3395,7 @@ LLVMValueRef LLVMIsATerminatorInst(LLVMValueRef Inst); * @see llvm::InvokeInst::getNumArgOperands() * @see llvm::FuncletPadInst::getNumArgOperands() */ -unsigned LLVMGetNumArgOperands(LLVMValueRef Instr); +LLVM_FUNC_ABI unsigned LLVMGetNumArgOperands(LLVMValueRef Instr); /** * Set the calling convention for a call instruction. @@ -3406,7 +3406,7 @@ unsigned LLVMGetNumArgOperands(LLVMValueRef Instr); * @see llvm::CallInst::setCallingConv() * @see llvm::InvokeInst::setCallingConv() */ -void LLVMSetInstructionCallConv(LLVMValueRef Instr, unsigned CC); +LLVM_FUNC_ABI void LLVMSetInstructionCallConv(LLVMValueRef Instr, unsigned CC); /** * Obtain the calling convention for a call instruction. @@ -3416,25 +3416,25 @@ void LLVMSetInstructionCallConv(LLVMValueRef Instr, unsigned CC); * * @see LLVMSetInstructionCallConv() */ -unsigned LLVMGetInstructionCallConv(LLVMValueRef Instr); +LLVM_FUNC_ABI unsigned LLVMGetInstructionCallConv(LLVMValueRef Instr); -void LLVMSetInstrParamAlignment(LLVMValueRef Instr, LLVMAttributeIndex Idx, +LLVM_FUNC_ABI void LLVMSetInstrParamAlignment(LLVMValueRef Instr, LLVMAttributeIndex Idx, unsigned Align); -void LLVMAddCallSiteAttribute(LLVMValueRef C, LLVMAttributeIndex Idx, +LLVM_FUNC_ABI void LLVMAddCallSiteAttribute(LLVMValueRef C, LLVMAttributeIndex Idx, LLVMAttributeRef A); -unsigned LLVMGetCallSiteAttributeCount(LLVMValueRef C, LLVMAttributeIndex Idx); -void LLVMGetCallSiteAttributes(LLVMValueRef C, LLVMAttributeIndex Idx, +LLVM_FUNC_ABI unsigned LLVMGetCallSiteAttributeCount(LLVMValueRef C, LLVMAttributeIndex Idx); +LLVM_FUNC_ABI void LLVMGetCallSiteAttributes(LLVMValueRef C, LLVMAttributeIndex Idx, LLVMAttributeRef *Attrs); -LLVMAttributeRef LLVMGetCallSiteEnumAttribute(LLVMValueRef C, +LLVM_FUNC_ABI LLVMAttributeRef LLVMGetCallSiteEnumAttribute(LLVMValueRef C, LLVMAttributeIndex Idx, unsigned KindID); -LLVMAttributeRef LLVMGetCallSiteStringAttribute(LLVMValueRef C, +LLVM_FUNC_ABI LLVMAttributeRef LLVMGetCallSiteStringAttribute(LLVMValueRef C, LLVMAttributeIndex Idx, const char *K, unsigned KLen); -void LLVMRemoveCallSiteEnumAttribute(LLVMValueRef C, LLVMAttributeIndex Idx, +LLVM_FUNC_ABI void LLVMRemoveCallSiteEnumAttribute(LLVMValueRef C, LLVMAttributeIndex Idx, unsigned KindID); -void LLVMRemoveCallSiteStringAttribute(LLVMValueRef C, LLVMAttributeIndex Idx, +LLVM_FUNC_ABI void LLVMRemoveCallSiteStringAttribute(LLVMValueRef C, LLVMAttributeIndex Idx, const char *K, unsigned KLen); /** @@ -3442,7 +3442,7 @@ void LLVMRemoveCallSiteStringAttribute(LLVMValueRef C, LLVMAttributeIndex Idx, * * @see llvm::CallBase::getFunctionType() */ -LLVMTypeRef LLVMGetCalledFunctionType(LLVMValueRef C); +LLVM_FUNC_ABI LLVMTypeRef LLVMGetCalledFunctionType(LLVMValueRef C); /** * Obtain the pointer to the function invoked by this instruction. @@ -3453,7 +3453,7 @@ LLVMTypeRef LLVMGetCalledFunctionType(LLVMValueRef C); * @see llvm::CallInst::getCalledOperand() * @see llvm::InvokeInst::getCalledOperand() */ -LLVMValueRef LLVMGetCalledValue(LLVMValueRef Instr); +LLVM_FUNC_ABI LLVMValueRef LLVMGetCalledValue(LLVMValueRef Instr); /** * Obtain whether a call instruction is a tail call. @@ -3462,7 +3462,7 @@ LLVMValueRef LLVMGetCalledValue(LLVMValueRef Instr); * * @see llvm::CallInst::isTailCall() */ -LLVMBool LLVMIsTailCall(LLVMValueRef CallInst); +LLVM_FUNC_ABI LLVMBool LLVMIsTailCall(LLVMValueRef CallInst); /** * Set whether a call instruction is a tail call. @@ -3471,21 +3471,21 @@ LLVMBool LLVMIsTailCall(LLVMValueRef CallInst); * * @see llvm::CallInst::setTailCall() */ -void LLVMSetTailCall(LLVMValueRef CallInst, LLVMBool IsTailCall); +LLVM_FUNC_ABI void LLVMSetTailCall(LLVMValueRef CallInst, LLVMBool IsTailCall); /** * Obtain a tail call kind of the call instruction. * * @see llvm::CallInst::setTailCallKind() */ -LLVMTailCallKind LLVMGetTailCallKind(LLVMValueRef CallInst); +LLVM_FUNC_ABI LLVMTailCallKind LLVMGetTailCallKind(LLVMValueRef CallInst); /** * Set the call kind of the call instruction. * * @see llvm::CallInst::getTailCallKind() */ -void LLVMSetTailCallKind(LLVMValueRef CallInst, LLVMTailCallKind kind); +LLVM_FUNC_ABI void LLVMSetTailCallKind(LLVMValueRef CallInst, LLVMTailCallKind kind); /** * Return the normal destination basic block. @@ -3494,7 +3494,7 @@ void LLVMSetTailCallKind(LLVMValueRef CallInst, LLVMTailCallKind kind); * * @see llvm::InvokeInst::getNormalDest() */ -LLVMBasicBlockRef LLVMGetNormalDest(LLVMValueRef InvokeInst); +LLVM_FUNC_ABI LLVMBasicBlockRef LLVMGetNormalDest(LLVMValueRef InvokeInst); /** * Return the unwind destination basic block. @@ -3506,7 +3506,7 @@ LLVMBasicBlockRef LLVMGetNormalDest(LLVMValueRef InvokeInst); * @see llvm::CleanupReturnInst::getUnwindDest() * @see llvm::CatchSwitchInst::getUnwindDest() */ -LLVMBasicBlockRef LLVMGetUnwindDest(LLVMValueRef InvokeInst); +LLVM_FUNC_ABI LLVMBasicBlockRef LLVMGetUnwindDest(LLVMValueRef InvokeInst); /** * Set the normal destination basic block. @@ -3515,7 +3515,7 @@ LLVMBasicBlockRef LLVMGetUnwindDest(LLVMValueRef InvokeInst); * * @see llvm::InvokeInst::setNormalDest() */ -void LLVMSetNormalDest(LLVMValueRef InvokeInst, LLVMBasicBlockRef B); +LLVM_FUNC_ABI void LLVMSetNormalDest(LLVMValueRef InvokeInst, LLVMBasicBlockRef B); /** * Set the unwind destination basic block. @@ -3527,7 +3527,7 @@ void LLVMSetNormalDest(LLVMValueRef InvokeInst, LLVMBasicBlockRef B); * @see llvm::CleanupReturnInst::setUnwindDest() * @see llvm::CatchSwitchInst::setUnwindDest() */ -void LLVMSetUnwindDest(LLVMValueRef InvokeInst, LLVMBasicBlockRef B); +LLVM_FUNC_ABI void LLVMSetUnwindDest(LLVMValueRef InvokeInst, LLVMBasicBlockRef B); /** * @} @@ -3547,21 +3547,21 @@ void LLVMSetUnwindDest(LLVMValueRef InvokeInst, LLVMBasicBlockRef B); * * @see llvm::Instruction::getNumSuccessors */ -unsigned LLVMGetNumSuccessors(LLVMValueRef Term); +LLVM_FUNC_ABI unsigned LLVMGetNumSuccessors(LLVMValueRef Term); /** * Return the specified successor. * * @see llvm::Instruction::getSuccessor */ -LLVMBasicBlockRef LLVMGetSuccessor(LLVMValueRef Term, unsigned i); +LLVM_FUNC_ABI LLVMBasicBlockRef LLVMGetSuccessor(LLVMValueRef Term, unsigned i); /** * Update the specified successor to point at the provided block. * * @see llvm::Instruction::setSuccessor */ -void LLVMSetSuccessor(LLVMValueRef Term, unsigned i, LLVMBasicBlockRef block); +LLVM_FUNC_ABI void LLVMSetSuccessor(LLVMValueRef Term, unsigned i, LLVMBasicBlockRef block); /** * Return if a branch is conditional. @@ -3570,7 +3570,7 @@ void LLVMSetSuccessor(LLVMValueRef Term, unsigned i, LLVMBasicBlockRef block); * * @see llvm::BranchInst::isConditional */ -LLVMBool LLVMIsConditional(LLVMValueRef Branch); +LLVM_FUNC_ABI LLVMBool LLVMIsConditional(LLVMValueRef Branch); /** * Return the condition of a branch instruction. @@ -3579,7 +3579,7 @@ LLVMBool LLVMIsConditional(LLVMValueRef Branch); * * @see llvm::BranchInst::getCondition */ -LLVMValueRef LLVMGetCondition(LLVMValueRef Branch); +LLVM_FUNC_ABI LLVMValueRef LLVMGetCondition(LLVMValueRef Branch); /** * Set the condition of a branch instruction. @@ -3588,7 +3588,7 @@ LLVMValueRef LLVMGetCondition(LLVMValueRef Branch); * * @see llvm::BranchInst::setCondition */ -void LLVMSetCondition(LLVMValueRef Branch, LLVMValueRef Cond); +LLVM_FUNC_ABI void LLVMSetCondition(LLVMValueRef Branch, LLVMValueRef Cond); /** * Obtain the default destination basic block of a switch instruction. @@ -3597,7 +3597,7 @@ void LLVMSetCondition(LLVMValueRef Branch, LLVMValueRef Cond); * * @see llvm::SwitchInst::getDefaultDest() */ -LLVMBasicBlockRef LLVMGetSwitchDefaultDest(LLVMValueRef SwitchInstr); +LLVM_FUNC_ABI LLVMBasicBlockRef LLVMGetSwitchDefaultDest(LLVMValueRef SwitchInstr); /** * @} @@ -3615,7 +3615,7 @@ LLVMBasicBlockRef LLVMGetSwitchDefaultDest(LLVMValueRef SwitchInstr); /** * Obtain the type that is being allocated by the alloca instruction. */ -LLVMTypeRef LLVMGetAllocatedType(LLVMValueRef Alloca); +LLVM_FUNC_ABI LLVMTypeRef LLVMGetAllocatedType(LLVMValueRef Alloca); /** * @} @@ -3633,17 +3633,17 @@ LLVMTypeRef LLVMGetAllocatedType(LLVMValueRef Alloca); /** * Check whether the given GEP operator is inbounds. */ -LLVMBool LLVMIsInBounds(LLVMValueRef GEP); +LLVM_FUNC_ABI LLVMBool LLVMIsInBounds(LLVMValueRef GEP); /** * Set the given GEP instruction to be inbounds or not. */ -void LLVMSetIsInBounds(LLVMValueRef GEP, LLVMBool InBounds); +LLVM_FUNC_ABI void LLVMSetIsInBounds(LLVMValueRef GEP, LLVMBool InBounds); /** * Get the source element type of the given GEP operator. */ -LLVMTypeRef LLVMGetGEPSourceElementType(LLVMValueRef GEP); +LLVM_FUNC_ABI LLVMTypeRef LLVMGetGEPSourceElementType(LLVMValueRef GEP); /** * @} @@ -3661,23 +3661,23 @@ LLVMTypeRef LLVMGetGEPSourceElementType(LLVMValueRef GEP); /** * Add an incoming value to the end of a PHI list. */ -void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues, +LLVM_FUNC_ABI void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues, LLVMBasicBlockRef *IncomingBlocks, unsigned Count); /** * Obtain the number of incoming basic blocks to a PHI node. */ -unsigned LLVMCountIncoming(LLVMValueRef PhiNode); +LLVM_FUNC_ABI unsigned LLVMCountIncoming(LLVMValueRef PhiNode); /** * Obtain an incoming value to a PHI node as an LLVMValueRef. */ -LLVMValueRef LLVMGetIncomingValue(LLVMValueRef PhiNode, unsigned Index); +LLVM_FUNC_ABI LLVMValueRef LLVMGetIncomingValue(LLVMValueRef PhiNode, unsigned Index); /** * Obtain an incoming value to a PHI node as an LLVMBasicBlockRef. */ -LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index); +LLVM_FUNC_ABI LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index); /** * @} @@ -3697,12 +3697,12 @@ LLVMBasicBlockRef LLVMGetIncomingBlock(LLVMValueRef PhiNode, unsigned Index); * Obtain the number of indices. * NB: This also works on GEP operators. */ -unsigned LLVMGetNumIndices(LLVMValueRef Inst); +LLVM_FUNC_ABI unsigned LLVMGetNumIndices(LLVMValueRef Inst); /** * Obtain the indices as an array. */ -const unsigned *LLVMGetIndices(LLVMValueRef Inst); +LLVM_FUNC_ABI const unsigned *LLVMGetIndices(LLVMValueRef Inst); /** * @} @@ -3725,18 +3725,18 @@ const unsigned *LLVMGetIndices(LLVMValueRef Inst); * @{ */ -LLVMBuilderRef LLVMCreateBuilderInContext(LLVMContextRef C); -LLVMBuilderRef LLVMCreateBuilder(void); -void LLVMPositionBuilder(LLVMBuilderRef Builder, LLVMBasicBlockRef Block, +LLVM_FUNC_ABI LLVMBuilderRef LLVMCreateBuilderInContext(LLVMContextRef C); +LLVM_FUNC_ABI LLVMBuilderRef LLVMCreateBuilder(void); +LLVM_FUNC_ABI void LLVMPositionBuilder(LLVMBuilderRef Builder, LLVMBasicBlockRef Block, LLVMValueRef Instr); -void LLVMPositionBuilderBefore(LLVMBuilderRef Builder, LLVMValueRef Instr); -void LLVMPositionBuilderAtEnd(LLVMBuilderRef Builder, LLVMBasicBlockRef Block); -LLVMBasicBlockRef LLVMGetInsertBlock(LLVMBuilderRef Builder); -void LLVMClearInsertionPosition(LLVMBuilderRef Builder); -void LLVMInsertIntoBuilder(LLVMBuilderRef Builder, LLVMValueRef Instr); -void LLVMInsertIntoBuilderWithName(LLVMBuilderRef Builder, LLVMValueRef Instr, +LLVM_FUNC_ABI void LLVMPositionBuilderBefore(LLVMBuilderRef Builder, LLVMValueRef Instr); +LLVM_FUNC_ABI void LLVMPositionBuilderAtEnd(LLVMBuilderRef Builder, LLVMBasicBlockRef Block); +LLVM_FUNC_ABI LLVMBasicBlockRef LLVMGetInsertBlock(LLVMBuilderRef Builder); +LLVM_FUNC_ABI void LLVMClearInsertionPosition(LLVMBuilderRef Builder); +LLVM_FUNC_ABI void LLVMInsertIntoBuilder(LLVMBuilderRef Builder, LLVMValueRef Instr); +LLVM_FUNC_ABI void LLVMInsertIntoBuilderWithName(LLVMBuilderRef Builder, LLVMValueRef Instr, const char *Name); -void LLVMDisposeBuilder(LLVMBuilderRef Builder); +LLVM_FUNC_ABI void LLVMDisposeBuilder(LLVMBuilderRef Builder); /* Metadata */ @@ -3745,7 +3745,7 @@ void LLVMDisposeBuilder(LLVMBuilderRef Builder); * * @see llvm::IRBuilder::getCurrentDebugLocation() */ -LLVMMetadataRef LLVMGetCurrentDebugLocation2(LLVMBuilderRef Builder); +LLVM_FUNC_ABI LLVMMetadataRef LLVMGetCurrentDebugLocation2(LLVMBuilderRef Builder); /** * Set location information used by debugging information. @@ -3754,7 +3754,7 @@ LLVMMetadataRef LLVMGetCurrentDebugLocation2(LLVMBuilderRef Builder); * * @see llvm::IRBuilder::SetCurrentDebugLocation() */ -void LLVMSetCurrentDebugLocation2(LLVMBuilderRef Builder, LLVMMetadataRef Loc); +LLVM_FUNC_ABI void LLVMSetCurrentDebugLocation2(LLVMBuilderRef Builder, LLVMMetadataRef Loc); /** * Attempts to set the debug location for the given instruction using the @@ -3766,21 +3766,21 @@ void LLVMSetCurrentDebugLocation2(LLVMBuilderRef Builder, LLVMMetadataRef Loc); * * @see llvm::IRBuilder::SetInstDebugLocation() */ -void LLVMSetInstDebugLocation(LLVMBuilderRef Builder, LLVMValueRef Inst); +LLVM_FUNC_ABI void LLVMSetInstDebugLocation(LLVMBuilderRef Builder, LLVMValueRef Inst); /** * Adds the metadata registered with the given builder to the given instruction. * * @see llvm::IRBuilder::AddMetadataToInst() */ -void LLVMAddMetadataToInst(LLVMBuilderRef Builder, LLVMValueRef Inst); +LLVM_FUNC_ABI void LLVMAddMetadataToInst(LLVMBuilderRef Builder, LLVMValueRef Inst); /** * Get the dafult floating-point math metadata for a given builder. * * @see llvm::IRBuilder::getDefaultFPMathTag() */ -LLVMMetadataRef LLVMBuilderGetDefaultFPMathTag(LLVMBuilderRef Builder); +LLVM_FUNC_ABI LLVMMetadataRef LLVMBuilderGetDefaultFPMathTag(LLVMBuilderRef Builder); /** * Set the default floating-point math metadata for the given builder. @@ -3789,84 +3789,84 @@ LLVMMetadataRef LLVMBuilderGetDefaultFPMathTag(LLVMBuilderRef Builder); * * @see llvm::IRBuilder::setDefaultFPMathTag() */ -void LLVMBuilderSetDefaultFPMathTag(LLVMBuilderRef Builder, +LLVM_FUNC_ABI void LLVMBuilderSetDefaultFPMathTag(LLVMBuilderRef Builder, LLVMMetadataRef FPMathTag); /** * Deprecated: Passing the NULL location will crash. * Use LLVMGetCurrentDebugLocation2 instead. */ -void LLVMSetCurrentDebugLocation(LLVMBuilderRef Builder, LLVMValueRef L); +LLVM_FUNC_ABI void LLVMSetCurrentDebugLocation(LLVMBuilderRef Builder, LLVMValueRef L); /** * Deprecated: Returning the NULL location will crash. * Use LLVMGetCurrentDebugLocation2 instead. */ -LLVMValueRef LLVMGetCurrentDebugLocation(LLVMBuilderRef Builder); +LLVM_FUNC_ABI LLVMValueRef LLVMGetCurrentDebugLocation(LLVMBuilderRef Builder); /* Terminators */ -LLVMValueRef LLVMBuildRetVoid(LLVMBuilderRef); -LLVMValueRef LLVMBuildRet(LLVMBuilderRef, LLVMValueRef V); -LLVMValueRef LLVMBuildAggregateRet(LLVMBuilderRef, LLVMValueRef *RetVals, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildRetVoid(LLVMBuilderRef); +LLVM_FUNC_ABI LLVMValueRef LLVMBuildRet(LLVMBuilderRef, LLVMValueRef V); +LLVM_FUNC_ABI LLVMValueRef LLVMBuildAggregateRet(LLVMBuilderRef, LLVMValueRef *RetVals, unsigned N); -LLVMValueRef LLVMBuildBr(LLVMBuilderRef, LLVMBasicBlockRef Dest); -LLVMValueRef LLVMBuildCondBr(LLVMBuilderRef, LLVMValueRef If, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildBr(LLVMBuilderRef, LLVMBasicBlockRef Dest); +LLVM_FUNC_ABI LLVMValueRef LLVMBuildCondBr(LLVMBuilderRef, LLVMValueRef If, LLVMBasicBlockRef Then, LLVMBasicBlockRef Else); -LLVMValueRef LLVMBuildSwitch(LLVMBuilderRef, LLVMValueRef V, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildSwitch(LLVMBuilderRef, LLVMValueRef V, LLVMBasicBlockRef Else, unsigned NumCases); -LLVMValueRef LLVMBuildIndirectBr(LLVMBuilderRef B, LLVMValueRef Addr, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildIndirectBr(LLVMBuilderRef B, LLVMValueRef Addr, unsigned NumDests); -LLVMValueRef LLVMBuildInvoke2(LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef Fn, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildInvoke2(LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, const char *Name); -LLVMValueRef LLVMBuildUnreachable(LLVMBuilderRef); +LLVM_FUNC_ABI LLVMValueRef LLVMBuildUnreachable(LLVMBuilderRef); /* Exception Handling */ -LLVMValueRef LLVMBuildResume(LLVMBuilderRef B, LLVMValueRef Exn); -LLVMValueRef LLVMBuildLandingPad(LLVMBuilderRef B, LLVMTypeRef Ty, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildResume(LLVMBuilderRef B, LLVMValueRef Exn); +LLVM_FUNC_ABI LLVMValueRef LLVMBuildLandingPad(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef PersFn, unsigned NumClauses, const char *Name); -LLVMValueRef LLVMBuildCleanupRet(LLVMBuilderRef B, LLVMValueRef CatchPad, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildCleanupRet(LLVMBuilderRef B, LLVMValueRef CatchPad, LLVMBasicBlockRef BB); -LLVMValueRef LLVMBuildCatchRet(LLVMBuilderRef B, LLVMValueRef CatchPad, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildCatchRet(LLVMBuilderRef B, LLVMValueRef CatchPad, LLVMBasicBlockRef BB); -LLVMValueRef LLVMBuildCatchPad(LLVMBuilderRef B, LLVMValueRef ParentPad, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildCatchPad(LLVMBuilderRef B, LLVMValueRef ParentPad, LLVMValueRef *Args, unsigned NumArgs, const char *Name); -LLVMValueRef LLVMBuildCleanupPad(LLVMBuilderRef B, LLVMValueRef ParentPad, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildCleanupPad(LLVMBuilderRef B, LLVMValueRef ParentPad, LLVMValueRef *Args, unsigned NumArgs, const char *Name); -LLVMValueRef LLVMBuildCatchSwitch(LLVMBuilderRef B, LLVMValueRef ParentPad, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildCatchSwitch(LLVMBuilderRef B, LLVMValueRef ParentPad, LLVMBasicBlockRef UnwindBB, unsigned NumHandlers, const char *Name); /* Add a case to the switch instruction */ -void LLVMAddCase(LLVMValueRef Switch, LLVMValueRef OnVal, +LLVM_FUNC_ABI void LLVMAddCase(LLVMValueRef Switch, LLVMValueRef OnVal, LLVMBasicBlockRef Dest); /* Add a destination to the indirectbr instruction */ -void LLVMAddDestination(LLVMValueRef IndirectBr, LLVMBasicBlockRef Dest); +LLVM_FUNC_ABI void LLVMAddDestination(LLVMValueRef IndirectBr, LLVMBasicBlockRef Dest); /* Get the number of clauses on the landingpad instruction */ -unsigned LLVMGetNumClauses(LLVMValueRef LandingPad); +LLVM_FUNC_ABI unsigned LLVMGetNumClauses(LLVMValueRef LandingPad); /* Get the value of the clause at index Idx on the landingpad instruction */ -LLVMValueRef LLVMGetClause(LLVMValueRef LandingPad, unsigned Idx); +LLVM_FUNC_ABI LLVMValueRef LLVMGetClause(LLVMValueRef LandingPad, unsigned Idx); /* Add a catch or filter clause to the landingpad instruction */ -void LLVMAddClause(LLVMValueRef LandingPad, LLVMValueRef ClauseVal); +LLVM_FUNC_ABI void LLVMAddClause(LLVMValueRef LandingPad, LLVMValueRef ClauseVal); /* Get the 'cleanup' flag in the landingpad instruction */ -LLVMBool LLVMIsCleanup(LLVMValueRef LandingPad); +LLVM_FUNC_ABI LLVMBool LLVMIsCleanup(LLVMValueRef LandingPad); /* Set the 'cleanup' flag in the landingpad instruction */ -void LLVMSetCleanup(LLVMValueRef LandingPad, LLVMBool Val); +LLVM_FUNC_ABI void LLVMSetCleanup(LLVMValueRef LandingPad, LLVMBool Val); /* Add a destination to the catchswitch instruction */ -void LLVMAddHandler(LLVMValueRef CatchSwitch, LLVMBasicBlockRef Dest); +LLVM_FUNC_ABI void LLVMAddHandler(LLVMValueRef CatchSwitch, LLVMBasicBlockRef Dest); /* Get the number of handlers on the catchswitch instruction */ -unsigned LLVMGetNumHandlers(LLVMValueRef CatchSwitch); +LLVM_FUNC_ABI unsigned LLVMGetNumHandlers(LLVMValueRef CatchSwitch); /** * Obtain the basic blocks acting as handlers for a catchswitch instruction. @@ -3879,15 +3879,15 @@ unsigned LLVMGetNumHandlers(LLVMValueRef CatchSwitch); * @param CatchSwitch The catchswitch instruction to operate on. * @param Handlers Memory address of an array to be filled with basic blocks. */ -void LLVMGetHandlers(LLVMValueRef CatchSwitch, LLVMBasicBlockRef *Handlers); +LLVM_FUNC_ABI void LLVMGetHandlers(LLVMValueRef CatchSwitch, LLVMBasicBlockRef *Handlers); /* Funclets */ /* Get the number of funcletpad arguments. */ -LLVMValueRef LLVMGetArgOperand(LLVMValueRef Funclet, unsigned i); +LLVM_FUNC_ABI LLVMValueRef LLVMGetArgOperand(LLVMValueRef Funclet, unsigned i); /* Set a funcletpad argument at the given index. */ -void LLVMSetArgOperand(LLVMValueRef Funclet, unsigned i, LLVMValueRef value); +LLVM_FUNC_ABI void LLVMSetArgOperand(LLVMValueRef Funclet, unsigned i, LLVMValueRef value); /** * Get the parent catchswitch instruction of a catchpad instruction. @@ -3896,7 +3896,7 @@ void LLVMSetArgOperand(LLVMValueRef Funclet, unsigned i, LLVMValueRef value); * * @see llvm::CatchPadInst::getCatchSwitch() */ -LLVMValueRef LLVMGetParentCatchSwitch(LLVMValueRef CatchPad); +LLVM_FUNC_ABI LLVMValueRef LLVMGetParentCatchSwitch(LLVMValueRef CatchPad); /** * Set the parent catchswitch instruction of a catchpad instruction. @@ -3905,82 +3905,82 @@ LLVMValueRef LLVMGetParentCatchSwitch(LLVMValueRef CatchPad); * * @see llvm::CatchPadInst::setCatchSwitch() */ -void LLVMSetParentCatchSwitch(LLVMValueRef CatchPad, LLVMValueRef CatchSwitch); +LLVM_FUNC_ABI void LLVMSetParentCatchSwitch(LLVMValueRef CatchPad, LLVMValueRef CatchSwitch); /* Arithmetic */ -LLVMValueRef LLVMBuildAdd(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildAdd(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildNSWAdd(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildNSWAdd(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildNUWAdd(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildNUWAdd(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildFAdd(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildFAdd(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildSub(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildSub(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildNSWSub(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildNSWSub(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildNUWSub(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildNUWSub(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildFSub(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildFSub(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildMul(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildMul(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildNSWMul(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildNSWMul(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildNUWMul(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildNUWMul(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildFMul(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildFMul(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildUDiv(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildUDiv(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildExactUDiv(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildExactUDiv(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildSDiv(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildSDiv(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildExactSDiv(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildExactSDiv(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildFDiv(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildFDiv(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildURem(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildURem(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildSRem(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildSRem(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildFRem(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildFRem(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildShl(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildShl(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildLShr(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildLShr(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildAShr(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildAShr(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildAnd(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildAnd(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildOr(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildOr(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildXor(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildXor(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildBinOp(LLVMBuilderRef B, LLVMOpcode Op, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildBinOp(LLVMBuilderRef B, LLVMOpcode Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildNeg(LLVMBuilderRef, LLVMValueRef V, const char *Name); -LLVMValueRef LLVMBuildNSWNeg(LLVMBuilderRef B, LLVMValueRef V, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildNeg(LLVMBuilderRef, LLVMValueRef V, const char *Name); +LLVM_FUNC_ABI LLVMValueRef LLVMBuildNSWNeg(LLVMBuilderRef B, LLVMValueRef V, const char *Name); -LLVMValueRef LLVMBuildNUWNeg(LLVMBuilderRef B, LLVMValueRef V, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildNUWNeg(LLVMBuilderRef B, LLVMValueRef V, const char *Name); -LLVMValueRef LLVMBuildFNeg(LLVMBuilderRef, LLVMValueRef V, const char *Name); -LLVMValueRef LLVMBuildNot(LLVMBuilderRef, LLVMValueRef V, const char *Name); +LLVM_FUNC_ABI LLVMValueRef LLVMBuildFNeg(LLVMBuilderRef, LLVMValueRef V, const char *Name); +LLVM_FUNC_ABI LLVMValueRef LLVMBuildNot(LLVMBuilderRef, LLVMValueRef V, const char *Name); -LLVMBool LLVMGetNUW(LLVMValueRef ArithInst); -void LLVMSetNUW(LLVMValueRef ArithInst, LLVMBool HasNUW); -LLVMBool LLVMGetNSW(LLVMValueRef ArithInst); -void LLVMSetNSW(LLVMValueRef ArithInst, LLVMBool HasNSW); -LLVMBool LLVMGetExact(LLVMValueRef DivOrShrInst); -void LLVMSetExact(LLVMValueRef DivOrShrInst, LLVMBool IsExact); +LLVM_FUNC_ABI LLVMBool LLVMGetNUW(LLVMValueRef ArithInst); +LLVM_FUNC_ABI void LLVMSetNUW(LLVMValueRef ArithInst, LLVMBool HasNUW); +LLVM_FUNC_ABI LLVMBool LLVMGetNSW(LLVMValueRef ArithInst); +LLVM_FUNC_ABI void LLVMSetNSW(LLVMValueRef ArithInst, LLVMBool HasNSW); +LLVM_FUNC_ABI LLVMBool LLVMGetExact(LLVMValueRef DivOrShrInst); +LLVM_FUNC_ABI void LLVMSetExact(LLVMValueRef DivOrShrInst, LLVMBool IsExact); /* Memory */ -LLVMValueRef LLVMBuildMalloc(LLVMBuilderRef, LLVMTypeRef Ty, const char *Name); -LLVMValueRef LLVMBuildArrayMalloc(LLVMBuilderRef, LLVMTypeRef Ty, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildMalloc(LLVMBuilderRef, LLVMTypeRef Ty, const char *Name); +LLVM_FUNC_ABI LLVMValueRef LLVMBuildArrayMalloc(LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef Val, const char *Name); /** @@ -3989,7 +3989,7 @@ LLVMValueRef LLVMBuildArrayMalloc(LLVMBuilderRef, LLVMTypeRef Ty, * * @see llvm::IRRBuilder::CreateMemSet() */ -LLVMValueRef LLVMBuildMemSet(LLVMBuilderRef B, LLVMValueRef Ptr, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildMemSet(LLVMBuilderRef B, LLVMValueRef Ptr, LLVMValueRef Val, LLVMValueRef Len, unsigned Align); /** @@ -3997,7 +3997,7 @@ LLVMValueRef LLVMBuildMemSet(LLVMBuilderRef B, LLVMValueRef Ptr, * * @see llvm::IRRBuilder::CreateMemCpy() */ -LLVMValueRef LLVMBuildMemCpy(LLVMBuilderRef B, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildMemCpy(LLVMBuilderRef B, LLVMValueRef Dst, unsigned DstAlign, LLVMValueRef Src, unsigned SrcAlign, LLVMValueRef Size); @@ -4006,138 +4006,138 @@ LLVMValueRef LLVMBuildMemCpy(LLVMBuilderRef B, * * @see llvm::IRRBuilder::CreateMemMove() */ -LLVMValueRef LLVMBuildMemMove(LLVMBuilderRef B, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildMemMove(LLVMBuilderRef B, LLVMValueRef Dst, unsigned DstAlign, LLVMValueRef Src, unsigned SrcAlign, LLVMValueRef Size); -LLVMValueRef LLVMBuildAlloca(LLVMBuilderRef, LLVMTypeRef Ty, const char *Name); -LLVMValueRef LLVMBuildArrayAlloca(LLVMBuilderRef, LLVMTypeRef Ty, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildAlloca(LLVMBuilderRef, LLVMTypeRef Ty, const char *Name); +LLVM_FUNC_ABI LLVMValueRef LLVMBuildArrayAlloca(LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef Val, const char *Name); -LLVMValueRef LLVMBuildFree(LLVMBuilderRef, LLVMValueRef PointerVal); -LLVMValueRef LLVMBuildLoad2(LLVMBuilderRef, LLVMTypeRef Ty, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildFree(LLVMBuilderRef, LLVMValueRef PointerVal); +LLVM_FUNC_ABI LLVMValueRef LLVMBuildLoad2(LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef PointerVal, const char *Name); -LLVMValueRef LLVMBuildStore(LLVMBuilderRef, LLVMValueRef Val, LLVMValueRef Ptr); -LLVMValueRef LLVMBuildGEP2(LLVMBuilderRef B, LLVMTypeRef Ty, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildStore(LLVMBuilderRef, LLVMValueRef Val, LLVMValueRef Ptr); +LLVM_FUNC_ABI LLVMValueRef LLVMBuildGEP2(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name); -LLVMValueRef LLVMBuildInBoundsGEP2(LLVMBuilderRef B, LLVMTypeRef Ty, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildInBoundsGEP2(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name); -LLVMValueRef LLVMBuildStructGEP2(LLVMBuilderRef B, LLVMTypeRef Ty, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildStructGEP2(LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, unsigned Idx, const char *Name); -LLVMValueRef LLVMBuildGlobalString(LLVMBuilderRef B, const char *Str, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildGlobalString(LLVMBuilderRef B, const char *Str, const char *Name); -LLVMValueRef LLVMBuildGlobalStringPtr(LLVMBuilderRef B, const char *Str, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildGlobalStringPtr(LLVMBuilderRef B, const char *Str, const char *Name); -LLVMBool LLVMGetVolatile(LLVMValueRef MemoryAccessInst); -void LLVMSetVolatile(LLVMValueRef MemoryAccessInst, LLVMBool IsVolatile); -LLVMBool LLVMGetWeak(LLVMValueRef CmpXchgInst); -void LLVMSetWeak(LLVMValueRef CmpXchgInst, LLVMBool IsWeak); -LLVMAtomicOrdering LLVMGetOrdering(LLVMValueRef MemoryAccessInst); -void LLVMSetOrdering(LLVMValueRef MemoryAccessInst, LLVMAtomicOrdering Ordering); -LLVMAtomicRMWBinOp LLVMGetAtomicRMWBinOp(LLVMValueRef AtomicRMWInst); -void LLVMSetAtomicRMWBinOp(LLVMValueRef AtomicRMWInst, LLVMAtomicRMWBinOp BinOp); +LLVM_FUNC_ABI LLVMBool LLVMGetVolatile(LLVMValueRef MemoryAccessInst); +LLVM_FUNC_ABI void LLVMSetVolatile(LLVMValueRef MemoryAccessInst, LLVMBool IsVolatile); +LLVM_FUNC_ABI LLVMBool LLVMGetWeak(LLVMValueRef CmpXchgInst); +LLVM_FUNC_ABI void LLVMSetWeak(LLVMValueRef CmpXchgInst, LLVMBool IsWeak); +LLVM_FUNC_ABI LLVMAtomicOrdering LLVMGetOrdering(LLVMValueRef MemoryAccessInst); +LLVM_FUNC_ABI void LLVMSetOrdering(LLVMValueRef MemoryAccessInst, LLVMAtomicOrdering Ordering); +LLVM_FUNC_ABI LLVMAtomicRMWBinOp LLVMGetAtomicRMWBinOp(LLVMValueRef AtomicRMWInst); +LLVM_FUNC_ABI void LLVMSetAtomicRMWBinOp(LLVMValueRef AtomicRMWInst, LLVMAtomicRMWBinOp BinOp); /* Casts */ -LLVMValueRef LLVMBuildTrunc(LLVMBuilderRef, LLVMValueRef Val, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildTrunc(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name); -LLVMValueRef LLVMBuildZExt(LLVMBuilderRef, LLVMValueRef Val, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildZExt(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name); -LLVMValueRef LLVMBuildSExt(LLVMBuilderRef, LLVMValueRef Val, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildSExt(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name); -LLVMValueRef LLVMBuildFPToUI(LLVMBuilderRef, LLVMValueRef Val, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildFPToUI(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name); -LLVMValueRef LLVMBuildFPToSI(LLVMBuilderRef, LLVMValueRef Val, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildFPToSI(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name); -LLVMValueRef LLVMBuildUIToFP(LLVMBuilderRef, LLVMValueRef Val, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildUIToFP(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name); -LLVMValueRef LLVMBuildSIToFP(LLVMBuilderRef, LLVMValueRef Val, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildSIToFP(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name); -LLVMValueRef LLVMBuildFPTrunc(LLVMBuilderRef, LLVMValueRef Val, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildFPTrunc(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name); -LLVMValueRef LLVMBuildFPExt(LLVMBuilderRef, LLVMValueRef Val, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildFPExt(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name); -LLVMValueRef LLVMBuildPtrToInt(LLVMBuilderRef, LLVMValueRef Val, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildPtrToInt(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name); -LLVMValueRef LLVMBuildIntToPtr(LLVMBuilderRef, LLVMValueRef Val, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildIntToPtr(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name); -LLVMValueRef LLVMBuildBitCast(LLVMBuilderRef, LLVMValueRef Val, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildBitCast(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name); -LLVMValueRef LLVMBuildAddrSpaceCast(LLVMBuilderRef, LLVMValueRef Val, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildAddrSpaceCast(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name); -LLVMValueRef LLVMBuildZExtOrBitCast(LLVMBuilderRef, LLVMValueRef Val, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildZExtOrBitCast(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name); -LLVMValueRef LLVMBuildSExtOrBitCast(LLVMBuilderRef, LLVMValueRef Val, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildSExtOrBitCast(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name); -LLVMValueRef LLVMBuildTruncOrBitCast(LLVMBuilderRef, LLVMValueRef Val, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildTruncOrBitCast(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name); -LLVMValueRef LLVMBuildCast(LLVMBuilderRef B, LLVMOpcode Op, LLVMValueRef Val, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildCast(LLVMBuilderRef B, LLVMOpcode Op, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name); -LLVMValueRef LLVMBuildPointerCast(LLVMBuilderRef, LLVMValueRef Val, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildPointerCast(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name); -LLVMValueRef LLVMBuildIntCast2(LLVMBuilderRef, LLVMValueRef Val, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildIntCast2(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, LLVMBool IsSigned, const char *Name); -LLVMValueRef LLVMBuildFPCast(LLVMBuilderRef, LLVMValueRef Val, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildFPCast(LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name); /** Deprecated: This cast is always signed. Use LLVMBuildIntCast2 instead. */ -LLVMValueRef LLVMBuildIntCast(LLVMBuilderRef, LLVMValueRef Val, /*Signed cast!*/ +LLVM_FUNC_ABI LLVMValueRef LLVMBuildIntCast(LLVMBuilderRef, LLVMValueRef Val, /*Signed cast!*/ LLVMTypeRef DestTy, const char *Name); -LLVMOpcode LLVMGetCastOpcode(LLVMValueRef Src, LLVMBool SrcIsSigned, +LLVM_FUNC_ABI LLVMOpcode LLVMGetCastOpcode(LLVMValueRef Src, LLVMBool SrcIsSigned, LLVMTypeRef DestTy, LLVMBool DestIsSigned); /* Comparisons */ -LLVMValueRef LLVMBuildICmp(LLVMBuilderRef, LLVMIntPredicate Op, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildICmp(LLVMBuilderRef, LLVMIntPredicate Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildFCmp(LLVMBuilderRef, LLVMRealPredicate Op, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildFCmp(LLVMBuilderRef, LLVMRealPredicate Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); /* Miscellaneous instructions */ -LLVMValueRef LLVMBuildPhi(LLVMBuilderRef, LLVMTypeRef Ty, const char *Name); -LLVMValueRef LLVMBuildCall2(LLVMBuilderRef, LLVMTypeRef, LLVMValueRef Fn, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildPhi(LLVMBuilderRef, LLVMTypeRef Ty, const char *Name); +LLVM_FUNC_ABI LLVMValueRef LLVMBuildCall2(LLVMBuilderRef, LLVMTypeRef, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, const char *Name); -LLVMValueRef LLVMBuildSelect(LLVMBuilderRef, LLVMValueRef If, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildSelect(LLVMBuilderRef, LLVMValueRef If, LLVMValueRef Then, LLVMValueRef Else, const char *Name); -LLVMValueRef LLVMBuildVAArg(LLVMBuilderRef, LLVMValueRef List, LLVMTypeRef Ty, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildVAArg(LLVMBuilderRef, LLVMValueRef List, LLVMTypeRef Ty, const char *Name); -LLVMValueRef LLVMBuildExtractElement(LLVMBuilderRef, LLVMValueRef VecVal, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildExtractElement(LLVMBuilderRef, LLVMValueRef VecVal, LLVMValueRef Index, const char *Name); -LLVMValueRef LLVMBuildInsertElement(LLVMBuilderRef, LLVMValueRef VecVal, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildInsertElement(LLVMBuilderRef, LLVMValueRef VecVal, LLVMValueRef EltVal, LLVMValueRef Index, const char *Name); -LLVMValueRef LLVMBuildShuffleVector(LLVMBuilderRef, LLVMValueRef V1, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildShuffleVector(LLVMBuilderRef, LLVMValueRef V1, LLVMValueRef V2, LLVMValueRef Mask, const char *Name); -LLVMValueRef LLVMBuildExtractValue(LLVMBuilderRef, LLVMValueRef AggVal, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildExtractValue(LLVMBuilderRef, LLVMValueRef AggVal, unsigned Index, const char *Name); -LLVMValueRef LLVMBuildInsertValue(LLVMBuilderRef, LLVMValueRef AggVal, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildInsertValue(LLVMBuilderRef, LLVMValueRef AggVal, LLVMValueRef EltVal, unsigned Index, const char *Name); -LLVMValueRef LLVMBuildFreeze(LLVMBuilderRef, LLVMValueRef Val, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildFreeze(LLVMBuilderRef, LLVMValueRef Val, const char *Name); -LLVMValueRef LLVMBuildIsNull(LLVMBuilderRef, LLVMValueRef Val, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildIsNull(LLVMBuilderRef, LLVMValueRef Val, const char *Name); -LLVMValueRef LLVMBuildIsNotNull(LLVMBuilderRef, LLVMValueRef Val, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildIsNotNull(LLVMBuilderRef, LLVMValueRef Val, const char *Name); -LLVMValueRef LLVMBuildPtrDiff2(LLVMBuilderRef, LLVMTypeRef ElemTy, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildPtrDiff2(LLVMBuilderRef, LLVMTypeRef ElemTy, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name); -LLVMValueRef LLVMBuildFence(LLVMBuilderRef B, LLVMAtomicOrdering ordering, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildFence(LLVMBuilderRef B, LLVMAtomicOrdering ordering, LLVMBool singleThread, const char *Name); -LLVMValueRef LLVMBuildAtomicRMW(LLVMBuilderRef B, LLVMAtomicRMWBinOp op, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildAtomicRMW(LLVMBuilderRef B, LLVMAtomicRMWBinOp op, LLVMValueRef PTR, LLVMValueRef Val, LLVMAtomicOrdering ordering, LLVMBool singleThread); -LLVMValueRef LLVMBuildAtomicCmpXchg(LLVMBuilderRef B, LLVMValueRef Ptr, +LLVM_FUNC_ABI LLVMValueRef LLVMBuildAtomicCmpXchg(LLVMBuilderRef B, LLVMValueRef Ptr, LLVMValueRef Cmp, LLVMValueRef New, LLVMAtomicOrdering SuccessOrdering, LLVMAtomicOrdering FailureOrdering, @@ -4146,13 +4146,13 @@ LLVMValueRef LLVMBuildAtomicCmpXchg(LLVMBuilderRef B, LLVMValueRef Ptr, /** * Get the number of elements in the mask of a ShuffleVector instruction. */ -unsigned LLVMGetNumMaskElements(LLVMValueRef ShuffleVectorInst); +LLVM_FUNC_ABI unsigned LLVMGetNumMaskElements(LLVMValueRef ShuffleVectorInst); /** * \returns a constant that specifies that the result of a \c ShuffleVectorInst * is undefined. */ -int LLVMGetUndefMaskElem(void); +LLVM_FUNC_ABI int LLVMGetUndefMaskElem(void); /** * Get the mask value at position Elt in the mask of a ShuffleVector @@ -4161,16 +4161,16 @@ int LLVMGetUndefMaskElem(void); * \Returns the result of \c LLVMGetUndefMaskElem() if the mask value is * poison at that position. */ -int LLVMGetMaskValue(LLVMValueRef ShuffleVectorInst, unsigned Elt); +LLVM_FUNC_ABI int LLVMGetMaskValue(LLVMValueRef ShuffleVectorInst, unsigned Elt); -LLVMBool LLVMIsAtomicSingleThread(LLVMValueRef AtomicInst); -void LLVMSetAtomicSingleThread(LLVMValueRef AtomicInst, LLVMBool SingleThread); +LLVM_FUNC_ABI LLVMBool LLVMIsAtomicSingleThread(LLVMValueRef AtomicInst); +LLVM_FUNC_ABI void LLVMSetAtomicSingleThread(LLVMValueRef AtomicInst, LLVMBool SingleThread); -LLVMAtomicOrdering LLVMGetCmpXchgSuccessOrdering(LLVMValueRef CmpXchgInst); -void LLVMSetCmpXchgSuccessOrdering(LLVMValueRef CmpXchgInst, +LLVM_FUNC_ABI LLVMAtomicOrdering LLVMGetCmpXchgSuccessOrdering(LLVMValueRef CmpXchgInst); +LLVM_FUNC_ABI void LLVMSetCmpXchgSuccessOrdering(LLVMValueRef CmpXchgInst, LLVMAtomicOrdering Ordering); -LLVMAtomicOrdering LLVMGetCmpXchgFailureOrdering(LLVMValueRef CmpXchgInst); -void LLVMSetCmpXchgFailureOrdering(LLVMValueRef CmpXchgInst, +LLVM_FUNC_ABI LLVMAtomicOrdering LLVMGetCmpXchgFailureOrdering(LLVMValueRef CmpXchgInst); +LLVM_FUNC_ABI void LLVMSetCmpXchgFailureOrdering(LLVMValueRef CmpXchgInst, LLVMAtomicOrdering Ordering); /** @@ -4187,13 +4187,13 @@ void LLVMSetCmpXchgFailureOrdering(LLVMValueRef CmpXchgInst, * Changes the type of M so it can be passed to FunctionPassManagers and the * JIT. They take ModuleProviders for historical reasons. */ -LLVMModuleProviderRef +LLVM_FUNC_ABI LLVMModuleProviderRef LLVMCreateModuleProviderForExistingModule(LLVMModuleRef M); /** * Destroys the module M. */ -void LLVMDisposeModuleProvider(LLVMModuleProviderRef M); +LLVM_FUNC_ABI void LLVMDisposeModuleProvider(LLVMModuleProviderRef M); /** * @} @@ -4205,21 +4205,21 @@ void LLVMDisposeModuleProvider(LLVMModuleProviderRef M); * @{ */ -LLVMBool LLVMCreateMemoryBufferWithContentsOfFile(const char *Path, +LLVM_FUNC_ABI LLVMBool LLVMCreateMemoryBufferWithContentsOfFile(const char *Path, LLVMMemoryBufferRef *OutMemBuf, char **OutMessage); -LLVMBool LLVMCreateMemoryBufferWithSTDIN(LLVMMemoryBufferRef *OutMemBuf, +LLVM_FUNC_ABI LLVMBool LLVMCreateMemoryBufferWithSTDIN(LLVMMemoryBufferRef *OutMemBuf, char **OutMessage); -LLVMMemoryBufferRef LLVMCreateMemoryBufferWithMemoryRange(const char *InputData, +LLVM_FUNC_ABI LLVMMemoryBufferRef LLVMCreateMemoryBufferWithMemoryRange(const char *InputData, size_t InputDataLength, const char *BufferName, LLVMBool RequiresNullTerminator); -LLVMMemoryBufferRef LLVMCreateMemoryBufferWithMemoryRangeCopy(const char *InputData, +LLVM_FUNC_ABI LLVMMemoryBufferRef LLVMCreateMemoryBufferWithMemoryRangeCopy(const char *InputData, size_t InputDataLength, const char *BufferName); -const char *LLVMGetBufferStart(LLVMMemoryBufferRef MemBuf); -size_t LLVMGetBufferSize(LLVMMemoryBufferRef MemBuf); -void LLVMDisposeMemoryBuffer(LLVMMemoryBufferRef MemBuf); +LLVM_FUNC_ABI const char *LLVMGetBufferStart(LLVMMemoryBufferRef MemBuf); +LLVM_FUNC_ABI size_t LLVMGetBufferSize(LLVMMemoryBufferRef MemBuf); +LLVM_FUNC_ABI void LLVMDisposeMemoryBuffer(LLVMMemoryBufferRef MemBuf); /** * @} @@ -4235,43 +4235,43 @@ void LLVMDisposeMemoryBuffer(LLVMMemoryBufferRef MemBuf); /** Constructs a new whole-module pass pipeline. This type of pipeline is suitable for link-time optimization and whole-module transformations. @see llvm::PassManager::PassManager */ -LLVMPassManagerRef LLVMCreatePassManager(void); +LLVM_FUNC_ABI LLVMPassManagerRef LLVMCreatePassManager(void); /** Constructs a new function-by-function pass pipeline over the module provider. It does not take ownership of the module provider. This type of pipeline is suitable for code generation and JIT compilation tasks. @see llvm::FunctionPassManager::FunctionPassManager */ -LLVMPassManagerRef LLVMCreateFunctionPassManagerForModule(LLVMModuleRef M); +LLVM_FUNC_ABI LLVMPassManagerRef LLVMCreateFunctionPassManagerForModule(LLVMModuleRef M); /** Deprecated: Use LLVMCreateFunctionPassManagerForModule instead. */ -LLVMPassManagerRef LLVMCreateFunctionPassManager(LLVMModuleProviderRef MP); +LLVM_FUNC_ABI LLVMPassManagerRef LLVMCreateFunctionPassManager(LLVMModuleProviderRef MP); /** Initializes, executes on the provided module, and finalizes all of the passes scheduled in the pass manager. Returns 1 if any of the passes modified the module, 0 otherwise. @see llvm::PassManager::run(Module&) */ -LLVMBool LLVMRunPassManager(LLVMPassManagerRef PM, LLVMModuleRef M); +LLVM_FUNC_ABI LLVMBool LLVMRunPassManager(LLVMPassManagerRef PM, LLVMModuleRef M); /** Initializes all of the function passes scheduled in the function pass manager. Returns 1 if any of the passes modified the module, 0 otherwise. @see llvm::FunctionPassManager::doInitialization */ -LLVMBool LLVMInitializeFunctionPassManager(LLVMPassManagerRef FPM); +LLVM_FUNC_ABI LLVMBool LLVMInitializeFunctionPassManager(LLVMPassManagerRef FPM); /** Executes all of the function passes scheduled in the function pass manager on the provided function. Returns 1 if any of the passes modified the function, false otherwise. @see llvm::FunctionPassManager::run(Function&) */ -LLVMBool LLVMRunFunctionPassManager(LLVMPassManagerRef FPM, LLVMValueRef F); +LLVM_FUNC_ABI LLVMBool LLVMRunFunctionPassManager(LLVMPassManagerRef FPM, LLVMValueRef F); /** Finalizes all of the function passes scheduled in the function pass manager. Returns 1 if any of the passes modified the module, 0 otherwise. @see llvm::FunctionPassManager::doFinalization */ -LLVMBool LLVMFinalizeFunctionPassManager(LLVMPassManagerRef FPM); +LLVM_FUNC_ABI LLVMBool LLVMFinalizeFunctionPassManager(LLVMPassManagerRef FPM); /** Frees the memory of a pass pipeline. For function pipelines, does not free the module provider. @see llvm::PassManagerBase::~PassManagerBase. */ -void LLVMDisposePassManager(LLVMPassManagerRef PM); +LLVM_FUNC_ABI void LLVMDisposePassManager(LLVMPassManagerRef PM); /** * @} @@ -4288,15 +4288,15 @@ void LLVMDisposePassManager(LLVMPassManagerRef PM); /** Deprecated: Multi-threading can only be enabled/disabled with the compile time define LLVM_ENABLE_THREADS. This function always returns LLVMIsMultithreaded(). */ -LLVMBool LLVMStartMultithreaded(void); +LLVM_FUNC_ABI LLVMBool LLVMStartMultithreaded(void); /** Deprecated: Multi-threading can only be enabled/disabled with the compile time define LLVM_ENABLE_THREADS. */ -void LLVMStopMultithreaded(void); +LLVM_FUNC_ABI void LLVMStopMultithreaded(void); /** Check whether LLVM is executing in thread-safe mode or not. @see llvm::llvm_is_multithreaded */ -LLVMBool LLVMIsMultithreaded(void); +LLVM_FUNC_ABI LLVMBool LLVMIsMultithreaded(void); /** * @} diff --git a/llvm/include/llvm-c/DebugInfo.h b/llvm/include/llvm-c/DebugInfo.h index dc0e7432db6f96..870949e9eda823 100644 --- a/llvm/include/llvm-c/DebugInfo.h +++ b/llvm/include/llvm-c/DebugInfo.h @@ -206,12 +206,12 @@ typedef enum { /** * The current debug metadata version number. */ -unsigned LLVMDebugMetadataVersion(void); +LLVM_FUNC_ABI unsigned LLVMDebugMetadataVersion(void); /** * The version of debug metadata that's present in the provided \c Module. */ -unsigned LLVMGetModuleDebugMetadataVersion(LLVMModuleRef Module); +LLVM_FUNC_ABI unsigned LLVMGetModuleDebugMetadataVersion(LLVMModuleRef Module); /** * Strip debug info in the module if it exists. @@ -219,37 +219,37 @@ unsigned LLVMGetModuleDebugMetadataVersion(LLVMModuleRef Module); * metadata for debugging. We also remove debug locations for instructions. * Return true if module is modified. */ -LLVMBool LLVMStripModuleDebugInfo(LLVMModuleRef Module); +LLVM_FUNC_ABI LLVMBool LLVMStripModuleDebugInfo(LLVMModuleRef Module); /** * Construct a builder for a module, and do not allow for unresolved nodes * attached to the module. */ -LLVMDIBuilderRef LLVMCreateDIBuilderDisallowUnresolved(LLVMModuleRef M); +LLVM_FUNC_ABI LLVMDIBuilderRef LLVMCreateDIBuilderDisallowUnresolved(LLVMModuleRef M); /** * Construct a builder for a module and collect unresolved nodes attached * to the module in order to resolve cycles during a call to * \c LLVMDIBuilderFinalize. */ -LLVMDIBuilderRef LLVMCreateDIBuilder(LLVMModuleRef M); +LLVM_FUNC_ABI LLVMDIBuilderRef LLVMCreateDIBuilder(LLVMModuleRef M); /** * Deallocates the \c DIBuilder and everything it owns. * @note You must call \c LLVMDIBuilderFinalize before this */ -void LLVMDisposeDIBuilder(LLVMDIBuilderRef Builder); +LLVM_FUNC_ABI void LLVMDisposeDIBuilder(LLVMDIBuilderRef Builder); /** * Construct any deferred debug info descriptors. */ -void LLVMDIBuilderFinalize(LLVMDIBuilderRef Builder); +LLVM_FUNC_ABI void LLVMDIBuilderFinalize(LLVMDIBuilderRef Builder); /** * Finalize a specific subprogram. * No new variables may be added to this subprogram afterwards. */ -void LLVMDIBuilderFinalizeSubprogram(LLVMDIBuilderRef Builder, +LLVM_FUNC_ABI void LLVMDIBuilderFinalizeSubprogram(LLVMDIBuilderRef Builder, LLVMMetadataRef Subprogram); /** @@ -284,7 +284,7 @@ void LLVMDIBuilderFinalizeSubprogram(LLVMDIBuilderRef Builder, * \param SDK The SDK. On Darwin, the last component of the sysroot. * \param SDKLen The length of the C string passed to \c SDK. */ -LLVMMetadataRef LLVMDIBuilderCreateCompileUnit( +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateCompileUnit( LLVMDIBuilderRef Builder, LLVMDWARFSourceLanguage Lang, LLVMMetadataRef FileRef, const char *Producer, size_t ProducerLen, LLVMBool isOptimized, const char *Flags, size_t FlagsLen, @@ -301,7 +301,7 @@ LLVMMetadataRef LLVMDIBuilderCreateCompileUnit( * \param Directory Directory. * \param DirectoryLen The length of the C string passed to \c Directory. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateFile(LLVMDIBuilderRef Builder, const char *Filename, size_t FilenameLen, const char *Directory, size_t DirectoryLen); @@ -320,7 +320,7 @@ LLVMDIBuilderCreateFile(LLVMDIBuilderRef Builder, const char *Filename, * \param APINotesFile The path to an API notes file for the module. * \param APINotesFileLen The length of the C string passed to \c APINotestFile. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateModule(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope, const char *Name, size_t NameLen, const char *ConfigMacros, size_t ConfigMacrosLen, @@ -336,7 +336,7 @@ LLVMDIBuilderCreateModule(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope, * \param ExportSymbols Whether or not the namespace exports symbols, e.g. * this is true of C++ inline namespaces. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateNameSpace(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope, const char *Name, size_t NameLen, @@ -360,7 +360,7 @@ LLVMDIBuilderCreateNameSpace(LLVMDIBuilderRef Builder, * used to emit dwarf attributes. * \param IsOptimized True if optimization is ON. */ -LLVMMetadataRef LLVMDIBuilderCreateFunction( +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateFunction( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, const char *LinkageName, size_t LinkageNameLen, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty, @@ -375,7 +375,7 @@ LLVMMetadataRef LLVMDIBuilderCreateFunction( * \param Line The line in the source file. * \param Column The column in the source file. */ -LLVMMetadataRef LLVMDIBuilderCreateLexicalBlock( +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateLexicalBlock( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef File, unsigned Line, unsigned Column); @@ -386,7 +386,7 @@ LLVMMetadataRef LLVMDIBuilderCreateLexicalBlock( * \param File Source file. * \param Discriminator DWARF path discriminator value. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateLexicalBlockFile(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef File, @@ -400,7 +400,7 @@ LLVMDIBuilderCreateLexicalBlockFile(LLVMDIBuilderRef Builder, * \param File File where the declaration is located. * \param Line Line number of the declaration. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateImportedModuleFromNamespace(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef NS, @@ -418,7 +418,7 @@ LLVMDIBuilderCreateImportedModuleFromNamespace(LLVMDIBuilderRef Builder, * \param Elements Renamed elements. * \param NumElements Number of renamed elements. */ -LLVMMetadataRef LLVMDIBuilderCreateImportedModuleFromAlias( +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateImportedModuleFromAlias( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef ImportedEntity, LLVMMetadataRef File, unsigned Line, LLVMMetadataRef *Elements, unsigned NumElements); @@ -433,7 +433,7 @@ LLVMMetadataRef LLVMDIBuilderCreateImportedModuleFromAlias( * \param Elements Renamed elements. * \param NumElements Number of renamed elements. */ -LLVMMetadataRef LLVMDIBuilderCreateImportedModuleFromModule( +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateImportedModuleFromModule( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef M, LLVMMetadataRef File, unsigned Line, LLVMMetadataRef *Elements, unsigned NumElements); @@ -453,7 +453,7 @@ LLVMMetadataRef LLVMDIBuilderCreateImportedModuleFromModule( * \param Elements Renamed elements. * \param NumElements Number of renamed elements. */ -LLVMMetadataRef LLVMDIBuilderCreateImportedDeclaration( +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateImportedDeclaration( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef Decl, LLVMMetadataRef File, unsigned Line, const char *Name, size_t NameLen, LLVMMetadataRef *Elements, unsigned NumElements); @@ -468,7 +468,7 @@ LLVMMetadataRef LLVMDIBuilderCreateImportedDeclaration( * \note If the item to which this location is attached cannot be * attributed to a source line, pass 0 for the line and column. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateDebugLocation(LLVMContextRef Ctx, unsigned Line, unsigned Column, LLVMMetadataRef Scope, LLVMMetadataRef InlinedAt); @@ -479,7 +479,7 @@ LLVMDIBuilderCreateDebugLocation(LLVMContextRef Ctx, unsigned Line, * * @see DILocation::getLine() */ -unsigned LLVMDILocationGetLine(LLVMMetadataRef Location); +LLVM_FUNC_ABI unsigned LLVMDILocationGetLine(LLVMMetadataRef Location); /** * Get the column number of this debug location. @@ -487,7 +487,7 @@ unsigned LLVMDILocationGetLine(LLVMMetadataRef Location); * * @see DILocation::getColumn() */ -unsigned LLVMDILocationGetColumn(LLVMMetadataRef Location); +LLVM_FUNC_ABI unsigned LLVMDILocationGetColumn(LLVMMetadataRef Location); /** * Get the local scope associated with this debug location. @@ -495,7 +495,7 @@ unsigned LLVMDILocationGetColumn(LLVMMetadataRef Location); * * @see DILocation::getScope() */ -LLVMMetadataRef LLVMDILocationGetScope(LLVMMetadataRef Location); +LLVM_FUNC_ABI LLVMMetadataRef LLVMDILocationGetScope(LLVMMetadataRef Location); /** * Get the "inline at" location associated with this debug location. @@ -503,7 +503,7 @@ LLVMMetadataRef LLVMDILocationGetScope(LLVMMetadataRef Location); * * @see DILocation::getInlinedAt() */ -LLVMMetadataRef LLVMDILocationGetInlinedAt(LLVMMetadataRef Location); +LLVM_FUNC_ABI LLVMMetadataRef LLVMDILocationGetInlinedAt(LLVMMetadataRef Location); /** * Get the metadata of the file associated with a given scope. @@ -511,7 +511,7 @@ LLVMMetadataRef LLVMDILocationGetInlinedAt(LLVMMetadataRef Location); * * @see DIScope::getFile() */ -LLVMMetadataRef LLVMDIScopeGetFile(LLVMMetadataRef Scope); +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIScopeGetFile(LLVMMetadataRef Scope); /** * Get the directory of a given file. @@ -520,7 +520,7 @@ LLVMMetadataRef LLVMDIScopeGetFile(LLVMMetadataRef Scope); * * @see DIFile::getDirectory() */ -const char *LLVMDIFileGetDirectory(LLVMMetadataRef File, unsigned *Len); +LLVM_FUNC_ABI const char *LLVMDIFileGetDirectory(LLVMMetadataRef File, unsigned *Len); /** * Get the name of a given file. @@ -529,7 +529,7 @@ const char *LLVMDIFileGetDirectory(LLVMMetadataRef File, unsigned *Len); * * @see DIFile::getFilename() */ -const char *LLVMDIFileGetFilename(LLVMMetadataRef File, unsigned *Len); +LLVM_FUNC_ABI const char *LLVMDIFileGetFilename(LLVMMetadataRef File, unsigned *Len); /** * Get the source of a given file. @@ -538,7 +538,7 @@ const char *LLVMDIFileGetFilename(LLVMMetadataRef File, unsigned *Len); * * @see DIFile::getSource() */ -const char *LLVMDIFileGetSource(LLVMMetadataRef File, unsigned *Len); +LLVM_FUNC_ABI const char *LLVMDIFileGetSource(LLVMMetadataRef File, unsigned *Len); /** * Create a type array. @@ -546,7 +546,7 @@ const char *LLVMDIFileGetSource(LLVMMetadataRef File, unsigned *Len); * \param Data The type elements. * \param NumElements Number of type elements. */ -LLVMMetadataRef LLVMDIBuilderGetOrCreateTypeArray(LLVMDIBuilderRef Builder, +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderGetOrCreateTypeArray(LLVMDIBuilderRef Builder, LLVMMetadataRef *Data, size_t NumElements); @@ -560,7 +560,7 @@ LLVMMetadataRef LLVMDIBuilderGetOrCreateTypeArray(LLVMDIBuilderRef Builder, * \param Flags E.g.: \c LLVMDIFlagLValueReference. * These flags are used to emit dwarf attributes. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateSubroutineType(LLVMDIBuilderRef Builder, LLVMMetadataRef File, LLVMMetadataRef *ParameterTypes, @@ -578,7 +578,7 @@ LLVMDIBuilderCreateSubroutineType(LLVMDIBuilderRef Builder, * @param Value Macro value. * @param ValueLen Macro value length. */ -LLVMMetadataRef LLVMDIBuilderCreateMacro(LLVMDIBuilderRef Builder, +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateMacro(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentMacroFile, unsigned Line, LLVMDWARFMacinfoRecordType RecordType, @@ -594,7 +594,7 @@ LLVMMetadataRef LLVMDIBuilderCreateMacro(LLVMDIBuilderRef Builder, * @param Line Source line number where the macro file is included. * @param File File descriptor containing the name of the macro file. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateTempMacroFile(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentMacroFile, unsigned Line, LLVMMetadataRef File); @@ -607,7 +607,7 @@ LLVMDIBuilderCreateTempMacroFile(LLVMDIBuilderRef Builder, * @param Value Enumerator value. * @param IsUnsigned True if the value is unsigned. */ -LLVMMetadataRef LLVMDIBuilderCreateEnumerator(LLVMDIBuilderRef Builder, +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateEnumerator(LLVMDIBuilderRef Builder, const char *Name, size_t NameLen, int64_t Value, LLVMBool IsUnsigned); @@ -626,7 +626,7 @@ LLVMMetadataRef LLVMDIBuilderCreateEnumerator(LLVMDIBuilderRef Builder, * \param NumElements Number of enumeration elements. * \param ClassTy Underlying type of a C++11/ObjC fixed enum. */ -LLVMMetadataRef LLVMDIBuilderCreateEnumerationType( +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateEnumerationType( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNumber, uint64_t SizeInBits, uint32_t AlignInBits, LLVMMetadataRef *Elements, @@ -649,7 +649,7 @@ LLVMMetadataRef LLVMDIBuilderCreateEnumerationType( * \param UniqueId A unique identifier for the union. * \param UniqueIdLen Length of unique identifier. */ -LLVMMetadataRef LLVMDIBuilderCreateUnionType( +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateUnionType( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNumber, uint64_t SizeInBits, uint32_t AlignInBits, LLVMDIFlags Flags, @@ -666,7 +666,7 @@ LLVMMetadataRef LLVMDIBuilderCreateUnionType( * \param Subscripts Subscripts. * \param NumSubscripts Number of subscripts. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateArrayType(LLVMDIBuilderRef Builder, uint64_t Size, uint32_t AlignInBits, LLVMMetadataRef Ty, LLVMMetadataRef *Subscripts, @@ -681,7 +681,7 @@ LLVMDIBuilderCreateArrayType(LLVMDIBuilderRef Builder, uint64_t Size, * \param Subscripts Subscripts. * \param NumSubscripts Number of subscripts. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateVectorType(LLVMDIBuilderRef Builder, uint64_t Size, uint32_t AlignInBits, LLVMMetadataRef Ty, LLVMMetadataRef *Subscripts, @@ -693,7 +693,7 @@ LLVMDIBuilderCreateVectorType(LLVMDIBuilderRef Builder, uint64_t Size, * \param Name The unspecified type's name. * \param NameLen Length of type name. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateUnspecifiedType(LLVMDIBuilderRef Builder, const char *Name, size_t NameLen); @@ -707,7 +707,7 @@ LLVMDIBuilderCreateUnspecifiedType(LLVMDIBuilderRef Builder, const char *Name, * \param Encoding DWARF encoding code, e.g. \c LLVMDWARFTypeEncoding_float. * \param Flags Flags to encode optional attribute like endianity */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateBasicType(LLVMDIBuilderRef Builder, const char *Name, size_t NameLen, uint64_t SizeInBits, LLVMDWARFTypeEncoding Encoding, @@ -723,7 +723,7 @@ LLVMDIBuilderCreateBasicType(LLVMDIBuilderRef Builder, const char *Name, * \param Name Pointer type name. (optional) * \param NameLen Length of pointer type name. (optional) */ -LLVMMetadataRef LLVMDIBuilderCreatePointerType( +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreatePointerType( LLVMDIBuilderRef Builder, LLVMMetadataRef PointeeTy, uint64_t SizeInBits, uint32_t AlignInBits, unsigned AddressSpace, const char *Name, size_t NameLen); @@ -746,7 +746,7 @@ LLVMMetadataRef LLVMDIBuilderCreatePointerType( * \param UniqueId A unique identifier for the struct. * \param UniqueIdLen Length of the unique identifier for the struct. */ -LLVMMetadataRef LLVMDIBuilderCreateStructType( +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateStructType( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNumber, uint64_t SizeInBits, uint32_t AlignInBits, LLVMDIFlags Flags, @@ -768,7 +768,7 @@ LLVMMetadataRef LLVMDIBuilderCreateStructType( * \param Flags Flags to encode member attribute, e.g. private * \param Ty Parent type. */ -LLVMMetadataRef LLVMDIBuilderCreateMemberType( +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateMemberType( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNo, uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits, @@ -788,7 +788,7 @@ LLVMMetadataRef LLVMDIBuilderCreateMemberType( * \param ConstantVal Const initializer of the member. * \param AlignInBits Member alignment. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateStaticMemberType( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNumber, @@ -804,7 +804,7 @@ LLVMDIBuilderCreateStaticMemberType( * \param AlignInBits Alignment. * \param Flags Flags. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateMemberPointerType(LLVMDIBuilderRef Builder, LLVMMetadataRef PointeeType, LLVMMetadataRef ClassType, @@ -825,7 +825,7 @@ LLVMDIBuilderCreateMemberPointerType(LLVMDIBuilderRef Builder, * \param Ty Parent type. * \param PropertyNode Property associated with this ivar. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateObjCIVar(LLVMDIBuilderRef Builder, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNo, @@ -847,7 +847,7 @@ LLVMDIBuilderCreateObjCIVar(LLVMDIBuilderRef Builder, * \param PropertyAttributes Objective C property attributes. * \param Ty Type. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateObjCProperty(LLVMDIBuilderRef Builder, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNo, @@ -861,7 +861,7 @@ LLVMDIBuilderCreateObjCProperty(LLVMDIBuilderRef Builder, * \param Builder The DIBuilder. * \param Type The underlying type to which this pointer points. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateObjectPointerType(LLVMDIBuilderRef Builder, LLVMMetadataRef Type); @@ -873,7 +873,7 @@ LLVMDIBuilderCreateObjectPointerType(LLVMDIBuilderRef Builder, * e.g. LLVMDWARFTypeQualifier_volatile_type * \param Type Base Type. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateQualifiedType(LLVMDIBuilderRef Builder, unsigned Tag, LLVMMetadataRef Type); @@ -884,7 +884,7 @@ LLVMDIBuilderCreateQualifiedType(LLVMDIBuilderRef Builder, unsigned Tag, * \param Tag Tag identifying type, * \param Type Base Type. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateReferenceType(LLVMDIBuilderRef Builder, unsigned Tag, LLVMMetadataRef Type); @@ -892,7 +892,7 @@ LLVMDIBuilderCreateReferenceType(LLVMDIBuilderRef Builder, unsigned Tag, * Create C++11 nullptr type. * \param Builder The DIBuilder. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateNullPtrType(LLVMDIBuilderRef Builder); /** @@ -904,7 +904,7 @@ LLVMDIBuilderCreateNullPtrType(LLVMDIBuilderRef Builder); * \param LineNo Line number. * \param Scope The surrounding context for the typedef. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateTypedef(LLVMDIBuilderRef Builder, LLVMMetadataRef Type, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNo, @@ -920,7 +920,7 @@ LLVMDIBuilderCreateTypedef(LLVMDIBuilderRef Builder, LLVMMetadataRef Type, * \param VBPtrOffset Virtual base pointer offset. * \param Flags Flags to describe inheritance attribute, e.g. private */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateInheritance(LLVMDIBuilderRef Builder, LLVMMetadataRef Ty, LLVMMetadataRef BaseTy, uint64_t BaseOffset, uint32_t VBPtrOffset, @@ -942,7 +942,7 @@ LLVMDIBuilderCreateInheritance(LLVMDIBuilderRef Builder, * \param UniqueIdentifier A unique identifier for the type. * \param UniqueIdentifierLen Length of the unique identifier. */ -LLVMMetadataRef LLVMDIBuilderCreateForwardDecl( +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateForwardDecl( LLVMDIBuilderRef Builder, unsigned Tag, const char *Name, size_t NameLen, LLVMMetadataRef Scope, LLVMMetadataRef File, unsigned Line, unsigned RuntimeLang, uint64_t SizeInBits, uint32_t AlignInBits, @@ -965,7 +965,7 @@ LLVMMetadataRef LLVMDIBuilderCreateForwardDecl( * \param UniqueIdentifier A unique identifier for the type. * \param UniqueIdentifierLen Length of the unique identifier. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateReplaceableCompositeType( LLVMDIBuilderRef Builder, unsigned Tag, const char *Name, size_t NameLen, LLVMMetadataRef Scope, LLVMMetadataRef File, unsigned Line, @@ -987,7 +987,7 @@ LLVMDIBuilderCreateReplaceableCompositeType( * \param Flags Flags to encode member attribute. * \param Type Parent type. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateBitFieldMemberType(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, @@ -1019,7 +1019,7 @@ LLVMDIBuilderCreateBitFieldMemberType(LLVMDIBuilderRef Builder, * \param UniqueIdentifier A unique identifier for the type. * \param UniqueIdentifierLen Length of the unique identifier. */ -LLVMMetadataRef LLVMDIBuilderCreateClassType(LLVMDIBuilderRef Builder, +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateClassType(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNumber, uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits, LLVMDIFlags Flags, @@ -1033,7 +1033,7 @@ LLVMMetadataRef LLVMDIBuilderCreateClassType(LLVMDIBuilderRef Builder, * \param Builder The DIBuilder. * \param Type The underlying type. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateArtificialType(LLVMDIBuilderRef Builder, LLVMMetadataRef Type); @@ -1044,7 +1044,7 @@ LLVMDIBuilderCreateArtificialType(LLVMDIBuilderRef Builder, * * @see DIType::getName() */ -const char *LLVMDITypeGetName(LLVMMetadataRef DType, size_t *Length); +LLVM_FUNC_ABI const char *LLVMDITypeGetName(LLVMMetadataRef DType, size_t *Length); /** * Get the size of this DIType in bits. @@ -1052,7 +1052,7 @@ const char *LLVMDITypeGetName(LLVMMetadataRef DType, size_t *Length); * * @see DIType::getSizeInBits() */ -uint64_t LLVMDITypeGetSizeInBits(LLVMMetadataRef DType); +LLVM_FUNC_ABI uint64_t LLVMDITypeGetSizeInBits(LLVMMetadataRef DType); /** * Get the offset of this DIType in bits. @@ -1060,7 +1060,7 @@ uint64_t LLVMDITypeGetSizeInBits(LLVMMetadataRef DType); * * @see DIType::getOffsetInBits() */ -uint64_t LLVMDITypeGetOffsetInBits(LLVMMetadataRef DType); +LLVM_FUNC_ABI uint64_t LLVMDITypeGetOffsetInBits(LLVMMetadataRef DType); /** * Get the alignment of this DIType in bits. @@ -1068,7 +1068,7 @@ uint64_t LLVMDITypeGetOffsetInBits(LLVMMetadataRef DType); * * @see DIType::getAlignInBits() */ -uint32_t LLVMDITypeGetAlignInBits(LLVMMetadataRef DType); +LLVM_FUNC_ABI uint32_t LLVMDITypeGetAlignInBits(LLVMMetadataRef DType); /** * Get the source line where this DIType is declared. @@ -1076,7 +1076,7 @@ uint32_t LLVMDITypeGetAlignInBits(LLVMMetadataRef DType); * * @see DIType::getLine() */ -unsigned LLVMDITypeGetLine(LLVMMetadataRef DType); +LLVM_FUNC_ABI unsigned LLVMDITypeGetLine(LLVMMetadataRef DType); /** * Get the flags associated with this DIType. @@ -1084,7 +1084,7 @@ unsigned LLVMDITypeGetLine(LLVMMetadataRef DType); * * @see DIType::getFlags() */ -LLVMDIFlags LLVMDITypeGetFlags(LLVMMetadataRef DType); +LLVM_FUNC_ABI LLVMDIFlags LLVMDITypeGetFlags(LLVMMetadataRef DType); /** * Create a descriptor for a value range. @@ -1092,7 +1092,7 @@ LLVMDIFlags LLVMDITypeGetFlags(LLVMMetadataRef DType); * \param LowerBound Lower bound of the subrange, e.g. 0 for C, 1 for Fortran. * \param Count Count of elements in the subrange. */ -LLVMMetadataRef LLVMDIBuilderGetOrCreateSubrange(LLVMDIBuilderRef Builder, +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderGetOrCreateSubrange(LLVMDIBuilderRef Builder, int64_t LowerBound, int64_t Count); @@ -1102,7 +1102,7 @@ LLVMMetadataRef LLVMDIBuilderGetOrCreateSubrange(LLVMDIBuilderRef Builder, * \param Data The DI Node elements. * \param NumElements Number of DI Node elements. */ -LLVMMetadataRef LLVMDIBuilderGetOrCreateArray(LLVMDIBuilderRef Builder, +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderGetOrCreateArray(LLVMDIBuilderRef Builder, LLVMMetadataRef *Data, size_t NumElements); @@ -1113,7 +1113,7 @@ LLVMMetadataRef LLVMDIBuilderGetOrCreateArray(LLVMDIBuilderRef Builder, * \param Addr An array of complex address operations. * \param Length Length of the address operation array. */ -LLVMMetadataRef LLVMDIBuilderCreateExpression(LLVMDIBuilderRef Builder, +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateExpression(LLVMDIBuilderRef Builder, uint64_t *Addr, size_t Length); /** @@ -1122,7 +1122,7 @@ LLVMMetadataRef LLVMDIBuilderCreateExpression(LLVMDIBuilderRef Builder, * \param Builder The DIBuilder. * \param Value The constant value. */ -LLVMMetadataRef +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateConstantValueExpression(LLVMDIBuilderRef Builder, uint64_t Value); @@ -1145,7 +1145,7 @@ LLVMDIBuilderCreateConstantValueExpression(LLVMDIBuilderRef Builder, * \param AlignInBits Variable alignment(or 0 if no alignment attr was * specified) */ -LLVMMetadataRef LLVMDIBuilderCreateGlobalVariableExpression( +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateGlobalVariableExpression( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, const char *Linkage, size_t LinkLen, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty, LLVMBool LocalToUnit, @@ -1155,7 +1155,7 @@ LLVMMetadataRef LLVMDIBuilderCreateGlobalVariableExpression( /** * Get the dwarf::Tag of a DINode */ -uint16_t LLVMGetDINodeTag(LLVMMetadataRef MD); +LLVM_FUNC_ABI uint16_t LLVMGetDINodeTag(LLVMMetadataRef MD); /** * Retrieves the \c DIVariable associated with this global variable expression. @@ -1163,7 +1163,7 @@ uint16_t LLVMGetDINodeTag(LLVMMetadataRef MD); * * @see llvm::DIGlobalVariableExpression::getVariable() */ -LLVMMetadataRef LLVMDIGlobalVariableExpressionGetVariable(LLVMMetadataRef GVE); +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIGlobalVariableExpressionGetVariable(LLVMMetadataRef GVE); /** * Retrieves the \c DIExpression associated with this global variable expression. @@ -1171,7 +1171,7 @@ LLVMMetadataRef LLVMDIGlobalVariableExpressionGetVariable(LLVMMetadataRef GVE); * * @see llvm::DIGlobalVariableExpression::getExpression() */ -LLVMMetadataRef LLVMDIGlobalVariableExpressionGetExpression( +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIGlobalVariableExpressionGetExpression( LLVMMetadataRef GVE); /** @@ -1180,7 +1180,7 @@ LLVMMetadataRef LLVMDIGlobalVariableExpressionGetExpression( * * @see DIVariable::getFile() */ -LLVMMetadataRef LLVMDIVariableGetFile(LLVMMetadataRef Var); +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIVariableGetFile(LLVMMetadataRef Var); /** * Get the metadata of the scope associated with a given variable. @@ -1188,7 +1188,7 @@ LLVMMetadataRef LLVMDIVariableGetFile(LLVMMetadataRef Var); * * @see DIVariable::getScope() */ -LLVMMetadataRef LLVMDIVariableGetScope(LLVMMetadataRef Var); +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIVariableGetScope(LLVMMetadataRef Var); /** * Get the source line where this \c DIVariable is declared. @@ -1196,7 +1196,7 @@ LLVMMetadataRef LLVMDIVariableGetScope(LLVMMetadataRef Var); * * @see DIVariable::getLine() */ -unsigned LLVMDIVariableGetLine(LLVMMetadataRef Var); +LLVM_FUNC_ABI unsigned LLVMDIVariableGetLine(LLVMMetadataRef Var); /** * Create a new temporary \c MDNode. Suitable for use in constructing cyclic @@ -1206,7 +1206,7 @@ unsigned LLVMDIVariableGetLine(LLVMMetadataRef Var); * \param Data The metadata elements. * \param NumElements Number of metadata elements. */ -LLVMMetadataRef LLVMTemporaryMDNode(LLVMContextRef Ctx, LLVMMetadataRef *Data, +LLVM_FUNC_ABI LLVMMetadataRef LLVMTemporaryMDNode(LLVMContextRef Ctx, LLVMMetadataRef *Data, size_t NumElements); /** @@ -1216,14 +1216,14 @@ LLVMMetadataRef LLVMTemporaryMDNode(LLVMContextRef Ctx, LLVMMetadataRef *Data, * references will be reset. * \param TempNode The temporary metadata node. */ -void LLVMDisposeTemporaryMDNode(LLVMMetadataRef TempNode); +LLVM_FUNC_ABI void LLVMDisposeTemporaryMDNode(LLVMMetadataRef TempNode); /** * Replace all uses of temporary metadata. * \param TempTargetMetadata The temporary metadata node. * \param Replacement The replacement metadata node. */ -void LLVMMetadataReplaceAllUsesWith(LLVMMetadataRef TempTargetMetadata, +LLVM_FUNC_ABI void LLVMMetadataReplaceAllUsesWith(LLVMMetadataRef TempTargetMetadata, LLVMMetadataRef Replacement); /** @@ -1243,7 +1243,7 @@ void LLVMMetadataReplaceAllUsesWith(LLVMMetadataRef TempTargetMetadata, * \param AlignInBits Variable alignment(or 0 if no alignment attr was * specified) */ -LLVMMetadataRef LLVMDIBuilderCreateTempGlobalVariableFwdDecl( +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateTempGlobalVariableFwdDecl( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, const char *Linkage, size_t LnkLen, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty, LLVMBool LocalToUnit, @@ -1258,7 +1258,7 @@ LLVMMetadataRef LLVMDIBuilderCreateTempGlobalVariableFwdDecl( * \param DebugLoc Debug info location. * \param Instr Instruction acting as a location for the new intrinsic. */ -LLVMValueRef LLVMDIBuilderInsertDeclareBefore( +LLVM_FUNC_ABI LLVMValueRef LLVMDIBuilderInsertDeclareBefore( LLVMDIBuilderRef Builder, LLVMValueRef Storage, LLVMMetadataRef VarInfo, LLVMMetadataRef Expr, LLVMMetadataRef DebugLoc, LLVMValueRef Instr); @@ -1273,7 +1273,7 @@ LLVMValueRef LLVMDIBuilderInsertDeclareBefore( * \param DebugLoc Debug info location. * \param Block Basic block acting as a location for the new intrinsic. */ -LLVMValueRef LLVMDIBuilderInsertDeclareAtEnd( +LLVM_FUNC_ABI LLVMValueRef LLVMDIBuilderInsertDeclareAtEnd( LLVMDIBuilderRef Builder, LLVMValueRef Storage, LLVMMetadataRef VarInfo, LLVMMetadataRef Expr, LLVMMetadataRef DebugLoc, LLVMBasicBlockRef Block); @@ -1286,7 +1286,7 @@ LLVMValueRef LLVMDIBuilderInsertDeclareAtEnd( * \param DebugLoc Debug info location. * \param Instr Instruction acting as a location for the new intrinsic. */ -LLVMValueRef LLVMDIBuilderInsertDbgValueBefore(LLVMDIBuilderRef Builder, +LLVM_FUNC_ABI LLVMValueRef LLVMDIBuilderInsertDbgValueBefore(LLVMDIBuilderRef Builder, LLVMValueRef Val, LLVMMetadataRef VarInfo, LLVMMetadataRef Expr, @@ -1304,7 +1304,7 @@ LLVMValueRef LLVMDIBuilderInsertDbgValueBefore(LLVMDIBuilderRef Builder, * \param DebugLoc Debug info location. * \param Block Basic block acting as a location for the new intrinsic. */ -LLVMValueRef LLVMDIBuilderInsertDbgValueAtEnd(LLVMDIBuilderRef Builder, +LLVM_FUNC_ABI LLVMValueRef LLVMDIBuilderInsertDbgValueAtEnd(LLVMDIBuilderRef Builder, LLVMValueRef Val, LLVMMetadataRef VarInfo, LLVMMetadataRef Expr, @@ -1324,7 +1324,7 @@ LLVMValueRef LLVMDIBuilderInsertDbgValueAtEnd(LLVMDIBuilderRef Builder, * \param Flags Flags. * \param AlignInBits Variable alignment. */ -LLVMMetadataRef LLVMDIBuilderCreateAutoVariable( +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateAutoVariable( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty, LLVMBool AlwaysPreserve, LLVMDIFlags Flags, uint32_t AlignInBits); @@ -1342,7 +1342,7 @@ LLVMMetadataRef LLVMDIBuilderCreateAutoVariable( * \param AlwaysPreserve If true, this descriptor will survive optimizations. * \param Flags Flags. */ -LLVMMetadataRef LLVMDIBuilderCreateParameterVariable( +LLVM_FUNC_ABI LLVMMetadataRef LLVMDIBuilderCreateParameterVariable( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, unsigned ArgNo, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty, LLVMBool AlwaysPreserve, LLVMDIFlags Flags); @@ -1352,14 +1352,14 @@ LLVMMetadataRef LLVMDIBuilderCreateParameterVariable( * * @see llvm::Function::getSubprogram() */ -LLVMMetadataRef LLVMGetSubprogram(LLVMValueRef Func); +LLVM_FUNC_ABI LLVMMetadataRef LLVMGetSubprogram(LLVMValueRef Func); /** * Set the subprogram attached to a function. * * @see llvm::Function::setSubprogram() */ -void LLVMSetSubprogram(LLVMValueRef Func, LLVMMetadataRef SP); +LLVM_FUNC_ABI void LLVMSetSubprogram(LLVMValueRef Func, LLVMMetadataRef SP); /** * Get the line associated with a given subprogram. @@ -1367,14 +1367,14 @@ void LLVMSetSubprogram(LLVMValueRef Func, LLVMMetadataRef SP); * * @see DISubprogram::getLine() */ -unsigned LLVMDISubprogramGetLine(LLVMMetadataRef Subprogram); +LLVM_FUNC_ABI unsigned LLVMDISubprogramGetLine(LLVMMetadataRef Subprogram); /** * Get the debug location for the given instruction. * * @see llvm::Instruction::getDebugLoc() */ -LLVMMetadataRef LLVMInstructionGetDebugLoc(LLVMValueRef Inst); +LLVM_FUNC_ABI LLVMMetadataRef LLVMInstructionGetDebugLoc(LLVMValueRef Inst); /** * Set the debug location for the given instruction. @@ -1383,14 +1383,14 @@ LLVMMetadataRef LLVMInstructionGetDebugLoc(LLVMValueRef Inst); * * @see llvm::Instruction::setDebugLoc() */ -void LLVMInstructionSetDebugLoc(LLVMValueRef Inst, LLVMMetadataRef Loc); +LLVM_FUNC_ABI void LLVMInstructionSetDebugLoc(LLVMValueRef Inst, LLVMMetadataRef Loc); /** * Obtain the enumerated type of a Metadata instance. * * @see llvm::Metadata::getMetadataID() */ -LLVMMetadataKind LLVMGetMetadataKind(LLVMMetadataRef Metadata); +LLVM_FUNC_ABI LLVMMetadataKind LLVMGetMetadataKind(LLVMMetadataRef Metadata); /** * @} diff --git a/llvm/include/llvm-c/Disassembler.h b/llvm/include/llvm-c/Disassembler.h index 8f832318f9d167..b65c23306c03fd 100644 --- a/llvm/include/llvm-c/Disassembler.h +++ b/llvm/include/llvm-c/Disassembler.h @@ -36,7 +36,7 @@ LLVM_C_EXTERN_C_BEGIN * returns NULL. This function is equivalent to calling * LLVMCreateDisasmCPUFeatures() with an empty CPU name and feature set. */ -LLVMDisasmContextRef LLVMCreateDisasm(const char *TripleName, void *DisInfo, +LLVM_FUNC_ABI LLVMDisasmContextRef LLVMCreateDisasm(const char *TripleName, void *DisInfo, int TagType, LLVMOpInfoCallback GetOpInfo, LLVMSymbolLookupCallback SymbolLookUp); @@ -48,7 +48,7 @@ LLVMDisasmContextRef LLVMCreateDisasm(const char *TripleName, void *DisInfo, * disassembler context. If not, it returns NULL. This function is equivalent * to calling LLVMCreateDisasmCPUFeatures() with an empty feature set. */ -LLVMDisasmContextRef LLVMCreateDisasmCPU(const char *Triple, const char *CPU, +LLVM_FUNC_ABI LLVMDisasmContextRef LLVMCreateDisasmCPU(const char *Triple, const char *CPU, void *DisInfo, int TagType, LLVMOpInfoCallback GetOpInfo, LLVMSymbolLookupCallback SymbolLookUp); @@ -60,7 +60,7 @@ LLVMDisasmContextRef LLVMCreateDisasmCPU(const char *Triple, const char *CPU, * described above. These can all be passed * as NULL. If successful, this * returns a disassembler context. If not, it returns NULL. */ -LLVMDisasmContextRef +LLVM_FUNC_ABI LLVMDisasmContextRef LLVMCreateDisasmCPUFeatures(const char *Triple, const char *CPU, const char *Features, void *DisInfo, int TagType, LLVMOpInfoCallback GetOpInfo, @@ -70,7 +70,7 @@ LLVMCreateDisasmCPUFeatures(const char *Triple, const char *CPU, * Set the disassembler's options. Returns 1 if it can set the Options and 0 * otherwise. */ -int LLVMSetDisasmOptions(LLVMDisasmContextRef DC, uint64_t Options); +LLVM_FUNC_ABI int LLVMSetDisasmOptions(LLVMDisasmContextRef DC, uint64_t Options); /* The option to produce marked up assembly. */ #define LLVMDisassembler_Option_UseMarkup 1 @@ -86,7 +86,7 @@ int LLVMSetDisasmOptions(LLVMDisasmContextRef DC, uint64_t Options); /** * Dispose of a disassembler context. */ -void LLVMDisasmDispose(LLVMDisasmContextRef DC); +LLVM_FUNC_ABI void LLVMDisasmDispose(LLVMDisasmContextRef DC); /** * Disassemble a single instruction using the disassembler context specified in @@ -98,7 +98,7 @@ void LLVMDisasmDispose(LLVMDisasmContextRef DC); * function returns the number of bytes in the instruction or zero if there was * no valid instruction. */ -size_t LLVMDisasmInstruction(LLVMDisasmContextRef DC, uint8_t *Bytes, +LLVM_FUNC_ABI size_t LLVMDisasmInstruction(LLVMDisasmContextRef DC, uint8_t *Bytes, uint64_t BytesSize, uint64_t PC, char *OutString, size_t OutStringSize); diff --git a/llvm/include/llvm-c/DisassemblerTypes.h b/llvm/include/llvm-c/DisassemblerTypes.h index 06ebfec6c32ba0..9eb7ef542d16b6 100644 --- a/llvm/include/llvm-c/DisassemblerTypes.h +++ b/llvm/include/llvm-c/DisassemblerTypes.h @@ -70,13 +70,13 @@ typedef int (*LLVMOpInfoCallback)(void *DisInfo, uint64_t PC, uint64_t Offset, * type is one of the Target specific #defines below and is used to print * operands like "_foo@GOT", ":lower16:_foo", etc. */ -struct LLVMOpInfoSymbol1 { +struct LLVM_CLASS_ABI LLVMOpInfoSymbol1 { uint64_t Present; /* 1 if this symbol is present */ const char *Name; /* symbol name if not NULL */ uint64_t Value; /* symbol value if name is NULL */ }; -struct LLVMOpInfo1 { +struct LLVM_CLASS_ABI LLVMOpInfo1 { struct LLVMOpInfoSymbol1 AddSymbol; struct LLVMOpInfoSymbol1 SubtractSymbol; uint64_t Value; diff --git a/llvm/include/llvm-c/Error.h b/llvm/include/llvm-c/Error.h index 9f50496bd15fdd..526b76b2ee29a6 100644 --- a/llvm/include/llvm-c/Error.h +++ b/llvm/include/llvm-c/Error.h @@ -42,7 +42,7 @@ typedef const void *LLVMErrorTypeId; * Returns the type id for the given error instance, which must be a failure * value (i.e. non-null). */ -LLVMErrorTypeId LLVMGetErrorTypeId(LLVMErrorRef Err); +LLVM_FUNC_ABI LLVMErrorTypeId LLVMGetErrorTypeId(LLVMErrorRef Err); /** * Dispose of the given error without handling it. This operation consumes the @@ -50,7 +50,7 @@ LLVMErrorTypeId LLVMGetErrorTypeId(LLVMErrorRef Err); * Note: This method *only* needs to be called if the error is not being passed * to some other consuming operation, e.g. LLVMGetErrorMessage. */ -void LLVMConsumeError(LLVMErrorRef Err); +LLVM_FUNC_ABI void LLVMConsumeError(LLVMErrorRef Err); /** * Returns the given string's error message. This operation consumes the error, @@ -58,22 +58,22 @@ void LLVMConsumeError(LLVMErrorRef Err); * The caller is responsible for disposing of the string by calling * LLVMDisposeErrorMessage. */ -char *LLVMGetErrorMessage(LLVMErrorRef Err); +LLVM_FUNC_ABI char *LLVMGetErrorMessage(LLVMErrorRef Err); /** * Dispose of the given error message. */ -void LLVMDisposeErrorMessage(char *ErrMsg); +LLVM_FUNC_ABI void LLVMDisposeErrorMessage(char *ErrMsg); /** * Returns the type id for llvm StringError. */ -LLVMErrorTypeId LLVMGetStringErrorTypeId(void); +LLVM_FUNC_ABI LLVMErrorTypeId LLVMGetStringErrorTypeId(void); /** * Create a StringError. */ -LLVMErrorRef LLVMCreateStringError(const char *ErrMsg); +LLVM_FUNC_ABI LLVMErrorRef LLVMCreateStringError(const char *ErrMsg); /** * @} diff --git a/llvm/include/llvm-c/ErrorHandling.h b/llvm/include/llvm-c/ErrorHandling.h index d9b9f22752b8f7..79527feee71ce2 100644 --- a/llvm/include/llvm-c/ErrorHandling.h +++ b/llvm/include/llvm-c/ErrorHandling.h @@ -33,20 +33,20 @@ typedef void (*LLVMFatalErrorHandler)(const char *Reason); * function allows you to install a callback that will be invoked prior to the * call to exit(1). */ -void LLVMInstallFatalErrorHandler(LLVMFatalErrorHandler Handler); +LLVM_FUNC_ABI void LLVMInstallFatalErrorHandler(LLVMFatalErrorHandler Handler); /** * Reset the fatal error handler. This resets LLVM's fatal error handling * behavior to the default. */ -void LLVMResetFatalErrorHandler(void); +LLVM_FUNC_ABI void LLVMResetFatalErrorHandler(void); /** * Enable LLVM's built-in stack trace code. This intercepts the OS's crash * signals and prints which component of LLVM you were in at the time if the * crash. */ -void LLVMEnablePrettyStackTrace(void); +LLVM_FUNC_ABI void LLVMEnablePrettyStackTrace(void); /** * @} diff --git a/llvm/include/llvm-c/ExecutionEngine.h b/llvm/include/llvm-c/ExecutionEngine.h index ba8353b4796f16..76185ab47e8397 100644 --- a/llvm/include/llvm-c/ExecutionEngine.h +++ b/llvm/include/llvm-c/ExecutionEngine.h @@ -34,14 +34,14 @@ LLVM_C_EXTERN_C_BEGIN * @{ */ -void LLVMLinkInMCJIT(void); -void LLVMLinkInInterpreter(void); +LLVM_FUNC_ABI void LLVMLinkInMCJIT(void); +LLVM_FUNC_ABI void LLVMLinkInInterpreter(void); typedef struct LLVMOpaqueGenericValue *LLVMGenericValueRef; typedef struct LLVMOpaqueExecutionEngine *LLVMExecutionEngineRef; typedef struct LLVMOpaqueMCJITMemoryManager *LLVMMCJITMemoryManagerRef; -struct LLVMMCJITCompilerOptions { +struct LLVM_CLASS_ABI LLVMMCJITCompilerOptions { unsigned OptLevel; LLVMCodeModel CodeModel; LLVMBool NoFramePointerElim; @@ -51,41 +51,41 @@ struct LLVMMCJITCompilerOptions { /*===-- Operations on generic values --------------------------------------===*/ -LLVMGenericValueRef LLVMCreateGenericValueOfInt(LLVMTypeRef Ty, +LLVM_FUNC_ABI LLVMGenericValueRef LLVMCreateGenericValueOfInt(LLVMTypeRef Ty, unsigned long long N, LLVMBool IsSigned); -LLVMGenericValueRef LLVMCreateGenericValueOfPointer(void *P); +LLVM_FUNC_ABI LLVMGenericValueRef LLVMCreateGenericValueOfPointer(void *P); -LLVMGenericValueRef LLVMCreateGenericValueOfFloat(LLVMTypeRef Ty, double N); +LLVM_FUNC_ABI LLVMGenericValueRef LLVMCreateGenericValueOfFloat(LLVMTypeRef Ty, double N); -unsigned LLVMGenericValueIntWidth(LLVMGenericValueRef GenValRef); +LLVM_FUNC_ABI unsigned LLVMGenericValueIntWidth(LLVMGenericValueRef GenValRef); -unsigned long long LLVMGenericValueToInt(LLVMGenericValueRef GenVal, +LLVM_FUNC_ABI unsigned long long LLVMGenericValueToInt(LLVMGenericValueRef GenVal, LLVMBool IsSigned); -void *LLVMGenericValueToPointer(LLVMGenericValueRef GenVal); +LLVM_FUNC_ABI void *LLVMGenericValueToPointer(LLVMGenericValueRef GenVal); -double LLVMGenericValueToFloat(LLVMTypeRef TyRef, LLVMGenericValueRef GenVal); +LLVM_FUNC_ABI double LLVMGenericValueToFloat(LLVMTypeRef TyRef, LLVMGenericValueRef GenVal); -void LLVMDisposeGenericValue(LLVMGenericValueRef GenVal); +LLVM_FUNC_ABI void LLVMDisposeGenericValue(LLVMGenericValueRef GenVal); /*===-- Operations on execution engines -----------------------------------===*/ -LLVMBool LLVMCreateExecutionEngineForModule(LLVMExecutionEngineRef *OutEE, +LLVM_FUNC_ABI LLVMBool LLVMCreateExecutionEngineForModule(LLVMExecutionEngineRef *OutEE, LLVMModuleRef M, char **OutError); -LLVMBool LLVMCreateInterpreterForModule(LLVMExecutionEngineRef *OutInterp, +LLVM_FUNC_ABI LLVMBool LLVMCreateInterpreterForModule(LLVMExecutionEngineRef *OutInterp, LLVMModuleRef M, char **OutError); -LLVMBool LLVMCreateJITCompilerForModule(LLVMExecutionEngineRef *OutJIT, +LLVM_FUNC_ABI LLVMBool LLVMCreateJITCompilerForModule(LLVMExecutionEngineRef *OutJIT, LLVMModuleRef M, unsigned OptLevel, char **OutError); -void LLVMInitializeMCJITCompilerOptions( +LLVM_FUNC_ABI void LLVMInitializeMCJITCompilerOptions( struct LLVMMCJITCompilerOptions *Options, size_t SizeOfOptions); /** @@ -105,54 +105,54 @@ void LLVMInitializeMCJITCompilerOptions( * * LLVMCreateMCJITCompilerForModule(&jit, mod, 0, 0, &error); */ -LLVMBool LLVMCreateMCJITCompilerForModule( +LLVM_FUNC_ABI LLVMBool LLVMCreateMCJITCompilerForModule( LLVMExecutionEngineRef *OutJIT, LLVMModuleRef M, struct LLVMMCJITCompilerOptions *Options, size_t SizeOfOptions, char **OutError); -void LLVMDisposeExecutionEngine(LLVMExecutionEngineRef EE); +LLVM_FUNC_ABI void LLVMDisposeExecutionEngine(LLVMExecutionEngineRef EE); -void LLVMRunStaticConstructors(LLVMExecutionEngineRef EE); +LLVM_FUNC_ABI void LLVMRunStaticConstructors(LLVMExecutionEngineRef EE); -void LLVMRunStaticDestructors(LLVMExecutionEngineRef EE); +LLVM_FUNC_ABI void LLVMRunStaticDestructors(LLVMExecutionEngineRef EE); -int LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE, LLVMValueRef F, +LLVM_FUNC_ABI int LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE, LLVMValueRef F, unsigned ArgC, const char * const *ArgV, const char * const *EnvP); -LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F, +LLVM_FUNC_ABI LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F, unsigned NumArgs, LLVMGenericValueRef *Args); -void LLVMFreeMachineCodeForFunction(LLVMExecutionEngineRef EE, LLVMValueRef F); +LLVM_FUNC_ABI void LLVMFreeMachineCodeForFunction(LLVMExecutionEngineRef EE, LLVMValueRef F); -void LLVMAddModule(LLVMExecutionEngineRef EE, LLVMModuleRef M); +LLVM_FUNC_ABI void LLVMAddModule(LLVMExecutionEngineRef EE, LLVMModuleRef M); -LLVMBool LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M, +LLVM_FUNC_ABI LLVMBool LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M, LLVMModuleRef *OutMod, char **OutError); -LLVMBool LLVMFindFunction(LLVMExecutionEngineRef EE, const char *Name, +LLVM_FUNC_ABI LLVMBool LLVMFindFunction(LLVMExecutionEngineRef EE, const char *Name, LLVMValueRef *OutFn); -void *LLVMRecompileAndRelinkFunction(LLVMExecutionEngineRef EE, +LLVM_FUNC_ABI void *LLVMRecompileAndRelinkFunction(LLVMExecutionEngineRef EE, LLVMValueRef Fn); -LLVMTargetDataRef LLVMGetExecutionEngineTargetData(LLVMExecutionEngineRef EE); -LLVMTargetMachineRef +LLVM_FUNC_ABI LLVMTargetDataRef LLVMGetExecutionEngineTargetData(LLVMExecutionEngineRef EE); +LLVM_FUNC_ABI LLVMTargetMachineRef LLVMGetExecutionEngineTargetMachine(LLVMExecutionEngineRef EE); -void LLVMAddGlobalMapping(LLVMExecutionEngineRef EE, LLVMValueRef Global, +LLVM_FUNC_ABI void LLVMAddGlobalMapping(LLVMExecutionEngineRef EE, LLVMValueRef Global, void* Addr); -void *LLVMGetPointerToGlobal(LLVMExecutionEngineRef EE, LLVMValueRef Global); +LLVM_FUNC_ABI void *LLVMGetPointerToGlobal(LLVMExecutionEngineRef EE, LLVMValueRef Global); -uint64_t LLVMGetGlobalValueAddress(LLVMExecutionEngineRef EE, const char *Name); +LLVM_FUNC_ABI uint64_t LLVMGetGlobalValueAddress(LLVMExecutionEngineRef EE, const char *Name); -uint64_t LLVMGetFunctionAddress(LLVMExecutionEngineRef EE, const char *Name); +LLVM_FUNC_ABI uint64_t LLVMGetFunctionAddress(LLVMExecutionEngineRef EE, const char *Name); /// Returns true on error, false on success. If true is returned then the error /// message is copied to OutStr and cleared in the ExecutionEngine instance. -LLVMBool LLVMExecutionEngineGetErrMsg(LLVMExecutionEngineRef EE, +LLVM_FUNC_ABI LLVMBool LLVMExecutionEngineGetErrMsg(LLVMExecutionEngineRef EE, char **OutError); /*===-- Operations on memory managers -------------------------------------===*/ @@ -178,21 +178,21 @@ typedef void (*LLVMMemoryManagerDestroyCallback)(void *Opaque); * @param FinalizeMemory Set page permissions and flush cache. Return 0 on * success, 1 on error. */ -LLVMMCJITMemoryManagerRef LLVMCreateSimpleMCJITMemoryManager( +LLVM_FUNC_ABI LLVMMCJITMemoryManagerRef LLVMCreateSimpleMCJITMemoryManager( void *Opaque, LLVMMemoryManagerAllocateCodeSectionCallback AllocateCodeSection, LLVMMemoryManagerAllocateDataSectionCallback AllocateDataSection, LLVMMemoryManagerFinalizeMemoryCallback FinalizeMemory, LLVMMemoryManagerDestroyCallback Destroy); -void LLVMDisposeMCJITMemoryManager(LLVMMCJITMemoryManagerRef MM); +LLVM_FUNC_ABI void LLVMDisposeMCJITMemoryManager(LLVMMCJITMemoryManagerRef MM); /*===-- JIT Event Listener functions -------------------------------------===*/ -LLVMJITEventListenerRef LLVMCreateGDBRegistrationListener(void); -LLVMJITEventListenerRef LLVMCreateIntelJITEventListener(void); -LLVMJITEventListenerRef LLVMCreateOProfileJITEventListener(void); -LLVMJITEventListenerRef LLVMCreatePerfJITEventListener(void); +LLVM_FUNC_ABI LLVMJITEventListenerRef LLVMCreateGDBRegistrationListener(void); +LLVM_FUNC_ABI LLVMJITEventListenerRef LLVMCreateIntelJITEventListener(void); +LLVM_FUNC_ABI LLVMJITEventListenerRef LLVMCreateOProfileJITEventListener(void); +LLVM_FUNC_ABI LLVMJITEventListenerRef LLVMCreatePerfJITEventListener(void); /** * @} diff --git a/llvm/include/llvm-c/IRReader.h b/llvm/include/llvm-c/IRReader.h index 629dce58971572..c809c7976abbd1 100644 --- a/llvm/include/llvm-c/IRReader.h +++ b/llvm/include/llvm-c/IRReader.h @@ -36,7 +36,7 @@ LLVM_C_EXTERN_C_BEGIN * * @see llvm::ParseIR() */ -LLVMBool LLVMParseIRInContext(LLVMContextRef ContextRef, +LLVM_FUNC_ABI LLVMBool LLVMParseIRInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM, char **OutMessage); diff --git a/llvm/include/llvm-c/LLJIT.h b/llvm/include/llvm-c/LLJIT.h index 961bf2daa909f1..a8dfd202280472 100644 --- a/llvm/include/llvm-c/LLJIT.h +++ b/llvm/include/llvm-c/LLJIT.h @@ -72,14 +72,14 @@ typedef struct LLVMOrcOpaqueLLJIT *LLVMOrcLLJITRef; * The client owns the resulting LLJITBuilder and should dispose of it using * LLVMOrcDisposeLLJITBuilder once they are done with it. */ -LLVMOrcLLJITBuilderRef LLVMOrcCreateLLJITBuilder(void); +LLVM_FUNC_ABI LLVMOrcLLJITBuilderRef LLVMOrcCreateLLJITBuilder(void); /** * Dispose of an LLVMOrcLLJITBuilderRef. This should only be called if ownership * has not been passed to LLVMOrcCreateLLJIT (e.g. because some error prevented * that function from being called). */ -void LLVMOrcDisposeLLJITBuilder(LLVMOrcLLJITBuilderRef Builder); +LLVM_FUNC_ABI void LLVMOrcDisposeLLJITBuilder(LLVMOrcLLJITBuilderRef Builder); /** * Set the JITTargetMachineBuilder to be used when constructing the LLJIT @@ -90,13 +90,13 @@ void LLVMOrcDisposeLLJITBuilder(LLVMOrcLLJITBuilderRef Builder); * This function takes ownership of the JTMB argument: clients should not * dispose of the JITTargetMachineBuilder after calling this function. */ -void LLVMOrcLLJITBuilderSetJITTargetMachineBuilder( +LLVM_FUNC_ABI void LLVMOrcLLJITBuilderSetJITTargetMachineBuilder( LLVMOrcLLJITBuilderRef Builder, LLVMOrcJITTargetMachineBuilderRef JTMB); /** * Set an ObjectLinkingLayer creator function for this LLJIT instance. */ -void LLVMOrcLLJITBuilderSetObjectLinkingLayerCreator( +LLVM_FUNC_ABI void LLVMOrcLLJITBuilderSetObjectLinkingLayerCreator( LLVMOrcLLJITBuilderRef Builder, LLVMOrcLLJITBuilderObjectLinkingLayerCreatorFunction F, void *Ctx); @@ -114,13 +114,13 @@ void LLVMOrcLLJITBuilderSetObjectLinkingLayerCreator( * LLJIT instance will free all memory managed by the JIT, including JIT'd code * and not-yet compiled modules. */ -LLVMErrorRef LLVMOrcCreateLLJIT(LLVMOrcLLJITRef *Result, +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcCreateLLJIT(LLVMOrcLLJITRef *Result, LLVMOrcLLJITBuilderRef Builder); /** * Dispose of an LLJIT instance. */ -LLVMErrorRef LLVMOrcDisposeLLJIT(LLVMOrcLLJITRef J); +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcDisposeLLJIT(LLVMOrcLLJITRef J); /** * Get a reference to the ExecutionSession for this LLJIT instance. @@ -128,7 +128,7 @@ LLVMErrorRef LLVMOrcDisposeLLJIT(LLVMOrcLLJITRef J); * The ExecutionSession is owned by the LLJIT instance. The client is not * responsible for managing its memory. */ -LLVMOrcExecutionSessionRef LLVMOrcLLJITGetExecutionSession(LLVMOrcLLJITRef J); +LLVM_FUNC_ABI LLVMOrcExecutionSessionRef LLVMOrcLLJITGetExecutionSession(LLVMOrcLLJITRef J); /** * Return a reference to the Main JITDylib. @@ -136,18 +136,18 @@ LLVMOrcExecutionSessionRef LLVMOrcLLJITGetExecutionSession(LLVMOrcLLJITRef J); * The JITDylib is owned by the LLJIT instance. The client is not responsible * for managing its memory. */ -LLVMOrcJITDylibRef LLVMOrcLLJITGetMainJITDylib(LLVMOrcLLJITRef J); +LLVM_FUNC_ABI LLVMOrcJITDylibRef LLVMOrcLLJITGetMainJITDylib(LLVMOrcLLJITRef J); /** * Return the target triple for this LLJIT instance. This string is owned by * the LLJIT instance and should not be freed by the client. */ -const char *LLVMOrcLLJITGetTripleString(LLVMOrcLLJITRef J); +LLVM_FUNC_ABI const char *LLVMOrcLLJITGetTripleString(LLVMOrcLLJITRef J); /** * Returns the global prefix character according to the LLJIT's DataLayout. */ -char LLVMOrcLLJITGetGlobalPrefix(LLVMOrcLLJITRef J); +LLVM_FUNC_ABI char LLVMOrcLLJITGetGlobalPrefix(LLVMOrcLLJITRef J); /** * Mangles the given string according to the LLJIT instance's DataLayout, then @@ -156,7 +156,7 @@ char LLVMOrcLLJITGetGlobalPrefix(LLVMOrcLLJITRef J); * decrement the ref-count on the pool entry once they are finished with this * value. */ -LLVMOrcSymbolStringPoolEntryRef +LLVM_FUNC_ABI LLVMOrcSymbolStringPoolEntryRef LLVMOrcLLJITMangleAndIntern(LLVMOrcLLJITRef J, const char *UnmangledName); /** @@ -168,7 +168,7 @@ LLVMOrcLLJITMangleAndIntern(LLVMOrcLLJITRef J, const char *UnmangledName); * Resources associated with the given object will be tracked by the given * JITDylib's default resource tracker. */ -LLVMErrorRef LLVMOrcLLJITAddObjectFile(LLVMOrcLLJITRef J, LLVMOrcJITDylibRef JD, +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcLLJITAddObjectFile(LLVMOrcLLJITRef J, LLVMOrcJITDylibRef JD, LLVMMemoryBufferRef ObjBuffer); /** @@ -180,7 +180,7 @@ LLVMErrorRef LLVMOrcLLJITAddObjectFile(LLVMOrcLLJITRef J, LLVMOrcJITDylibRef JD, * Resources associated with the given object will be tracked by ResourceTracker * RT. */ -LLVMErrorRef LLVMOrcLLJITAddObjectFileWithRT(LLVMOrcLLJITRef J, +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcLLJITAddObjectFileWithRT(LLVMOrcLLJITRef J, LLVMOrcResourceTrackerRef RT, LLVMMemoryBufferRef ObjBuffer); @@ -193,7 +193,7 @@ LLVMErrorRef LLVMOrcLLJITAddObjectFileWithRT(LLVMOrcLLJITRef J, * Resources associated with the given Module will be tracked by the given * JITDylib's default resource tracker. */ -LLVMErrorRef LLVMOrcLLJITAddLLVMIRModule(LLVMOrcLLJITRef J, +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcLLJITAddLLVMIRModule(LLVMOrcLLJITRef J, LLVMOrcJITDylibRef JD, LLVMOrcThreadSafeModuleRef TSM); @@ -206,7 +206,7 @@ LLVMErrorRef LLVMOrcLLJITAddLLVMIRModule(LLVMOrcLLJITRef J, * Resources associated with the given Module will be tracked by ResourceTracker * RT. */ -LLVMErrorRef LLVMOrcLLJITAddLLVMIRModuleWithRT(LLVMOrcLLJITRef J, +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcLLJITAddLLVMIRModuleWithRT(LLVMOrcLLJITRef J, LLVMOrcResourceTrackerRef JD, LLVMOrcThreadSafeModuleRef TSM); @@ -215,25 +215,25 @@ LLVMErrorRef LLVMOrcLLJITAddLLVMIRModuleWithRT(LLVMOrcLLJITRef J, * * This operation does not take ownership of the Name argument. */ -LLVMErrorRef LLVMOrcLLJITLookup(LLVMOrcLLJITRef J, +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcLLJITLookup(LLVMOrcLLJITRef J, LLVMOrcExecutorAddress *Result, const char *Name); /** * Returns a non-owning reference to the LLJIT instance's object linking layer. */ -LLVMOrcObjectLayerRef LLVMOrcLLJITGetObjLinkingLayer(LLVMOrcLLJITRef J); +LLVM_FUNC_ABI LLVMOrcObjectLayerRef LLVMOrcLLJITGetObjLinkingLayer(LLVMOrcLLJITRef J); /** * Returns a non-owning reference to the LLJIT instance's object linking layer. */ -LLVMOrcObjectTransformLayerRef +LLVM_FUNC_ABI LLVMOrcObjectTransformLayerRef LLVMOrcLLJITGetObjTransformLayer(LLVMOrcLLJITRef J); /** * Returns a non-owning reference to the LLJIT instance's IR transform layer. */ -LLVMOrcIRTransformLayerRef LLVMOrcLLJITGetIRTransformLayer(LLVMOrcLLJITRef J); +LLVM_FUNC_ABI LLVMOrcIRTransformLayerRef LLVMOrcLLJITGetIRTransformLayer(LLVMOrcLLJITRef J); /** * Get the LLJIT instance's default data layout string. @@ -241,7 +241,7 @@ LLVMOrcIRTransformLayerRef LLVMOrcLLJITGetIRTransformLayer(LLVMOrcLLJITRef J); * This string is owned by the LLJIT instance and does not need to be freed * by the caller. */ -const char *LLVMOrcLLJITGetDataLayoutStr(LLVMOrcLLJITRef J); +LLVM_FUNC_ABI const char *LLVMOrcLLJITGetDataLayoutStr(LLVMOrcLLJITRef J); /** * @} diff --git a/llvm/include/llvm-c/Linker.h b/llvm/include/llvm-c/Linker.h index f13a5fbea67e16..4b103bf83a5d3f 100644 --- a/llvm/include/llvm-c/Linker.h +++ b/llvm/include/llvm-c/Linker.h @@ -39,7 +39,7 @@ typedef enum { * The return value is true if an error occurred, false otherwise. * Use the diagnostic handler to get any diagnostic message. */ -LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src); +LLVM_FUNC_ABI LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src); LLVM_C_EXTERN_C_END diff --git a/llvm/include/llvm-c/Object.h b/llvm/include/llvm-c/Object.h index 709609df2460af..55f6d2e40f149e 100644 --- a/llvm/include/llvm-c/Object.h +++ b/llvm/include/llvm-c/Object.h @@ -74,7 +74,7 @@ typedef enum { * * @see llvm::object::createBinary */ -LLVMBinaryRef LLVMCreateBinary(LLVMMemoryBufferRef MemBuf, +LLVM_FUNC_ABI LLVMBinaryRef LLVMCreateBinary(LLVMMemoryBufferRef MemBuf, LLVMContextRef Context, char **ErrorMessage); @@ -84,7 +84,7 @@ LLVMBinaryRef LLVMCreateBinary(LLVMMemoryBufferRef MemBuf, * The binary file does not own its backing buffer. It is the responsibilty * of the caller to free it with \c LLVMDisposeMemoryBuffer. */ -void LLVMDisposeBinary(LLVMBinaryRef BR); +LLVM_FUNC_ABI void LLVMDisposeBinary(LLVMBinaryRef BR); /** * Retrieves a copy of the memory buffer associated with this object file. @@ -95,14 +95,14 @@ void LLVMDisposeBinary(LLVMBinaryRef BR); * * @see llvm::object::getMemoryBufferRef */ -LLVMMemoryBufferRef LLVMBinaryCopyMemoryBuffer(LLVMBinaryRef BR); +LLVM_FUNC_ABI LLVMMemoryBufferRef LLVMBinaryCopyMemoryBuffer(LLVMBinaryRef BR); /** * Retrieve the specific type of a binary. * * @see llvm::object::Binary::getType */ -LLVMBinaryType LLVMBinaryGetType(LLVMBinaryRef BR); +LLVM_FUNC_ABI LLVMBinaryType LLVMBinaryGetType(LLVMBinaryRef BR); /* * For a Mach-O universal binary file, retrieves the object file corresponding @@ -115,7 +115,7 @@ LLVMBinaryType LLVMBinaryGetType(LLVMBinaryRef BR); * It is the responsiblity of the caller to free the returned object file by * calling \c LLVMDisposeBinary. */ -LLVMBinaryRef LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR, +LLVM_FUNC_ABI LLVMBinaryRef LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR, const char *Arch, size_t ArchLen, char **ErrorMessage); @@ -131,14 +131,14 @@ LLVMBinaryRef LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR, * * @see llvm::object::sections() */ -LLVMSectionIteratorRef LLVMObjectFileCopySectionIterator(LLVMBinaryRef BR); +LLVM_FUNC_ABI LLVMSectionIteratorRef LLVMObjectFileCopySectionIterator(LLVMBinaryRef BR); /** * Returns whether the given section iterator is at the end. * * @see llvm::object::section_end */ -LLVMBool LLVMObjectFileIsSectionIteratorAtEnd(LLVMBinaryRef BR, +LLVM_FUNC_ABI LLVMBool LLVMObjectFileIsSectionIteratorAtEnd(LLVMBinaryRef BR, LLVMSectionIteratorRef SI); /** @@ -152,77 +152,77 @@ LLVMBool LLVMObjectFileIsSectionIteratorAtEnd(LLVMBinaryRef BR, * * @see llvm::object::symbols() */ -LLVMSymbolIteratorRef LLVMObjectFileCopySymbolIterator(LLVMBinaryRef BR); +LLVM_FUNC_ABI LLVMSymbolIteratorRef LLVMObjectFileCopySymbolIterator(LLVMBinaryRef BR); /** * Returns whether the given symbol iterator is at the end. * * @see llvm::object::symbol_end */ -LLVMBool LLVMObjectFileIsSymbolIteratorAtEnd(LLVMBinaryRef BR, +LLVM_FUNC_ABI LLVMBool LLVMObjectFileIsSymbolIteratorAtEnd(LLVMBinaryRef BR, LLVMSymbolIteratorRef SI); -void LLVMDisposeSectionIterator(LLVMSectionIteratorRef SI); +LLVM_FUNC_ABI void LLVMDisposeSectionIterator(LLVMSectionIteratorRef SI); -void LLVMMoveToNextSection(LLVMSectionIteratorRef SI); -void LLVMMoveToContainingSection(LLVMSectionIteratorRef Sect, +LLVM_FUNC_ABI void LLVMMoveToNextSection(LLVMSectionIteratorRef SI); +LLVM_FUNC_ABI void LLVMMoveToContainingSection(LLVMSectionIteratorRef Sect, LLVMSymbolIteratorRef Sym); // ObjectFile Symbol iterators -void LLVMDisposeSymbolIterator(LLVMSymbolIteratorRef SI); -void LLVMMoveToNextSymbol(LLVMSymbolIteratorRef SI); +LLVM_FUNC_ABI void LLVMDisposeSymbolIterator(LLVMSymbolIteratorRef SI); +LLVM_FUNC_ABI void LLVMMoveToNextSymbol(LLVMSymbolIteratorRef SI); // SectionRef accessors -const char *LLVMGetSectionName(LLVMSectionIteratorRef SI); -uint64_t LLVMGetSectionSize(LLVMSectionIteratorRef SI); -const char *LLVMGetSectionContents(LLVMSectionIteratorRef SI); -uint64_t LLVMGetSectionAddress(LLVMSectionIteratorRef SI); -LLVMBool LLVMGetSectionContainsSymbol(LLVMSectionIteratorRef SI, +LLVM_FUNC_ABI const char *LLVMGetSectionName(LLVMSectionIteratorRef SI); +LLVM_FUNC_ABI uint64_t LLVMGetSectionSize(LLVMSectionIteratorRef SI); +LLVM_FUNC_ABI const char *LLVMGetSectionContents(LLVMSectionIteratorRef SI); +LLVM_FUNC_ABI uint64_t LLVMGetSectionAddress(LLVMSectionIteratorRef SI); +LLVM_FUNC_ABI LLVMBool LLVMGetSectionContainsSymbol(LLVMSectionIteratorRef SI, LLVMSymbolIteratorRef Sym); // Section Relocation iterators -LLVMRelocationIteratorRef LLVMGetRelocations(LLVMSectionIteratorRef Section); -void LLVMDisposeRelocationIterator(LLVMRelocationIteratorRef RI); -LLVMBool LLVMIsRelocationIteratorAtEnd(LLVMSectionIteratorRef Section, +LLVM_FUNC_ABI LLVMRelocationIteratorRef LLVMGetRelocations(LLVMSectionIteratorRef Section); +LLVM_FUNC_ABI void LLVMDisposeRelocationIterator(LLVMRelocationIteratorRef RI); +LLVM_FUNC_ABI LLVMBool LLVMIsRelocationIteratorAtEnd(LLVMSectionIteratorRef Section, LLVMRelocationIteratorRef RI); -void LLVMMoveToNextRelocation(LLVMRelocationIteratorRef RI); +LLVM_FUNC_ABI void LLVMMoveToNextRelocation(LLVMRelocationIteratorRef RI); // SymbolRef accessors -const char *LLVMGetSymbolName(LLVMSymbolIteratorRef SI); -uint64_t LLVMGetSymbolAddress(LLVMSymbolIteratorRef SI); -uint64_t LLVMGetSymbolSize(LLVMSymbolIteratorRef SI); +LLVM_FUNC_ABI const char *LLVMGetSymbolName(LLVMSymbolIteratorRef SI); +LLVM_FUNC_ABI uint64_t LLVMGetSymbolAddress(LLVMSymbolIteratorRef SI); +LLVM_FUNC_ABI uint64_t LLVMGetSymbolSize(LLVMSymbolIteratorRef SI); // RelocationRef accessors -uint64_t LLVMGetRelocationOffset(LLVMRelocationIteratorRef RI); -LLVMSymbolIteratorRef LLVMGetRelocationSymbol(LLVMRelocationIteratorRef RI); -uint64_t LLVMGetRelocationType(LLVMRelocationIteratorRef RI); +LLVM_FUNC_ABI uint64_t LLVMGetRelocationOffset(LLVMRelocationIteratorRef RI); +LLVM_FUNC_ABI LLVMSymbolIteratorRef LLVMGetRelocationSymbol(LLVMRelocationIteratorRef RI); +LLVM_FUNC_ABI uint64_t LLVMGetRelocationType(LLVMRelocationIteratorRef RI); // NOTE: Caller takes ownership of returned string of the two // following functions. -const char *LLVMGetRelocationTypeName(LLVMRelocationIteratorRef RI); -const char *LLVMGetRelocationValueString(LLVMRelocationIteratorRef RI); +LLVM_FUNC_ABI const char *LLVMGetRelocationTypeName(LLVMRelocationIteratorRef RI); +LLVM_FUNC_ABI const char *LLVMGetRelocationValueString(LLVMRelocationIteratorRef RI); /** Deprecated: Use LLVMBinaryRef instead. */ typedef struct LLVMOpaqueObjectFile *LLVMObjectFileRef; /** Deprecated: Use LLVMCreateBinary instead. */ -LLVMObjectFileRef LLVMCreateObjectFile(LLVMMemoryBufferRef MemBuf); +LLVM_FUNC_ABI LLVMObjectFileRef LLVMCreateObjectFile(LLVMMemoryBufferRef MemBuf); /** Deprecated: Use LLVMDisposeBinary instead. */ -void LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile); +LLVM_FUNC_ABI void LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile); /** Deprecated: Use LLVMObjectFileCopySectionIterator instead. */ -LLVMSectionIteratorRef LLVMGetSections(LLVMObjectFileRef ObjectFile); +LLVM_FUNC_ABI LLVMSectionIteratorRef LLVMGetSections(LLVMObjectFileRef ObjectFile); /** Deprecated: Use LLVMObjectFileIsSectionIteratorAtEnd instead. */ -LLVMBool LLVMIsSectionIteratorAtEnd(LLVMObjectFileRef ObjectFile, +LLVM_FUNC_ABI LLVMBool LLVMIsSectionIteratorAtEnd(LLVMObjectFileRef ObjectFile, LLVMSectionIteratorRef SI); /** Deprecated: Use LLVMObjectFileCopySymbolIterator instead. */ -LLVMSymbolIteratorRef LLVMGetSymbols(LLVMObjectFileRef ObjectFile); +LLVM_FUNC_ABI LLVMSymbolIteratorRef LLVMGetSymbols(LLVMObjectFileRef ObjectFile); /** Deprecated: Use LLVMObjectFileIsSymbolIteratorAtEnd instead. */ -LLVMBool LLVMIsSymbolIteratorAtEnd(LLVMObjectFileRef ObjectFile, +LLVM_FUNC_ABI LLVMBool LLVMIsSymbolIteratorAtEnd(LLVMObjectFileRef ObjectFile, LLVMSymbolIteratorRef SI); /** * @} diff --git a/llvm/include/llvm-c/Orc.h b/llvm/include/llvm-c/Orc.h index d0b4f15d117fb9..70670484ea46d4 100644 --- a/llvm/include/llvm-c/Orc.h +++ b/llvm/include/llvm-c/Orc.h @@ -70,7 +70,7 @@ typedef uint8_t LLVMJITSymbolTargetFlags; /** * Represents the linkage flags for a symbol definition. */ -typedef struct { +typedef struct LLVM_CLASS_ABI { uint8_t GenericFlags; uint8_t TargetFlags; } LLVMJITSymbolFlags; @@ -78,7 +78,7 @@ typedef struct { /** * Represents an evaluated symbol address and flags. */ -typedef struct { +typedef struct LLVM_CLASS_ABI { LLVMOrcExecutorAddress Address; LLVMJITSymbolFlags Flags; } LLVMJITEvaluatedSymbol; @@ -107,7 +107,7 @@ typedef struct LLVMOrcOpaqueSymbolStringPoolEntry /** * Represents a pair of a symbol name and LLVMJITSymbolFlags. */ -typedef struct { +typedef struct LLVM_CLASS_ABI { LLVMOrcSymbolStringPoolEntryRef Name; LLVMJITSymbolFlags Flags; } LLVMOrcCSymbolFlagsMapPair; @@ -121,7 +121,7 @@ typedef LLVMOrcCSymbolFlagsMapPair *LLVMOrcCSymbolFlagsMapPairs; /** * Represents a pair of a symbol name and an evaluated symbol. */ -typedef struct { +typedef struct LLVM_CLASS_ABI { LLVMOrcSymbolStringPoolEntryRef Name; LLVMJITEvaluatedSymbol Sym; } LLVMOrcCSymbolMapPair; @@ -135,7 +135,7 @@ typedef LLVMOrcCSymbolMapPair *LLVMOrcCSymbolMapPairs; /** * Represents a SymbolAliasMapEntry */ -typedef struct { +typedef struct LLVM_CLASS_ABI { LLVMOrcSymbolStringPoolEntryRef Name; LLVMJITSymbolFlags Flags; } LLVMOrcCSymbolAliasMapEntry; @@ -143,7 +143,7 @@ typedef struct { /** * Represents a pair of a symbol name and SymbolAliasMapEntry. */ -typedef struct { +typedef struct LLVM_CLASS_ABI { LLVMOrcSymbolStringPoolEntryRef Name; LLVMOrcCSymbolAliasMapEntry Entry; } LLVMOrcCSymbolAliasMapPair; @@ -163,7 +163,7 @@ typedef struct LLVMOrcOpaqueJITDylib *LLVMOrcJITDylibRef; * Represents a list of LLVMOrcSymbolStringPoolEntryRef and the associated * length. */ -typedef struct { +typedef struct LLVM_CLASS_ABI { LLVMOrcSymbolStringPoolEntryRef *Symbols; size_t Length; } LLVMOrcCSymbolsList; @@ -171,7 +171,7 @@ typedef struct { /** * Represents a pair of a JITDylib and LLVMOrcCSymbolsList. */ -typedef struct { +typedef struct LLVM_CLASS_ABI { LLVMOrcJITDylibRef JD; LLVMOrcCSymbolsList Names; } LLVMOrcCDependenceMapPair; @@ -207,7 +207,7 @@ typedef enum { /** * An element type for a JITDylib search order. */ -typedef struct { +typedef struct LLVM_CLASS_ABI { LLVMOrcJITDylibRef JD; LLVMOrcJITDylibLookupFlags JDLookupFlags; } LLVMOrcCJITDylibSearchOrderElement; @@ -232,7 +232,7 @@ typedef enum { /** * An element type for a symbol lookup set. */ -typedef struct { +typedef struct LLVM_CLASS_ABI { LLVMOrcSymbolStringPoolEntryRef Name; LLVMOrcSymbolLookupFlags LookupFlags; } LLVMOrcCLookupSetElement; @@ -480,7 +480,7 @@ typedef struct LLVMOrcOpaqueDumpObjects *LLVMOrcDumpObjectsRef; * requesting definitions from the JIT will typically be delivered a * FailureToMaterialize error instead). */ -void LLVMOrcExecutionSessionSetErrorReporter( +LLVM_FUNC_ABI void LLVMOrcExecutionSessionSetErrorReporter( LLVMOrcExecutionSessionRef ES, LLVMOrcErrorReporterFunction ReportError, void *Ctx); @@ -490,7 +490,7 @@ void LLVMOrcExecutionSessionSetErrorReporter( * Ownership of the pool remains with the ExecutionSession: The caller is * not required to free the pool. */ -LLVMOrcSymbolStringPoolRef +LLVM_FUNC_ABI LLVMOrcSymbolStringPoolRef LLVMOrcExecutionSessionGetSymbolStringPool(LLVMOrcExecutionSessionRef ES); /** @@ -503,7 +503,7 @@ LLVMOrcExecutionSessionGetSymbolStringPool(LLVMOrcExecutionSessionRef ES); * entries will have become unreferenced, e.g. after removing a module or * closing a JITDylib. */ -void LLVMOrcSymbolStringPoolClearDeadEntries(LLVMOrcSymbolStringPoolRef SSP); +LLVM_FUNC_ABI void LLVMOrcSymbolStringPoolClearDeadEntries(LLVMOrcSymbolStringPoolRef SSP); /** * Intern a string in the ExecutionSession's SymbolStringPool and return a @@ -517,7 +517,7 @@ void LLVMOrcSymbolStringPoolClearDeadEntries(LLVMOrcSymbolStringPoolRef SSP); * * Note that this function does not perform linker-mangling on the string. */ -LLVMOrcSymbolStringPoolEntryRef +LLVM_FUNC_ABI LLVMOrcSymbolStringPoolEntryRef LLVMOrcExecutionSessionIntern(LLVMOrcExecutionSessionRef ES, const char *Name); /** @@ -566,7 +566,7 @@ typedef void (*LLVMOrcExecutionSessionLookupHandleResultFunction)( * * THIS API IS EXPERIMENTAL AND LIKELY TO CHANGE IN THE NEAR FUTURE! */ -void LLVMOrcExecutionSessionLookup( +LLVM_FUNC_ABI void LLVMOrcExecutionSessionLookup( LLVMOrcExecutionSessionRef ES, LLVMOrcLookupKind K, LLVMOrcCJITDylibSearchOrder SearchOrder, size_t SearchOrderSize, LLVMOrcCLookupSet Symbols, size_t SymbolsSize, @@ -575,49 +575,49 @@ void LLVMOrcExecutionSessionLookup( /** * Increments the ref-count for a SymbolStringPool entry. */ -void LLVMOrcRetainSymbolStringPoolEntry(LLVMOrcSymbolStringPoolEntryRef S); +LLVM_FUNC_ABI void LLVMOrcRetainSymbolStringPoolEntry(LLVMOrcSymbolStringPoolEntryRef S); /** * Reduces the ref-count for of a SymbolStringPool entry. */ -void LLVMOrcReleaseSymbolStringPoolEntry(LLVMOrcSymbolStringPoolEntryRef S); +LLVM_FUNC_ABI void LLVMOrcReleaseSymbolStringPoolEntry(LLVMOrcSymbolStringPoolEntryRef S); /** * Return the c-string for the given symbol. This string will remain valid until * the entry is freed (once all LLVMOrcSymbolStringPoolEntryRefs have been * released). */ -const char *LLVMOrcSymbolStringPoolEntryStr(LLVMOrcSymbolStringPoolEntryRef S); +LLVM_FUNC_ABI const char *LLVMOrcSymbolStringPoolEntryStr(LLVMOrcSymbolStringPoolEntryRef S); /** * Reduces the ref-count of a ResourceTracker. */ -void LLVMOrcReleaseResourceTracker(LLVMOrcResourceTrackerRef RT); +LLVM_FUNC_ABI void LLVMOrcReleaseResourceTracker(LLVMOrcResourceTrackerRef RT); /** * Transfers tracking of all resources associated with resource tracker SrcRT * to resource tracker DstRT. */ -void LLVMOrcResourceTrackerTransferTo(LLVMOrcResourceTrackerRef SrcRT, +LLVM_FUNC_ABI void LLVMOrcResourceTrackerTransferTo(LLVMOrcResourceTrackerRef SrcRT, LLVMOrcResourceTrackerRef DstRT); /** * Remove all resources associated with the given tracker. See * ResourceTracker::remove(). */ -LLVMErrorRef LLVMOrcResourceTrackerRemove(LLVMOrcResourceTrackerRef RT); +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcResourceTrackerRemove(LLVMOrcResourceTrackerRef RT); /** * Dispose of a JITDylib::DefinitionGenerator. This should only be called if * ownership has not been passed to a JITDylib (e.g. because some error * prevented the client from calling LLVMOrcJITDylibAddGenerator). */ -void LLVMOrcDisposeDefinitionGenerator(LLVMOrcDefinitionGeneratorRef DG); +LLVM_FUNC_ABI void LLVMOrcDisposeDefinitionGenerator(LLVMOrcDefinitionGeneratorRef DG); /** * Dispose of a MaterializationUnit. */ -void LLVMOrcDisposeMaterializationUnit(LLVMOrcMaterializationUnitRef MU); +LLVM_FUNC_ABI void LLVMOrcDisposeMaterializationUnit(LLVMOrcMaterializationUnitRef MU); /** * Create a custom MaterializationUnit. @@ -652,7 +652,7 @@ void LLVMOrcDisposeMaterializationUnit(LLVMOrcMaterializationUnitRef MU); * either passing it to a JITDylib (via LLVMOrcJITDylibDefine) or disposing * of it by calling LLVMOrcDisposeMaterializationUnit. */ -LLVMOrcMaterializationUnitRef LLVMOrcCreateCustomMaterializationUnit( +LLVM_FUNC_ABI LLVMOrcMaterializationUnitRef LLVMOrcCreateCustomMaterializationUnit( const char *Name, void *Ctx, LLVMOrcCSymbolFlagsMapPairs Syms, size_t NumSyms, LLVMOrcSymbolStringPoolEntryRef InitSym, LLVMOrcMaterializationUnitMaterializeFunction Materialize, @@ -680,7 +680,7 @@ LLVMOrcMaterializationUnitRef LLVMOrcCreateCustomMaterializationUnit( * If a client wishes to reuse elements of the Sym array after this call they * must explicitly retain each of the elements for themselves. */ -LLVMOrcMaterializationUnitRef +LLVM_FUNC_ABI LLVMOrcMaterializationUnitRef LLVMOrcAbsoluteSymbols(LLVMOrcCSymbolMapPairs Syms, size_t NumPairs); /** @@ -704,7 +704,7 @@ LLVMOrcAbsoluteSymbols(LLVMOrcCSymbolMapPairs Syms, size_t NumPairs); * If a client wishes to reuse elements of the CallableAliases array after this call they * must explicitly retain each of the elements for themselves. */ -LLVMOrcMaterializationUnitRef LLVMOrcLazyReexports( +LLVM_FUNC_ABI LLVMOrcMaterializationUnitRef LLVMOrcLazyReexports( LLVMOrcLazyCallThroughManagerRef LCTM, LLVMOrcIndirectStubsManagerRef ISM, LLVMOrcJITDylibRef SourceRef, LLVMOrcCSymbolAliasMapPairs CallableAliases, size_t NumPairs); @@ -719,19 +719,19 @@ LLVMOrcMaterializationUnitRef LLVMOrcLazyReexports( * LLVMOrcMaterializationResponsibilityNotifyEmitted) or failed (via * LLVMOrcMaterializationResponsibilityFailMaterialization). */ -void LLVMOrcDisposeMaterializationResponsibility( +LLVM_FUNC_ABI void LLVMOrcDisposeMaterializationResponsibility( LLVMOrcMaterializationResponsibilityRef MR); /** * Returns the target JITDylib that these symbols are being materialized into. */ -LLVMOrcJITDylibRef LLVMOrcMaterializationResponsibilityGetTargetDylib( +LLVM_FUNC_ABI LLVMOrcJITDylibRef LLVMOrcMaterializationResponsibilityGetTargetDylib( LLVMOrcMaterializationResponsibilityRef MR); /** * Returns the ExecutionSession for this MaterializationResponsibility. */ -LLVMOrcExecutionSessionRef +LLVM_FUNC_ABI LLVMOrcExecutionSessionRef LLVMOrcMaterializationResponsibilityGetExecutionSession( LLVMOrcMaterializationResponsibilityRef MR); @@ -745,7 +745,7 @@ LLVMOrcMaterializationResponsibilityGetExecutionSession( * MaterializationResponsibility requires the caller to retain the symbols * explicitly. */ -LLVMOrcCSymbolFlagsMapPairs LLVMOrcMaterializationResponsibilityGetSymbols( +LLVM_FUNC_ABI LLVMOrcCSymbolFlagsMapPairs LLVMOrcMaterializationResponsibilityGetSymbols( LLVMOrcMaterializationResponsibilityRef MR, size_t *NumPairs); /** @@ -753,7 +753,7 @@ LLVMOrcCSymbolFlagsMapPairs LLVMOrcMaterializationResponsibilityGetSymbols( * * Does not release the entries themselves. */ -void LLVMOrcDisposeCSymbolFlagsMap(LLVMOrcCSymbolFlagsMapPairs Pairs); +LLVM_FUNC_ABI void LLVMOrcDisposeCSymbolFlagsMap(LLVMOrcCSymbolFlagsMapPairs Pairs); /** * Returns the initialization pseudo-symbol, if any. This symbol will also @@ -763,7 +763,7 @@ void LLVMOrcDisposeCSymbolFlagsMap(LLVMOrcCSymbolFlagsMapPairs Pairs); * The returned symbol is not retained over any mutating operation of the * MaterializationResponsbility or beyond the lifetime thereof. */ -LLVMOrcSymbolStringPoolEntryRef +LLVM_FUNC_ABI LLVMOrcSymbolStringPoolEntryRef LLVMOrcMaterializationResponsibilityGetInitializerSymbol( LLVMOrcMaterializationResponsibilityRef MR); @@ -773,7 +773,7 @@ LLVMOrcMaterializationResponsibilityGetInitializerSymbol( * information can be used to return responsibility for unrequested symbols * back to the JITDylib via the delegate method. */ -LLVMOrcSymbolStringPoolEntryRef * +LLVM_FUNC_ABI LLVMOrcSymbolStringPoolEntryRef * LLVMOrcMaterializationResponsibilityGetRequestedSymbols( LLVMOrcMaterializationResponsibilityRef MR, size_t *NumSymbols); @@ -782,7 +782,7 @@ LLVMOrcMaterializationResponsibilityGetRequestedSymbols( * * Does not release the symbols themselves. */ -void LLVMOrcDisposeSymbols(LLVMOrcSymbolStringPoolEntryRef *Symbols); +LLVM_FUNC_ABI void LLVMOrcDisposeSymbols(LLVMOrcSymbolStringPoolEntryRef *Symbols); /** * Notifies the target JITDylib that the given symbols have been resolved. @@ -800,7 +800,7 @@ void LLVMOrcDisposeSymbols(LLVMOrcSymbolStringPoolEntryRef *Symbols); * MaterializationResponsibility then this method is guaranteed to return * LLVMErrorSuccess. */ -LLVMErrorRef LLVMOrcMaterializationResponsibilityNotifyResolved( +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcMaterializationResponsibilityNotifyResolved( LLVMOrcMaterializationResponsibilityRef MR, LLVMOrcCSymbolMapPairs Symbols, size_t NumPairs); @@ -817,7 +817,7 @@ LLVMErrorRef LLVMOrcMaterializationResponsibilityNotifyResolved( * MaterializationResponsibility then this method is guaranteed to return * LLVMErrorSuccess. */ -LLVMErrorRef LLVMOrcMaterializationResponsibilityNotifyEmitted( +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcMaterializationResponsibilityNotifyEmitted( LLVMOrcMaterializationResponsibilityRef MR); /** @@ -833,7 +833,7 @@ LLVMErrorRef LLVMOrcMaterializationResponsibilityNotifyEmitted( * additional symbols at materialization time (e.g. stubs, compile * callbacks, metadata) */ -LLVMErrorRef LLVMOrcMaterializationResponsibilityDefineMaterializing( +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcMaterializationResponsibilityDefineMaterializing( LLVMOrcMaterializationResponsibilityRef MR, LLVMOrcCSymbolFlagsMapPairs Pairs, size_t NumPairs); @@ -844,7 +844,7 @@ LLVMErrorRef LLVMOrcMaterializationResponsibilityDefineMaterializing( * from the target JITDylib, and send an error to any queries waiting on * these symbols. */ -void LLVMOrcMaterializationResponsibilityFailMaterialization( +LLVM_FUNC_ABI void LLVMOrcMaterializationResponsibilityFailMaterialization( LLVMOrcMaterializationResponsibilityRef MR); /** @@ -854,7 +854,7 @@ void LLVMOrcMaterializationResponsibilityFailMaterialization( * by introspecting which symbols have actually been looked up and * materializing only those). */ -LLVMErrorRef LLVMOrcMaterializationResponsibilityReplace( +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcMaterializationResponsibilityReplace( LLVMOrcMaterializationResponsibilityRef MR, LLVMOrcMaterializationUnitRef MU); @@ -866,7 +866,7 @@ LLVMErrorRef LLVMOrcMaterializationResponsibilityReplace( * The caller retains responsibility of the the passed * MaterializationResponsibility. */ -LLVMErrorRef LLVMOrcMaterializationResponsibilityDelegate( +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcMaterializationResponsibilityDelegate( LLVMOrcMaterializationResponsibilityRef MR, LLVMOrcSymbolStringPoolEntryRef *Symbols, size_t NumSymbols, LLVMOrcMaterializationResponsibilityRef *Result); @@ -889,7 +889,7 @@ LLVMErrorRef LLVMOrcMaterializationResponsibilityDelegate( * The client is still responsible for deleting the Dependencies.Names array * itself. */ -void LLVMOrcMaterializationResponsibilityAddDependencies( +LLVM_FUNC_ABI void LLVMOrcMaterializationResponsibilityAddDependencies( LLVMOrcMaterializationResponsibilityRef MR, LLVMOrcSymbolStringPoolEntryRef Name, LLVMOrcCDependenceMapPairs Dependencies, size_t NumPairs); @@ -899,7 +899,7 @@ void LLVMOrcMaterializationResponsibilityAddDependencies( * responsible for. See LLVMOrcMaterializationResponsibilityAddDependencies for * notes about memory responsibility. */ -void LLVMOrcMaterializationResponsibilityAddDependenciesForAll( +LLVM_FUNC_ABI void LLVMOrcMaterializationResponsibilityAddDependenciesForAll( LLVMOrcMaterializationResponsibilityRef MR, LLVMOrcCDependenceMapPairs Dependencies, size_t NumPairs); @@ -912,7 +912,7 @@ void LLVMOrcMaterializationResponsibilityAddDependenciesForAll( * This call does not install any library code or symbols into the newly * created JITDylib. The client is responsible for all configuration. */ -LLVMOrcJITDylibRef +LLVM_FUNC_ABI LLVMOrcJITDylibRef LLVMOrcExecutionSessionCreateBareJITDylib(LLVMOrcExecutionSessionRef ES, const char *Name); @@ -928,7 +928,7 @@ LLVMOrcExecutionSessionCreateBareJITDylib(LLVMOrcExecutionSessionRef ES, * call is equivalent to LLVMExecutionSessionRefCreateBareJITDylib and will * always return success. */ -LLVMErrorRef +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcExecutionSessionCreateJITDylib(LLVMOrcExecutionSessionRef ES, LLVMOrcJITDylibRef *Result, const char *Name); @@ -937,7 +937,7 @@ LLVMOrcExecutionSessionCreateJITDylib(LLVMOrcExecutionSessionRef ES, * Returns the JITDylib with the given name, or NULL if no such JITDylib * exists. */ -LLVMOrcJITDylibRef +LLVM_FUNC_ABI LLVMOrcJITDylibRef LLVMOrcExecutionSessionGetJITDylibByName(LLVMOrcExecutionSessionRef ES, const char *Name); @@ -946,7 +946,7 @@ LLVMOrcExecutionSessionGetJITDylibByName(LLVMOrcExecutionSessionRef ES, * The tracker is returned with an initial ref-count of 1, and must be released * with LLVMOrcReleaseResourceTracker when no longer needed. */ -LLVMOrcResourceTrackerRef +LLVM_FUNC_ABI LLVMOrcResourceTrackerRef LLVMOrcJITDylibCreateResourceTracker(LLVMOrcJITDylibRef JD); /** @@ -954,7 +954,7 @@ LLVMOrcJITDylibCreateResourceTracker(LLVMOrcJITDylibRef JD); * This operation will increase the retain count of the tracker: Clients should * call LLVMOrcReleaseResourceTracker when the result is no longer needed. */ -LLVMOrcResourceTrackerRef +LLVM_FUNC_ABI LLVMOrcResourceTrackerRef LLVMOrcJITDylibGetDefaultResourceTracker(LLVMOrcJITDylibRef JD); /** @@ -964,14 +964,14 @@ LLVMOrcJITDylibGetDefaultResourceTracker(LLVMOrcJITDylibRef JD); * If the operation fails then ownership remains with the caller who should * call LLVMOrcDisposeMaterializationUnit to destroy it. */ -LLVMErrorRef LLVMOrcJITDylibDefine(LLVMOrcJITDylibRef JD, +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcJITDylibDefine(LLVMOrcJITDylibRef JD, LLVMOrcMaterializationUnitRef MU); /** * Calls remove on all trackers associated with this JITDylib, see * JITDylib::clear(). */ -LLVMErrorRef LLVMOrcJITDylibClear(LLVMOrcJITDylibRef JD); +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcJITDylibClear(LLVMOrcJITDylibRef JD); /** * Add a DefinitionGenerator to the given JITDylib. @@ -979,7 +979,7 @@ LLVMErrorRef LLVMOrcJITDylibClear(LLVMOrcJITDylibRef JD); * The JITDylib will take ownership of the given generator: The client is no * longer responsible for managing its memory. */ -void LLVMOrcJITDylibAddGenerator(LLVMOrcJITDylibRef JD, +LLVM_FUNC_ABI void LLVMOrcJITDylibAddGenerator(LLVMOrcJITDylibRef JD, LLVMOrcDefinitionGeneratorRef DG); /** @@ -995,7 +995,7 @@ void LLVMOrcJITDylibAddGenerator(LLVMOrcJITDylibRef JD, * Dispose is the disposal function for Ctx. This argument is permitted to be * null (in which case the client is responsible for the lifetime of Ctx). */ -LLVMOrcDefinitionGeneratorRef LLVMOrcCreateCustomCAPIDefinitionGenerator( +LLVM_FUNC_ABI LLVMOrcDefinitionGeneratorRef LLVMOrcCreateCustomCAPIDefinitionGenerator( LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction F, void *Ctx, LLVMOrcDisposeCAPIDefinitionGeneratorFunction Dispose); @@ -1003,7 +1003,7 @@ LLVMOrcDefinitionGeneratorRef LLVMOrcCreateCustomCAPIDefinitionGenerator( * Continue a lookup that was suspended in a generator (see * LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction). */ -void LLVMOrcLookupStateContinueLookup(LLVMOrcLookupStateRef S, +LLVM_FUNC_ABI void LLVMOrcLookupStateContinueLookup(LLVMOrcLookupStateRef S, LLVMErrorRef Err); /** @@ -1024,7 +1024,7 @@ void LLVMOrcLookupStateContinueLookup(LLVMOrcLookupStateRef S, * function is the full mangled symbol: The client is responsible for stripping * the global prefix if present. */ -LLVMErrorRef LLVMOrcCreateDynamicLibrarySearchGeneratorForProcess( +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcCreateDynamicLibrarySearchGeneratorForProcess( LLVMOrcDefinitionGeneratorRef *Result, char GlobalPrefx, LLVMOrcSymbolPredicate Filter, void *FilterCtx); @@ -1049,7 +1049,7 @@ LLVMErrorRef LLVMOrcCreateDynamicLibrarySearchGeneratorForProcess( * THIS API IS EXPERIMENTAL AND LIKELY TO CHANGE IN THE NEAR FUTURE! * */ -LLVMErrorRef LLVMOrcCreateDynamicLibrarySearchGeneratorForPath( +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcCreateDynamicLibrarySearchGeneratorForPath( LLVMOrcDefinitionGeneratorRef *Result, const char *FileName, char GlobalPrefix, LLVMOrcSymbolPredicate Filter, void *FilterCtx); @@ -1067,7 +1067,7 @@ LLVMErrorRef LLVMOrcCreateDynamicLibrarySearchGeneratorForPath( * THIS API IS EXPERIMENTAL AND LIKELY TO CHANGE IN THE NEAR FUTURE! * */ -LLVMErrorRef LLVMOrcCreateStaticLibrarySearchGeneratorForPath( +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcCreateStaticLibrarySearchGeneratorForPath( LLVMOrcDefinitionGeneratorRef *Result, LLVMOrcObjectLayerRef ObjLayer, const char *FileName, const char *TargetTriple); @@ -1079,18 +1079,18 @@ LLVMErrorRef LLVMOrcCreateStaticLibrarySearchGeneratorForPath( * need to refer to it directly. Other references (e.g. from ThreadSafeModules) * will keep the data alive as long as it is needed. */ -LLVMOrcThreadSafeContextRef LLVMOrcCreateNewThreadSafeContext(void); +LLVM_FUNC_ABI LLVMOrcThreadSafeContextRef LLVMOrcCreateNewThreadSafeContext(void); /** * Get a reference to the wrapped LLVMContext. */ -LLVMContextRef +LLVM_FUNC_ABI LLVMContextRef LLVMOrcThreadSafeContextGetContext(LLVMOrcThreadSafeContextRef TSCtx); /** * Dispose of a ThreadSafeContext. */ -void LLVMOrcDisposeThreadSafeContext(LLVMOrcThreadSafeContextRef TSCtx); +LLVM_FUNC_ABI void LLVMOrcDisposeThreadSafeContext(LLVMOrcThreadSafeContextRef TSCtx); /** * Create a ThreadSafeModule wrapper around the given LLVM module. This takes @@ -1102,7 +1102,7 @@ void LLVMOrcDisposeThreadSafeContext(LLVMOrcThreadSafeContextRef TSCtx); * responsible for it. If it is not transferred to the JIT then the client * should call LLVMOrcDisposeThreadSafeModule to dispose of it. */ -LLVMOrcThreadSafeModuleRef +LLVM_FUNC_ABI LLVMOrcThreadSafeModuleRef LLVMOrcCreateNewThreadSafeModule(LLVMModuleRef M, LLVMOrcThreadSafeContextRef TSCtx); @@ -1111,12 +1111,12 @@ LLVMOrcCreateNewThreadSafeModule(LLVMModuleRef M, * not been passed to LLJIT (e.g. because some error prevented the client from * adding this to the JIT). */ -void LLVMOrcDisposeThreadSafeModule(LLVMOrcThreadSafeModuleRef TSM); +LLVM_FUNC_ABI void LLVMOrcDisposeThreadSafeModule(LLVMOrcThreadSafeModuleRef TSM); /** * Apply the given function to the module contained in this ThreadSafeModule. */ -LLVMErrorRef +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcThreadSafeModuleWithModuleDo(LLVMOrcThreadSafeModuleRef TSM, LLVMOrcGenericIRModuleOperationFunction F, void *Ctx); @@ -1129,7 +1129,7 @@ LLVMOrcThreadSafeModuleWithModuleDo(LLVMOrcThreadSafeModuleRef TSM, * LLVMOrcLLJITBuilderSetJITTargetMachineBuilder) or disposed of by calling * LLVMOrcDisposeJITTargetMachineBuilder. */ -LLVMErrorRef LLVMOrcJITTargetMachineBuilderDetectHost( +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcJITTargetMachineBuilderDetectHost( LLVMOrcJITTargetMachineBuilderRef *Result); /** @@ -1141,13 +1141,13 @@ LLVMErrorRef LLVMOrcJITTargetMachineBuilderDetectHost( * LLVMOrcLLJITBuilderSetJITTargetMachineBuilder) or disposed of by calling * LLVMOrcDisposeJITTargetMachineBuilder. */ -LLVMOrcJITTargetMachineBuilderRef +LLVM_FUNC_ABI LLVMOrcJITTargetMachineBuilderRef LLVMOrcJITTargetMachineBuilderCreateFromTargetMachine(LLVMTargetMachineRef TM); /** * Dispose of a JITTargetMachineBuilder. */ -void LLVMOrcDisposeJITTargetMachineBuilder( +LLVM_FUNC_ABI void LLVMOrcDisposeJITTargetMachineBuilder( LLVMOrcJITTargetMachineBuilderRef JTMB); /** @@ -1156,14 +1156,14 @@ void LLVMOrcDisposeJITTargetMachineBuilder( * The caller owns the resulting string as must dispose of it by calling * LLVMDisposeMessage */ -char *LLVMOrcJITTargetMachineBuilderGetTargetTriple( +LLVM_FUNC_ABI char *LLVMOrcJITTargetMachineBuilderGetTargetTriple( LLVMOrcJITTargetMachineBuilderRef JTMB); /** * Sets the target triple for the given JITTargetMachineBuilder to the given * string. */ -void LLVMOrcJITTargetMachineBuilderSetTargetTriple( +LLVM_FUNC_ABI void LLVMOrcJITTargetMachineBuilderSetTargetTriple( LLVMOrcJITTargetMachineBuilderRef JTMB, const char *TargetTriple); /** @@ -1177,7 +1177,7 @@ void LLVMOrcJITTargetMachineBuilderSetTargetTriple( * Resources associated with the given object will be tracked by the given * JITDylib's default ResourceTracker. */ -LLVMErrorRef LLVMOrcObjectLayerAddObjectFile(LLVMOrcObjectLayerRef ObjLayer, +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcObjectLayerAddObjectFile(LLVMOrcObjectLayerRef ObjLayer, LLVMOrcJITDylibRef JD, LLVMMemoryBufferRef ObjBuffer); @@ -1192,7 +1192,7 @@ LLVMErrorRef LLVMOrcObjectLayerAddObjectFile(LLVMOrcObjectLayerRef ObjLayer, * Resources associated with the given object will be tracked by * ResourceTracker RT. */ -LLVMErrorRef +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcObjectLayerAddObjectFileWithRT(LLVMOrcObjectLayerRef ObjLayer, LLVMOrcResourceTrackerRef RT, LLVMMemoryBufferRef ObjBuffer); @@ -1203,16 +1203,16 @@ LLVMOrcObjectLayerAddObjectFileWithRT(LLVMOrcObjectLayerRef ObjLayer, * Ownership of the responsibility object and object buffer pass to this * function. The client is not responsible for cleanup. */ -void LLVMOrcObjectLayerEmit(LLVMOrcObjectLayerRef ObjLayer, +LLVM_FUNC_ABI void LLVMOrcObjectLayerEmit(LLVMOrcObjectLayerRef ObjLayer, LLVMOrcMaterializationResponsibilityRef R, LLVMMemoryBufferRef ObjBuffer); /** * Dispose of an ObjectLayer. */ -void LLVMOrcDisposeObjectLayer(LLVMOrcObjectLayerRef ObjLayer); +LLVM_FUNC_ABI void LLVMOrcDisposeObjectLayer(LLVMOrcObjectLayerRef ObjLayer); -void LLVMOrcIRTransformLayerEmit(LLVMOrcIRTransformLayerRef IRTransformLayer, +LLVM_FUNC_ABI void LLVMOrcIRTransformLayerEmit(LLVMOrcIRTransformLayerRef IRTransformLayer, LLVMOrcMaterializationResponsibilityRef MR, LLVMOrcThreadSafeModuleRef TSM); @@ -1220,14 +1220,14 @@ void LLVMOrcIRTransformLayerEmit(LLVMOrcIRTransformLayerRef IRTransformLayer, * Set the transform function of the provided transform layer, passing through a * pointer to user provided context. */ -void LLVMOrcIRTransformLayerSetTransform( +LLVM_FUNC_ABI void LLVMOrcIRTransformLayerSetTransform( LLVMOrcIRTransformLayerRef IRTransformLayer, LLVMOrcIRTransformLayerTransformFunction TransformFunction, void *Ctx); /** * Set the transform function on an LLVMOrcObjectTransformLayer. */ -void LLVMOrcObjectTransformLayerSetTransform( +LLVM_FUNC_ABI void LLVMOrcObjectTransformLayerSetTransform( LLVMOrcObjectTransformLayerRef ObjTransformLayer, LLVMOrcObjectTransformLayerTransformFunction TransformFunction, void *Ctx); @@ -1237,15 +1237,15 @@ void LLVMOrcObjectTransformLayerSetTransform( * The resulting IndirectStubsManager is owned by the client * and must be disposed of by calling LLVMOrcDisposeDisposeIndirectStubsManager. */ -LLVMOrcIndirectStubsManagerRef +LLVM_FUNC_ABI LLVMOrcIndirectStubsManagerRef LLVMOrcCreateLocalIndirectStubsManager(const char *TargetTriple); /** * Dispose of an IndirectStubsManager. */ -void LLVMOrcDisposeIndirectStubsManager(LLVMOrcIndirectStubsManagerRef ISM); +LLVM_FUNC_ABI void LLVMOrcDisposeIndirectStubsManager(LLVMOrcIndirectStubsManagerRef ISM); -LLVMErrorRef LLVMOrcCreateLocalLazyCallThroughManager( +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcCreateLocalLazyCallThroughManager( const char *TargetTriple, LLVMOrcExecutionSessionRef ES, LLVMOrcJITTargetAddress ErrorHandlerAddr, LLVMOrcLazyCallThroughManagerRef *LCTM); @@ -1253,7 +1253,7 @@ LLVMErrorRef LLVMOrcCreateLocalLazyCallThroughManager( /** * Dispose of an LazyCallThroughManager. */ -void LLVMOrcDisposeLazyCallThroughManager( +LLVM_FUNC_ABI void LLVMOrcDisposeLazyCallThroughManager( LLVMOrcLazyCallThroughManagerRef LCTM); /** @@ -1270,18 +1270,18 @@ void LLVMOrcDisposeLazyCallThroughManager( * .2.o, .3.o, and so on). IdentifierOverride should not contain * an extension, as a .o suffix will be added by DumpObjects. */ -LLVMOrcDumpObjectsRef LLVMOrcCreateDumpObjects(const char *DumpDir, +LLVM_FUNC_ABI LLVMOrcDumpObjectsRef LLVMOrcCreateDumpObjects(const char *DumpDir, const char *IdentifierOverride); /** * Dispose of a DumpObjects instance. */ -void LLVMOrcDisposeDumpObjects(LLVMOrcDumpObjectsRef DumpObjects); +LLVM_FUNC_ABI void LLVMOrcDisposeDumpObjects(LLVMOrcDumpObjectsRef DumpObjects); /** * Dump the contents of the given MemoryBuffer. */ -LLVMErrorRef LLVMOrcDumpObjects_CallOperator(LLVMOrcDumpObjectsRef DumpObjects, +LLVM_FUNC_ABI LLVMErrorRef LLVMOrcDumpObjects_CallOperator(LLVMOrcDumpObjectsRef DumpObjects, LLVMMemoryBufferRef *ObjBuffer); /** diff --git a/llvm/include/llvm-c/Remarks.h b/llvm/include/llvm-c/Remarks.h index e19b604829f271..fb6365ebc86596 100644 --- a/llvm/include/llvm-c/Remarks.h +++ b/llvm/include/llvm-c/Remarks.h @@ -62,14 +62,14 @@ typedef struct LLVMRemarkOpaqueString *LLVMRemarkStringRef; * * \since REMARKS_API_VERSION=0 */ -extern const char *LLVMRemarkStringGetData(LLVMRemarkStringRef String); +LLVM_FUNC_ABI extern const char *LLVMRemarkStringGetData(LLVMRemarkStringRef String); /** * Returns the size of the string. * * \since REMARKS_API_VERSION=0 */ -extern uint32_t LLVMRemarkStringGetLen(LLVMRemarkStringRef String); +LLVM_FUNC_ABI extern uint32_t LLVMRemarkStringGetLen(LLVMRemarkStringRef String); /** * DebugLoc containing File, Line and Column. @@ -83,7 +83,7 @@ typedef struct LLVMRemarkOpaqueDebugLoc *LLVMRemarkDebugLocRef; * * \since REMARKS_API_VERSION=0 */ -extern LLVMRemarkStringRef +LLVM_FUNC_ABI extern LLVMRemarkStringRef LLVMRemarkDebugLocGetSourceFilePath(LLVMRemarkDebugLocRef DL); /** @@ -91,14 +91,14 @@ LLVMRemarkDebugLocGetSourceFilePath(LLVMRemarkDebugLocRef DL); * * \since REMARKS_API_VERSION=0 */ -extern uint32_t LLVMRemarkDebugLocGetSourceLine(LLVMRemarkDebugLocRef DL); +LLVM_FUNC_ABI extern uint32_t LLVMRemarkDebugLocGetSourceLine(LLVMRemarkDebugLocRef DL); /** * Return the column in the source file for a debug location. * * \since REMARKS_API_VERSION=0 */ -extern uint32_t LLVMRemarkDebugLocGetSourceColumn(LLVMRemarkDebugLocRef DL); +LLVM_FUNC_ABI extern uint32_t LLVMRemarkDebugLocGetSourceColumn(LLVMRemarkDebugLocRef DL); /** * Element of the "Args" list. The key might give more information about what @@ -115,14 +115,14 @@ typedef struct LLVMRemarkOpaqueArg *LLVMRemarkArgRef; * * \since REMARKS_API_VERSION=0 */ -extern LLVMRemarkStringRef LLVMRemarkArgGetKey(LLVMRemarkArgRef Arg); +LLVM_FUNC_ABI extern LLVMRemarkStringRef LLVMRemarkArgGetKey(LLVMRemarkArgRef Arg); /** * Returns the value of an argument. This is a string that can contain newlines. * * \since REMARKS_API_VERSION=0 */ -extern LLVMRemarkStringRef LLVMRemarkArgGetValue(LLVMRemarkArgRef Arg); +LLVM_FUNC_ABI extern LLVMRemarkStringRef LLVMRemarkArgGetValue(LLVMRemarkArgRef Arg); /** * Returns the debug location that is attached to the value of this argument. @@ -131,7 +131,7 @@ extern LLVMRemarkStringRef LLVMRemarkArgGetValue(LLVMRemarkArgRef Arg); * * \since REMARKS_API_VERSION=0 */ -extern LLVMRemarkDebugLocRef LLVMRemarkArgGetDebugLoc(LLVMRemarkArgRef Arg); +LLVM_FUNC_ABI extern LLVMRemarkDebugLocRef LLVMRemarkArgGetDebugLoc(LLVMRemarkArgRef Arg); /** * A remark emitted by the compiler. @@ -145,7 +145,7 @@ typedef struct LLVMRemarkOpaqueEntry *LLVMRemarkEntryRef; * * \since REMARKS_API_VERSION=0 */ -extern void LLVMRemarkEntryDispose(LLVMRemarkEntryRef Remark); +LLVM_FUNC_ABI extern void LLVMRemarkEntryDispose(LLVMRemarkEntryRef Remark); /** * The type of the remark. For example, it can allow users to only keep the @@ -153,14 +153,14 @@ extern void LLVMRemarkEntryDispose(LLVMRemarkEntryRef Remark); * * \since REMARKS_API_VERSION=0 */ -extern enum LLVMRemarkType LLVMRemarkEntryGetType(LLVMRemarkEntryRef Remark); +LLVM_FUNC_ABI extern enum LLVMRemarkType LLVMRemarkEntryGetType(LLVMRemarkEntryRef Remark); /** * Get the name of the pass that emitted this remark. * * \since REMARKS_API_VERSION=0 */ -extern LLVMRemarkStringRef +LLVM_FUNC_ABI extern LLVMRemarkStringRef LLVMRemarkEntryGetPassName(LLVMRemarkEntryRef Remark); /** @@ -168,7 +168,7 @@ LLVMRemarkEntryGetPassName(LLVMRemarkEntryRef Remark); * * \since REMARKS_API_VERSION=0 */ -extern LLVMRemarkStringRef +LLVM_FUNC_ABI extern LLVMRemarkStringRef LLVMRemarkEntryGetRemarkName(LLVMRemarkEntryRef Remark); /** @@ -176,7 +176,7 @@ LLVMRemarkEntryGetRemarkName(LLVMRemarkEntryRef Remark); * * \since REMARKS_API_VERSION=0 */ -extern LLVMRemarkStringRef +LLVM_FUNC_ABI extern LLVMRemarkStringRef LLVMRemarkEntryGetFunctionName(LLVMRemarkEntryRef Remark); /** @@ -186,7 +186,7 @@ LLVMRemarkEntryGetFunctionName(LLVMRemarkEntryRef Remark); * * \since REMARKS_API_VERSION=0 */ -extern LLVMRemarkDebugLocRef +LLVM_FUNC_ABI extern LLVMRemarkDebugLocRef LLVMRemarkEntryGetDebugLoc(LLVMRemarkEntryRef Remark); /** @@ -196,14 +196,14 @@ LLVMRemarkEntryGetDebugLoc(LLVMRemarkEntryRef Remark); * * \since REMARKS_API_VERSION=0 */ -extern uint64_t LLVMRemarkEntryGetHotness(LLVMRemarkEntryRef Remark); +LLVM_FUNC_ABI extern uint64_t LLVMRemarkEntryGetHotness(LLVMRemarkEntryRef Remark); /** * The number of arguments the remark holds. * * \since REMARKS_API_VERSION=0 */ -extern uint32_t LLVMRemarkEntryGetNumArgs(LLVMRemarkEntryRef Remark); +LLVM_FUNC_ABI extern uint32_t LLVMRemarkEntryGetNumArgs(LLVMRemarkEntryRef Remark); /** * Get a new iterator to iterate over a remark's argument. @@ -214,7 +214,7 @@ extern uint32_t LLVMRemarkEntryGetNumArgs(LLVMRemarkEntryRef Remark); * * \since REMARKS_API_VERSION=0 */ -extern LLVMRemarkArgRef LLVMRemarkEntryGetFirstArg(LLVMRemarkEntryRef Remark); +LLVM_FUNC_ABI extern LLVMRemarkArgRef LLVMRemarkEntryGetFirstArg(LLVMRemarkEntryRef Remark); /** * Get the next argument in \p Remark from the position of \p It. @@ -225,7 +225,7 @@ extern LLVMRemarkArgRef LLVMRemarkEntryGetFirstArg(LLVMRemarkEntryRef Remark); * * \since REMARKS_API_VERSION=0 */ -extern LLVMRemarkArgRef LLVMRemarkEntryGetNextArg(LLVMRemarkArgRef It, +LLVM_FUNC_ABI extern LLVMRemarkArgRef LLVMRemarkEntryGetNextArg(LLVMRemarkArgRef It, LLVMRemarkEntryRef Remark); typedef struct LLVMRemarkOpaqueParser *LLVMRemarkParserRef; @@ -241,7 +241,7 @@ typedef struct LLVMRemarkOpaqueParser *LLVMRemarkParserRef; * * \since REMARKS_API_VERSION=0 */ -extern LLVMRemarkParserRef LLVMRemarkParserCreateYAML(const void *Buf, +LLVM_FUNC_ABI extern LLVMRemarkParserRef LLVMRemarkParserCreateYAML(const void *Buf, uint64_t Size); /** @@ -255,7 +255,7 @@ extern LLVMRemarkParserRef LLVMRemarkParserCreateYAML(const void *Buf, * * \since REMARKS_API_VERSION=1 */ -extern LLVMRemarkParserRef LLVMRemarkParserCreateBitstream(const void *Buf, +LLVM_FUNC_ABI extern LLVMRemarkParserRef LLVMRemarkParserCreateBitstream(const void *Buf, uint64_t Size); /** @@ -300,14 +300,14 @@ extern LLVMRemarkParserRef LLVMRemarkParserCreateBitstream(const void *Buf, * * \since REMARKS_API_VERSION=0 */ -extern LLVMRemarkEntryRef LLVMRemarkParserGetNext(LLVMRemarkParserRef Parser); +LLVM_FUNC_ABI extern LLVMRemarkEntryRef LLVMRemarkParserGetNext(LLVMRemarkParserRef Parser); /** * Returns `1` if the parser encountered an error while parsing the buffer. * * \since REMARKS_API_VERSION=0 */ -extern LLVMBool LLVMRemarkParserHasError(LLVMRemarkParserRef Parser); +LLVM_FUNC_ABI extern LLVMBool LLVMRemarkParserHasError(LLVMRemarkParserRef Parser); /** * Returns a null-terminated string containing an error message. @@ -320,21 +320,21 @@ extern LLVMBool LLVMRemarkParserHasError(LLVMRemarkParserRef Parser); * * \since REMARKS_API_VERSION=0 */ -extern const char *LLVMRemarkParserGetErrorMessage(LLVMRemarkParserRef Parser); +LLVM_FUNC_ABI extern const char *LLVMRemarkParserGetErrorMessage(LLVMRemarkParserRef Parser); /** * Releases all the resources used by \p Parser. * * \since REMARKS_API_VERSION=0 */ -extern void LLVMRemarkParserDispose(LLVMRemarkParserRef Parser); +LLVM_FUNC_ABI extern void LLVMRemarkParserDispose(LLVMRemarkParserRef Parser); /** * Returns the version of the remarks library. * * \since REMARKS_API_VERSION=0 */ -extern uint32_t LLVMRemarkVersion(void); +LLVM_FUNC_ABI extern uint32_t LLVMRemarkVersion(void); /** * @} // endgoup LLVMCREMARKS diff --git a/llvm/include/llvm-c/Support.h b/llvm/include/llvm-c/Support.h index 41feb25f66b311..6b81b61dbb92e6 100644 --- a/llvm/include/llvm-c/Support.h +++ b/llvm/include/llvm-c/Support.h @@ -33,7 +33,7 @@ LLVM_C_EXTERN_C_BEGIN * * @see sys::DynamicLibrary::LoadLibraryPermanently() */ -LLVMBool LLVMLoadLibraryPermanently(const char* Filename); +LLVM_FUNC_ABI LLVMBool LLVMLoadLibraryPermanently(const char* Filename); /** * This function parses the given arguments using the LLVM command line parser. @@ -43,7 +43,7 @@ LLVMBool LLVMLoadLibraryPermanently(const char* Filename); * * @see llvm::cl::ParseCommandLineOptions() */ -void LLVMParseCommandLineOptions(int argc, const char *const *argv, +LLVM_FUNC_ABI void LLVMParseCommandLineOptions(int argc, const char *const *argv, const char *Overview); /** @@ -53,7 +53,7 @@ void LLVMParseCommandLineOptions(int argc, const char *const *argv, * * @see sys::DynamicLibrary::SearchForAddressOfSymbol() */ -void *LLVMSearchForAddressOfSymbol(const char *symbolName); +LLVM_FUNC_ABI void *LLVMSearchForAddressOfSymbol(const char *symbolName); /** * This functions permanently adds the symbol \p symbolName with the @@ -62,7 +62,7 @@ void *LLVMSearchForAddressOfSymbol(const char *symbolName); * * @see sys::DynamicLibrary::AddSymbol() */ -void LLVMAddSymbol(const char *symbolName, void *symbolValue); +LLVM_FUNC_ABI void LLVMAddSymbol(const char *symbolName, void *symbolValue); /** * @} diff --git a/llvm/include/llvm-c/Target.h b/llvm/include/llvm-c/Target.h index 53baef1da485b6..e9b3fc432b84a6 100644 --- a/llvm/include/llvm-c/Target.h +++ b/llvm/include/llvm-c/Target.h @@ -184,104 +184,104 @@ static inline LLVMBool LLVMInitializeNativeDisassembler(void) { * * @see Module::getDataLayout() */ -LLVMTargetDataRef LLVMGetModuleDataLayout(LLVMModuleRef M); +LLVM_FUNC_ABI LLVMTargetDataRef LLVMGetModuleDataLayout(LLVMModuleRef M); /** * Set the data layout for a module. * * @see Module::setDataLayout() */ -void LLVMSetModuleDataLayout(LLVMModuleRef M, LLVMTargetDataRef DL); +LLVM_FUNC_ABI void LLVMSetModuleDataLayout(LLVMModuleRef M, LLVMTargetDataRef DL); /** Creates target data from a target layout string. See the constructor llvm::DataLayout::DataLayout. */ -LLVMTargetDataRef LLVMCreateTargetData(const char *StringRep); +LLVM_FUNC_ABI LLVMTargetDataRef LLVMCreateTargetData(const char *StringRep); /** Deallocates a TargetData. See the destructor llvm::DataLayout::~DataLayout. */ -void LLVMDisposeTargetData(LLVMTargetDataRef TD); +LLVM_FUNC_ABI void LLVMDisposeTargetData(LLVMTargetDataRef TD); /** Adds target library information to a pass manager. This does not take ownership of the target library info. See the method llvm::PassManagerBase::add. */ -void LLVMAddTargetLibraryInfo(LLVMTargetLibraryInfoRef TLI, +LLVM_FUNC_ABI void LLVMAddTargetLibraryInfo(LLVMTargetLibraryInfoRef TLI, LLVMPassManagerRef PM); /** Converts target data to a target layout string. The string must be disposed with LLVMDisposeMessage. See the constructor llvm::DataLayout::DataLayout. */ -char *LLVMCopyStringRepOfTargetData(LLVMTargetDataRef TD); +LLVM_FUNC_ABI char *LLVMCopyStringRepOfTargetData(LLVMTargetDataRef TD); /** Returns the byte order of a target, either LLVMBigEndian or LLVMLittleEndian. See the method llvm::DataLayout::isLittleEndian. */ -enum LLVMByteOrdering LLVMByteOrder(LLVMTargetDataRef TD); +LLVM_FUNC_ABI enum LLVMByteOrdering LLVMByteOrder(LLVMTargetDataRef TD); /** Returns the pointer size in bytes for a target. See the method llvm::DataLayout::getPointerSize. */ -unsigned LLVMPointerSize(LLVMTargetDataRef TD); +LLVM_FUNC_ABI unsigned LLVMPointerSize(LLVMTargetDataRef TD); /** Returns the pointer size in bytes for a target for a specified address space. See the method llvm::DataLayout::getPointerSize. */ -unsigned LLVMPointerSizeForAS(LLVMTargetDataRef TD, unsigned AS); +LLVM_FUNC_ABI unsigned LLVMPointerSizeForAS(LLVMTargetDataRef TD, unsigned AS); /** Returns the integer type that is the same size as a pointer on a target. See the method llvm::DataLayout::getIntPtrType. */ -LLVMTypeRef LLVMIntPtrType(LLVMTargetDataRef TD); +LLVM_FUNC_ABI LLVMTypeRef LLVMIntPtrType(LLVMTargetDataRef TD); /** Returns the integer type that is the same size as a pointer on a target. This version allows the address space to be specified. See the method llvm::DataLayout::getIntPtrType. */ -LLVMTypeRef LLVMIntPtrTypeForAS(LLVMTargetDataRef TD, unsigned AS); +LLVM_FUNC_ABI LLVMTypeRef LLVMIntPtrTypeForAS(LLVMTargetDataRef TD, unsigned AS); /** Returns the integer type that is the same size as a pointer on a target. See the method llvm::DataLayout::getIntPtrType. */ -LLVMTypeRef LLVMIntPtrTypeInContext(LLVMContextRef C, LLVMTargetDataRef TD); +LLVM_FUNC_ABI LLVMTypeRef LLVMIntPtrTypeInContext(LLVMContextRef C, LLVMTargetDataRef TD); /** Returns the integer type that is the same size as a pointer on a target. This version allows the address space to be specified. See the method llvm::DataLayout::getIntPtrType. */ -LLVMTypeRef LLVMIntPtrTypeForASInContext(LLVMContextRef C, LLVMTargetDataRef TD, +LLVM_FUNC_ABI LLVMTypeRef LLVMIntPtrTypeForASInContext(LLVMContextRef C, LLVMTargetDataRef TD, unsigned AS); /** Computes the size of a type in bytes for a target. See the method llvm::DataLayout::getTypeSizeInBits. */ -unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty); +LLVM_FUNC_ABI unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty); /** Computes the storage size of a type in bytes for a target. See the method llvm::DataLayout::getTypeStoreSize. */ -unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty); +LLVM_FUNC_ABI unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty); /** Computes the ABI size of a type in bytes for a target. See the method llvm::DataLayout::getTypeAllocSize. */ -unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty); +LLVM_FUNC_ABI unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty); /** Computes the ABI alignment of a type in bytes for a target. See the method llvm::DataLayout::getTypeABISize. */ -unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty); +LLVM_FUNC_ABI unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty); /** Computes the call frame alignment of a type in bytes for a target. See the method llvm::DataLayout::getTypeABISize. */ -unsigned LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty); +LLVM_FUNC_ABI unsigned LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty); /** Computes the preferred alignment of a type in bytes for a target. See the method llvm::DataLayout::getTypeABISize. */ -unsigned LLVMPreferredAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty); +LLVM_FUNC_ABI unsigned LLVMPreferredAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty); /** Computes the preferred alignment of a global variable in bytes for a target. See the method llvm::DataLayout::getPreferredAlignment. */ -unsigned LLVMPreferredAlignmentOfGlobal(LLVMTargetDataRef TD, +LLVM_FUNC_ABI unsigned LLVMPreferredAlignmentOfGlobal(LLVMTargetDataRef TD, LLVMValueRef GlobalVar); /** Computes the structure element that contains the byte offset for a target. See the method llvm::StructLayout::getElementContainingOffset. */ -unsigned LLVMElementAtOffset(LLVMTargetDataRef TD, LLVMTypeRef StructTy, +LLVM_FUNC_ABI unsigned LLVMElementAtOffset(LLVMTargetDataRef TD, LLVMTypeRef StructTy, unsigned long long Offset); /** Computes the byte offset of the indexed struct element for a target. See the method llvm::StructLayout::getElementContainingOffset. */ -unsigned long long LLVMOffsetOfElement(LLVMTargetDataRef TD, +LLVM_FUNC_ABI unsigned long long LLVMOffsetOfElement(LLVMTargetDataRef TD, LLVMTypeRef StructTy, unsigned Element); /** diff --git a/llvm/include/llvm-c/TargetMachine.h b/llvm/include/llvm-c/TargetMachine.h index 84119def3a90b0..10817c9b6ac296 100644 --- a/llvm/include/llvm-c/TargetMachine.h +++ b/llvm/include/llvm-c/TargetMachine.h @@ -75,35 +75,35 @@ typedef enum { } LLVMGlobalISelAbortMode; /** Returns the first llvm::Target in the registered targets list. */ -LLVMTargetRef LLVMGetFirstTarget(void); +LLVM_FUNC_ABI LLVMTargetRef LLVMGetFirstTarget(void); /** Returns the next llvm::Target given a previous one (or null if there's none) */ -LLVMTargetRef LLVMGetNextTarget(LLVMTargetRef T); +LLVM_FUNC_ABI LLVMTargetRef LLVMGetNextTarget(LLVMTargetRef T); /*===-- Target ------------------------------------------------------------===*/ /** Finds the target corresponding to the given name and stores it in \p T. Returns 0 on success. */ -LLVMTargetRef LLVMGetTargetFromName(const char *Name); +LLVM_FUNC_ABI LLVMTargetRef LLVMGetTargetFromName(const char *Name); /** Finds the target corresponding to the given triple and stores it in \p T. Returns 0 on success. Optionally returns any error in ErrorMessage. Use LLVMDisposeMessage to dispose the message. */ -LLVMBool LLVMGetTargetFromTriple(const char* Triple, LLVMTargetRef *T, +LLVM_FUNC_ABI LLVMBool LLVMGetTargetFromTriple(const char* Triple, LLVMTargetRef *T, char **ErrorMessage); /** Returns the name of a target. See llvm::Target::getName */ -const char *LLVMGetTargetName(LLVMTargetRef T); +LLVM_FUNC_ABI const char *LLVMGetTargetName(LLVMTargetRef T); /** Returns the description of a target. See llvm::Target::getDescription */ -const char *LLVMGetTargetDescription(LLVMTargetRef T); +LLVM_FUNC_ABI const char *LLVMGetTargetDescription(LLVMTargetRef T); /** Returns if the target has a JIT */ -LLVMBool LLVMTargetHasJIT(LLVMTargetRef T); +LLVM_FUNC_ABI LLVMBool LLVMTargetHasJIT(LLVMTargetRef T); /** Returns if the target has a TargetMachine associated */ -LLVMBool LLVMTargetHasTargetMachine(LLVMTargetRef T); +LLVM_FUNC_ABI LLVMBool LLVMTargetHasTargetMachine(LLVMTargetRef T); /** Returns if the target as an ASM backend (required for emitting output) */ -LLVMBool LLVMTargetHasAsmBackend(LLVMTargetRef T); +LLVM_FUNC_ABI LLVMBool LLVMTargetHasAsmBackend(LLVMTargetRef T); /*===-- Target Machine ----------------------------------------------------===*/ /** @@ -113,14 +113,14 @@ LLVMBool LLVMTargetHasAsmBackend(LLVMTargetRef T); * LLVMDisposeTargetMachineOptions() after the call to * LLVMCreateTargetMachineWithOptions(). */ -LLVMTargetMachineOptionsRef LLVMCreateTargetMachineOptions(void); +LLVM_FUNC_ABI LLVMTargetMachineOptionsRef LLVMCreateTargetMachineOptions(void); /** * Dispose of an LLVMTargetMachineOptionsRef instance. */ -void LLVMDisposeTargetMachineOptions(LLVMTargetMachineOptionsRef Options); +LLVM_FUNC_ABI void LLVMDisposeTargetMachineOptions(LLVMTargetMachineOptionsRef Options); -void LLVMTargetMachineOptionsSetCPU(LLVMTargetMachineOptionsRef Options, +LLVM_FUNC_ABI void LLVMTargetMachineOptionsSetCPU(LLVMTargetMachineOptionsRef Options, const char *CPU); /** @@ -128,19 +128,19 @@ void LLVMTargetMachineOptionsSetCPU(LLVMTargetMachineOptionsRef Options, * * \param Features a comma-separated list of features. */ -void LLVMTargetMachineOptionsSetFeatures(LLVMTargetMachineOptionsRef Options, +LLVM_FUNC_ABI void LLVMTargetMachineOptionsSetFeatures(LLVMTargetMachineOptionsRef Options, const char *Features); -void LLVMTargetMachineOptionsSetABI(LLVMTargetMachineOptionsRef Options, +LLVM_FUNC_ABI void LLVMTargetMachineOptionsSetABI(LLVMTargetMachineOptionsRef Options, const char *ABI); -void LLVMTargetMachineOptionsSetCodeGenOptLevel( +LLVM_FUNC_ABI void LLVMTargetMachineOptionsSetCodeGenOptLevel( LLVMTargetMachineOptionsRef Options, LLVMCodeGenOptLevel Level); -void LLVMTargetMachineOptionsSetRelocMode(LLVMTargetMachineOptionsRef Options, +LLVM_FUNC_ABI void LLVMTargetMachineOptionsSetRelocMode(LLVMTargetMachineOptionsRef Options, LLVMRelocMode Reloc); -void LLVMTargetMachineOptionsSetCodeModel(LLVMTargetMachineOptionsRef Options, +LLVM_FUNC_ABI void LLVMTargetMachineOptionsSetCodeModel(LLVMTargetMachineOptionsRef Options, LLVMCodeModel CodeModel); /** @@ -151,90 +151,90 @@ void LLVMTargetMachineOptionsSetCodeModel(LLVMTargetMachineOptionsRef Options, * \param Options additional configuration (see * LLVMCreateTargetMachineOptions()). */ -LLVMTargetMachineRef +LLVM_FUNC_ABI LLVMTargetMachineRef LLVMCreateTargetMachineWithOptions(LLVMTargetRef T, const char *Triple, LLVMTargetMachineOptionsRef Options); /** Creates a new llvm::TargetMachine. See llvm::Target::createTargetMachine */ -LLVMTargetMachineRef LLVMCreateTargetMachine(LLVMTargetRef T, +LLVM_FUNC_ABI LLVMTargetMachineRef LLVMCreateTargetMachine(LLVMTargetRef T, const char *Triple, const char *CPU, const char *Features, LLVMCodeGenOptLevel Level, LLVMRelocMode Reloc, LLVMCodeModel CodeModel); /** Dispose the LLVMTargetMachineRef instance generated by LLVMCreateTargetMachine. */ -void LLVMDisposeTargetMachine(LLVMTargetMachineRef T); +LLVM_FUNC_ABI void LLVMDisposeTargetMachine(LLVMTargetMachineRef T); /** Returns the Target used in a TargetMachine */ -LLVMTargetRef LLVMGetTargetMachineTarget(LLVMTargetMachineRef T); +LLVM_FUNC_ABI LLVMTargetRef LLVMGetTargetMachineTarget(LLVMTargetMachineRef T); /** Returns the triple used creating this target machine. See llvm::TargetMachine::getTriple. The result needs to be disposed with LLVMDisposeMessage. */ -char *LLVMGetTargetMachineTriple(LLVMTargetMachineRef T); +LLVM_FUNC_ABI char *LLVMGetTargetMachineTriple(LLVMTargetMachineRef T); /** Returns the cpu used creating this target machine. See llvm::TargetMachine::getCPU. The result needs to be disposed with LLVMDisposeMessage. */ -char *LLVMGetTargetMachineCPU(LLVMTargetMachineRef T); +LLVM_FUNC_ABI char *LLVMGetTargetMachineCPU(LLVMTargetMachineRef T); /** Returns the feature string used creating this target machine. See llvm::TargetMachine::getFeatureString. The result needs to be disposed with LLVMDisposeMessage. */ -char *LLVMGetTargetMachineFeatureString(LLVMTargetMachineRef T); +LLVM_FUNC_ABI char *LLVMGetTargetMachineFeatureString(LLVMTargetMachineRef T); /** Create a DataLayout based on the targetMachine. */ -LLVMTargetDataRef LLVMCreateTargetDataLayout(LLVMTargetMachineRef T); +LLVM_FUNC_ABI LLVMTargetDataRef LLVMCreateTargetDataLayout(LLVMTargetMachineRef T); /** Set the target machine's ASM verbosity. */ -void LLVMSetTargetMachineAsmVerbosity(LLVMTargetMachineRef T, +LLVM_FUNC_ABI void LLVMSetTargetMachineAsmVerbosity(LLVMTargetMachineRef T, LLVMBool VerboseAsm); /** Enable fast-path instruction selection. */ -void LLVMSetTargetMachineFastISel(LLVMTargetMachineRef T, LLVMBool Enable); +LLVM_FUNC_ABI void LLVMSetTargetMachineFastISel(LLVMTargetMachineRef T, LLVMBool Enable); /** Enable global instruction selection. */ -void LLVMSetTargetMachineGlobalISel(LLVMTargetMachineRef T, LLVMBool Enable); +LLVM_FUNC_ABI void LLVMSetTargetMachineGlobalISel(LLVMTargetMachineRef T, LLVMBool Enable); /** Set abort behaviour when global instruction selection fails to lower/select * an instruction. */ -void LLVMSetTargetMachineGlobalISelAbort(LLVMTargetMachineRef T, +LLVM_FUNC_ABI void LLVMSetTargetMachineGlobalISelAbort(LLVMTargetMachineRef T, LLVMGlobalISelAbortMode Mode); /** Enable the MachineOutliner pass. */ -void LLVMSetTargetMachineMachineOutliner(LLVMTargetMachineRef T, +LLVM_FUNC_ABI void LLVMSetTargetMachineMachineOutliner(LLVMTargetMachineRef T, LLVMBool Enable); /** Emits an asm or object file for the given module to the filename. This wraps several c++ only classes (among them a file stream). Returns any error in ErrorMessage. Use LLVMDisposeMessage to dispose the message. */ -LLVMBool LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T, LLVMModuleRef M, +LLVM_FUNC_ABI LLVMBool LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T, LLVMModuleRef M, const char *Filename, LLVMCodeGenFileType codegen, char **ErrorMessage); /** Compile the LLVM IR stored in \p M and store the result in \p OutMemBuf. */ -LLVMBool LLVMTargetMachineEmitToMemoryBuffer(LLVMTargetMachineRef T, LLVMModuleRef M, +LLVM_FUNC_ABI LLVMBool LLVMTargetMachineEmitToMemoryBuffer(LLVMTargetMachineRef T, LLVMModuleRef M, LLVMCodeGenFileType codegen, char** ErrorMessage, LLVMMemoryBufferRef *OutMemBuf); /*===-- Triple ------------------------------------------------------------===*/ /** Get a triple for the host machine as a string. The result needs to be disposed with LLVMDisposeMessage. */ -char* LLVMGetDefaultTargetTriple(void); +LLVM_FUNC_ABI char* LLVMGetDefaultTargetTriple(void); /** Normalize a target triple. The result needs to be disposed with LLVMDisposeMessage. */ -char* LLVMNormalizeTargetTriple(const char* triple); +LLVM_FUNC_ABI char* LLVMNormalizeTargetTriple(const char* triple); /** Get the host CPU as a string. The result needs to be disposed with LLVMDisposeMessage. */ -char* LLVMGetHostCPUName(void); +LLVM_FUNC_ABI char* LLVMGetHostCPUName(void); /** Get the host CPU's features as a string. The result needs to be disposed with LLVMDisposeMessage. */ -char* LLVMGetHostCPUFeatures(void); +LLVM_FUNC_ABI char* LLVMGetHostCPUFeatures(void); /** Adds the target-specific analysis passes to the pass manager. */ -void LLVMAddAnalysisPasses(LLVMTargetMachineRef T, LLVMPassManagerRef PM); +LLVM_FUNC_ABI void LLVMAddAnalysisPasses(LLVMTargetMachineRef T, LLVMPassManagerRef PM); /** * @} diff --git a/llvm/include/llvm-c/Transforms/PassBuilder.h b/llvm/include/llvm-c/Transforms/PassBuilder.h index b6055c25c5f115..407ea743521d9b 100644 --- a/llvm/include/llvm-c/Transforms/PassBuilder.h +++ b/llvm/include/llvm-c/Transforms/PassBuilder.h @@ -47,7 +47,7 @@ typedef struct LLVMOpaquePassBuilderOptions *LLVMPassBuilderOptionsRef; * pipelines may also be invoked using `default` and friends. See opt for * full reference of the Passes format. */ -LLVMErrorRef LLVMRunPasses(LLVMModuleRef M, const char *Passes, +LLVM_FUNC_ABI LLVMErrorRef LLVMRunPasses(LLVMModuleRef M, const char *Passes, LLVMTargetMachineRef TM, LLVMPassBuilderOptionsRef Options); @@ -58,55 +58,55 @@ LLVMErrorRef LLVMRunPasses(LLVMModuleRef M, const char *Passes, * responsible for it. The client should call LLVMDisposePassBuilderOptions * to free the pass builder options. */ -LLVMPassBuilderOptionsRef LLVMCreatePassBuilderOptions(void); +LLVM_FUNC_ABI LLVMPassBuilderOptionsRef LLVMCreatePassBuilderOptions(void); /** * Toggle adding the VerifierPass for the PassBuilder, ensuring all functions * inside the module is valid. */ -void LLVMPassBuilderOptionsSetVerifyEach(LLVMPassBuilderOptionsRef Options, +LLVM_FUNC_ABI void LLVMPassBuilderOptionsSetVerifyEach(LLVMPassBuilderOptionsRef Options, LLVMBool VerifyEach); /** * Toggle debug logging when running the PassBuilder */ -void LLVMPassBuilderOptionsSetDebugLogging(LLVMPassBuilderOptionsRef Options, +LLVM_FUNC_ABI void LLVMPassBuilderOptionsSetDebugLogging(LLVMPassBuilderOptionsRef Options, LLVMBool DebugLogging); -void LLVMPassBuilderOptionsSetLoopInterleaving( +LLVM_FUNC_ABI void LLVMPassBuilderOptionsSetLoopInterleaving( LLVMPassBuilderOptionsRef Options, LLVMBool LoopInterleaving); -void LLVMPassBuilderOptionsSetLoopVectorization( +LLVM_FUNC_ABI void LLVMPassBuilderOptionsSetLoopVectorization( LLVMPassBuilderOptionsRef Options, LLVMBool LoopVectorization); -void LLVMPassBuilderOptionsSetSLPVectorization( +LLVM_FUNC_ABI void LLVMPassBuilderOptionsSetSLPVectorization( LLVMPassBuilderOptionsRef Options, LLVMBool SLPVectorization); -void LLVMPassBuilderOptionsSetLoopUnrolling(LLVMPassBuilderOptionsRef Options, +LLVM_FUNC_ABI void LLVMPassBuilderOptionsSetLoopUnrolling(LLVMPassBuilderOptionsRef Options, LLVMBool LoopUnrolling); -void LLVMPassBuilderOptionsSetForgetAllSCEVInLoopUnroll( +LLVM_FUNC_ABI void LLVMPassBuilderOptionsSetForgetAllSCEVInLoopUnroll( LLVMPassBuilderOptionsRef Options, LLVMBool ForgetAllSCEVInLoopUnroll); -void LLVMPassBuilderOptionsSetLicmMssaOptCap(LLVMPassBuilderOptionsRef Options, +LLVM_FUNC_ABI void LLVMPassBuilderOptionsSetLicmMssaOptCap(LLVMPassBuilderOptionsRef Options, unsigned LicmMssaOptCap); -void LLVMPassBuilderOptionsSetLicmMssaNoAccForPromotionCap( +LLVM_FUNC_ABI void LLVMPassBuilderOptionsSetLicmMssaNoAccForPromotionCap( LLVMPassBuilderOptionsRef Options, unsigned LicmMssaNoAccForPromotionCap); -void LLVMPassBuilderOptionsSetCallGraphProfile( +LLVM_FUNC_ABI void LLVMPassBuilderOptionsSetCallGraphProfile( LLVMPassBuilderOptionsRef Options, LLVMBool CallGraphProfile); -void LLVMPassBuilderOptionsSetMergeFunctions(LLVMPassBuilderOptionsRef Options, +LLVM_FUNC_ABI void LLVMPassBuilderOptionsSetMergeFunctions(LLVMPassBuilderOptionsRef Options, LLVMBool MergeFunctions); -void LLVMPassBuilderOptionsSetInlinerThreshold( +LLVM_FUNC_ABI void LLVMPassBuilderOptionsSetInlinerThreshold( LLVMPassBuilderOptionsRef Options, int Threshold); /** * Dispose of a heap-allocated PassBuilderOptions instance */ -void LLVMDisposePassBuilderOptions(LLVMPassBuilderOptionsRef Options); +LLVM_FUNC_ABI void LLVMDisposePassBuilderOptions(LLVMPassBuilderOptionsRef Options); /** * @} diff --git a/llvm/include/llvm-c/blake3.h b/llvm/include/llvm-c/blake3.h index f4a98b4218f885..f0686e359a0b9e 100644 --- a/llvm/include/llvm-c/blake3.h +++ b/llvm/include/llvm-c/blake3.h @@ -34,7 +34,7 @@ extern "C" { // This struct is a private implementation detail. It has to be here because // it's part of llvm_blake3_hasher below. -typedef struct { +typedef struct LLVM_CLASS_ABI { uint32_t cv[8]; uint64_t chunk_counter; uint8_t buf[LLVM_BLAKE3_BLOCK_LEN]; @@ -43,7 +43,7 @@ typedef struct { uint8_t flags; } llvm_blake3_chunk_state; -typedef struct { +typedef struct LLVM_CLASS_ABI { uint32_t key[8]; llvm_blake3_chunk_state chunk; uint8_t cv_stack_len; @@ -55,23 +55,23 @@ typedef struct { uint8_t cv_stack[(LLVM_BLAKE3_MAX_DEPTH + 1) * LLVM_BLAKE3_OUT_LEN]; } llvm_blake3_hasher; -const char *llvm_blake3_version(void); -void llvm_blake3_hasher_init(llvm_blake3_hasher *self); -void llvm_blake3_hasher_init_keyed(llvm_blake3_hasher *self, +LLVM_FUNC_ABI const char *llvm_blake3_version(void); +LLVM_FUNC_ABI void llvm_blake3_hasher_init(llvm_blake3_hasher *self); +LLVM_FUNC_ABI void llvm_blake3_hasher_init_keyed(llvm_blake3_hasher *self, const uint8_t key[LLVM_BLAKE3_KEY_LEN]); -void llvm_blake3_hasher_init_derive_key(llvm_blake3_hasher *self, +LLVM_FUNC_ABI void llvm_blake3_hasher_init_derive_key(llvm_blake3_hasher *self, const char *context); -void llvm_blake3_hasher_init_derive_key_raw(llvm_blake3_hasher *self, +LLVM_FUNC_ABI void llvm_blake3_hasher_init_derive_key_raw(llvm_blake3_hasher *self, const void *context, size_t context_len); -void llvm_blake3_hasher_update(llvm_blake3_hasher *self, const void *input, +LLVM_FUNC_ABI void llvm_blake3_hasher_update(llvm_blake3_hasher *self, const void *input, size_t input_len); -void llvm_blake3_hasher_finalize(const llvm_blake3_hasher *self, uint8_t *out, +LLVM_FUNC_ABI void llvm_blake3_hasher_finalize(const llvm_blake3_hasher *self, uint8_t *out, size_t out_len); -void llvm_blake3_hasher_finalize_seek(const llvm_blake3_hasher *self, +LLVM_FUNC_ABI void llvm_blake3_hasher_finalize_seek(const llvm_blake3_hasher *self, uint64_t seek, uint8_t *out, size_t out_len); -void llvm_blake3_hasher_reset(llvm_blake3_hasher *self); +LLVM_FUNC_ABI void llvm_blake3_hasher_reset(llvm_blake3_hasher *self); #ifdef __cplusplus } diff --git a/llvm/include/llvm-c/lto.h b/llvm/include/llvm-c/lto.h index 087a6bd09a80e2..8cdf25aec7eeb1 100644 --- a/llvm/include/llvm-c/lto.h +++ b/llvm/include/llvm-c/lto.h @@ -108,7 +108,7 @@ LLVM_C_EXTERN_C_BEGIN * * \since prior to LTO_API_VERSION=3 */ -extern const char* +LLVM_FUNC_ABI extern const char* lto_get_version(void); /** @@ -116,7 +116,7 @@ lto_get_version(void); * * \since prior to LTO_API_VERSION=3 */ -extern const char* +LLVM_FUNC_ABI extern const char* lto_get_error_message(void); /** @@ -124,7 +124,7 @@ lto_get_error_message(void); * * \since prior to LTO_API_VERSION=3 */ -extern lto_bool_t +LLVM_FUNC_ABI extern lto_bool_t lto_module_is_object_file(const char* path); /** @@ -132,7 +132,7 @@ lto_module_is_object_file(const char* path); * * \since prior to LTO_API_VERSION=3 */ -extern lto_bool_t +LLVM_FUNC_ABI extern lto_bool_t lto_module_is_object_file_for_target(const char* path, const char* target_triple_prefix); @@ -142,7 +142,7 @@ lto_module_is_object_file_for_target(const char* path, * * \since LTO_API_VERSION=20 */ -extern lto_bool_t +LLVM_FUNC_ABI extern lto_bool_t lto_module_has_objc_category(const void *mem, size_t length); /** @@ -150,7 +150,7 @@ lto_module_has_objc_category(const void *mem, size_t length); * * \since prior to LTO_API_VERSION=3 */ -extern lto_bool_t lto_module_is_object_file_in_memory(const void *mem, +LLVM_FUNC_ABI extern lto_bool_t lto_module_is_object_file_in_memory(const void *mem, size_t length); /** @@ -158,7 +158,7 @@ extern lto_bool_t lto_module_is_object_file_in_memory(const void *mem, * * \since prior to LTO_API_VERSION=3 */ -extern lto_bool_t +LLVM_FUNC_ABI extern lto_bool_t lto_module_is_object_file_in_memory_for_target(const void* mem, size_t length, const char* target_triple_prefix); @@ -168,7 +168,7 @@ lto_module_is_object_file_in_memory_for_target(const void* mem, size_t length, * * \since prior to LTO_API_VERSION=3 */ -extern lto_module_t +LLVM_FUNC_ABI extern lto_module_t lto_module_create(const char* path); /** @@ -177,7 +177,7 @@ lto_module_create(const char* path); * * \since prior to LTO_API_VERSION=3 */ -extern lto_module_t +LLVM_FUNC_ABI extern lto_module_t lto_module_create_from_memory(const void* mem, size_t length); /** @@ -186,7 +186,7 @@ lto_module_create_from_memory(const void* mem, size_t length); * * \since LTO_API_VERSION=9 */ -extern lto_module_t +LLVM_FUNC_ABI extern lto_module_t lto_module_create_from_memory_with_path(const void* mem, size_t length, const char *path); @@ -201,7 +201,7 @@ lto_module_create_from_memory_with_path(const void* mem, size_t length, * * \since LTO_API_VERSION=11 */ -extern lto_module_t +LLVM_FUNC_ABI extern lto_module_t lto_module_create_in_local_context(const void *mem, size_t length, const char *path); @@ -215,7 +215,7 @@ lto_module_create_in_local_context(const void *mem, size_t length, * * \since LTO_API_VERSION=11 */ -extern lto_module_t +LLVM_FUNC_ABI extern lto_module_t lto_module_create_in_codegen_context(const void *mem, size_t length, const char *path, lto_code_gen_t cg); @@ -225,7 +225,7 @@ lto_module_create_in_codegen_context(const void *mem, size_t length, * * \since LTO_API_VERSION=5 */ -extern lto_module_t +LLVM_FUNC_ABI extern lto_module_t lto_module_create_from_fd(int fd, const char *path, size_t file_size); /** @@ -234,7 +234,7 @@ lto_module_create_from_fd(int fd, const char *path, size_t file_size); * * \since LTO_API_VERSION=5 */ -extern lto_module_t +LLVM_FUNC_ABI extern lto_module_t lto_module_create_from_fd_at_offset(int fd, const char *path, size_t file_size, size_t map_size, off_t offset); @@ -244,7 +244,7 @@ lto_module_create_from_fd_at_offset(int fd, const char *path, size_t file_size, * * \since prior to LTO_API_VERSION=3 */ -extern void +LLVM_FUNC_ABI extern void lto_module_dispose(lto_module_t mod); /** @@ -252,7 +252,7 @@ lto_module_dispose(lto_module_t mod); * * \since prior to LTO_API_VERSION=3 */ -extern const char* +LLVM_FUNC_ABI extern const char* lto_module_get_target_triple(lto_module_t mod); /** @@ -260,7 +260,7 @@ lto_module_get_target_triple(lto_module_t mod); * * \since LTO_API_VERSION=4 */ -extern void +LLVM_FUNC_ABI extern void lto_module_set_target_triple(lto_module_t mod, const char *triple); /** @@ -268,7 +268,7 @@ lto_module_set_target_triple(lto_module_t mod, const char *triple); * * \since prior to LTO_API_VERSION=3 */ -extern unsigned int +LLVM_FUNC_ABI extern unsigned int lto_module_get_num_symbols(lto_module_t mod); /** @@ -276,7 +276,7 @@ lto_module_get_num_symbols(lto_module_t mod); * * \since prior to LTO_API_VERSION=3 */ -extern const char* +LLVM_FUNC_ABI extern const char* lto_module_get_symbol_name(lto_module_t mod, unsigned int index); /** @@ -284,7 +284,7 @@ lto_module_get_symbol_name(lto_module_t mod, unsigned int index); * * \since prior to LTO_API_VERSION=3 */ -extern lto_symbol_attributes +LLVM_FUNC_ABI extern lto_symbol_attributes lto_module_get_symbol_attribute(lto_module_t mod, unsigned int index); /** @@ -295,7 +295,7 @@ lto_module_get_symbol_attribute(lto_module_t mod, unsigned int index); * * \since LTO_API_VERSION=16 */ -extern const char* +LLVM_FUNC_ABI extern const char* lto_module_get_linkeropts(lto_module_t mod); /** @@ -309,7 +309,7 @@ lto_module_get_linkeropts(lto_module_t mod); * * \since LTO_API_VERSION=27 */ -extern lto_bool_t lto_module_get_macho_cputype(lto_module_t mod, +LLVM_FUNC_ABI extern lto_bool_t lto_module_get_macho_cputype(lto_module_t mod, unsigned int *out_cputype, unsigned int *out_cpusubtype); @@ -322,7 +322,7 @@ extern lto_bool_t lto_module_get_macho_cputype(lto_module_t mod, * * \since LTO_API_VERSION=29 */ -extern lto_bool_t lto_module_has_ctor_dtor(lto_module_t mod); +LLVM_FUNC_ABI extern lto_bool_t lto_module_has_ctor_dtor(lto_module_t mod); /** * Diagnostic severity. * @@ -354,7 +354,7 @@ typedef void (*lto_diagnostic_handler_t)( * * \since LTO_API_VERSION=7 */ -extern void lto_codegen_set_diagnostic_handler(lto_code_gen_t, +LLVM_FUNC_ABI extern void lto_codegen_set_diagnostic_handler(lto_code_gen_t, lto_diagnostic_handler_t, void *); @@ -367,7 +367,7 @@ extern void lto_codegen_set_diagnostic_handler(lto_code_gen_t, * * \since prior to LTO_API_VERSION=3 */ -extern lto_code_gen_t +LLVM_FUNC_ABI extern lto_code_gen_t lto_codegen_create(void); /** @@ -379,7 +379,7 @@ lto_codegen_create(void); * * \since LTO_API_VERSION=11 */ -extern lto_code_gen_t +LLVM_FUNC_ABI extern lto_code_gen_t lto_codegen_create_in_local_context(void); /** @@ -388,7 +388,7 @@ lto_codegen_create_in_local_context(void); * * \since prior to LTO_API_VERSION=3 */ -extern void +LLVM_FUNC_ABI extern void lto_codegen_dispose(lto_code_gen_t); /** @@ -401,7 +401,7 @@ lto_codegen_dispose(lto_code_gen_t); * * \since prior to LTO_API_VERSION=3 */ -extern lto_bool_t +LLVM_FUNC_ABI extern lto_bool_t lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod); /** @@ -412,7 +412,7 @@ lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod); * * \since LTO_API_VERSION=13 */ -extern void +LLVM_FUNC_ABI extern void lto_codegen_set_module(lto_code_gen_t cg, lto_module_t mod); /** @@ -421,7 +421,7 @@ lto_codegen_set_module(lto_code_gen_t cg, lto_module_t mod); * * \since prior to LTO_API_VERSION=3 */ -extern lto_bool_t +LLVM_FUNC_ABI extern lto_bool_t lto_codegen_set_debug_model(lto_code_gen_t cg, lto_debug_model); /** @@ -430,7 +430,7 @@ lto_codegen_set_debug_model(lto_code_gen_t cg, lto_debug_model); * * \since prior to LTO_API_VERSION=3 */ -extern lto_bool_t +LLVM_FUNC_ABI extern lto_bool_t lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model); /** @@ -438,7 +438,7 @@ lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model); * * \since LTO_API_VERSION=4 */ -extern void +LLVM_FUNC_ABI extern void lto_codegen_set_cpu(lto_code_gen_t cg, const char *cpu); /** @@ -447,7 +447,7 @@ lto_codegen_set_cpu(lto_code_gen_t cg, const char *cpu); * * \since LTO_API_VERSION=3 */ -extern void +LLVM_FUNC_ABI extern void lto_codegen_set_assembler_path(lto_code_gen_t cg, const char* path); /** @@ -455,7 +455,7 @@ lto_codegen_set_assembler_path(lto_code_gen_t cg, const char* path); * * \since LTO_API_VERSION=4 */ -extern void +LLVM_FUNC_ABI extern void lto_codegen_set_assembler_args(lto_code_gen_t cg, const char **args, int nargs); @@ -466,7 +466,7 @@ lto_codegen_set_assembler_args(lto_code_gen_t cg, const char **args, * * \since prior to LTO_API_VERSION=3 */ -extern void +LLVM_FUNC_ABI extern void lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg, const char* symbol); /** @@ -476,7 +476,7 @@ lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg, const char* symbol); * * \since LTO_API_VERSION=5 */ -extern lto_bool_t +LLVM_FUNC_ABI extern lto_bool_t lto_codegen_write_merged_modules(lto_code_gen_t cg, const char* path); /** @@ -491,7 +491,7 @@ lto_codegen_write_merged_modules(lto_code_gen_t cg, const char* path); * * \since prior to LTO_API_VERSION=3 */ -extern const void* +LLVM_FUNC_ABI extern const void* lto_codegen_compile(lto_code_gen_t cg, size_t* length); /** @@ -503,7 +503,7 @@ lto_codegen_compile(lto_code_gen_t cg, size_t* length); * * \since LTO_API_VERSION=5 */ -extern lto_bool_t +LLVM_FUNC_ABI extern lto_bool_t lto_codegen_compile_to_file(lto_code_gen_t cg, const char** name); /** @@ -511,7 +511,7 @@ lto_codegen_compile_to_file(lto_code_gen_t cg, const char** name); * * \since LTO_API_VERSION=12 */ -extern lto_bool_t +LLVM_FUNC_ABI extern lto_bool_t lto_codegen_optimize(lto_code_gen_t cg); /** @@ -526,7 +526,7 @@ lto_codegen_optimize(lto_code_gen_t cg); * * \since LTO_API_VERSION=12 */ -extern const void* +LLVM_FUNC_ABI extern const void* lto_codegen_compile_optimized(lto_code_gen_t cg, size_t* length); /** @@ -534,7 +534,7 @@ lto_codegen_compile_optimized(lto_code_gen_t cg, size_t* length); * * \since LTO_API_VERSION=12 */ -extern unsigned int +LLVM_FUNC_ABI extern unsigned int lto_api_version(void); /** @@ -549,7 +549,7 @@ lto_api_version(void); * * \since LTO_API_VERSION=28 */ -extern void lto_set_debug_options(const char *const *options, int number); +LLVM_FUNC_ABI extern void lto_set_debug_options(const char *const *options, int number); /** * Sets options to help debug codegen bugs. Since parsing shud only happen once, @@ -562,7 +562,7 @@ extern void lto_set_debug_options(const char *const *options, int number); * * \since prior to LTO_API_VERSION=3 */ -extern void +LLVM_FUNC_ABI extern void lto_codegen_debug_options(lto_code_gen_t cg, const char *); /** @@ -571,7 +571,7 @@ lto_codegen_debug_options(lto_code_gen_t cg, const char *); * * \since prior to LTO_API_VERSION=26 */ -extern void lto_codegen_debug_options_array(lto_code_gen_t cg, +LLVM_FUNC_ABI extern void lto_codegen_debug_options_array(lto_code_gen_t cg, const char *const *, int number); /** @@ -580,7 +580,7 @@ extern void lto_codegen_debug_options_array(lto_code_gen_t cg, * * \since LTO_API_VERSION=5 */ -extern void +LLVM_FUNC_ABI extern void lto_initialize_disassembler(void); /** @@ -589,7 +589,7 @@ lto_initialize_disassembler(void); * * \since LTO_API_VERSION=14 */ -extern void +LLVM_FUNC_ABI extern void lto_codegen_set_should_internalize(lto_code_gen_t cg, lto_bool_t ShouldInternalize); @@ -601,7 +601,7 @@ lto_codegen_set_should_internalize(lto_code_gen_t cg, * * \since LTO_API_VERSION=15 */ -extern void +LLVM_FUNC_ABI extern void lto_codegen_set_should_embed_uselists(lto_code_gen_t cg, lto_bool_t ShouldEmbedUselists); @@ -616,7 +616,7 @@ typedef struct LLVMOpaqueLTOInput *lto_input_t; * * \since LTO_API_VERSION=24 */ -extern lto_input_t lto_input_create(const void *buffer, +LLVM_FUNC_ABI extern lto_input_t lto_input_create(const void *buffer, size_t buffer_size, const char *path); @@ -626,7 +626,7 @@ extern lto_input_t lto_input_create(const void *buffer, * * \since LTO_API_VERSION=24 */ -extern void lto_input_dispose(lto_input_t input); +LLVM_FUNC_ABI extern void lto_input_dispose(lto_input_t input); /** * Returns the number of dependent library specifiers @@ -634,7 +634,7 @@ extern void lto_input_dispose(lto_input_t input); * * \since LTO_API_VERSION=24 */ -extern unsigned lto_input_get_num_dependent_libraries(lto_input_t input); +LLVM_FUNC_ABI extern unsigned lto_input_get_num_dependent_libraries(lto_input_t input); /** * Returns the ith dependent library specifier @@ -643,7 +643,7 @@ extern unsigned lto_input_get_num_dependent_libraries(lto_input_t input); * * \since LTO_API_VERSION=24 */ -extern const char * lto_input_get_dependent_library(lto_input_t input, +LLVM_FUNC_ABI extern const char * lto_input_get_dependent_library(lto_input_t input, size_t index, size_t *size); @@ -653,7 +653,7 @@ extern const char * lto_input_get_dependent_library(lto_input_t input, * * \since prior to LTO_API_VERSION=25 */ -extern const char *const *lto_runtime_lib_symbols_list(size_t *size); +LLVM_FUNC_ABI extern const char *const *lto_runtime_lib_symbols_list(size_t *size); /** * @} // endgoup LLVMCLTO @@ -668,7 +668,7 @@ extern const char *const *lto_runtime_lib_symbols_list(size_t *size); * * \since LTO_API_VERSION=18 */ -typedef struct { +typedef struct LLVM_CLASS_ABI { const char *Buffer; size_t Size; } LTOObjectBuffer; @@ -685,7 +685,7 @@ typedef struct { * * \since LTO_API_VERSION=18 */ -extern thinlto_code_gen_t thinlto_create_codegen(void); +LLVM_FUNC_ABI extern thinlto_code_gen_t thinlto_create_codegen(void); /** * Frees the generator and all memory it internally allocated. @@ -693,7 +693,7 @@ extern thinlto_code_gen_t thinlto_create_codegen(void); * * \since LTO_API_VERSION=18 */ -extern void thinlto_codegen_dispose(thinlto_code_gen_t cg); +LLVM_FUNC_ABI extern void thinlto_codegen_dispose(thinlto_code_gen_t cg); /** * Add a module to a ThinLTO code generator. Identifier has to be unique among @@ -706,7 +706,7 @@ extern void thinlto_codegen_dispose(thinlto_code_gen_t cg); * * \since LTO_API_VERSION=18 */ -extern void thinlto_codegen_add_module(thinlto_code_gen_t cg, +LLVM_FUNC_ABI extern void thinlto_codegen_add_module(thinlto_code_gen_t cg, const char *identifier, const char *data, int length); @@ -716,7 +716,7 @@ extern void thinlto_codegen_add_module(thinlto_code_gen_t cg, * * \since LTO_API_VERSION=18 */ -extern void thinlto_codegen_process(thinlto_code_gen_t cg); +LLVM_FUNC_ABI extern void thinlto_codegen_process(thinlto_code_gen_t cg); /** * Returns the number of object files produced by the ThinLTO CodeGenerator. @@ -727,7 +727,7 @@ extern void thinlto_codegen_process(thinlto_code_gen_t cg); * * \since LTO_API_VERSION=18 */ -extern unsigned int thinlto_module_get_num_objects(thinlto_code_gen_t cg); +LLVM_FUNC_ABI extern unsigned int thinlto_module_get_num_objects(thinlto_code_gen_t cg); /** * Returns a reference to the ith object file produced by the ThinLTO @@ -738,7 +738,7 @@ extern unsigned int thinlto_module_get_num_objects(thinlto_code_gen_t cg); * * \since LTO_API_VERSION=18 */ -extern LTOObjectBuffer thinlto_module_get_object(thinlto_code_gen_t cg, +LLVM_FUNC_ABI extern LTOObjectBuffer thinlto_module_get_object(thinlto_code_gen_t cg, unsigned int index); /** @@ -750,7 +750,7 @@ extern LTOObjectBuffer thinlto_module_get_object(thinlto_code_gen_t cg, * * \since LTO_API_VERSION=21 */ -unsigned int thinlto_module_get_num_object_files(thinlto_code_gen_t cg); +LLVM_FUNC_ABI unsigned int thinlto_module_get_num_object_files(thinlto_code_gen_t cg); /** * Returns the path to the ith object file produced by the ThinLTO @@ -761,7 +761,7 @@ unsigned int thinlto_module_get_num_object_files(thinlto_code_gen_t cg); * * \since LTO_API_VERSION=21 */ -const char *thinlto_module_get_object_file(thinlto_code_gen_t cg, +LLVM_FUNC_ABI const char *thinlto_module_get_object_file(thinlto_code_gen_t cg, unsigned int index); /** @@ -770,7 +770,7 @@ const char *thinlto_module_get_object_file(thinlto_code_gen_t cg, * * \since LTO_API_VERSION=18 */ -extern lto_bool_t thinlto_codegen_set_pic_model(thinlto_code_gen_t cg, +LLVM_FUNC_ABI extern lto_bool_t thinlto_codegen_set_pic_model(thinlto_code_gen_t cg, lto_codegen_model); /** @@ -780,7 +780,7 @@ extern lto_bool_t thinlto_codegen_set_pic_model(thinlto_code_gen_t cg, * * \since LTO_API_VERSION=18 */ -extern void thinlto_codegen_set_savetemps_dir(thinlto_code_gen_t cg, +LLVM_FUNC_ABI extern void thinlto_codegen_set_savetemps_dir(thinlto_code_gen_t cg, const char *save_temps_dir); /** @@ -791,7 +791,7 @@ extern void thinlto_codegen_set_savetemps_dir(thinlto_code_gen_t cg, * * \since LTO_API_VERSION=21 */ -void thinlto_set_generated_objects_dir(thinlto_code_gen_t cg, +LLVM_FUNC_ABI void thinlto_set_generated_objects_dir(thinlto_code_gen_t cg, const char *save_temps_dir); /** @@ -799,7 +799,7 @@ void thinlto_set_generated_objects_dir(thinlto_code_gen_t cg, * * \since LTO_API_VERSION=18 */ -extern void thinlto_codegen_set_cpu(thinlto_code_gen_t cg, const char *cpu); +LLVM_FUNC_ABI extern void thinlto_codegen_set_cpu(thinlto_code_gen_t cg, const char *cpu); /** * Disable CodeGen, only run the stages till codegen and stop. The output will @@ -807,7 +807,7 @@ extern void thinlto_codegen_set_cpu(thinlto_code_gen_t cg, const char *cpu); * * \since LTO_API_VERSION=19 */ -extern void thinlto_codegen_disable_codegen(thinlto_code_gen_t cg, +LLVM_FUNC_ABI extern void thinlto_codegen_disable_codegen(thinlto_code_gen_t cg, lto_bool_t disable); /** @@ -815,7 +815,7 @@ extern void thinlto_codegen_disable_codegen(thinlto_code_gen_t cg, * * \since LTO_API_VERSION=19 */ -extern void thinlto_codegen_set_codegen_only(thinlto_code_gen_t cg, +LLVM_FUNC_ABI extern void thinlto_codegen_set_codegen_only(thinlto_code_gen_t cg, lto_bool_t codegen_only); /** @@ -823,14 +823,14 @@ extern void thinlto_codegen_set_codegen_only(thinlto_code_gen_t cg, * * \since LTO_API_VERSION=18 */ -extern void thinlto_debug_options(const char *const *options, int number); +LLVM_FUNC_ABI extern void thinlto_debug_options(const char *const *options, int number); /** * Test if a module has support for ThinLTO linking. * * \since LTO_API_VERSION=18 */ -extern lto_bool_t lto_module_is_thinlto(lto_module_t mod); +LLVM_FUNC_ABI extern lto_bool_t lto_module_is_thinlto(lto_module_t mod); /** * Adds a symbol to the list of global symbols that must exist in the final @@ -840,7 +840,7 @@ extern lto_bool_t lto_module_is_thinlto(lto_module_t mod); * * \since LTO_API_VERSION=18 */ -extern void thinlto_codegen_add_must_preserve_symbol(thinlto_code_gen_t cg, +LLVM_FUNC_ABI extern void thinlto_codegen_add_must_preserve_symbol(thinlto_code_gen_t cg, const char *name, int length); @@ -852,7 +852,7 @@ extern void thinlto_codegen_add_must_preserve_symbol(thinlto_code_gen_t cg, * * \since LTO_API_VERSION=18 */ -extern void thinlto_codegen_add_cross_referenced_symbol(thinlto_code_gen_t cg, +LLVM_FUNC_ABI extern void thinlto_codegen_add_cross_referenced_symbol(thinlto_code_gen_t cg, const char *name, int length); @@ -883,7 +883,7 @@ extern void thinlto_codegen_add_cross_referenced_symbol(thinlto_code_gen_t cg, * * \since LTO_API_VERSION=18 */ -extern void thinlto_codegen_set_cache_dir(thinlto_code_gen_t cg, +LLVM_FUNC_ABI extern void thinlto_codegen_set_cache_dir(thinlto_code_gen_t cg, const char *cache_dir); /** @@ -893,7 +893,7 @@ extern void thinlto_codegen_set_cache_dir(thinlto_code_gen_t cg, * * \since LTO_API_VERSION=18 */ -extern void thinlto_codegen_set_cache_pruning_interval(thinlto_code_gen_t cg, +LLVM_FUNC_ABI extern void thinlto_codegen_set_cache_pruning_interval(thinlto_code_gen_t cg, int interval); /** @@ -909,7 +909,7 @@ extern void thinlto_codegen_set_cache_pruning_interval(thinlto_code_gen_t cg, * * \since LTO_API_VERSION=18 */ -extern void thinlto_codegen_set_final_cache_size_relative_to_available_space( +LLVM_FUNC_ABI extern void thinlto_codegen_set_final_cache_size_relative_to_available_space( thinlto_code_gen_t cg, unsigned percentage); /** @@ -918,7 +918,7 @@ extern void thinlto_codegen_set_final_cache_size_relative_to_available_space( * * \since LTO_API_VERSION=18 */ -extern void thinlto_codegen_set_cache_entry_expiration(thinlto_code_gen_t cg, +LLVM_FUNC_ABI extern void thinlto_codegen_set_cache_entry_expiration(thinlto_code_gen_t cg, unsigned expiration); /** @@ -929,7 +929,7 @@ extern void thinlto_codegen_set_cache_entry_expiration(thinlto_code_gen_t cg, * * \since LTO_API_VERSION=22 */ -extern void thinlto_codegen_set_cache_size_bytes(thinlto_code_gen_t cg, +LLVM_FUNC_ABI extern void thinlto_codegen_set_cache_size_bytes(thinlto_code_gen_t cg, unsigned max_size_bytes); /** @@ -938,7 +938,7 @@ extern void thinlto_codegen_set_cache_size_bytes(thinlto_code_gen_t cg, * * \since LTO_API_VERSION=23 */ -extern void +LLVM_FUNC_ABI extern void thinlto_codegen_set_cache_size_megabytes(thinlto_code_gen_t cg, unsigned max_size_megabytes); @@ -948,7 +948,7 @@ thinlto_codegen_set_cache_size_megabytes(thinlto_code_gen_t cg, * * \since LTO_API_VERSION=22 */ -extern void thinlto_codegen_set_cache_size_files(thinlto_code_gen_t cg, +LLVM_FUNC_ABI extern void thinlto_codegen_set_cache_size_files(thinlto_code_gen_t cg, unsigned max_size_files); /** diff --git a/llvm/include/llvm/ADT/APFixedPoint.h b/llvm/include/llvm/ADT/APFixedPoint.h index 22a08633a856b5..eb9c51e4b88b50 100644 --- a/llvm/include/llvm/ADT/APFixedPoint.h +++ b/llvm/include/llvm/ADT/APFixedPoint.h @@ -33,7 +33,7 @@ struct fltSemantics; /// if any). The scale represents the number of fractional bits in this type. /// When HasUnsignedPadding is true and this type is unsigned, the first bit /// in the value this represents is treated as padding. -class FixedPointSemantics { +class LLVM_CLASS_ABI FixedPointSemantics { public: static constexpr unsigned WidthBitWidth = 16; static constexpr unsigned LsbWeightBitWidth = 13; @@ -130,7 +130,7 @@ inline hash_code hash_value(const FixedPointSemantics &Val) { return hash_value(bit_cast(Val)); } -template <> struct DenseMapInfo { +template <> struct LLVM_CLASS_ABI DenseMapInfo { static inline FixedPointSemantics getEmptyKey() { return FixedPointSemantics(0, 0, false, false, false); } @@ -152,7 +152,7 @@ template <> struct DenseMapInfo { /// JTC1 SC22 WG14 N1169. The class carries the value and semantics of /// a fixed point, and provides different operations that would normally be /// performed on fixed point types. -class APFixedPoint { +class LLVM_CLASS_ABI APFixedPoint { public: APFixedPoint(const APInt &Val, const FixedPointSemantics &Sema) : Val(Val, !Sema.isSigned()), Sema(Sema) { @@ -299,7 +299,7 @@ inline hash_code hash_value(const APFixedPoint &Val) { return hash_combine(Val.getSemantics(), Val.getValue()); } -template <> struct DenseMapInfo { +template <> struct LLVM_CLASS_ABI DenseMapInfo { static inline APFixedPoint getEmptyKey() { return APFixedPoint(DenseMapInfo::getEmptyKey()); } diff --git a/llvm/include/llvm/ADT/APFloat.h b/llvm/include/llvm/ADT/APFloat.h index 1f629de1361e74..cbd73a5bafbdfe 100644 --- a/llvm/include/llvm/ADT/APFloat.h +++ b/llvm/include/llvm/ADT/APFloat.h @@ -140,7 +140,7 @@ enum lostFraction { // Example of truncated bits: // This is the common type definitions shared by APFloat and its internal // implementation classes. This struct should not define any non-static data // members. -struct APFloatBase { +struct LLVM_CLASS_ABI APFloatBase { typedef APInt::WordType integerPart; static constexpr unsigned integerPartWidth = APInt::APINT_BITS_PER_WORD; @@ -291,7 +291,7 @@ struct APFloatBase { namespace detail { -class IEEEFloat final : public APFloatBase { +class LLVM_CLASS_ABI IEEEFloat final : public APFloatBase { public: /// \name Constructors /// @{ @@ -455,7 +455,7 @@ class IEEEFloat final : public APFloatBase { /// emphasizes producing different codes for different inputs in order to /// be used in canonicalization and memoization. As such, equality is /// bitwiseIsEqual, and 0 != -0. - friend hash_code hash_value(const IEEEFloat &Arg); + friend LLVM_FUNC_ABI hash_code hash_value(const IEEEFloat &Arg); /// Converts this value into a decimal string. /// @@ -511,12 +511,12 @@ class IEEEFloat final : public APFloatBase { /// 0 -> \c IEK_Zero /// Inf -> \c IEK_Inf /// - friend int ilogb(const IEEEFloat &Arg); + friend LLVM_FUNC_ABI int ilogb(const IEEEFloat &Arg); /// Returns: X * 2^Exp for integral exponents. - friend IEEEFloat scalbn(IEEEFloat X, int Exp, roundingMode); + friend LLVM_FUNC_ABI IEEEFloat scalbn(IEEEFloat X, int Exp, roundingMode); - friend IEEEFloat frexp(const IEEEFloat &X, int &Exp, roundingMode); + friend LLVM_FUNC_ABI IEEEFloat frexp(const IEEEFloat &X, int &Exp, roundingMode); /// \name Special value setters. /// @{ @@ -669,16 +669,16 @@ class IEEEFloat final : public APFloatBase { unsigned int sign : 1; }; -hash_code hash_value(const IEEEFloat &Arg); -int ilogb(const IEEEFloat &Arg); -IEEEFloat scalbn(IEEEFloat X, int Exp, IEEEFloat::roundingMode); -IEEEFloat frexp(const IEEEFloat &Val, int &Exp, IEEEFloat::roundingMode RM); +LLVM_FUNC_ABI hash_code hash_value(const IEEEFloat &Arg); +LLVM_FUNC_ABI int ilogb(const IEEEFloat &Arg); +LLVM_FUNC_ABI IEEEFloat scalbn(IEEEFloat X, int Exp, IEEEFloat::roundingMode); +LLVM_FUNC_ABI IEEEFloat frexp(const IEEEFloat &Val, int &Exp, IEEEFloat::roundingMode RM); // This mode implements more precise float in terms of two APFloats. // The interface and layout is designed for arbitrary underlying semantics, // though currently only PPCDoubleDouble semantics are supported, whose // corresponding underlying semantics are IEEEdouble. -class DoubleAPFloat final : public APFloatBase { +class LLVM_CLASS_ABI DoubleAPFloat final : public APFloatBase { // Note: this must be the first data member. const fltSemantics *Semantics; std::unique_ptr Floats; @@ -765,20 +765,20 @@ class DoubleAPFloat final : public APFloatBase { LLVM_READONLY int getExactLog2Abs() const; - friend DoubleAPFloat scalbn(const DoubleAPFloat &X, int Exp, roundingMode); - friend DoubleAPFloat frexp(const DoubleAPFloat &X, int &Exp, roundingMode); - friend hash_code hash_value(const DoubleAPFloat &Arg); + friend LLVM_FUNC_ABI DoubleAPFloat scalbn(const DoubleAPFloat &X, int Exp, roundingMode); + friend LLVM_FUNC_ABI DoubleAPFloat frexp(const DoubleAPFloat &X, int &Exp, roundingMode); + friend LLVM_FUNC_ABI hash_code hash_value(const DoubleAPFloat &Arg); }; -hash_code hash_value(const DoubleAPFloat &Arg); -DoubleAPFloat scalbn(const DoubleAPFloat &Arg, int Exp, IEEEFloat::roundingMode RM); -DoubleAPFloat frexp(const DoubleAPFloat &X, int &Exp, IEEEFloat::roundingMode); +LLVM_FUNC_ABI hash_code hash_value(const DoubleAPFloat &Arg); +LLVM_FUNC_ABI DoubleAPFloat scalbn(const DoubleAPFloat &Arg, int Exp, IEEEFloat::roundingMode RM); +LLVM_FUNC_ABI DoubleAPFloat frexp(const DoubleAPFloat &X, int &Exp, IEEEFloat::roundingMode); } // End detail namespace // This is a interface class that is currently forwarding functionalities from // detail::IEEEFloat. -class APFloat : public APFloatBase { +class LLVM_CLASS_ABI APFloat : public APFloatBase { typedef detail::IEEEFloat IEEEFloat; typedef detail::DoubleAPFloat DoubleAPFloat; @@ -1346,10 +1346,10 @@ class APFloat : public APFloatBase { APFLOAT_DISPATCH_ON_SEMANTICS(getExactLog2()); } - friend hash_code hash_value(const APFloat &Arg); + friend LLVM_FUNC_ABI hash_code hash_value(const APFloat &Arg); friend int ilogb(const APFloat &Arg) { return ilogb(Arg.getIEEE()); } - friend APFloat scalbn(APFloat X, int Exp, roundingMode RM); - friend APFloat frexp(const APFloat &X, int &Exp, roundingMode RM); + friend LLVM_FUNC_ABI APFloat scalbn(APFloat X, int Exp, roundingMode RM); + friend LLVM_FUNC_ABI APFloat frexp(const APFloat &X, int &Exp, roundingMode RM); friend IEEEFloat; friend DoubleAPFloat; }; @@ -1358,7 +1358,7 @@ class APFloat : public APFloatBase { /// /// These additional declarations are required in order to compile LLVM with IBM /// xlC compiler. -hash_code hash_value(const APFloat &Arg); +LLVM_FUNC_ABI hash_code hash_value(const APFloat &Arg); inline APFloat scalbn(APFloat X, int Exp, APFloat::roundingMode RM) { if (APFloat::usesLayout(X.getSemantics())) return APFloat(scalbn(X.U.IEEE, Exp, RM), X.getSemantics()); diff --git a/llvm/include/llvm/ADT/APInt.h b/llvm/include/llvm/ADT/APInt.h index 6f2f25548cc84b..c436ce28952c51 100644 --- a/llvm/include/llvm/ADT/APInt.h +++ b/llvm/include/llvm/ADT/APInt.h @@ -36,7 +36,7 @@ template struct DenseMapInfo; class APInt; -inline APInt operator-(APInt); +LLVM_FUNC_ABI inline APInt operator-(APInt); //===----------------------------------------------------------------------===// // APInt Class @@ -73,7 +73,7 @@ inline APInt operator-(APInt); /// shifts are defined, but sign extension and ashr is not. Zero bit values /// compare and hash equal to themselves, and countLeadingZeros returns 0. /// -class [[nodiscard]] APInt { +class LLVM_CLASS_ABI [[nodiscard]] APInt { public: typedef uint64_t WordType; @@ -539,7 +539,7 @@ class [[nodiscard]] APInt { } /// Overload to compute a hash_code for an APInt value. - friend hash_code hash_value(const APInt &Arg); + friend LLVM_FUNC_ABI hash_code hash_value(const APInt &Arg); /// This function returns a pointer to the internal storage of the APInt. /// This is useful for writing out the APInt in binary form without any @@ -2193,7 +2193,7 @@ inline const APInt &umax(const APInt &A, const APInt &B) { /// using Stein's algorithm. /// /// \returns the greatest common divisor of A and B. -APInt GreatestCommonDivisor(APInt A, APInt B); +LLVM_FUNC_ABI APInt GreatestCommonDivisor(APInt A, APInt B); /// Converts the given APInt to a double value. /// @@ -2224,7 +2224,7 @@ inline float RoundSignedAPIntToFloat(const APInt &APIVal) { /// Converts the given double value into a APInt. /// /// This function convert a double value to an APInt value. -APInt RoundDoubleToAPInt(double Double, unsigned width); +LLVM_FUNC_ABI APInt RoundDoubleToAPInt(double Double, unsigned width); /// Converts a float value into a APInt. /// @@ -2234,10 +2234,10 @@ inline APInt RoundFloatToAPInt(float Float, unsigned width) { } /// Return A unsign-divided by B, rounded by the given rounding mode. -APInt RoundingUDiv(const APInt &A, const APInt &B, APInt::Rounding RM); +LLVM_FUNC_ABI APInt RoundingUDiv(const APInt &A, const APInt &B, APInt::Rounding RM); /// Return A sign-divided by B, rounded by the given rounding mode. -APInt RoundingSDiv(const APInt &A, const APInt &B, APInt::Rounding RM); +LLVM_FUNC_ABI APInt RoundingSDiv(const APInt &A, const APInt &B, APInt::Rounding RM); /// Let q(n) = An^2 + Bn + C, and BW = bit width of the value range /// (e.g. 32 for i32). @@ -2272,12 +2272,12 @@ APInt RoundingSDiv(const APInt &A, const APInt &B, APInt::Rounding RM); /// /// The returned value may have a different bit width from the input /// coefficients. -std::optional SolveQuadraticEquationWrap(APInt A, APInt B, APInt C, +LLVM_FUNC_ABI std::optional SolveQuadraticEquationWrap(APInt A, APInt B, APInt C, unsigned RangeWidth); /// Compare two values, and if they are different, return the position of the /// most significant bit that is different in the values. -std::optional GetMostSignificantDifferentBit(const APInt &A, +LLVM_FUNC_ABI std::optional GetMostSignificantDifferentBit(const APInt &A, const APInt &B); /// Splat/Merge neighboring bits to widen/narrow the bitmask represented @@ -2291,24 +2291,24 @@ std::optional GetMostSignificantDifferentBit(const APInt &A, /// e.g. ScaleBitMask(0b0101, 8) -> 0b00110011 /// e.g. ScaleBitMask(0b00011011, 4) -> 0b0001 /// A.getBitwidth() or NewBitWidth must be a whole multiples of the other. -APInt ScaleBitMask(const APInt &A, unsigned NewBitWidth, +LLVM_FUNC_ABI APInt ScaleBitMask(const APInt &A, unsigned NewBitWidth, bool MatchAllBits = false); } // namespace APIntOps // See friend declaration above. This additional declaration is required in // order to compile LLVM with IBM xlC compiler. -hash_code hash_value(const APInt &Arg); +LLVM_FUNC_ABI hash_code hash_value(const APInt &Arg); /// StoreIntToMemory - Fills the StoreBytes bytes of memory starting from Dst /// with the integer held in IntVal. -void StoreIntToMemory(const APInt &IntVal, uint8_t *Dst, unsigned StoreBytes); +LLVM_FUNC_ABI void StoreIntToMemory(const APInt &IntVal, uint8_t *Dst, unsigned StoreBytes); /// LoadIntFromMemory - Loads the integer stored in the LoadBytes bytes starting /// from Src into IntVal, which is assumed to be wide enough and to hold zero. -void LoadIntFromMemory(APInt &IntVal, const uint8_t *Src, unsigned LoadBytes); +LLVM_FUNC_ABI void LoadIntFromMemory(APInt &IntVal, const uint8_t *Src, unsigned LoadBytes); /// Provide DenseMapInfo for APInt. -template <> struct DenseMapInfo { +template <> struct LLVM_CLASS_ABI DenseMapInfo { static inline APInt getEmptyKey() { APInt V(nullptr, 0); V.U.VAL = ~0ULL; diff --git a/llvm/include/llvm/ADT/APSInt.h b/llvm/include/llvm/ADT/APSInt.h index a7201cdcb70880..27b21f056b8683 100644 --- a/llvm/include/llvm/ADT/APSInt.h +++ b/llvm/include/llvm/ADT/APSInt.h @@ -21,7 +21,7 @@ namespace llvm { /// An arbitrary precision integer that knows its signedness. -class [[nodiscard]] APSInt : public APInt { +class LLVM_CLASS_ABI [[nodiscard]] APSInt : public APInt { bool IsUnsigned = false; public: @@ -368,7 +368,7 @@ inline raw_ostream &operator<<(raw_ostream &OS, const APSInt &I) { } /// Provide DenseMapInfo for APSInt, using the DenseMapInfo for APInt. -template <> struct DenseMapInfo { +template <> struct LLVM_CLASS_ABI DenseMapInfo { static inline APSInt getEmptyKey() { return APSInt(DenseMapInfo::getEmptyKey()); } diff --git a/llvm/include/llvm/ADT/AddressRanges.h b/llvm/include/llvm/ADT/AddressRanges.h index 3990870cc13a26..6972108e6c5f36 100644 --- a/llvm/include/llvm/ADT/AddressRanges.h +++ b/llvm/include/llvm/ADT/AddressRanges.h @@ -20,7 +20,7 @@ namespace llvm { /// A class that represents an address range. The range is specified using /// a start and an end address: [Start, End). -class AddressRange { +class LLVM_CLASS_ABI AddressRange { public: AddressRange() {} AddressRange(uint64_t S, uint64_t E) : Start(S), End(E) { @@ -56,7 +56,7 @@ class AddressRange { /// The address ranges are always sorted and never contain any invalid, /// empty or intersected address ranges. -template class AddressRangesBase { +template class LLVM_CLASS_ABI AddressRangesBase { protected: using Collection = SmallVector; Collection Ranges; @@ -119,7 +119,7 @@ template class AddressRangesBase { /// insertions and searches efficiently. Intersecting([100,200), [150,300)) /// and adjacent([100,200), [200,300)) address ranges are combined during /// insertion. -class AddressRanges : public AddressRangesBase { +class LLVM_CLASS_ABI AddressRanges : public AddressRangesBase { public: Collection::const_iterator insert(AddressRange Range) { if (Range.empty()) @@ -143,7 +143,7 @@ class AddressRanges : public AddressRangesBase { } }; -class AddressRangeValuePair { +class LLVM_CLASS_ABI AddressRangeValuePair { public: operator AddressRange() const { return Range; } @@ -163,7 +163,7 @@ inline bool operator==(const AddressRangeValuePair &LHS, /// Intersecting([100,200), [150,300)) ranges splitted into non-conflicting /// parts([100,200), [200,300)). Adjacent([100,200), [200,300)) address /// ranges are not combined during insertion. -class AddressRangesMap : public AddressRangesBase { +class LLVM_CLASS_ABI AddressRangesMap : public AddressRangesBase { public: void insert(AddressRange Range, int64_t Value) { if (Range.empty()) diff --git a/llvm/include/llvm/ADT/AllocatorList.h b/llvm/include/llvm/ADT/AllocatorList.h index dee561a55b0047..e8ed556f05b22d 100644 --- a/llvm/include/llvm/ADT/AllocatorList.h +++ b/llvm/include/llvm/ADT/AllocatorList.h @@ -31,7 +31,7 @@ namespace llvm { /// Because this list owns the allocator, calling \a splice() with a different /// list isn't generally safe. As such, \a splice has been left out of the /// interface entirely. -template class AllocatorList : AllocatorT { +template class LLVM_CLASS_ABI AllocatorList : AllocatorT { struct Node : ilist_node { Node(Node &&) = delete; Node(const Node &) = delete; diff --git a/llvm/include/llvm/ADT/ArrayRef.h b/llvm/include/llvm/ADT/ArrayRef.h index 713f463f65edf1..c125613612c339 100644 --- a/llvm/include/llvm/ADT/ArrayRef.h +++ b/llvm/include/llvm/ADT/ArrayRef.h @@ -38,7 +38,7 @@ namespace llvm { /// This is intended to be trivially copyable, so it should be passed by /// value. template - class LLVM_GSL_POINTER [[nodiscard]] ArrayRef { + class LLVM_CLASS_ABI LLVM_GSL_POINTER [[nodiscard]] ArrayRef { public: using value_type = T; using pointer = value_type *; @@ -304,7 +304,7 @@ namespace llvm { /// This is intended to be trivially copyable, so it should be passed by /// value. template - class [[nodiscard]] MutableArrayRef : public ArrayRef { + class LLVM_CLASS_ABI [[nodiscard]] MutableArrayRef : public ArrayRef { public: using value_type = T; using pointer = value_type *; @@ -446,7 +446,7 @@ namespace llvm { }; /// This is a MutableArrayRef that owns its array. - template class OwningArrayRef : public MutableArrayRef { + template class LLVM_CLASS_ABI OwningArrayRef : public MutableArrayRef { public: OwningArrayRef() = default; OwningArrayRef(size_t Size) : MutableArrayRef(new T[Size], Size) {} @@ -693,7 +693,7 @@ namespace llvm { } // Provide DenseMapInfo for ArrayRefs. - template struct DenseMapInfo, void> { + template struct LLVM_CLASS_ABI DenseMapInfo, void> { static inline ArrayRef getEmptyKey() { return ArrayRef( reinterpret_cast(~static_cast(0)), size_t(0)); diff --git a/llvm/include/llvm/ADT/BitVector.h b/llvm/include/llvm/ADT/BitVector.h index 21dfc981029ce3..9813c6679f429f 100644 --- a/llvm/include/llvm/ADT/BitVector.h +++ b/llvm/include/llvm/ADT/BitVector.h @@ -32,7 +32,7 @@ namespace llvm { /// ForwardIterator for the bits that are set. /// Iterators get invalidated when resize / reserve is called. -template class const_set_bits_iterator_impl { +template class LLVM_CLASS_ABI const_set_bits_iterator_impl { const BitVectorT &Parent; int Current = 0; @@ -80,7 +80,7 @@ template class const_set_bits_iterator_impl { } }; -class BitVector { +class LLVM_CLASS_ABI BitVector { typedef uintptr_t BitWord; enum { BITWORD_SIZE = (unsigned)sizeof(BitWord) * CHAR_BIT }; @@ -837,7 +837,7 @@ inline BitVector::size_type capacity_in_bytes(const BitVector &X) { return X.getMemorySize(); } -template <> struct DenseMapInfo { +template <> struct LLVM_CLASS_ABI DenseMapInfo { static inline BitVector getEmptyKey() { return {}; } static inline BitVector getTombstoneKey() { BitVector V; diff --git a/llvm/include/llvm/ADT/Bitfields.h b/llvm/include/llvm/ADT/Bitfields.h index 6e14208448f484..3b089276f4b6c0 100644 --- a/llvm/include/llvm/ADT/Bitfields.h +++ b/llvm/include/llvm/ADT/Bitfields.h @@ -92,7 +92,7 @@ namespace llvm { namespace bitfields_details { /// A struct defining useful bit patterns for n-bits integer types. -template struct BitPatterns { +template struct LLVM_CLASS_ABI BitPatterns { /// Bit patterns are forged using the equivalent `Unsigned` type because of /// undefined operations over signed types (e.g. Bitwise shift operators). /// Moreover same size casting from unsigned to signed is well defined but not @@ -119,7 +119,7 @@ template struct BitPatterns { /// `Compressor` is specialized on signed-ness so no runtime cost is incurred. /// The `pack` method also checks that the passed in `UserValue` is valid. template ::value> -struct Compressor { +struct LLVM_CLASS_ABI Compressor { static_assert(std::is_unsigned::value, "T must be unsigned"); using BP = BitPatterns; @@ -132,7 +132,7 @@ struct Compressor { static T unpack(T StorageValue) { return StorageValue; } }; -template struct Compressor { +template struct LLVM_CLASS_ABI Compressor { static_assert(std::is_signed::value, "T must be signed"); using BP = BitPatterns; @@ -154,7 +154,7 @@ template struct Compressor { /// Impl is where Bifield description and Storage are put together to interact /// with values. -template struct Impl { +template struct LLVM_CLASS_ABI Impl { static_assert(std::is_unsigned::value, "Storage must be unsigned"); using IntegerType = typename Bitfield::IntegerType; @@ -195,13 +195,13 @@ template struct Impl { /// with their unsigned counterparts. The correct type is restored in the public /// API. template ::value> -struct ResolveUnderlyingType { +struct LLVM_CLASS_ABI ResolveUnderlyingType { using type = std::underlying_type_t; }; -template struct ResolveUnderlyingType { +template struct LLVM_CLASS_ABI ResolveUnderlyingType { using type = T; }; -template <> struct ResolveUnderlyingType { +template <> struct LLVM_CLASS_ABI ResolveUnderlyingType { /// In case sizeof(bool) != 1, replace `void` by an additionnal /// std::conditional. using type = std::conditional_t; @@ -210,7 +210,7 @@ template <> struct ResolveUnderlyingType { } // namespace bitfields_details /// Holds functions to get, set or test bitfields. -struct Bitfield { +struct LLVM_CLASS_ABI Bitfield { /// Describes an element of a Bitfield. This type is then used with the /// Bitfield static member functions. /// \tparam T The type of the field once in unpacked form. diff --git a/llvm/include/llvm/ADT/BitmaskEnum.h b/llvm/include/llvm/ADT/BitmaskEnum.h index 8d07decdde656d..cde262b196e449 100644 --- a/llvm/include/llvm/ADT/BitmaskEnum.h +++ b/llvm/include/llvm/ADT/BitmaskEnum.h @@ -96,10 +96,10 @@ namespace llvm { /// Traits class to determine whether an enum has a /// LLVM_BITMASK_LARGEST_ENUMERATOR enumerator. template -struct is_bitmask_enum : std::false_type {}; +struct LLVM_CLASS_ABI is_bitmask_enum : std::false_type {}; template -struct is_bitmask_enum< +struct LLVM_CLASS_ABI is_bitmask_enum< E, std::enable_if_t= 0>> : std::true_type {}; @@ -107,7 +107,7 @@ struct is_bitmask_enum< template struct largest_bitmask_enum_bit; template -struct largest_bitmask_enum_bit< +struct LLVM_CLASS_ABI largest_bitmask_enum_bit< E, std::enable_if_t= 0>> { using UnderlyingTy = std::underlying_type_t; static constexpr UnderlyingTy value = diff --git a/llvm/include/llvm/ADT/Bitset.h b/llvm/include/llvm/ADT/Bitset.h index 839d3fe3abf6e1..787c8d6c67fced 100644 --- a/llvm/include/llvm/ADT/Bitset.h +++ b/llvm/include/llvm/ADT/Bitset.h @@ -28,7 +28,7 @@ namespace llvm { /// nice to use std::bitset directly, but it doesn't support constant /// initialization. template -class Bitset { +class LLVM_CLASS_ABI Bitset { typedef uintptr_t BitWord; enum { BITWORD_SIZE = (unsigned)sizeof(BitWord) * CHAR_BIT }; diff --git a/llvm/include/llvm/ADT/BreadthFirstIterator.h b/llvm/include/llvm/ADT/BreadthFirstIterator.h index cebaf9eec709a7..7664ce68ac2a85 100644 --- a/llvm/include/llvm/ADT/BreadthFirstIterator.h +++ b/llvm/include/llvm/ADT/BreadthFirstIterator.h @@ -31,7 +31,7 @@ namespace llvm { // bf_iterator_storage - A private class which is used to figure out where to // store the visited set. We only provide a non-external variant for now. -template class bf_iterator_storage { +template class LLVM_CLASS_ABI bf_iterator_storage { public: SetType Visited; }; @@ -45,7 +45,7 @@ template ::NodeRef>, class GT = GraphTraits> -class bf_iterator : public bf_iterator_storage { +class LLVM_CLASS_ABI bf_iterator : public bf_iterator_storage { public: using iterator_category = std::forward_iterator_tag; using value_type = typename GT::NodeRef; diff --git a/llvm/include/llvm/ADT/CachedHashString.h b/llvm/include/llvm/ADT/CachedHashString.h index ea44cb0cb8784e..efc4fd0dd33b9b 100644 --- a/llvm/include/llvm/ADT/CachedHashString.h +++ b/llvm/include/llvm/ADT/CachedHashString.h @@ -27,7 +27,7 @@ namespace llvm { /// A container which contains a StringRef plus a precomputed hash. -class CachedHashStringRef { +class LLVM_CLASS_ABI CachedHashStringRef { const char *P; uint32_t Size; uint32_t Hash; @@ -48,7 +48,7 @@ class CachedHashStringRef { uint32_t hash() const { return Hash; } }; -template <> struct DenseMapInfo { +template <> struct LLVM_CLASS_ABI DenseMapInfo { static CachedHashStringRef getEmptyKey() { return CachedHashStringRef(DenseMapInfo::getEmptyKey(), 0); } @@ -70,7 +70,7 @@ template <> struct DenseMapInfo { /// A container which contains a string, which it owns, plus a precomputed hash. /// /// We do not null-terminate the string. -class CachedHashString { +class LLVM_CLASS_ABI CachedHashString { friend struct DenseMapInfo; char *P; @@ -151,7 +151,7 @@ class CachedHashString { } }; -template <> struct DenseMapInfo { +template <> struct LLVM_CLASS_ABI DenseMapInfo { static CachedHashString getEmptyKey() { return CachedHashString(CachedHashString::ConstructEmptyOrTombstoneTy(), CachedHashString::getEmptyKeyPtr()); diff --git a/llvm/include/llvm/ADT/CoalescingBitVector.h b/llvm/include/llvm/ADT/CoalescingBitVector.h index 0cf1eda9a9259a..f82d4fd7588ca0 100644 --- a/llvm/include/llvm/ADT/CoalescingBitVector.h +++ b/llvm/include/llvm/ADT/CoalescingBitVector.h @@ -36,7 +36,7 @@ namespace llvm { /// performance for non-sequential find() operations. /// /// \tparam IndexT - The type of the index into the bitvector. -template class CoalescingBitVector { +template class LLVM_CLASS_ABI CoalescingBitVector { static_assert(std::is_unsigned::value, "Index must be an unsigned integer."); diff --git a/llvm/include/llvm/ADT/CombinationGenerator.h b/llvm/include/llvm/ADT/CombinationGenerator.h index 6100aa98122937..42cabbbd02bfdf 100644 --- a/llvm/include/llvm/ADT/CombinationGenerator.h +++ b/llvm/include/llvm/ADT/CombinationGenerator.h @@ -37,7 +37,7 @@ namespace llvm { template -class CombinationGenerator { +class LLVM_CLASS_ABI CombinationGenerator { template struct WrappingIterator { using value_type = T; diff --git a/llvm/include/llvm/ADT/ConcurrentHashtable.h b/llvm/include/llvm/ADT/ConcurrentHashtable.h index e6d506097c38f6..2ecc5b35121b74 100644 --- a/llvm/include/llvm/ADT/ConcurrentHashtable.h +++ b/llvm/include/llvm/ADT/ConcurrentHashtable.h @@ -74,7 +74,7 @@ namespace llvm { /// KeyDataTy items. template -class ConcurrentHashTableInfoByPtr { +class LLVM_CLASS_ABI ConcurrentHashTableInfoByPtr { public: /// \returns Hash value for the specified \p Key. static inline uint64_t getHashValue(const KeyTy &Key) { @@ -100,7 +100,7 @@ class ConcurrentHashTableInfoByPtr { template > -class ConcurrentHashTableByPtr { +class LLVM_CLASS_ABI ConcurrentHashTableByPtr { public: ConcurrentHashTableByPtr( AllocatorTy &Allocator, uint64_t EstimatedSize = 100000, diff --git a/llvm/include/llvm/ADT/DAGDeltaAlgorithm.h b/llvm/include/llvm/ADT/DAGDeltaAlgorithm.h index 3d733c2a4a62f6..641caa6b4e2f10 100644 --- a/llvm/include/llvm/ADT/DAGDeltaAlgorithm.h +++ b/llvm/include/llvm/ADT/DAGDeltaAlgorithm.h @@ -36,7 +36,7 @@ namespace llvm { /// substantially fewer tests with appropriate dependencies. \see DeltaAlgorithm /// for more information on the properties which the predicate function itself /// should satisfy. -class DAGDeltaAlgorithm { +class LLVM_CLASS_ABI DAGDeltaAlgorithm { virtual void anchor(); public: diff --git a/llvm/include/llvm/ADT/DeltaAlgorithm.h b/llvm/include/llvm/ADT/DeltaAlgorithm.h index a9843177662d46..e6647539ee907b 100644 --- a/llvm/include/llvm/ADT/DeltaAlgorithm.h +++ b/llvm/include/llvm/ADT/DeltaAlgorithm.h @@ -33,7 +33,7 @@ namespace llvm { /// requirements, and the algorithm will generally produce reasonable /// results. However, it may run substantially more tests than with a good /// predicate. -class DeltaAlgorithm { +class LLVM_CLASS_ABI DeltaAlgorithm { public: using change_ty = unsigned; // FIXME: Use a decent data structure. diff --git a/llvm/include/llvm/ADT/DenseMap.h b/llvm/include/llvm/ADT/DenseMap.h index 3ef6a7cd1b4b58..075240b3301cf4 100644 --- a/llvm/include/llvm/ADT/DenseMap.h +++ b/llvm/include/llvm/ADT/DenseMap.h @@ -39,7 +39,7 @@ namespace detail { // We extend a pair to allow users to override the bucket type with their own // implementation without requiring two members. template -struct DenseMapPair : public std::pair { +struct LLVM_CLASS_ABI DenseMapPair : public std::pair { using std::pair::pair; KeyT &getFirst() { return std::pair::first; } @@ -58,7 +58,7 @@ class DenseMapIterator; template -class DenseMapBase : public DebugEpochBase { +class LLVM_CLASS_ABI DenseMapBase : public DebugEpochBase { template using const_arg_type_t = typename const_pointer_or_const_ref::type; @@ -738,7 +738,7 @@ bool operator!=( template , typename BucketT = llvm::detail::DenseMapPair> -class DenseMap : public DenseMapBase, +class LLVM_CLASS_ABI DenseMap : public DenseMapBase, KeyT, ValueT, KeyInfoT, BucketT> { friend class DenseMapBase; @@ -904,7 +904,7 @@ class DenseMap : public DenseMapBase, template , typename BucketT = llvm::detail::DenseMapPair> -class SmallDenseMap +class LLVM_CLASS_ABI SmallDenseMap : public DenseMapBase< SmallDenseMap, KeyT, ValueT, KeyInfoT, BucketT> { @@ -1218,7 +1218,7 @@ class SmallDenseMap template -class DenseMapIterator : DebugEpochBase::HandleBase { +class LLVM_CLASS_ABI DenseMapIterator : DebugEpochBase::HandleBase { friend class DenseMapIterator; friend class DenseMapIterator; diff --git a/llvm/include/llvm/ADT/DenseMapInfo.h b/llvm/include/llvm/ADT/DenseMapInfo.h index d97ff7ecc985df..5f19061d289da6 100644 --- a/llvm/include/llvm/ADT/DenseMapInfo.h +++ b/llvm/include/llvm/ADT/DenseMapInfo.h @@ -48,7 +48,7 @@ static inline unsigned combineHashValue(unsigned a, unsigned b) { /// in derived DenseMapInfo specializations; in non-SFINAE use cases this should /// just be `void`. template -struct DenseMapInfo { +struct LLVM_CLASS_ABI DenseMapInfo { //static inline T getEmptyKey(); //static inline T getTombstoneKey(); //static unsigned getHashValue(const T &Val); @@ -61,7 +61,7 @@ struct DenseMapInfo { // declared key types. Assume that no pointer key type requires more than 4096 // bytes of alignment. template -struct DenseMapInfo { +struct LLVM_CLASS_ABI DenseMapInfo { // The following should hold, but it would require T to be complete: // static_assert(alignof(T) <= (1 << Log2MaxAlign), // "DenseMap does not support pointer keys requiring more than " @@ -89,7 +89,7 @@ struct DenseMapInfo { }; // Provide DenseMapInfo for chars. -template<> struct DenseMapInfo { +template<> struct LLVM_CLASS_ABI DenseMapInfo { static inline char getEmptyKey() { return ~0; } static inline char getTombstoneKey() { return ~0 - 1; } static unsigned getHashValue(const char& Val) { return Val * 37U; } @@ -100,7 +100,7 @@ template<> struct DenseMapInfo { }; // Provide DenseMapInfo for unsigned chars. -template <> struct DenseMapInfo { +template <> struct LLVM_CLASS_ABI DenseMapInfo { static inline unsigned char getEmptyKey() { return ~0; } static inline unsigned char getTombstoneKey() { return ~0 - 1; } static unsigned getHashValue(const unsigned char &Val) { return Val * 37U; } @@ -111,7 +111,7 @@ template <> struct DenseMapInfo { }; // Provide DenseMapInfo for unsigned shorts. -template <> struct DenseMapInfo { +template <> struct LLVM_CLASS_ABI DenseMapInfo { static inline unsigned short getEmptyKey() { return 0xFFFF; } static inline unsigned short getTombstoneKey() { return 0xFFFF - 1; } static unsigned getHashValue(const unsigned short &Val) { return Val * 37U; } @@ -122,7 +122,7 @@ template <> struct DenseMapInfo { }; // Provide DenseMapInfo for unsigned ints. -template<> struct DenseMapInfo { +template<> struct LLVM_CLASS_ABI DenseMapInfo { static inline unsigned getEmptyKey() { return ~0U; } static inline unsigned getTombstoneKey() { return ~0U - 1; } static unsigned getHashValue(const unsigned& Val) { return Val * 37U; } @@ -133,7 +133,7 @@ template<> struct DenseMapInfo { }; // Provide DenseMapInfo for unsigned longs. -template<> struct DenseMapInfo { +template<> struct LLVM_CLASS_ABI DenseMapInfo { static inline unsigned long getEmptyKey() { return ~0UL; } static inline unsigned long getTombstoneKey() { return ~0UL - 1L; } @@ -147,7 +147,7 @@ template<> struct DenseMapInfo { }; // Provide DenseMapInfo for unsigned long longs. -template<> struct DenseMapInfo { +template<> struct LLVM_CLASS_ABI DenseMapInfo { static inline unsigned long long getEmptyKey() { return ~0ULL; } static inline unsigned long long getTombstoneKey() { return ~0ULL - 1ULL; } @@ -162,7 +162,7 @@ template<> struct DenseMapInfo { }; // Provide DenseMapInfo for shorts. -template <> struct DenseMapInfo { +template <> struct LLVM_CLASS_ABI DenseMapInfo { static inline short getEmptyKey() { return 0x7FFF; } static inline short getTombstoneKey() { return -0x7FFF - 1; } static unsigned getHashValue(const short &Val) { return Val * 37U; } @@ -170,7 +170,7 @@ template <> struct DenseMapInfo { }; // Provide DenseMapInfo for ints. -template<> struct DenseMapInfo { +template<> struct LLVM_CLASS_ABI DenseMapInfo { static inline int getEmptyKey() { return 0x7fffffff; } static inline int getTombstoneKey() { return -0x7fffffff - 1; } static unsigned getHashValue(const int& Val) { return (unsigned)(Val * 37U); } @@ -181,7 +181,7 @@ template<> struct DenseMapInfo { }; // Provide DenseMapInfo for longs. -template<> struct DenseMapInfo { +template<> struct LLVM_CLASS_ABI DenseMapInfo { static inline long getEmptyKey() { return (1UL << (sizeof(long) * 8 - 1)) - 1UL; } @@ -198,7 +198,7 @@ template<> struct DenseMapInfo { }; // Provide DenseMapInfo for long longs. -template<> struct DenseMapInfo { +template<> struct LLVM_CLASS_ABI DenseMapInfo { static inline long long getEmptyKey() { return 0x7fffffffffffffffLL; } static inline long long getTombstoneKey() { return -0x7fffffffffffffffLL-1; } @@ -214,7 +214,7 @@ template<> struct DenseMapInfo { // Provide DenseMapInfo for all pairs whose members have info. template -struct DenseMapInfo> { +struct LLVM_CLASS_ABI DenseMapInfo> { using Pair = std::pair; using FirstInfo = DenseMapInfo; using SecondInfo = DenseMapInfo; @@ -249,7 +249,7 @@ struct DenseMapInfo> { }; // Provide DenseMapInfo for all tuples whose members have info. -template struct DenseMapInfo> { +template struct LLVM_CLASS_ABI DenseMapInfo> { using Tuple = std::tuple; static inline Tuple getEmptyKey() { diff --git a/llvm/include/llvm/ADT/DenseMapInfoVariant.h b/llvm/include/llvm/ADT/DenseMapInfoVariant.h index a97f9b9566c81c..33faab3044f804 100644 --- a/llvm/include/llvm/ADT/DenseMapInfoVariant.h +++ b/llvm/include/llvm/ADT/DenseMapInfoVariant.h @@ -21,7 +21,7 @@ namespace llvm { // Provide DenseMapInfo for variants whose all alternatives have DenseMapInfo. -template struct DenseMapInfo> { +template struct LLVM_CLASS_ABI DenseMapInfo> { using Variant = std::variant; using FirstT = std::variant_alternative_t<0, Variant>; diff --git a/llvm/include/llvm/ADT/DenseSet.h b/llvm/include/llvm/ADT/DenseSet.h index bd08a419bb7323..c43aa8840fcb41 100644 --- a/llvm/include/llvm/ADT/DenseSet.h +++ b/llvm/include/llvm/ADT/DenseSet.h @@ -28,11 +28,11 @@ namespace llvm { namespace detail { -struct DenseSetEmpty {}; +struct LLVM_CLASS_ABI DenseSetEmpty {}; // Use the empty base class trick so we can create a DenseMap where the buckets // contain only a single item. -template class DenseSetPair : public DenseSetEmpty { +template class LLVM_CLASS_ABI DenseSetPair : public DenseSetEmpty { KeyT key; public: @@ -52,7 +52,7 @@ template class DenseSetPair : public DenseSetEmpty { /// or the equivalent SmallDenseMap type. ValueInfoT must implement the /// DenseMapInfo "concept". template -class DenseSetImpl { +class LLVM_CLASS_ABI DenseSetImpl { static_assert(sizeof(typename MapTy::value_type) == sizeof(ValueT), "DenseMap buckets unexpectedly large!"); MapTy TheMap; @@ -266,7 +266,7 @@ bool operator!=(const DenseSetImpl &LHS, /// Implements a dense probed hash-table based set. template > -class DenseSet : public detail::DenseSetImpl< +class LLVM_CLASS_ABI DenseSet : public detail::DenseSetImpl< ValueT, DenseMap>, ValueInfoT> { @@ -284,7 +284,7 @@ class DenseSet : public detail::DenseSetImpl< /// stored inline. template > -class SmallDenseSet +class LLVM_CLASS_ABI SmallDenseSet : public detail::DenseSetImpl< ValueT, SmallDenseMap>, diff --git a/llvm/include/llvm/ADT/DepthFirstIterator.h b/llvm/include/llvm/ADT/DepthFirstIterator.h index 4f93c91576d38d..df5d5dac21611e 100644 --- a/llvm/include/llvm/ADT/DepthFirstIterator.h +++ b/llvm/include/llvm/ADT/DepthFirstIterator.h @@ -48,13 +48,13 @@ namespace llvm { // df_iterator_storage - A private class which is used to figure out where to // store the visited set. template // Non-external set -class df_iterator_storage { +class LLVM_CLASS_ABI df_iterator_storage { public: SetType Visited; }; template -class df_iterator_storage { +class LLVM_CLASS_ABI df_iterator_storage { public: df_iterator_storage(SetType &VSet) : Visited(VSet) {} df_iterator_storage(const df_iterator_storage &S) : Visited(S.Visited) {} @@ -67,7 +67,7 @@ class df_iterator_storage { // node have been processed. It is intended to distinguish of back and // cross edges in the spanning tree but is not used in the common case. template -struct df_iterator_default_set : public SmallPtrSet { +struct LLVM_CLASS_ABI df_iterator_default_set : public SmallPtrSet { using BaseSet = SmallPtrSet; using iterator = typename BaseSet::iterator; @@ -83,7 +83,7 @@ template ::NodeRef>, bool ExtStorage = false, class GT = GraphTraits> -class df_iterator : public df_iterator_storage { +class LLVM_CLASS_ABI df_iterator : public df_iterator_storage { public: using iterator_category = std::forward_iterator_tag; using value_type = typename GT::NodeRef; @@ -233,7 +233,7 @@ iterator_range> depth_first(const T& G) { // Provide global definitions of external depth first iterators... template ::NodeRef>> -struct df_ext_iterator : public df_iterator { +struct LLVM_CLASS_ABI df_ext_iterator : public df_iterator { df_ext_iterator(const df_iterator &V) : df_iterator(V) {} }; @@ -259,7 +259,7 @@ template ::NodeRef>, bool External = false> -struct idf_iterator : public df_iterator, SetTy, External> { +struct LLVM_CLASS_ABI idf_iterator : public df_iterator, SetTy, External> { idf_iterator(const df_iterator, SetTy, External> &V) : df_iterator, SetTy, External>(V) {} }; @@ -282,7 +282,7 @@ iterator_range> inverse_depth_first(const T& G) { // Provide global definitions of external inverse depth first iterators... template ::NodeRef>> -struct idf_ext_iterator : public idf_iterator { +struct LLVM_CLASS_ABI idf_ext_iterator : public idf_iterator { idf_ext_iterator(const idf_iterator &V) : idf_iterator(V) {} idf_ext_iterator(const df_iterator, SetTy, true> &V) diff --git a/llvm/include/llvm/ADT/DirectedGraph.h b/llvm/include/llvm/ADT/DirectedGraph.h index dd012b8b5df806..55c79f73338b67 100644 --- a/llvm/include/llvm/ADT/DirectedGraph.h +++ b/llvm/include/llvm/ADT/DirectedGraph.h @@ -26,7 +26,7 @@ namespace llvm { /// Represent an edge in the directed graph. /// The edge contains the target node it connects to. -template class DGEdge { +template class LLVM_CLASS_ABI DGEdge { public: DGEdge() = delete; /// Create an edge pointing to the given node \p N. @@ -71,7 +71,7 @@ template class DGEdge { /// Represent a node in the directed graph. /// The node has a (possibly empty) list of outgoing edges. -template class DGNode { +template class LLVM_CLASS_ABI DGNode { public: using EdgeListTy = SetVector; using iterator = typename EdgeListTy::iterator; @@ -171,7 +171,7 @@ template class DGNode { /// The graph is represented by a table of nodes. /// Each node contains a (possibly empty) list of outgoing edges. /// Each edge contains the target node it connects to. -template class DirectedGraph { +template class LLVM_CLASS_ABI DirectedGraph { protected: using NodeListTy = SmallVector; using EdgeListTy = SmallVector; diff --git a/llvm/include/llvm/ADT/EnumeratedArray.h b/llvm/include/llvm/ADT/EnumeratedArray.h index 47921d079e29b6..2249313addb8f9 100644 --- a/llvm/include/llvm/ADT/EnumeratedArray.h +++ b/llvm/include/llvm/ADT/EnumeratedArray.h @@ -24,7 +24,7 @@ namespace llvm { template (LargestEnum)> -class EnumeratedArray { +class LLVM_CLASS_ABI EnumeratedArray { public: using iterator = ValueType *; using const_iterator = const ValueType *; diff --git a/llvm/include/llvm/ADT/EpochTracker.h b/llvm/include/llvm/ADT/EpochTracker.h index 5efb46f7033981..24e8af5490fa4a 100644 --- a/llvm/include/llvm/ADT/EpochTracker.h +++ b/llvm/include/llvm/ADT/EpochTracker.h @@ -86,7 +86,7 @@ class DebugEpochBase { #define LLVM_DEBUGEPOCHBASE_HANDLEBASE_EMPTYBASE #endif // _MSC_VER -class DebugEpochBase { +class LLVM_CLASS_ABI DebugEpochBase { public: void incrementEpoch() {} diff --git a/llvm/include/llvm/ADT/EquivalenceClasses.h b/llvm/include/llvm/ADT/EquivalenceClasses.h index 4feda9cb4784f7..060651f1bda012 100644 --- a/llvm/include/llvm/ADT/EquivalenceClasses.h +++ b/llvm/include/llvm/ADT/EquivalenceClasses.h @@ -58,7 +58,7 @@ namespace llvm { /// 5 1 2 /// template > -class EquivalenceClasses { +class LLVM_CLASS_ABI EquivalenceClasses { /// ECValue - The EquivalenceClasses data structure is just a set of these. /// Each of these represents a relation for a value. First it stores the /// value itself, which provides the ordering that the set queries. Next, it diff --git a/llvm/include/llvm/ADT/FloatingPointMode.h b/llvm/include/llvm/ADT/FloatingPointMode.h index 64ebf0c1a18979..430270b8000ca6 100644 --- a/llvm/include/llvm/ADT/FloatingPointMode.h +++ b/llvm/include/llvm/ADT/FloatingPointMode.h @@ -68,7 +68,7 @@ inline raw_ostream &operator << (raw_ostream &OS, RoundingMode RM) { /// Represent subnormal handling kind for floating point instruction inputs and /// outputs. -struct DenormalMode { +struct LLVM_CLASS_ABI DenormalMode { /// Represent handled modes for denormal (aka subnormal) modes in the floating /// point environment. enum DenormalModeKind : int8_t { @@ -268,17 +268,17 @@ enum FPClassTest : unsigned { LLVM_DECLARE_ENUM_AS_BITMASK(FPClassTest, /* LargestValue */ fcPosInf); /// Return the test mask which returns true if the value's sign bit is flipped. -FPClassTest fneg(FPClassTest Mask); +LLVM_FUNC_ABI FPClassTest fneg(FPClassTest Mask); /// Return the test mask which returns true after fabs is applied to the value. -FPClassTest inverse_fabs(FPClassTest Mask); +LLVM_FUNC_ABI FPClassTest inverse_fabs(FPClassTest Mask); /// Return the test mask which returns true if the value could have the same set /// of classes, but with a different sign. -FPClassTest unknown_sign(FPClassTest Mask); +LLVM_FUNC_ABI FPClassTest unknown_sign(FPClassTest Mask); /// Write a human readable form of \p Mask to \p OS -raw_ostream &operator<<(raw_ostream &OS, FPClassTest Mask); +LLVM_FUNC_ABI raw_ostream &operator<<(raw_ostream &OS, FPClassTest Mask); } // namespace llvm diff --git a/llvm/include/llvm/ADT/FoldingSet.h b/llvm/include/llvm/ADT/FoldingSet.h index 6af11c3c652ff7..0ab96a67520df8 100644 --- a/llvm/include/llvm/ADT/FoldingSet.h +++ b/llvm/include/llvm/ADT/FoldingSet.h @@ -114,7 +114,7 @@ class StringRef; /// in the bucket via a singly linked list. The last node in the list points /// back to the bucket to facilitate node removal. /// -class FoldingSetBase { +class LLVM_CLASS_ABI FoldingSetBase { protected: /// Buckets - Array of bucket chains. void **Buckets; @@ -230,7 +230,7 @@ class FoldingSetBase { /// DefaultFoldingSetTrait - This class provides default implementations /// for FoldingSetTrait implementations. -template struct DefaultFoldingSetTrait { +template struct LLVM_CLASS_ABI DefaultFoldingSetTrait { static void Profile(const T &X, FoldingSetNodeID &ID) { X.Profile(ID); } @@ -260,12 +260,12 @@ template struct DefaultFoldingSetTrait { /// types. Combined with the FoldingSetNodeWrapper class, one can add objects /// to FoldingSets that were not originally designed to have that behavior. template -struct FoldingSetTrait : public DefaultFoldingSetTrait {}; +struct LLVM_CLASS_ABI FoldingSetTrait : public DefaultFoldingSetTrait {}; /// DefaultContextualFoldingSetTrait - Like DefaultFoldingSetTrait, but /// for ContextualFoldingSets. template -struct DefaultContextualFoldingSetTrait { +struct LLVM_CLASS_ABI DefaultContextualFoldingSetTrait { static void Profile(T &X, FoldingSetNodeID &ID, Ctx Context) { X.Profile(ID, Context); } @@ -278,7 +278,7 @@ struct DefaultContextualFoldingSetTrait { /// ContextualFoldingSetTrait - Like FoldingSetTrait, but for /// ContextualFoldingSets. -template struct ContextualFoldingSetTrait +template struct LLVM_CLASS_ABI ContextualFoldingSetTrait : public DefaultContextualFoldingSetTrait {}; //===--------------------------------------------------------------------===// @@ -287,7 +287,7 @@ template struct ContextualFoldingSetTrait /// than using plain FoldingSetNodeIDs, since the 32-element SmallVector /// is often much larger than necessary, and the possibility of heap /// allocation means it requires a non-trivial destructor call. -class FoldingSetNodeIDRef { +class LLVM_CLASS_ABI FoldingSetNodeIDRef { const unsigned *Data = nullptr; size_t Size = 0; @@ -317,7 +317,7 @@ class FoldingSetNodeIDRef { /// FoldingSetNodeID - This class is used to gather all the unique data bits of /// a node. When all the bits are gathered this class is used to produce a /// hash value for the node. -class FoldingSetNodeID { +class LLVM_CLASS_ABI FoldingSetNodeID { /// Bits - Vector of all the data bits that make the node unique. /// Use a SmallVector to avoid a heap allocation in the common case. SmallVector Bits; @@ -434,7 +434,7 @@ DefaultContextualFoldingSetTrait::ComputeHash(T &X, //===----------------------------------------------------------------------===// /// FoldingSetImpl - An implementation detail that lets us share code between /// FoldingSet and ContextualFoldingSet. -template class FoldingSetImpl : public FoldingSetBase { +template class LLVM_CLASS_ABI FoldingSetImpl : public FoldingSetBase { protected: explicit FoldingSetImpl(unsigned Log2InitSize) : FoldingSetBase(Log2InitSize) {} @@ -519,7 +519,7 @@ template class FoldingSetImpl : public FoldingSetBase { /// move-assigning and destroying. This is primarily to enable movable APIs /// that incorporate these objects. template -class FoldingSet : public FoldingSetImpl, T> { +class LLVM_CLASS_ABI FoldingSet : public FoldingSetImpl, T> { using Super = FoldingSetImpl; using Node = typename Super::Node; @@ -571,7 +571,7 @@ class FoldingSet : public FoldingSetImpl, T> { /// function with signature /// void Profile(FoldingSetNodeID &, Ctx); template -class ContextualFoldingSet +class LLVM_CLASS_ABI ContextualFoldingSet : public FoldingSetImpl, T> { // Unfortunately, this can't derive from FoldingSet because the // construction of the vtable for FoldingSet requires @@ -630,7 +630,7 @@ class ContextualFoldingSet /// order based on the insertion order. T must be a subclass of FoldingSetNode /// and implement a Profile function. template > -class FoldingSetVector { +class LLVM_CLASS_ABI FoldingSetVector { FoldingSet Set; VectorT Vector; @@ -691,7 +691,7 @@ class FoldingSetVector { //===----------------------------------------------------------------------===// /// FoldingSetIteratorImpl - This is the common iterator support shared by all /// folding sets, which knows how to walk the folding set hash table. -class FoldingSetIteratorImpl { +class LLVM_CLASS_ABI FoldingSetIteratorImpl { protected: FoldingSetNode *NodePtr; @@ -708,7 +708,7 @@ class FoldingSetIteratorImpl { } }; -template class FoldingSetIterator : public FoldingSetIteratorImpl { +template class LLVM_CLASS_ABI FoldingSetIterator : public FoldingSetIteratorImpl { public: explicit FoldingSetIterator(void **Bucket) : FoldingSetIteratorImpl(Bucket) {} @@ -733,7 +733,7 @@ template class FoldingSetIterator : public FoldingSetIteratorImpl { /// FoldingSetBucketIteratorImpl - This is the common bucket iterator support /// shared by all folding sets, which knows how to walk a particular bucket /// of a folding set hash table. -class FoldingSetBucketIteratorImpl { +class LLVM_CLASS_ABI FoldingSetBucketIteratorImpl { protected: void *Ptr; @@ -757,7 +757,7 @@ class FoldingSetBucketIteratorImpl { }; template -class FoldingSetBucketIterator : public FoldingSetBucketIteratorImpl { +class LLVM_CLASS_ABI FoldingSetBucketIterator : public FoldingSetBucketIteratorImpl { public: explicit FoldingSetBucketIterator(void **Bucket) : FoldingSetBucketIteratorImpl(Bucket) {} @@ -781,7 +781,7 @@ class FoldingSetBucketIterator : public FoldingSetBucketIteratorImpl { /// FoldingSetNodeWrapper - This template class is used to "wrap" arbitrary /// types in an enclosing object so that they can be inserted into FoldingSets. template -class FoldingSetNodeWrapper : public FoldingSetNode { +class LLVM_CLASS_ABI FoldingSetNodeWrapper : public FoldingSetNode { T data; public: @@ -804,7 +804,7 @@ class FoldingSetNodeWrapper : public FoldingSetNode { /// each time it is needed. This trades space for speed (which can be /// significant if the ID is long), and it also permits nodes to drop /// information that would otherwise only be required for recomputing an ID. -class FastFoldingSetNode : public FoldingSetNode { +class LLVM_CLASS_ABI FastFoldingSetNode : public FoldingSetNode { FoldingSetNodeID FastID; protected: @@ -817,13 +817,13 @@ class FastFoldingSetNode : public FoldingSetNode { //===----------------------------------------------------------------------===// // Partial specializations of FoldingSetTrait. -template struct FoldingSetTrait { +template struct LLVM_CLASS_ABI FoldingSetTrait { static inline void Profile(T *X, FoldingSetNodeID &ID) { ID.AddPointer(X); } }; template -struct FoldingSetTrait> { +struct LLVM_CLASS_ABI FoldingSetTrait> { static inline void Profile(const std::pair &P, FoldingSetNodeID &ID) { ID.Add(P.first); @@ -832,7 +832,7 @@ struct FoldingSetTrait> { }; template -struct FoldingSetTrait::value>> { +struct LLVM_CLASS_ABI FoldingSetTrait::value>> { static void Profile(const T &X, FoldingSetNodeID &ID) { ID.AddInteger(llvm::to_underlying(X)); } diff --git a/llvm/include/llvm/ADT/FunctionExtras.h b/llvm/include/llvm/ADT/FunctionExtras.h index 37d3031cd7064d..5a1e6ed25ded10 100644 --- a/llvm/include/llvm/ADT/FunctionExtras.h +++ b/llvm/include/llvm/ADT/FunctionExtras.h @@ -77,7 +77,7 @@ using EnableIfCallable = std::enable_if_t()...)), Ret>>::value>; -template class UniqueFunctionBase { +template class LLVM_CLASS_ABI UniqueFunctionBase { protected: static constexpr size_t InlineStorageSize = sizeof(void *) * 3; @@ -360,7 +360,7 @@ typename UniqueFunctionBase::TrivialCallback } // namespace detail template -class unique_function : public detail::UniqueFunctionBase { +class LLVM_CLASS_ABI unique_function : public detail::UniqueFunctionBase { using Base = detail::UniqueFunctionBase; public: @@ -385,7 +385,7 @@ class unique_function : public detail::UniqueFunctionBase { }; template -class unique_function +class LLVM_CLASS_ABI unique_function : public detail::UniqueFunctionBase { using Base = detail::UniqueFunctionBase; diff --git a/llvm/include/llvm/ADT/GenericCycleInfo.h b/llvm/include/llvm/ADT/GenericCycleInfo.h index 9cb8f10736e5b1..fa3455ca5ef54e 100644 --- a/llvm/include/llvm/ADT/GenericCycleInfo.h +++ b/llvm/include/llvm/ADT/GenericCycleInfo.h @@ -42,7 +42,7 @@ template class GenericCycleInfo; template class GenericCycleInfoCompute; /// A possibly irreducible generalization of a \ref Loop. -template class GenericCycle { +template class LLVM_CLASS_ABI GenericCycle { public: using BlockT = typename ContextT::BlockT; using FunctionT = typename ContextT::FunctionT; @@ -220,7 +220,7 @@ template class GenericCycle { }; /// \brief Cycle information for a function. -template class GenericCycleInfo { +template class LLVM_CLASS_ABI GenericCycleInfo { public: using BlockT = typename ContextT::BlockT; using CycleT = GenericCycle; @@ -315,7 +315,7 @@ template class GenericCycleInfo { }; /// \brief GraphTraits for iterating over a sub-tree of the CycleT tree. -template struct CycleGraphTraits { +template struct LLVM_CLASS_ABI CycleGraphTraits { using NodeRef = CycleRefT; using nodes_iterator = ChildIteratorT; @@ -350,11 +350,11 @@ template struct CycleGraphTraits { }; template -struct GraphTraits *> +struct LLVM_CLASS_ABI GraphTraits *> : CycleGraphTraits *, typename GenericCycle::const_child_iterator> {}; template -struct GraphTraits *> +struct LLVM_CLASS_ABI GraphTraits *> : CycleGraphTraits *, typename GenericCycle::const_child_iterator> {}; diff --git a/llvm/include/llvm/ADT/GenericSSAContext.h b/llvm/include/llvm/ADT/GenericSSAContext.h index 839a8585a6f959..aed7f892ca0749 100644 --- a/llvm/include/llvm/ADT/GenericSSAContext.h +++ b/llvm/include/llvm/ADT/GenericSSAContext.h @@ -39,7 +39,7 @@ template struct GenericSSATraits; // // We use FunctionT as a template argument and not GenericSSATraits to allow // forward declarations using well-known typenames. -template class GenericSSAContext { +template class LLVM_CLASS_ABI GenericSSAContext { using SSATraits = GenericSSATraits<_FunctionT>; const typename SSATraits::FunctionT *F; diff --git a/llvm/include/llvm/ADT/GraphTraits.h b/llvm/include/llvm/ADT/GraphTraits.h index 8c131d60dde220..8f5bed0c3cc4d8 100644 --- a/llvm/include/llvm/ADT/GraphTraits.h +++ b/llvm/include/llvm/ADT/GraphTraits.h @@ -35,7 +35,7 @@ namespace llvm { // be achieved by carrying more data in NodeRef. See LoopBodyTraits for one // example. template -struct GraphTraits { +struct LLVM_CLASS_ABI GraphTraits { // Elements to provide: // typedef NodeRef - Type of Node token in the graph, which should @@ -95,7 +95,7 @@ struct GraphTraits { // for (; I != E; ++I) { ... } // template -struct Inverse { +struct LLVM_CLASS_ABI Inverse { const GraphType &Graph; inline Inverse(const GraphType &G) : Graph(G) {} @@ -103,7 +103,7 @@ struct Inverse { // Provide a partial specialization of GraphTraits so that the inverse of an // inverse falls back to the original graph. -template struct GraphTraits>> : GraphTraits {}; +template struct LLVM_CLASS_ABI GraphTraits>> : GraphTraits {}; // Provide iterator ranges for the graph traits nodes and children template diff --git a/llvm/include/llvm/ADT/Hashing.h b/llvm/include/llvm/ADT/Hashing.h index 67c6c1ed933092..131dfb320a0df8 100644 --- a/llvm/include/llvm/ADT/Hashing.h +++ b/llvm/include/llvm/ADT/Hashing.h @@ -72,7 +72,7 @@ template struct DenseMapInfo; /// using llvm::hash_value; /// llvm::hash_code code = hash_value(x); /// \endcode -class hash_code { +class LLVM_CLASS_ABI hash_code { size_t value; public: @@ -141,7 +141,7 @@ template hash_code hash_value(const std::optional &arg); /// undone. This makes it thread-hostile and very hard to use outside of /// immediately on start of a simple program designed for reproducible /// behavior. -void set_fixed_execution_hash_seed(uint64_t fixed_value); +LLVM_FUNC_ABI void set_fixed_execution_hash_seed(uint64_t fixed_value); // All of the implementation details of actually computing the various hash @@ -266,7 +266,7 @@ inline uint64_t hash_short(const char *s, size_t length, uint64_t seed) { /// The intermediate state used during hashing. /// Currently, the algorithm for computing hash codes is based on CityHash and /// keeps 56 bytes of arbitrary state. -struct hash_state { +struct LLVM_CLASS_ABI hash_state { uint64_t h0 = 0, h1 = 0, h2 = 0, h3 = 0, h4 = 0, h5 = 0, h6 = 0; /// Create a new hash_state structure and initialize it based on the @@ -329,7 +329,7 @@ struct hash_state { /// This variable can be set using the \see llvm::set_fixed_execution_seed /// function. See that function for details. Do not, under any circumstances, /// set or read this variable. -extern uint64_t fixed_seed_override; +LLVM_FUNC_ABI extern uint64_t fixed_seed_override; inline uint64_t get_execution_seed() { // FIXME: This needs to be a per-execution seed. This is just a placeholder @@ -356,7 +356,7 @@ inline uint64_t get_execution_seed() { // for equality. For all the platforms we care about, this holds for integers // and pointers, but there are platforms where it doesn't and we would like to // support user-defined types which happen to satisfy this property. -template struct is_hashable_data +template struct LLVM_CLASS_ABI is_hashable_data : std::integral_constant::value || std::is_pointer::value) && 64 % sizeof(T) == 0)> {}; @@ -365,7 +365,7 @@ template struct is_hashable_data // is no alignment-derived padding in the pair. This is a bit of a lie because // std::pair isn't truly POD, but it's close enough in all reasonable // implementations for our use case of hashing the underlying data. -template struct is_hashable_data > +template struct LLVM_CLASS_ABI is_hashable_data > : std::integral_constant::value && is_hashable_data::value && (sizeof(T) + sizeof(U)) == @@ -505,7 +505,7 @@ namespace detail { /// recursive combining of arguments used in hash_combine. It is particularly /// useful at minimizing the code in the recursive calls to ease the pain /// caused by a lack of variadic functions. -struct hash_combine_recursive_helper { +struct LLVM_CLASS_ABI hash_combine_recursive_helper { char buffer[64] = {}; hash_state state; const uint64_t seed; @@ -675,7 +675,7 @@ template hash_code hash_value(const std::optional &arg) { return arg ? hash_combine(true, *arg) : hash_value(false); } -template <> struct DenseMapInfo { +template <> struct LLVM_CLASS_ABI DenseMapInfo { static inline hash_code getEmptyKey() { return hash_code(-1); } static inline hash_code getTombstoneKey() { return hash_code(-2); } static unsigned getHashValue(hash_code val) { return val; } @@ -688,7 +688,7 @@ template <> struct DenseMapInfo { namespace std { template<> -struct hash { +struct LLVM_CLASS_ABI hash { size_t operator()(llvm::hash_code const& Val) const { return Val; } diff --git a/llvm/include/llvm/ADT/ImmutableList.h b/llvm/include/llvm/ADT/ImmutableList.h index 0b6f5e4d16368e..c977b5ceccc7f0 100644 --- a/llvm/include/llvm/ADT/ImmutableList.h +++ b/llvm/include/llvm/ADT/ImmutableList.h @@ -25,7 +25,7 @@ namespace llvm { template class ImmutableListFactory; template -class ImmutableListImpl : public FoldingSetNode { +class LLVM_CLASS_ABI ImmutableListImpl : public FoldingSetNode { friend class ImmutableListFactory; T Head; @@ -62,7 +62,7 @@ class ImmutableListImpl : public FoldingSetNode { /// of a group of lists. When the factory object is reclaimed, all lists /// created by that factory are released as well. template -class ImmutableList { +class LLVM_CLASS_ABI ImmutableList { public: using value_type = T; using Factory = ImmutableListFactory; @@ -147,7 +147,7 @@ class ImmutableList { }; template -class ImmutableListFactory { +class LLVM_CLASS_ABI ImmutableListFactory { using ListTy = ImmutableListImpl; using CacheTy = FoldingSet; @@ -221,7 +221,7 @@ class ImmutableListFactory { // Partially-specialized Traits. //===----------------------------------------------------------------------===// -template struct DenseMapInfo, void> { +template struct LLVM_CLASS_ABI DenseMapInfo, void> { static inline ImmutableList getEmptyKey() { return reinterpret_cast*>(-1); } diff --git a/llvm/include/llvm/ADT/ImmutableMap.h b/llvm/include/llvm/ADT/ImmutableMap.h index 3d19ca41a5be0d..6fe6c01fb68ae3 100644 --- a/llvm/include/llvm/ADT/ImmutableMap.h +++ b/llvm/include/llvm/ADT/ImmutableMap.h @@ -25,7 +25,7 @@ namespace llvm { /// and second elements in a pair are used to generate profile information, /// only the first element (the key) is used by isEqual and isLess. template -struct ImutKeyValueInfo { +struct LLVM_CLASS_ABI ImutKeyValueInfo { using value_type = const std::pair; using value_type_ref = const value_type&; using key_type = const T; @@ -60,7 +60,7 @@ struct ImutKeyValueInfo { template > -class ImmutableMap { +class LLVM_CLASS_ABI ImmutableMap { public: using value_type = typename ValInfo::value_type; using value_type_ref = typename ValInfo::value_type_ref; @@ -200,7 +200,7 @@ class ImmutableMap { // NOTE: This will possibly become the new implementation of ImmutableMap some day. template > -class ImmutableMapRef { +class LLVM_CLASS_ABI ImmutableMapRef { public: using value_type = typename ValInfo::value_type; using value_type_ref = typename ValInfo::value_type_ref; diff --git a/llvm/include/llvm/ADT/ImmutableSet.h b/llvm/include/llvm/ADT/ImmutableSet.h index 5bee746688ce4e..e4b0eb0fcd9f0f 100644 --- a/llvm/include/llvm/ADT/ImmutableSet.h +++ b/llvm/include/llvm/ADT/ImmutableSet.h @@ -40,7 +40,7 @@ template class ImutAVLTreeInOrderIterator; template class ImutAVLTreeGenericIterator; template -class ImutAVLTree { +class LLVM_CLASS_ABI ImutAVLTree { public: using key_type_ref = typename ImutInfo::key_type_ref; using value_type = typename ImutInfo::value_type; @@ -346,7 +346,7 @@ class ImutAVLTree { }; template -struct IntrusiveRefCntPtrInfo> { +struct LLVM_CLASS_ABI IntrusiveRefCntPtrInfo> { static void retain(ImutAVLTree *Tree) { Tree->retain(); } static void release(ImutAVLTree *Tree) { Tree->release(); } }; @@ -356,7 +356,7 @@ struct IntrusiveRefCntPtrInfo> { //===----------------------------------------------------------------------===// template -class ImutAVLFactory { +class LLVM_CLASS_ABI ImutAVLFactory { friend class ImutAVLTree; using TreeTy = ImutAVLTree; @@ -638,7 +638,7 @@ class ImutAVLFactory { // Immutable AVL-Tree Iterators. //===----------------------------------------------------------------------===// -template class ImutAVLTreeGenericIterator { +template class LLVM_CLASS_ABI ImutAVLTreeGenericIterator { SmallVector stack; public: @@ -752,7 +752,7 @@ template class ImutAVLTreeGenericIterator { } }; -template class ImutAVLTreeInOrderIterator { +template class LLVM_CLASS_ABI ImutAVLTreeInOrderIterator { using InternalIteratorTy = ImutAVLTreeGenericIterator; InternalIteratorTy InternalItr; @@ -812,7 +812,7 @@ template class ImutAVLTreeInOrderIterator { /// Generic iterator that wraps a T::TreeTy::iterator and exposes /// iterator::getValue() on dereference. template -struct ImutAVLValueIterator +struct LLVM_CLASS_ABI ImutAVLValueIterator : iterator_adaptor_base< ImutAVLValueIterator, typename T::TreeTy::iterator, typename std::iterator_traits< @@ -835,7 +835,7 @@ struct ImutAVLValueIterator /// profile method of an object. Specializations for primitive integers /// and generic handling of pointers is done below. template -struct ImutProfileInfo { +struct LLVM_CLASS_ABI ImutProfileInfo { using value_type = const T; using value_type_ref = const T&; @@ -846,7 +846,7 @@ struct ImutProfileInfo { /// Profile traits for integers. template -struct ImutProfileInteger { +struct LLVM_CLASS_ABI ImutProfileInteger { using value_type = const T; using value_type_ref = const T&; @@ -873,7 +873,7 @@ PROFILE_INTEGER_INFO(unsigned long long) /// Profile traits for booleans. template <> -struct ImutProfileInfo { +struct LLVM_CLASS_ABI ImutProfileInfo { using value_type = const bool; using value_type_ref = const bool&; @@ -885,7 +885,7 @@ struct ImutProfileInfo { /// Generic profile trait for pointer types. We treat pointers as /// references to unique objects. template -struct ImutProfileInfo { +struct LLVM_CLASS_ABI ImutProfileInfo { using value_type = const T*; using value_type_ref = value_type; @@ -905,7 +905,7 @@ struct ImutProfileInfo { /// elements of immutable containers that defaults to using /// std::equal_to<> and std::less<> to perform comparison of elements. template -struct ImutContainerInfo : public ImutProfileInfo { +struct LLVM_CLASS_ABI ImutContainerInfo : public ImutProfileInfo { using value_type = typename ImutProfileInfo::value_type; using value_type_ref = typename ImutProfileInfo::value_type_ref; using key_type = value_type; @@ -931,7 +931,7 @@ struct ImutContainerInfo : public ImutProfileInfo { /// as references to unique objects. Pointers are thus compared by /// their addresses. template -struct ImutContainerInfo : public ImutProfileInfo { +struct LLVM_CLASS_ABI ImutContainerInfo : public ImutProfileInfo { using value_type = typename ImutProfileInfo::value_type; using value_type_ref = typename ImutProfileInfo::value_type_ref; using key_type = value_type; @@ -954,7 +954,7 @@ struct ImutContainerInfo : public ImutProfileInfo { //===----------------------------------------------------------------------===// template > -class ImmutableSet { +class LLVM_CLASS_ABI ImmutableSet { public: using value_type = typename ValInfo::value_type; using value_type_ref = typename ValInfo::value_type_ref; @@ -1080,7 +1080,7 @@ class ImmutableSet { // NOTE: This may some day replace the current ImmutableSet. template > -class ImmutableSetRef { +class LLVM_CLASS_ABI ImmutableSetRef { public: using value_type = typename ValInfo::value_type; using value_type_ref = typename ValInfo::value_type_ref; diff --git a/llvm/include/llvm/ADT/IndexedMap.h b/llvm/include/llvm/ADT/IndexedMap.h index cf9163cbb167f7..571d7bf82afcec 100644 --- a/llvm/include/llvm/ADT/IndexedMap.h +++ b/llvm/include/llvm/ADT/IndexedMap.h @@ -29,7 +29,7 @@ namespace llvm { template > - class IndexedMap { + class LLVM_CLASS_ABI IndexedMap { using IndexT = typename ToIndexT::argument_type; // Prefer SmallVector with zero inline storage over std::vector. IndexedMaps // can grow very large and SmallVector grows more efficiently as long as T diff --git a/llvm/include/llvm/ADT/IntEqClasses.h b/llvm/include/llvm/ADT/IntEqClasses.h index 82faef8436b1b8..f2080fa0ddf81c 100644 --- a/llvm/include/llvm/ADT/IntEqClasses.h +++ b/llvm/include/llvm/ADT/IntEqClasses.h @@ -26,7 +26,7 @@ namespace llvm { -class IntEqClasses { +class LLVM_CLASS_ABI IntEqClasses { /// EC - When uncompressed, map each integer to a smaller member of its /// equivalence class. The class leader is the smallest member and maps to /// itself. diff --git a/llvm/include/llvm/ADT/IntervalMap.h b/llvm/include/llvm/ADT/IntervalMap.h index 9d9f3cb5a11268..a1ebb800e2e083 100644 --- a/llvm/include/llvm/ADT/IntervalMap.h +++ b/llvm/include/llvm/ADT/IntervalMap.h @@ -138,7 +138,7 @@ namespace llvm { //===----------------------------------------------------------------------===// template -struct IntervalMapInfo { +struct LLVM_CLASS_ABI IntervalMapInfo { /// startLess - Return true if x is not in [a;b]. /// This is x < a both for closed intervals and for [a;b) half-open intervals. static inline bool startLess(const T &x, const T &a) { @@ -165,7 +165,7 @@ struct IntervalMapInfo { }; template -struct IntervalMapHalfOpenInfo { +struct LLVM_CLASS_ABI IntervalMapHalfOpenInfo { /// startLess - Return true if x is not in [a;b). static inline bool startLess(const T &x, const T &a) { return x < a; @@ -221,7 +221,7 @@ using IdxPair = std::pair; //===----------------------------------------------------------------------===// template -class NodeBase { +class LLVM_CLASS_ABI NodeBase { public: enum { Capacity = N }; @@ -412,7 +412,7 @@ void adjustSiblingSizes(NodeT *Node[], unsigned Nodes, /// @param Position Insert position. /// @param Grow Reserve space for a new element at Position. /// @return (node, offset) for Position. -IdxPair distribute(unsigned Nodes, unsigned Elements, unsigned Capacity, +LLVM_FUNC_ABI IdxPair distribute(unsigned Nodes, unsigned Elements, unsigned Capacity, const unsigned *CurSize, unsigned NewSize[], unsigned Position, bool Grow); @@ -437,7 +437,7 @@ enum { }; template -struct NodeSizer { +struct LLVM_CLASS_ABI NodeSizer { enum { // Compute the leaf node branching factor that makes a node fit in three // cache lines. The branching factor must be at least 3, or some B+-tree @@ -491,7 +491,7 @@ struct NodeSizer { // //===----------------------------------------------------------------------===// -class NodeRef { +class LLVM_CLASS_ABI NodeRef { struct CacheAlignedPointerTraits { static inline void *getAsVoidPointer(void *P) { return P; } static inline void *getFromVoidPointer(void *P) { return P; } @@ -564,7 +564,7 @@ class NodeRef { //===----------------------------------------------------------------------===// template -class LeafNode : public NodeBase, ValT, N> { +class LLVM_CLASS_ABI LeafNode : public NodeBase, ValT, N> { public: const KeyT &start(unsigned i) const { return this->first[i].first; } const KeyT &stop(unsigned i) const { return this->first[i].second; } @@ -701,7 +701,7 @@ insertFrom(unsigned &Pos, unsigned Size, KeyT a, KeyT b, ValT y) { //===----------------------------------------------------------------------===// template -class BranchNode : public NodeBase { +class LLVM_CLASS_ABI BranchNode : public NodeBase { public: const KeyT &stop(unsigned i) const { return this->second[i]; } const NodeRef &subtree(unsigned i) const { return this->first[i]; } @@ -771,7 +771,7 @@ class BranchNode : public NodeBase { // //===----------------------------------------------------------------------===// -class Path { +class LLVM_CLASS_ABI Path { /// Entry - Each step in the path is a node pointer and an offset into that /// node. struct Entry { @@ -934,7 +934,7 @@ class Path { template ::LeafSize, typename Traits = IntervalMapInfo> -class IntervalMap { +class LLVM_CLASS_ABI IntervalMap { using Sizer = IntervalMapImpl::NodeSizer; using Leaf = IntervalMapImpl::LeafNode; using Branch = @@ -2108,7 +2108,7 @@ iterator::overflow(unsigned Level) { /// for (IntervalMapOverlaps I(a, b); I.valid() ; ++I) { ... } /// template -class IntervalMapOverlaps { +class LLVM_CLASS_ABI IntervalMapOverlaps { using KeyType = typename MapA::KeyType; using Traits = typename MapA::KeyTraits; diff --git a/llvm/include/llvm/ADT/IntervalTree.h b/llvm/include/llvm/ADT/IntervalTree.h index 5c040098a46abd..3dbf50089fca9a 100644 --- a/llvm/include/llvm/ADT/IntervalTree.h +++ b/llvm/include/llvm/ADT/IntervalTree.h @@ -197,7 +197,7 @@ namespace llvm { /// associated \a Value. /// \a PointT corresponds to the interval endpoints type. /// \a ValueT corresponds to the interval value type. -template class IntervalData { +template class LLVM_CLASS_ABI IntervalData { protected: using PointType = PointT; using ValueType = ValueT; @@ -247,7 +247,7 @@ using ValueTypeIsValid = std::bool_constant::value || template > -class IntervalTree { +class LLVM_CLASS_ABI IntervalTree { static_assert(PointTypeIsValid::value, "PointT must be a fundamental type"); static_assert(ValueTypeIsValid::value, diff --git a/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h b/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h index 3f1cc43cf20ac0..597eba1614fbd9 100644 --- a/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h +++ b/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h @@ -74,7 +74,7 @@ namespace llvm { /// calls to Release() and Retain(), which increment and decrement the object's /// refcount, respectively. When a Release() call decrements the refcount to 0, /// the object deletes itself. -template class RefCountedBase { +template class LLVM_CLASS_ABI RefCountedBase { mutable unsigned RefCount = 0; protected: @@ -106,7 +106,7 @@ template class RefCountedBase { }; /// A thread-safe version of \c RefCountedBase. -template class ThreadSafeRefCountedBase { +template class LLVM_CLASS_ABI ThreadSafeRefCountedBase { mutable std::atomic RefCount{0}; protected: @@ -159,7 +159,7 @@ template class ThreadSafeRefCountedBase { /// forward-declares Foo and specializes IntrusiveRefCntPtrInfo. Then /// Bar.h could use IntrusiveRefCntPtr, although it still couldn't call any /// functions on Foo itself, because Foo would be an incomplete type. -template struct IntrusiveRefCntPtrInfo { +template struct LLVM_CLASS_ABI IntrusiveRefCntPtrInfo { static unsigned useCount(const T *obj) { return obj->UseCount(); } static void retain(T *obj) { obj->Retain(); } static void release(T *obj) { obj->Release(); } @@ -171,7 +171,7 @@ template struct IntrusiveRefCntPtrInfo { /// This class increments its pointee's reference count when it is created, and /// decrements its refcount when it's destroyed (or is changed to point to a /// different object). -template class IntrusiveRefCntPtr { +template class LLVM_CLASS_ABI IntrusiveRefCntPtr { T *Obj = nullptr; public: @@ -293,7 +293,7 @@ bool operator!=(const IntrusiveRefCntPtr &A, std::nullptr_t B) { // Casting.h. template struct simplify_type; -template struct simplify_type> { +template struct LLVM_CLASS_ABI simplify_type> { using SimpleType = T *; static SimpleType getSimplifiedValue(IntrusiveRefCntPtr &Val) { @@ -301,7 +301,7 @@ template struct simplify_type> { } }; -template struct simplify_type> { +template struct LLVM_CLASS_ABI simplify_type> { using SimpleType = /*const*/ T *; static SimpleType getSimplifiedValue(const IntrusiveRefCntPtr &Val) { diff --git a/llvm/include/llvm/ADT/LazyAtomicPointer.h b/llvm/include/llvm/ADT/LazyAtomicPointer.h index 890584746220d8..dbcfae9a58b0e5 100644 --- a/llvm/include/llvm/ADT/LazyAtomicPointer.h +++ b/llvm/include/llvm/ADT/LazyAtomicPointer.h @@ -31,7 +31,7 @@ namespace llvm { /// /// TODO: In C++20, use std::atomic::wait() instead of spinning and call /// std::atomic::notify_all() in \a loadOrGenerate(). -template class LazyAtomicPointer { +template class LLVM_CLASS_ABI LazyAtomicPointer { static constexpr uintptr_t getNull() { return 0; } static constexpr uintptr_t getBusy() { return -1ULL; } diff --git a/llvm/include/llvm/ADT/MapVector.h b/llvm/include/llvm/ADT/MapVector.h index 6aee2596be2e1e..2b2637bbd05d53 100644 --- a/llvm/include/llvm/ADT/MapVector.h +++ b/llvm/include/llvm/ADT/MapVector.h @@ -34,7 +34,7 @@ namespace llvm { template , typename VectorType = SmallVector, 0>> -class MapVector { +class LLVM_CLASS_ABI MapVector { MapType Map; VectorType Vector; @@ -229,7 +229,7 @@ void MapVector::remove_if(Function Pred) { /// A MapVector that performs no allocations if smaller than a certain /// size. template -struct SmallMapVector +struct LLVM_CLASS_ABI SmallMapVector : MapVector, SmallVector, N>> { }; diff --git a/llvm/include/llvm/ADT/PackedVector.h b/llvm/include/llvm/ADT/PackedVector.h index b448685ab6163b..a92f3e6ab5f0d8 100644 --- a/llvm/include/llvm/ADT/PackedVector.h +++ b/llvm/include/llvm/ADT/PackedVector.h @@ -26,7 +26,7 @@ class PackedVectorBase; // This won't be necessary if we can specialize members without specializing // the parent template. template -class PackedVectorBase { +class LLVM_CLASS_ABI PackedVectorBase { protected: static T getValue(const BitVectorTy &Bits, unsigned Idx) { T val = T(); @@ -43,7 +43,7 @@ class PackedVectorBase { }; template -class PackedVectorBase { +class LLVM_CLASS_ABI PackedVectorBase { protected: static T getValue(const BitVectorTy &Bits, unsigned Idx) { T val = T(); @@ -73,7 +73,7 @@ class PackedVectorBase { /// will create a vector accepting values -2, -1, 0, 1. Any other value will hit /// an assertion. template -class PackedVector : public PackedVectorBase::is_signed> { BitVectorTy Bits; using base = PackedVectorBase class PagedVector { +template class LLVM_CLASS_ABI PagedVector { static_assert(PageSize > 1, "PageSize must be greater than 0. Most likely " "you want it to be greater than 16."); /// The actual number of elements in the vector which can be accessed. diff --git a/llvm/include/llvm/ADT/PointerEmbeddedInt.h b/llvm/include/llvm/ADT/PointerEmbeddedInt.h index 3bdefa24747567..632bf8e2188311 100644 --- a/llvm/include/llvm/ADT/PointerEmbeddedInt.h +++ b/llvm/include/llvm/ADT/PointerEmbeddedInt.h @@ -31,7 +31,7 @@ namespace llvm { /// in the above abstractions without testing the particular active member. /// Also, the default constructed value zero initializes the integer. template -class PointerEmbeddedInt { +class LLVM_CLASS_ABI PointerEmbeddedInt { uintptr_t Value = 0; // Note: This '<' is correct; using '<=' would result in some shifts @@ -80,7 +80,7 @@ class PointerEmbeddedInt { // Provide pointer like traits to support use with pointer unions and sum // types. template -struct PointerLikeTypeTraits> { +struct LLVM_CLASS_ABI PointerLikeTypeTraits> { using T = PointerEmbeddedInt; static inline void *getAsVoidPointer(const T &P) { @@ -101,7 +101,7 @@ struct PointerLikeTypeTraits> { // Teach DenseMap how to use PointerEmbeddedInt objects as keys if the Int type // itself can be a key. template -struct DenseMapInfo> { +struct LLVM_CLASS_ABI DenseMapInfo> { using T = PointerEmbeddedInt; using IntInfo = DenseMapInfo; diff --git a/llvm/include/llvm/ADT/PointerIntPair.h b/llvm/include/llvm/ADT/PointerIntPair.h index f73f5bcd6ce0c9..f6c9eb3366b785 100644 --- a/llvm/include/llvm/ADT/PointerIntPair.h +++ b/llvm/include/llvm/ADT/PointerIntPair.h @@ -25,7 +25,7 @@ namespace llvm { namespace detail { -template struct PunnedPointer { +template struct LLVM_CLASS_ABI PunnedPointer { static_assert(sizeof(Ptr) == sizeof(intptr_t), ""); // Asserts that allow us to let the compiler implement the destructor and @@ -77,7 +77,7 @@ struct PointerIntPairInfo; template , typename Info = PointerIntPairInfo> -class PointerIntPair { +class LLVM_CLASS_ABI PointerIntPair { // Used by MSVC visualizer and generally helpful for debugging/visualizing. using InfoTy = Info; detail::PunnedPointer Value; @@ -165,7 +165,7 @@ class PointerIntPair { }; template -struct PointerIntPairInfo { +struct LLVM_CLASS_ABI PointerIntPairInfo { static_assert(PtrTraits::NumLowBitsAvailable < std::numeric_limits::digits, "cannot use a pointer type that has all bits free"); @@ -216,7 +216,7 @@ struct PointerIntPairInfo { // Provide specialization of DenseMapInfo for PointerIntPair. template -struct DenseMapInfo, void> { +struct LLVM_CLASS_ABI DenseMapInfo, void> { using Ty = PointerIntPair; static Ty getEmptyKey() { @@ -242,7 +242,7 @@ struct DenseMapInfo, void> { // Teach SmallPtrSet that PointerIntPair is "basically a pointer". template -struct PointerLikeTypeTraits< +struct LLVM_CLASS_ABI PointerLikeTypeTraits< PointerIntPair> { static inline void * getAsVoidPointer(const PointerIntPair &P) { @@ -280,13 +280,13 @@ get(const PointerIntPair &Pair) { namespace std { template -struct tuple_size< +struct LLVM_CLASS_ABI tuple_size< llvm::PointerIntPair> : std::integral_constant {}; template -struct tuple_element< +struct LLVM_CLASS_ABI tuple_element< I, llvm::PointerIntPair> : std::conditional {}; } // namespace std diff --git a/llvm/include/llvm/ADT/PointerSumType.h b/llvm/include/llvm/ADT/PointerSumType.h index 43226d41843b79..d6da023f9515c7 100644 --- a/llvm/include/llvm/ADT/PointerSumType.h +++ b/llvm/include/llvm/ADT/PointerSumType.h @@ -25,7 +25,7 @@ namespace llvm { /// allocation. template > -struct PointerSumTypeMember { +struct LLVM_CLASS_ABI PointerSumTypeMember { enum { Tag = N }; using PointerT = PointerArgT; using TraitsT = TraitsArgT; @@ -68,7 +68,7 @@ template struct PointerSumTypeHelper; /// /// There is no support for constructing or accessing with a dynamic tag as /// that would fundamentally violate the type safety provided by the sum type. -template class PointerSumType { +template class LLVM_CLASS_ABI PointerSumType { using HelperT = detail::PointerSumTypeHelper; // We keep both the raw value and the min tag value's pointer in a union. When @@ -204,7 +204,7 @@ namespace detail { /// compile-time lookup of the member from a particular tag value, along with /// useful constants and compile time checking infrastructure.. template -struct PointerSumTypeHelper : MemberTs... { +struct LLVM_CLASS_ABI PointerSumTypeHelper : MemberTs... { // First we use a trick to allow quickly looking up information about // a particular member of the sum type. This works because we arranged to // have this type derive from all of the member type templates. We can select @@ -264,7 +264,7 @@ struct PointerSumTypeHelper : MemberTs... { // Teach DenseMap how to use PointerSumTypes as keys. template -struct DenseMapInfo> { +struct LLVM_CLASS_ABI DenseMapInfo> { using SumType = PointerSumType; using HelperT = detail::PointerSumTypeHelper; enum { SomeTag = HelperT::MinTag }; diff --git a/llvm/include/llvm/ADT/PointerUnion.h b/llvm/include/llvm/ADT/PointerUnion.h index 63aa0e350387d8..df6532d1b3d142 100644 --- a/llvm/include/llvm/ADT/PointerUnion.h +++ b/llvm/include/llvm/ADT/PointerUnion.h @@ -40,13 +40,13 @@ namespace pointer_union_detail { } /// Find the first type in a list of types. - template struct GetFirstType { + template struct LLVM_CLASS_ABI GetFirstType { using type = T; }; /// Provide PointerLikeTypeTraits for void* that is used by PointerUnion /// for the template arguments. - template class PointerUnionUIntTraits { + template class LLVM_CLASS_ABI PointerUnionUIntTraits { public: static inline void *getAsVoidPointer(void *P) { return P; } static inline void *getFromVoidPointer(void *P) { return P; } @@ -57,7 +57,7 @@ namespace pointer_union_detail { class PointerUnionMembers; template - class PointerUnionMembers { + class LLVM_CLASS_ABI PointerUnionMembers { protected: ValTy Val; PointerUnionMembers() = default; @@ -68,7 +68,7 @@ namespace pointer_union_detail { template - class PointerUnionMembers + class LLVM_CLASS_ABI PointerUnionMembers : public PointerUnionMembers { using Base = PointerUnionMembers; public: @@ -110,7 +110,7 @@ template struct CastInfoPointerUnionImpl; /// X = P.get(); // runtime assertion failure. /// PointerUnion Q; // compile time failure. template -class PointerUnion +class LLVM_CLASS_ABI PointerUnion : public pointer_union_detail::PointerUnionMembers< PointerUnion, PointerIntPair< @@ -224,7 +224,7 @@ bool operator<(PointerUnion lhs, PointerUnion rhs) { /// friend'. /// So we define this struct to be a bridge between CastInfo and /// PointerUnion. -template struct CastInfoPointerUnionImpl { +template struct LLVM_CLASS_ABI CastInfoPointerUnionImpl { using From = PointerUnion; template static inline bool isPossible(From &F) { @@ -239,7 +239,7 @@ template struct CastInfoPointerUnionImpl { // Specialization of CastInfo for PointerUnion template -struct CastInfo> +struct LLVM_CLASS_ABI CastInfo> : public DefaultDoCastIfPossible, CastInfo>> { using From = PointerUnion; @@ -255,7 +255,7 @@ struct CastInfo> }; template -struct CastInfo> +struct LLVM_CLASS_ABI CastInfo> : public ConstStrippingForwardingCast, CastInfo>> { }; @@ -263,7 +263,7 @@ struct CastInfo> // Teach SmallPtrSet that PointerUnion is "basically a pointer", that has // # low bits available = min(PT1bits,PT2bits)-1. template -struct PointerLikeTypeTraits> { +struct LLVM_CLASS_ABI PointerLikeTypeTraits> { static inline void *getAsVoidPointer(const PointerUnion &P) { return P.getOpaqueValue(); } @@ -279,7 +279,7 @@ struct PointerLikeTypeTraits> { }; // Teach DenseMap how to use PointerUnions as keys. -template struct DenseMapInfo> { +template struct LLVM_CLASS_ABI DenseMapInfo> { using Union = PointerUnion; using FirstInfo = DenseMapInfo::type>; diff --git a/llvm/include/llvm/ADT/PostOrderIterator.h b/llvm/include/llvm/ADT/PostOrderIterator.h index abc0510b046c67..c377dbce536134 100644 --- a/llvm/include/llvm/ADT/PostOrderIterator.h +++ b/llvm/include/llvm/ADT/PostOrderIterator.h @@ -57,7 +57,7 @@ namespace llvm { /// Default po_iterator_storage implementation with an internal set object. template -class po_iterator_storage { +class LLVM_CLASS_ABI po_iterator_storage { SetType Visited; public: @@ -73,7 +73,7 @@ class po_iterator_storage { /// Specialization of po_iterator_storage that references an external set. template -class po_iterator_storage { +class LLVM_CLASS_ABI po_iterator_storage { SetType &Visited; public: @@ -95,7 +95,7 @@ class po_iterator_storage { template ::NodeRef, 8>, bool ExtStorage = false, class GT = GraphTraits> -class po_iterator : public po_iterator_storage { +class LLVM_CLASS_ABI po_iterator : public po_iterator_storage { public: using iterator_category = std::forward_iterator_tag; using value_type = typename GT::NodeRef; @@ -198,7 +198,7 @@ template iterator_range> post_order(const T &G) { // Provide global definitions of external postorder iterators... template ::NodeRef>> -struct po_ext_iterator : public po_iterator { +struct LLVM_CLASS_ABI po_ext_iterator : public po_iterator { po_ext_iterator(const po_iterator &V) : po_iterator(V) {} }; @@ -221,7 +221,7 @@ iterator_range> post_order_ext(const T &G, SetType & // Provide global definitions of inverse post order iterators... template ::NodeRef>, bool External = false> -struct ipo_iterator : public po_iterator, SetType, External> { +struct LLVM_CLASS_ABI ipo_iterator : public po_iterator, SetType, External> { ipo_iterator(const po_iterator, SetType, External> &V) : po_iterator, SetType, External> (V) {} }; @@ -243,7 +243,7 @@ iterator_range> inverse_post_order(const T &G) { // Provide global definitions of external inverse postorder iterators... template ::NodeRef>> -struct ipo_ext_iterator : public ipo_iterator { +struct LLVM_CLASS_ABI ipo_ext_iterator : public ipo_iterator { ipo_ext_iterator(const ipo_iterator &V) : ipo_iterator(V) {} ipo_ext_iterator(const po_iterator, SetType, true> &V) : @@ -294,7 +294,7 @@ inverse_post_order_ext(const T &G, SetType &S) { // template> -class ReversePostOrderTraversal { +class LLVM_CLASS_ABI ReversePostOrderTraversal { using NodeRef = typename GT::NodeRef; using VecTy = SmallVector; diff --git a/llvm/include/llvm/ADT/PriorityQueue.h b/llvm/include/llvm/ADT/PriorityQueue.h index 7738a48b8c5523..76b77be8ef3446 100644 --- a/llvm/include/llvm/ADT/PriorityQueue.h +++ b/llvm/include/llvm/ADT/PriorityQueue.h @@ -26,7 +26,7 @@ namespace llvm { template, class Compare = std::less > -class PriorityQueue : public std::priority_queue { +class LLVM_CLASS_ABI PriorityQueue : public std::priority_queue { public: explicit PriorityQueue(const Compare &compare = Compare(), const Sequence &sequence = Sequence()) diff --git a/llvm/include/llvm/ADT/PriorityWorklist.h b/llvm/include/llvm/ADT/PriorityWorklist.h index 2b6510f42d5696..9db8fc1d46284e 100644 --- a/llvm/include/llvm/ADT/PriorityWorklist.h +++ b/llvm/include/llvm/ADT/PriorityWorklist.h @@ -52,7 +52,7 @@ namespace llvm { /// and a SmallDenseMap if custom data structures are not provided. template , typename MapT = DenseMap> -class PriorityWorklist { +class LLVM_CLASS_ABI PriorityWorklist { public: using value_type = T; using key_type = T; @@ -252,7 +252,7 @@ class PriorityWorklist { /// A version of \c PriorityWorklist that selects small size optimized data /// structures for the vector and map. template -class SmallPriorityWorklist +class LLVM_CLASS_ABI SmallPriorityWorklist : public PriorityWorklist, SmallDenseMap> { public: diff --git a/llvm/include/llvm/ADT/SCCIterator.h b/llvm/include/llvm/ADT/SCCIterator.h index b3012448bda5a9..ee01dad0a6925e 100644 --- a/llvm/include/llvm/ADT/SCCIterator.h +++ b/llvm/include/llvm/ADT/SCCIterator.h @@ -45,7 +45,7 @@ namespace llvm { /// build up a vector of nodes in a particular SCC. Note that it is a forward /// iterator and thus you cannot backtrack or re-visit nodes. template > -class scc_iterator : public iterator_facade_base< +class LLVM_CLASS_ABI scc_iterator : public iterator_facade_base< scc_iterator, std::forward_iterator_tag, const std::vector, ptrdiff_t> { using NodeRef = typename GT::NodeRef; @@ -251,7 +251,7 @@ template scc_iterator scc_end(const T &G) { /// have a predecessor and then applied to all nodes of the SCC. Such order /// ensures that high-weighted edges are visited first during the traversal. template > -class scc_member_iterator { +class LLVM_CLASS_ABI scc_member_iterator { using NodeType = typename GT::NodeType; using EdgeType = typename GT::EdgeType; using NodesType = std::vector; @@ -321,7 +321,7 @@ scc_member_iterator::scc_member_iterator( } // Sort edges by weights. - struct EdgeComparer { + struct LLVM_CLASS_ABI EdgeComparer { bool operator()(const EdgeType *L, const EdgeType *R) const { return L->Weight > R->Weight; } diff --git a/llvm/include/llvm/ADT/STLExtras.h b/llvm/include/llvm/ADT/STLExtras.h index 8d94e1a958919c..537bb15d0f1993 100644 --- a/llvm/include/llvm/ADT/STLExtras.h +++ b/llvm/include/llvm/ADT/STLExtras.h @@ -51,20 +51,20 @@ namespace llvm { // Extra additions to //===----------------------------------------------------------------------===// -template struct make_const_ptr { +template struct LLVM_CLASS_ABI make_const_ptr { using type = std::add_pointer_t>; }; -template struct make_const_ref { +template struct LLVM_CLASS_ABI make_const_ref { using type = std::add_lvalue_reference_t>; }; namespace detail { -template class Op, class... Args> struct detector { +template class Op, class... Args> struct LLVM_CLASS_ABI detector { using value_t = std::false_type; }; template