mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-31 08:16:47 +00:00
Revert "Reformat."
This reverts commit r229651. I'd like to ultimately revert r229650 but this reformat stands in the way. I'll reformat the affected files once the the loop-access pass is fully committed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229889 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -56,7 +56,8 @@ public:
|
||||
/// \brief Emit an analysis note with the debug location from the instruction
|
||||
/// in \p Message if available. Otherwise use the location of \p TheLoop.
|
||||
static void emitAnalysis(VectorizationReport &Message,
|
||||
const Function *TheFunction, const Loop *TheLoop);
|
||||
const Function *TheFunction,
|
||||
const Loop *TheLoop);
|
||||
};
|
||||
|
||||
/// \brief Drive the analysis of memory accesses in the loop
|
||||
@@ -89,13 +90,14 @@ public:
|
||||
/// make more than this number of comparisons.
|
||||
unsigned RuntimeMemoryCheckThreshold;
|
||||
|
||||
VectorizerParams(unsigned MaxVectorWidth, unsigned VectorizationFactor,
|
||||
VectorizerParams(unsigned MaxVectorWidth,
|
||||
unsigned VectorizationFactor,
|
||||
unsigned VectorizationInterleave,
|
||||
unsigned RuntimeMemoryCheckThreshold)
|
||||
: MaxVectorWidth(MaxVectorWidth),
|
||||
VectorizationFactor(VectorizationFactor),
|
||||
VectorizationInterleave(VectorizationInterleave),
|
||||
RuntimeMemoryCheckThreshold(RuntimeMemoryCheckThreshold) {}
|
||||
unsigned RuntimeMemoryCheckThreshold) :
|
||||
MaxVectorWidth(MaxVectorWidth),
|
||||
VectorizationFactor(VectorizationFactor),
|
||||
VectorizationInterleave(VectorizationInterleave),
|
||||
RuntimeMemoryCheckThreshold(RuntimeMemoryCheckThreshold) {}
|
||||
};
|
||||
|
||||
/// This struct holds information about the memory runtime legality check that
|
||||
@@ -142,10 +144,10 @@ public:
|
||||
LoopAccessInfo(Function *F, Loop *L, ScalarEvolution *SE,
|
||||
const DataLayout *DL, const TargetLibraryInfo *TLI,
|
||||
AliasAnalysis *AA, DominatorTree *DT,
|
||||
const VectorizerParams &VectParams)
|
||||
: TheFunction(F), TheLoop(L), SE(SE), DL(DL), TLI(TLI), AA(AA), DT(DT),
|
||||
NumLoads(0), NumStores(0), MaxSafeDepDistBytes(-1U),
|
||||
VectParams(VectParams) {}
|
||||
const VectorizerParams &VectParams) :
|
||||
TheFunction(F), TheLoop(L), SE(SE), DL(DL), TLI(TLI), AA(AA), DT(DT),
|
||||
NumLoads(0), NumStores(0), MaxSafeDepDistBytes(-1U),
|
||||
VectParams(VectParams) {}
|
||||
|
||||
/// Return true we can analyze the memory accesses in the loop and there are
|
||||
/// no memory dependence cycles. Replaces symbolic strides using Strides.
|
||||
|
||||
@@ -269,23 +269,23 @@ void initializeDataLayoutPassPass(PassRegistry &);
|
||||
void initializeTargetTransformInfoWrapperPassPass(PassRegistry &);
|
||||
void initializeTargetLibraryInfoWrapperPassPass(PassRegistry &);
|
||||
void initializeAssumptionCacheTrackerPass(PassRegistry &);
|
||||
void initializeTwoAddressInstructionPassPass(PassRegistry &);
|
||||
void initializeTypeBasedAliasAnalysisPass(PassRegistry &);
|
||||
void initializeScopedNoAliasAAPass(PassRegistry &);
|
||||
void initializeUnifyFunctionExitNodesPass(PassRegistry &);
|
||||
void initializeUnreachableBlockElimPass(PassRegistry &);
|
||||
void initializeUnreachableMachineBlockElimPass(PassRegistry &);
|
||||
void initializeVerifierLegacyPassPass(PassRegistry &);
|
||||
void initializeVirtRegMapPass(PassRegistry &);
|
||||
void initializeVirtRegRewriterPass(PassRegistry &);
|
||||
void initializeInstSimplifierPass(PassRegistry &);
|
||||
void initializeUnpackMachineBundlesPass(PassRegistry &);
|
||||
void initializeFinalizeMachineBundlesPass(PassRegistry &);
|
||||
void initializeLoopVectorizePass(PassRegistry &);
|
||||
void initializeSLPVectorizerPass(PassRegistry &);
|
||||
void initializeBBVectorizePass(PassRegistry &);
|
||||
void initializeMachineFunctionPrinterPassPass(PassRegistry &);
|
||||
void initializeStackMapLivenessPass(PassRegistry &);
|
||||
void initializeTwoAddressInstructionPassPass(PassRegistry&);
|
||||
void initializeTypeBasedAliasAnalysisPass(PassRegistry&);
|
||||
void initializeScopedNoAliasAAPass(PassRegistry&);
|
||||
void initializeUnifyFunctionExitNodesPass(PassRegistry&);
|
||||
void initializeUnreachableBlockElimPass(PassRegistry&);
|
||||
void initializeUnreachableMachineBlockElimPass(PassRegistry&);
|
||||
void initializeVerifierLegacyPassPass(PassRegistry&);
|
||||
void initializeVirtRegMapPass(PassRegistry&);
|
||||
void initializeVirtRegRewriterPass(PassRegistry&);
|
||||
void initializeInstSimplifierPass(PassRegistry&);
|
||||
void initializeUnpackMachineBundlesPass(PassRegistry&);
|
||||
void initializeFinalizeMachineBundlesPass(PassRegistry&);
|
||||
void initializeLoopVectorizePass(PassRegistry&);
|
||||
void initializeSLPVectorizerPass(PassRegistry&);
|
||||
void initializeBBVectorizePass(PassRegistry&);
|
||||
void initializeMachineFunctionPrinterPassPass(PassRegistry&);
|
||||
void initializeStackMapLivenessPass(PassRegistry&);
|
||||
void initializeMachineCombinerPass(PassRegistry &);
|
||||
void initializeLoadCombinePass(PassRegistry&);
|
||||
void initializeRewriteSymbolsPass(PassRegistry&);
|
||||
|
||||
Reference in New Issue
Block a user