[PATCH] D75618: [AssumeBundles] Move to Analysis so it can be used by Analysis
Tyker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 4 09:00:28 PST 2020
Tyker created this revision.
Tyker added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, hiraditya, mgorny.
Herald added a project: LLVM.
I didn't think about it when i placed utilities for assume bundles in Transform/Utils but Analysis need to be able to use it.
may be IR is a better fit since this also contains utilities like BuildAssumeFromInst.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D75618
Files:
llvm/include/llvm/Analysis/KnowledgeRetention.h
llvm/include/llvm/Transforms/Utils/KnowledgeRetention.h
llvm/lib/Analysis/CMakeLists.txt
llvm/lib/Analysis/KnowledgeRetention.cpp
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Transforms/Utils/CMakeLists.txt
llvm/lib/Transforms/Utils/KnowledgeRetention.cpp
llvm/test/Analysis/KnowledgeRetention/assume-builder.ll
llvm/test/Transforms/Util/assume-builder.ll
llvm/unittests/Analysis/CMakeLists.txt
llvm/unittests/Analysis/KnowledgeRetentionTest.cpp
llvm/unittests/Transforms/Utils/CMakeLists.txt
llvm/unittests/Transforms/Utils/KnowledgeRetentionTest.cpp
Index: llvm/unittests/Transforms/Utils/CMakeLists.txt
===================================================================
--- llvm/unittests/Transforms/Utils/CMakeLists.txt
+++ llvm/unittests/Transforms/Utils/CMakeLists.txt
@@ -15,7 +15,6 @@
CodeMoverUtilsTest.cpp
FunctionComparatorTest.cpp
IntegerDivisionTest.cpp
- KnowledgeRetentionTest.cpp
LocalTest.cpp
LoopRotationUtilsTest.cpp
LoopUtilsTest.cpp
Index: llvm/unittests/Analysis/KnowledgeRetentionTest.cpp
===================================================================
--- llvm/unittests/Analysis/KnowledgeRetentionTest.cpp
+++ llvm/unittests/Analysis/KnowledgeRetentionTest.cpp
@@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
-#include "llvm/Transforms/Utils/KnowledgeRetention.h"
+#include "llvm/Analysis/KnowledgeRetention.h"
#include "llvm/AsmParser/Parser.h"
#include "llvm/IR/CallSite.h"
#include "llvm/IR/LLVMContext.h"
Index: llvm/unittests/Analysis/CMakeLists.txt
===================================================================
--- llvm/unittests/Analysis/CMakeLists.txt
+++ llvm/unittests/Analysis/CMakeLists.txt
@@ -20,6 +20,7 @@
DomTreeUpdaterTest.cpp
GlobalsModRefTest.cpp
IVDescriptorsTest.cpp
+ KnowledgeRetentionTest.cpp
LazyCallGraphTest.cpp
LoadsTest.cpp
LoopInfoTest.cpp
Index: llvm/lib/Transforms/Utils/CMakeLists.txt
===================================================================
--- llvm/lib/Transforms/Utils/CMakeLists.txt
+++ llvm/lib/Transforms/Utils/CMakeLists.txt
@@ -29,7 +29,6 @@
InjectTLIMappings.cpp
InstructionNamer.cpp
IntegerDivision.cpp
- KnowledgeRetention.cpp
LCSSA.cpp
LibCallsShrinkWrap.cpp
Local.cpp
Index: llvm/lib/Passes/PassBuilder.cpp
===================================================================
--- llvm/lib/Passes/PassBuilder.cpp
+++ llvm/lib/Passes/PassBuilder.cpp
@@ -33,6 +33,7 @@
#include "llvm/Analysis/DominanceFrontier.h"
#include "llvm/Analysis/GlobalsModRef.h"
#include "llvm/Analysis/IVUsers.h"
+#include "llvm/Analysis/KnowledgeRetention.h"
#include "llvm/Analysis/LazyCallGraph.h"
#include "llvm/Analysis/LazyValueInfo.h"
#include "llvm/Analysis/LoopAccessAnalysis.h"
@@ -179,7 +180,6 @@
#include "llvm/Transforms/Utils/CanonicalizeAliases.h"
#include "llvm/Transforms/Utils/EntryExitInstrumenter.h"
#include "llvm/Transforms/Utils/InjectTLIMappings.h"
-#include "llvm/Transforms/Utils/KnowledgeRetention.h"
#include "llvm/Transforms/Utils/LCSSA.h"
#include "llvm/Transforms/Utils/LibCallsShrinkWrap.h"
#include "llvm/Transforms/Utils/LoopSimplify.h"
Index: llvm/lib/Analysis/KnowledgeRetention.cpp
===================================================================
--- llvm/lib/Analysis/KnowledgeRetention.cpp
+++ llvm/lib/Analysis/KnowledgeRetention.cpp
@@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
-#include "llvm/Transforms/Utils/KnowledgeRetention.h"
+#include "llvm/Analysis/KnowledgeRetention.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/IntrinsicInst.h"
Index: llvm/lib/Analysis/CMakeLists.txt
===================================================================
--- llvm/lib/Analysis/CMakeLists.txt
+++ llvm/lib/Analysis/CMakeLists.txt
@@ -43,6 +43,7 @@
InstructionSimplify.cpp
Interval.cpp
IntervalPartition.cpp
+ KnowledgeRetention.cpp
LazyBranchProbabilityInfo.cpp
LazyBlockFrequencyInfo.cpp
LazyCallGraph.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75618.248191.patch
Type: text/x-patch
Size: 3506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200304/4819deb3/attachment-0001.bin>
More information about the llvm-commits
mailing list