mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-12 10:52:38 +00:00
[AssumeBundles] Move to IR so it can be used by Analysis
Summary: Assume bundles need to be usable by Analysis and Transforms/Utils isn't. so this commit moves utilities to deal with asusme bundles to IR. Reviewers: jdoerfert Reviewed By: jdoerfert Subscribers: mgorny, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D75618
This commit is contained in:
parent
84056394e9
commit
57c964aaa7
@ -28,6 +28,7 @@ add_llvm_component_library(LLVMCore
|
||||
Instruction.cpp
|
||||
Instructions.cpp
|
||||
IntrinsicInst.cpp
|
||||
KnowledgeRetention.cpp
|
||||
LLVMContext.cpp
|
||||
LLVMContextImpl.cpp
|
||||
LLVMRemarkStreamer.cpp
|
||||
|
@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Transforms/Utils/KnowledgeRetention.h"
|
||||
#include "llvm/IR/KnowledgeRetention.h"
|
||||
#include "llvm/ADT/DenseSet.h"
|
||||
#include "llvm/IR/InstIterator.h"
|
||||
#include "llvm/IR/IntrinsicInst.h"
|
@ -59,6 +59,7 @@
|
||||
#include "llvm/CodeGen/UnreachableBlockElim.h"
|
||||
#include "llvm/IR/Dominators.h"
|
||||
#include "llvm/IR/IRPrintingPasses.h"
|
||||
#include "llvm/IR/KnowledgeRetention.h"
|
||||
#include "llvm/IR/PassManager.h"
|
||||
#include "llvm/IR/SafepointIRVerifier.h"
|
||||
#include "llvm/IR/Verifier.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"
|
||||
|
@ -29,7 +29,6 @@ add_llvm_component_library(LLVMTransformUtils
|
||||
InjectTLIMappings.cpp
|
||||
InstructionNamer.cpp
|
||||
IntegerDivision.cpp
|
||||
KnowledgeRetention.cpp
|
||||
LCSSA.cpp
|
||||
LibCallsShrinkWrap.cpp
|
||||
Local.cpp
|
||||
|
@ -24,6 +24,7 @@ add_llvm_unittest(IRTests
|
||||
IRBuilderTest.cpp
|
||||
InstructionsTest.cpp
|
||||
IntrinsicsTest.cpp
|
||||
KnowledgeRetentionTest.cpp
|
||||
LegacyPassManagerTest.cpp
|
||||
MDBuilderTest.cpp
|
||||
ManglerTest.cpp
|
||||
|
@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Transforms/Utils/KnowledgeRetention.h"
|
||||
#include "llvm/IR/KnowledgeRetention.h"
|
||||
#include "llvm/AsmParser/Parser.h"
|
||||
#include "llvm/IR/CallSite.h"
|
||||
#include "llvm/IR/LLVMContext.h"
|
@ -15,7 +15,6 @@ add_llvm_unittest(UtilsTests
|
||||
CodeMoverUtilsTest.cpp
|
||||
FunctionComparatorTest.cpp
|
||||
IntegerDivisionTest.cpp
|
||||
KnowledgeRetentionTest.cpp
|
||||
LocalTest.cpp
|
||||
LoopRotationUtilsTest.cpp
|
||||
LoopUtilsTest.cpp
|
||||
|
Loading…
x
Reference in New Issue
Block a user