mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
Move all of the header files which are involved in modelling the LLVM IR
into their new header subdirectory: include/llvm/IR. This matches the directory structure of lib, and begins to correct a long standing point of file layout clutter in LLVM. There are still more header files to move here, but I wanted to handle them in separate commits to make tracking what files make sense at each layer easier. The only really questionable files here are the target intrinsic tablegen files. But that's a battle I'd rather not fight today. I've updated both CMake and Makefile build systems (I think, and my tests think, but I may have missed something). I've also re-sorted the includes throughout the project. I'll be committing updates to Clang, DragonEgg, and Polly momentarily. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171366 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7f00f87767
commit
0b8c9a80f2
@ -1814,7 +1814,7 @@ TDFiles := $(strip $(wildcard $(PROJ_SRC_DIR)/*.td) \
|
|||||||
$(LLVM_SRC_ROOT)/include/llvm/Target/TargetSchedule.td \
|
$(LLVM_SRC_ROOT)/include/llvm/Target/TargetSchedule.td \
|
||||||
$(LLVM_SRC_ROOT)/include/llvm/Target/TargetSelectionDAG.td \
|
$(LLVM_SRC_ROOT)/include/llvm/Target/TargetSelectionDAG.td \
|
||||||
$(LLVM_SRC_ROOT)/include/llvm/CodeGen/ValueTypes.td) \
|
$(LLVM_SRC_ROOT)/include/llvm/CodeGen/ValueTypes.td) \
|
||||||
$(wildcard $(LLVM_SRC_ROOT)/include/llvm/Intrinsics*.td)
|
$(wildcard $(LLVM_SRC_ROOT)/include/llvm/IR/Intrinsics*.td)
|
||||||
|
|
||||||
# All .inc.tmp files depend on the .td files.
|
# All .inc.tmp files depend on the .td files.
|
||||||
$(INCTMPFiles) : $(TDFiles)
|
$(INCTMPFiles) : $(TDFiles)
|
||||||
|
@ -21,8 +21,8 @@
|
|||||||
|
|
||||||
/* Need these includes to support the LLVM 'cast' template for the C++ 'wrap'
|
/* Need these includes to support the LLVM 'cast' template for the C++ 'wrap'
|
||||||
and 'unwrap' conversion functions. */
|
and 'unwrap' conversion functions. */
|
||||||
#include "llvm/IRBuilder.h"
|
#include "llvm/IR/IRBuilder.h"
|
||||||
#include "llvm/Module.h"
|
#include "llvm/IR/Module.h"
|
||||||
#include "llvm/PassRegistry.h"
|
#include "llvm/PassRegistry.h"
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -16,9 +16,9 @@
|
|||||||
|
|
||||||
#include "llvm/ADT/DenseMap.h"
|
#include "llvm/ADT/DenseMap.h"
|
||||||
#include "llvm/ADT/PostOrderIterator.h"
|
#include "llvm/ADT/PostOrderIterator.h"
|
||||||
#include "llvm/BasicBlock.h"
|
|
||||||
#include "llvm/CodeGen/MachineBasicBlock.h"
|
#include "llvm/CodeGen/MachineBasicBlock.h"
|
||||||
#include "llvm/CodeGen/MachineFunction.h"
|
#include "llvm/CodeGen/MachineFunction.h"
|
||||||
|
#include "llvm/IR/BasicBlock.h"
|
||||||
#include "llvm/Support/BlockFrequency.h"
|
#include "llvm/Support/BlockFrequency.h"
|
||||||
#include "llvm/Support/BranchProbability.h"
|
#include "llvm/Support/BranchProbability.h"
|
||||||
#include "llvm/Support/Debug.h"
|
#include "llvm/Support/Debug.h"
|
||||||
|
@ -16,9 +16,9 @@
|
|||||||
#define LLVM_ANALYSIS_CFGPRINTER_H
|
#define LLVM_ANALYSIS_CFGPRINTER_H
|
||||||
|
|
||||||
#include "llvm/Assembly/Writer.h"
|
#include "llvm/Assembly/Writer.h"
|
||||||
#include "llvm/Constants.h"
|
#include "llvm/IR/Constants.h"
|
||||||
#include "llvm/Function.h"
|
#include "llvm/IR/Function.h"
|
||||||
#include "llvm/Instructions.h"
|
#include "llvm/IR/Instructions.h"
|
||||||
#include "llvm/Support/CFG.h"
|
#include "llvm/Support/CFG.h"
|
||||||
#include "llvm/Support/GraphWriter.h"
|
#include "llvm/Support/GraphWriter.h"
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
#include "llvm/ADT/GraphTraits.h"
|
#include "llvm/ADT/GraphTraits.h"
|
||||||
#include "llvm/ADT/STLExtras.h"
|
#include "llvm/ADT/STLExtras.h"
|
||||||
#include "llvm/Function.h"
|
#include "llvm/IR/Function.h"
|
||||||
#include "llvm/Pass.h"
|
#include "llvm/Pass.h"
|
||||||
#include "llvm/Support/CallSite.h"
|
#include "llvm/Support/CallSite.h"
|
||||||
#include "llvm/Support/IncludeFile.h"
|
#include "llvm/Support/IncludeFile.h"
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
#define LLVM_ANALYSIS_CAPTURETRACKING_H
|
#define LLVM_ANALYSIS_CAPTURETRACKING_H
|
||||||
|
|
||||||
#include "llvm/Analysis/AliasAnalysis.h"
|
#include "llvm/Analysis/AliasAnalysis.h"
|
||||||
#include "llvm/Constants.h"
|
#include "llvm/IR/Constants.h"
|
||||||
#include "llvm/Instructions.h"
|
#include "llvm/IR/Instructions.h"
|
||||||
#include "llvm/Support/CallSite.h"
|
#include "llvm/Support/CallSite.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#define LLVM_ANALYSIS_DEPENDENCEANALYSIS_H
|
#define LLVM_ANALYSIS_DEPENDENCEANALYSIS_H
|
||||||
|
|
||||||
#include "llvm/ADT/SmallBitVector.h"
|
#include "llvm/ADT/SmallBitVector.h"
|
||||||
#include "llvm/Instructions.h"
|
#include "llvm/IR/Instructions.h"
|
||||||
#include "llvm/Pass.h"
|
#include "llvm/Pass.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#include "llvm/ADT/GraphTraits.h"
|
#include "llvm/ADT/GraphTraits.h"
|
||||||
#include "llvm/ADT/SmallPtrSet.h"
|
#include "llvm/ADT/SmallPtrSet.h"
|
||||||
#include "llvm/ADT/SmallVector.h"
|
#include "llvm/ADT/SmallVector.h"
|
||||||
#include "llvm/Function.h"
|
#include "llvm/IR/Function.h"
|
||||||
#include "llvm/Pass.h"
|
#include "llvm/Pass.h"
|
||||||
#include "llvm/Support/CFG.h"
|
#include "llvm/Support/CFG.h"
|
||||||
#include "llvm/Support/Compiler.h"
|
#include "llvm/Support/Compiler.h"
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#include "llvm/ADT/SmallPtrSet.h"
|
#include "llvm/ADT/SmallPtrSet.h"
|
||||||
#include "llvm/ADT/ValueMap.h"
|
#include "llvm/ADT/ValueMap.h"
|
||||||
#include "llvm/Analysis/CodeMetrics.h"
|
#include "llvm/Analysis/CodeMetrics.h"
|
||||||
#include "llvm/Function.h"
|
#include "llvm/IR/Function.h"
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <climits>
|
#include <climits>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#ifndef LLVM_ANALYSIS_INSTRUCTIONSIMPLIFY_H
|
#ifndef LLVM_ANALYSIS_INSTRUCTIONSIMPLIFY_H
|
||||||
#define LLVM_ANALYSIS_INSTRUCTIONSIMPLIFY_H
|
#define LLVM_ANALYSIS_INSTRUCTIONSIMPLIFY_H
|
||||||
|
|
||||||
#include "llvm/User.h"
|
#include "llvm/IR/User.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
template<typename T>
|
template<typename T>
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define LLVM_INTERVAL_ITERATOR_H
|
#define LLVM_INTERVAL_ITERATOR_H
|
||||||
|
|
||||||
#include "llvm/Analysis/IntervalPartition.h"
|
#include "llvm/Analysis/IntervalPartition.h"
|
||||||
#include "llvm/Function.h"
|
#include "llvm/IR/Function.h"
|
||||||
#include "llvm/Support/CFG.h"
|
#include "llvm/Support/CFG.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <set>
|
#include <set>
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#ifndef LLVM_ANALYSIS_LOADS_H
|
#ifndef LLVM_ANALYSIS_LOADS_H
|
||||||
#define LLVM_ANALYSIS_LOADS_H
|
#define LLVM_ANALYSIS_LOADS_H
|
||||||
|
|
||||||
#include "llvm/BasicBlock.h"
|
#include "llvm/IR/BasicBlock.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#define LLVM_LOOP_PASS_H
|
#define LLVM_LOOP_PASS_H
|
||||||
|
|
||||||
#include "llvm/Analysis/LoopInfo.h"
|
#include "llvm/Analysis/LoopInfo.h"
|
||||||
#include "llvm/Function.h"
|
#include "llvm/IR/Function.h"
|
||||||
#include "llvm/Pass.h"
|
#include "llvm/Pass.h"
|
||||||
#include "llvm/PassManagers.h"
|
#include "llvm/PassManagers.h"
|
||||||
#include <deque>
|
#include <deque>
|
||||||
|
@ -17,9 +17,9 @@
|
|||||||
|
|
||||||
#include "llvm/ADT/DenseMap.h"
|
#include "llvm/ADT/DenseMap.h"
|
||||||
#include "llvm/ADT/SmallPtrSet.h"
|
#include "llvm/ADT/SmallPtrSet.h"
|
||||||
#include "llvm/IRBuilder.h"
|
#include "llvm/IR/IRBuilder.h"
|
||||||
|
#include "llvm/IR/Operator.h"
|
||||||
#include "llvm/InstVisitor.h"
|
#include "llvm/InstVisitor.h"
|
||||||
#include "llvm/Operator.h"
|
|
||||||
#include "llvm/Support/DataTypes.h"
|
#include "llvm/Support/DataTypes.h"
|
||||||
#include "llvm/Support/TargetFolder.h"
|
#include "llvm/Support/TargetFolder.h"
|
||||||
#include "llvm/Support/ValueHandle.h"
|
#include "llvm/Support/ValueHandle.h"
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#include "llvm/ADT/PointerIntPair.h"
|
#include "llvm/ADT/PointerIntPair.h"
|
||||||
#include "llvm/ADT/SmallPtrSet.h"
|
#include "llvm/ADT/SmallPtrSet.h"
|
||||||
#include "llvm/Analysis/AliasAnalysis.h"
|
#include "llvm/Analysis/AliasAnalysis.h"
|
||||||
#include "llvm/BasicBlock.h"
|
#include "llvm/IR/BasicBlock.h"
|
||||||
#include "llvm/Pass.h"
|
#include "llvm/Pass.h"
|
||||||
#include "llvm/Support/ValueHandle.h"
|
#include "llvm/Support/ValueHandle.h"
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#define LLVM_ANALYSIS_PHITRANSADDR_H
|
#define LLVM_ANALYSIS_PHITRANSADDR_H
|
||||||
|
|
||||||
#include "llvm/ADT/SmallVector.h"
|
#include "llvm/ADT/SmallVector.h"
|
||||||
#include "llvm/Instruction.h"
|
#include "llvm/IR/Instruction.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
class DominatorTree;
|
class DominatorTree;
|
||||||
|
@ -27,8 +27,8 @@
|
|||||||
#define LLVM_PATH_NUMBERING_H
|
#define LLVM_PATH_NUMBERING_H
|
||||||
|
|
||||||
#include "llvm/Analysis/ProfileInfoTypes.h"
|
#include "llvm/Analysis/ProfileInfoTypes.h"
|
||||||
#include "llvm/BasicBlock.h"
|
#include "llvm/IR/BasicBlock.h"
|
||||||
#include "llvm/Instructions.h"
|
#include "llvm/IR/Instructions.h"
|
||||||
#include "llvm/Pass.h"
|
#include "llvm/Pass.h"
|
||||||
#include "llvm/Support/CFG.h"
|
#include "llvm/Support/CFG.h"
|
||||||
#include <map>
|
#include <map>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#define LLVM_PATHPROFILEINFO_H
|
#define LLVM_PATHPROFILEINFO_H
|
||||||
|
|
||||||
#include "llvm/Analysis/PathNumbering.h"
|
#include "llvm/Analysis/PathNumbering.h"
|
||||||
#include "llvm/BasicBlock.h"
|
#include "llvm/IR/BasicBlock.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
|
@ -25,9 +25,9 @@
|
|||||||
#include "llvm/ADT/APInt.h"
|
#include "llvm/ADT/APInt.h"
|
||||||
#include "llvm/ADT/SmallPtrSet.h"
|
#include "llvm/ADT/SmallPtrSet.h"
|
||||||
#include "llvm/ADT/SmallVector.h"
|
#include "llvm/ADT/SmallVector.h"
|
||||||
#include "llvm/DataLayout.h"
|
#include "llvm/IR/DataLayout.h"
|
||||||
|
#include "llvm/IR/IntrinsicInst.h"
|
||||||
#include "llvm/InstVisitor.h"
|
#include "llvm/InstVisitor.h"
|
||||||
#include "llvm/IntrinsicInst.h"
|
|
||||||
#include "llvm/Support/Compiler.h"
|
#include "llvm/Support/Compiler.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
#define LLVM_REGION_PASS_H
|
#define LLVM_REGION_PASS_H
|
||||||
|
|
||||||
#include "llvm/Analysis/RegionInfo.h"
|
#include "llvm/Analysis/RegionInfo.h"
|
||||||
#include "llvm/Function.h"
|
#include "llvm/IR/Function.h"
|
||||||
#include "llvm/Pass.h"
|
#include "llvm/Pass.h"
|
||||||
#include "llvm/PassManagers.h"
|
#include "llvm/PassManagers.h"
|
||||||
#include <deque>
|
#include <deque>
|
||||||
|
@ -23,9 +23,9 @@
|
|||||||
|
|
||||||
#include "llvm/ADT/DenseSet.h"
|
#include "llvm/ADT/DenseSet.h"
|
||||||
#include "llvm/ADT/FoldingSet.h"
|
#include "llvm/ADT/FoldingSet.h"
|
||||||
#include "llvm/Function.h"
|
#include "llvm/IR/Function.h"
|
||||||
#include "llvm/Instructions.h"
|
#include "llvm/IR/Instructions.h"
|
||||||
#include "llvm/Operator.h"
|
#include "llvm/IR/Operator.h"
|
||||||
#include "llvm/Pass.h"
|
#include "llvm/Pass.h"
|
||||||
#include "llvm/Support/Allocator.h"
|
#include "llvm/Support/Allocator.h"
|
||||||
#include "llvm/Support/ConstantRange.h"
|
#include "llvm/Support/ConstantRange.h"
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
#include "llvm/Analysis/ScalarEvolutionExpressions.h"
|
#include "llvm/Analysis/ScalarEvolutionExpressions.h"
|
||||||
#include "llvm/Analysis/ScalarEvolutionNormalization.h"
|
#include "llvm/Analysis/ScalarEvolutionNormalization.h"
|
||||||
#include "llvm/IRBuilder.h"
|
#include "llvm/IR/IRBuilder.h"
|
||||||
#include "llvm/Support/TargetFolder.h"
|
#include "llvm/Support/TargetFolder.h"
|
||||||
#include "llvm/Support/ValueHandle.h"
|
#include "llvm/Support/ValueHandle.h"
|
||||||
#include <set>
|
#include <set>
|
||||||
|
@ -1,10 +1,4 @@
|
|||||||
set(LLVM_TARGET_DEFINITIONS Intrinsics.td)
|
add_subdirectory(IR)
|
||||||
|
|
||||||
tablegen(LLVM Intrinsics.gen -gen-intrinsic)
|
|
||||||
|
|
||||||
add_custom_target(intrinsics_gen ALL
|
|
||||||
DEPENDS ${llvm_builded_incs_dir}/Intrinsics.gen)
|
|
||||||
set_target_properties(intrinsics_gen PROPERTIES FOLDER "Tablegenning")
|
|
||||||
|
|
||||||
if( MSVC_IDE OR XCODE )
|
if( MSVC_IDE OR XCODE )
|
||||||
# Creates a dummy target containing all headers for the benefit of
|
# Creates a dummy target containing all headers for the benefit of
|
||||||
|
@ -18,8 +18,8 @@
|
|||||||
#include "llvm/ADT/SmallVector.h"
|
#include "llvm/ADT/SmallVector.h"
|
||||||
#include "llvm/CodeGen/ISDOpcodes.h"
|
#include "llvm/CodeGen/ISDOpcodes.h"
|
||||||
#include "llvm/CodeGen/ValueTypes.h"
|
#include "llvm/CodeGen/ValueTypes.h"
|
||||||
#include "llvm/InlineAsm.h"
|
#include "llvm/IR/InlineAsm.h"
|
||||||
#include "llvm/Instructions.h"
|
#include "llvm/IR/Instructions.h"
|
||||||
#include "llvm/Support/CallSite.h"
|
#include "llvm/Support/CallSite.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
#define LLVM_CODEGEN_ASMPRINTER_H
|
#define LLVM_CODEGEN_ASMPRINTER_H
|
||||||
|
|
||||||
#include "llvm/CodeGen/MachineFunctionPass.h"
|
#include "llvm/CodeGen/MachineFunctionPass.h"
|
||||||
#include "llvm/InlineAsm.h"
|
#include "llvm/IR/InlineAsm.h"
|
||||||
#include "llvm/Support/DataTypes.h"
|
#include "llvm/Support/DataTypes.h"
|
||||||
#include "llvm/Support/ErrorHandling.h"
|
#include "llvm/Support/ErrorHandling.h"
|
||||||
|
|
||||||
|
@ -16,10 +16,10 @@
|
|||||||
#define LLVM_CODEGEN_CALLINGCONVLOWER_H
|
#define LLVM_CODEGEN_CALLINGCONVLOWER_H
|
||||||
|
|
||||||
#include "llvm/ADT/SmallVector.h"
|
#include "llvm/ADT/SmallVector.h"
|
||||||
#include "llvm/CallingConv.h"
|
|
||||||
#include "llvm/CodeGen/MachineFrameInfo.h"
|
#include "llvm/CodeGen/MachineFrameInfo.h"
|
||||||
#include "llvm/CodeGen/MachineFunction.h"
|
#include "llvm/CodeGen/MachineFunction.h"
|
||||||
#include "llvm/CodeGen/ValueTypes.h"
|
#include "llvm/CodeGen/ValueTypes.h"
|
||||||
|
#include "llvm/IR/CallingConv.h"
|
||||||
#include "llvm/Target/TargetCallingConv.h"
|
#include "llvm/Target/TargetCallingConv.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
#include "llvm/CodeGen/ISDOpcodes.h"
|
#include "llvm/CodeGen/ISDOpcodes.h"
|
||||||
#include "llvm/CodeGen/MachineBasicBlock.h"
|
#include "llvm/CodeGen/MachineBasicBlock.h"
|
||||||
#include "llvm/CodeGen/ValueTypes.h"
|
#include "llvm/CodeGen/ValueTypes.h"
|
||||||
#include "llvm/InlineAsm.h"
|
#include "llvm/IR/InlineAsm.h"
|
||||||
#include "llvm/Instructions.h"
|
#include "llvm/IR/Instructions.h"
|
||||||
#include "llvm/Support/CallSite.h"
|
#include "llvm/Support/CallSite.h"
|
||||||
#include "llvm/Target/TargetRegisterInfo.h"
|
#include "llvm/Target/TargetRegisterInfo.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#ifndef LLVM_CODEGEN_INTRINSICLOWERING_H
|
#ifndef LLVM_CODEGEN_INTRINSICLOWERING_H
|
||||||
#define LLVM_CODEGEN_INTRINSICLOWERING_H
|
#define LLVM_CODEGEN_INTRINSICLOWERING_H
|
||||||
|
|
||||||
#include "llvm/Intrinsics.h"
|
#include "llvm/IR/Intrinsics.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
class CallInst;
|
class CallInst;
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#include "llvm/ADT/DenseMap.h"
|
#include "llvm/ADT/DenseMap.h"
|
||||||
#include "llvm/ADT/SmallPtrSet.h"
|
#include "llvm/ADT/SmallPtrSet.h"
|
||||||
#include "llvm/ADT/SmallVector.h"
|
#include "llvm/ADT/SmallVector.h"
|
||||||
#include "llvm/Metadata.h"
|
#include "llvm/IR/Metadata.h"
|
||||||
#include "llvm/Support/DebugLoc.h"
|
#include "llvm/Support/DebugLoc.h"
|
||||||
#include "llvm/Support/ValueHandle.h"
|
#include "llvm/Support/ValueHandle.h"
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "llvm/ADT/ilist.h"
|
#include "llvm/ADT/ilist.h"
|
||||||
#include "llvm/ADT/ilist_node.h"
|
#include "llvm/ADT/ilist_node.h"
|
||||||
#include "llvm/CodeGen/MachineOperand.h"
|
#include "llvm/CodeGen/MachineOperand.h"
|
||||||
#include "llvm/InlineAsm.h"
|
#include "llvm/IR/InlineAsm.h"
|
||||||
#include "llvm/MC/MCInstrDesc.h"
|
#include "llvm/MC/MCInstrDesc.h"
|
||||||
#include "llvm/Support/DebugLoc.h"
|
#include "llvm/Support/DebugLoc.h"
|
||||||
#include "llvm/Target/TargetOpcodes.h"
|
#include "llvm/Target/TargetOpcodes.h"
|
||||||
|
@ -35,10 +35,10 @@
|
|||||||
#include "llvm/ADT/PointerIntPair.h"
|
#include "llvm/ADT/PointerIntPair.h"
|
||||||
#include "llvm/ADT/SmallPtrSet.h"
|
#include "llvm/ADT/SmallPtrSet.h"
|
||||||
#include "llvm/ADT/SmallVector.h"
|
#include "llvm/ADT/SmallVector.h"
|
||||||
#include "llvm/GlobalValue.h"
|
#include "llvm/IR/GlobalValue.h"
|
||||||
|
#include "llvm/IR/Metadata.h"
|
||||||
#include "llvm/MC/MCContext.h"
|
#include "llvm/MC/MCContext.h"
|
||||||
#include "llvm/MC/MachineLocation.h"
|
#include "llvm/MC/MachineLocation.h"
|
||||||
#include "llvm/Metadata.h"
|
|
||||||
#include "llvm/Pass.h"
|
#include "llvm/Pass.h"
|
||||||
#include "llvm/Support/DataTypes.h"
|
#include "llvm/Support/DataTypes.h"
|
||||||
#include "llvm/Support/DebugLoc.h"
|
#include "llvm/Support/DebugLoc.h"
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#ifndef LLVM_CODEGEN_PSEUDOSOURCEVALUE_H
|
#ifndef LLVM_CODEGEN_PSEUDOSOURCEVALUE_H
|
||||||
#define LLVM_CODEGEN_PSEUDOSOURCEVALUE_H
|
#define LLVM_CODEGEN_PSEUDOSOURCEVALUE_H
|
||||||
|
|
||||||
#include "llvm/Value.h"
|
#include "llvm/IR/Value.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
class MachineFrameInfo;
|
class MachineFrameInfo;
|
||||||
|
@ -15,9 +15,9 @@
|
|||||||
#ifndef LLVM_CODEGEN_SELECTIONDAG_ISEL_H
|
#ifndef LLVM_CODEGEN_SELECTIONDAG_ISEL_H
|
||||||
#define LLVM_CODEGEN_SELECTIONDAG_ISEL_H
|
#define LLVM_CODEGEN_SELECTIONDAG_ISEL_H
|
||||||
|
|
||||||
#include "llvm/BasicBlock.h"
|
|
||||||
#include "llvm/CodeGen/MachineFunctionPass.h"
|
#include "llvm/CodeGen/MachineFunctionPass.h"
|
||||||
#include "llvm/CodeGen/SelectionDAG.h"
|
#include "llvm/CodeGen/SelectionDAG.h"
|
||||||
|
#include "llvm/IR/BasicBlock.h"
|
||||||
#include "llvm/Pass.h"
|
#include "llvm/Pass.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
@ -28,8 +28,8 @@
|
|||||||
#include "llvm/CodeGen/ISDOpcodes.h"
|
#include "llvm/CodeGen/ISDOpcodes.h"
|
||||||
#include "llvm/CodeGen/MachineMemOperand.h"
|
#include "llvm/CodeGen/MachineMemOperand.h"
|
||||||
#include "llvm/CodeGen/ValueTypes.h"
|
#include "llvm/CodeGen/ValueTypes.h"
|
||||||
#include "llvm/Constants.h"
|
#include "llvm/IR/Constants.h"
|
||||||
#include "llvm/Instructions.h"
|
#include "llvm/IR/Instructions.h"
|
||||||
#include "llvm/Support/DataTypes.h"
|
#include "llvm/Support/DataTypes.h"
|
||||||
#include "llvm/Support/DebugLoc.h"
|
#include "llvm/Support/DebugLoc.h"
|
||||||
#include "llvm/Support/MathExtras.h"
|
#include "llvm/Support/MathExtras.h"
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
|
|
||||||
#include "llvm/ADT/Twine.h"
|
#include "llvm/ADT/Twine.h"
|
||||||
#include "llvm/ADT/ilist_node.h"
|
#include "llvm/ADT/ilist_node.h"
|
||||||
#include "llvm/Attributes.h"
|
#include "llvm/IR/Attributes.h"
|
||||||
#include "llvm/Value.h"
|
#include "llvm/IR/Value.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
@ -16,9 +16,9 @@
|
|||||||
|
|
||||||
#include "llvm/ADT/Twine.h"
|
#include "llvm/ADT/Twine.h"
|
||||||
#include "llvm/ADT/ilist.h"
|
#include "llvm/ADT/ilist.h"
|
||||||
#include "llvm/Instruction.h"
|
#include "llvm/IR/Instruction.h"
|
||||||
|
#include "llvm/IR/SymbolTableListTraits.h"
|
||||||
#include "llvm/Support/DataTypes.h"
|
#include "llvm/Support/DataTypes.h"
|
||||||
#include "llvm/SymbolTableListTraits.h"
|
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
7
include/llvm/IR/CMakeLists.txt
Normal file
7
include/llvm/IR/CMakeLists.txt
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
set(LLVM_TARGET_DEFINITIONS Intrinsics.td)
|
||||||
|
|
||||||
|
tablegen(LLVM Intrinsics.gen -gen-intrinsic)
|
||||||
|
|
||||||
|
add_custom_target(intrinsics_gen ALL
|
||||||
|
DEPENDS ${llvm_builded_incs_dir}/Intrinsics.gen)
|
||||||
|
set_target_properties(intrinsics_gen PROPERTIES FOLDER "Tablegenning")
|
@ -14,7 +14,7 @@
|
|||||||
#ifndef LLVM_CONSTANT_H
|
#ifndef LLVM_CONSTANT_H
|
||||||
#define LLVM_CONSTANT_H
|
#define LLVM_CONSTANT_H
|
||||||
|
|
||||||
#include "llvm/User.h"
|
#include "llvm/IR/User.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
class APInt;
|
class APInt;
|
@ -24,8 +24,8 @@
|
|||||||
#include "llvm/ADT/APFloat.h"
|
#include "llvm/ADT/APFloat.h"
|
||||||
#include "llvm/ADT/APInt.h"
|
#include "llvm/ADT/APInt.h"
|
||||||
#include "llvm/ADT/ArrayRef.h"
|
#include "llvm/ADT/ArrayRef.h"
|
||||||
#include "llvm/Constant.h"
|
#include "llvm/IR/Constant.h"
|
||||||
#include "llvm/OperandTraits.h"
|
#include "llvm/IR/OperandTraits.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
@ -18,9 +18,9 @@
|
|||||||
#ifndef LLVM_DERIVED_TYPES_H
|
#ifndef LLVM_DERIVED_TYPES_H
|
||||||
#define LLVM_DERIVED_TYPES_H
|
#define LLVM_DERIVED_TYPES_H
|
||||||
|
|
||||||
|
#include "llvm/IR/Type.h"
|
||||||
#include "llvm/Support/Compiler.h"
|
#include "llvm/Support/Compiler.h"
|
||||||
#include "llvm/Support/DataTypes.h"
|
#include "llvm/Support/DataTypes.h"
|
||||||
#include "llvm/Type.h"
|
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
@ -18,11 +18,11 @@
|
|||||||
#ifndef LLVM_FUNCTION_H
|
#ifndef LLVM_FUNCTION_H
|
||||||
#define LLVM_FUNCTION_H
|
#define LLVM_FUNCTION_H
|
||||||
|
|
||||||
#include "llvm/Argument.h"
|
#include "llvm/IR/Argument.h"
|
||||||
#include "llvm/Attributes.h"
|
#include "llvm/IR/Attributes.h"
|
||||||
#include "llvm/BasicBlock.h"
|
#include "llvm/IR/BasicBlock.h"
|
||||||
#include "llvm/CallingConv.h"
|
#include "llvm/IR/CallingConv.h"
|
||||||
#include "llvm/GlobalValue.h"
|
#include "llvm/IR/GlobalValue.h"
|
||||||
#include "llvm/Support/Compiler.h"
|
#include "llvm/Support/Compiler.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
@ -17,8 +17,8 @@
|
|||||||
|
|
||||||
#include "llvm/ADT/Twine.h"
|
#include "llvm/ADT/Twine.h"
|
||||||
#include "llvm/ADT/ilist_node.h"
|
#include "llvm/ADT/ilist_node.h"
|
||||||
#include "llvm/GlobalValue.h"
|
#include "llvm/IR/GlobalValue.h"
|
||||||
#include "llvm/OperandTraits.h"
|
#include "llvm/IR/OperandTraits.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef LLVM_GLOBALVALUE_H
|
#ifndef LLVM_GLOBALVALUE_H
|
||||||
#define LLVM_GLOBALVALUE_H
|
#define LLVM_GLOBALVALUE_H
|
||||||
|
|
||||||
#include "llvm/Constant.h"
|
#include "llvm/IR/Constant.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
@ -22,8 +22,8 @@
|
|||||||
|
|
||||||
#include "llvm/ADT/Twine.h"
|
#include "llvm/ADT/Twine.h"
|
||||||
#include "llvm/ADT/ilist_node.h"
|
#include "llvm/ADT/ilist_node.h"
|
||||||
#include "llvm/GlobalValue.h"
|
#include "llvm/IR/GlobalValue.h"
|
||||||
#include "llvm/OperandTraits.h"
|
#include "llvm/IR/OperandTraits.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
@ -18,11 +18,11 @@
|
|||||||
#include "llvm/ADT/ArrayRef.h"
|
#include "llvm/ADT/ArrayRef.h"
|
||||||
#include "llvm/ADT/StringRef.h"
|
#include "llvm/ADT/StringRef.h"
|
||||||
#include "llvm/ADT/Twine.h"
|
#include "llvm/ADT/Twine.h"
|
||||||
#include "llvm/BasicBlock.h"
|
#include "llvm/IR/BasicBlock.h"
|
||||||
#include "llvm/DataLayout.h"
|
#include "llvm/IR/DataLayout.h"
|
||||||
#include "llvm/Instructions.h"
|
#include "llvm/IR/Instructions.h"
|
||||||
#include "llvm/LLVMContext.h"
|
#include "llvm/IR/LLVMContext.h"
|
||||||
#include "llvm/Operator.h"
|
#include "llvm/IR/Operator.h"
|
||||||
#include "llvm/Support/ConstantFolder.h"
|
#include "llvm/Support/ConstantFolder.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
@ -17,7 +17,7 @@
|
|||||||
#define LLVM_INLINEASM_H
|
#define LLVM_INLINEASM_H
|
||||||
|
|
||||||
#include "llvm/ADT/StringRef.h"
|
#include "llvm/ADT/StringRef.h"
|
||||||
#include "llvm/Value.h"
|
#include "llvm/IR/Value.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
@ -17,9 +17,9 @@
|
|||||||
#define LLVM_INSTRUCTION_TYPES_H
|
#define LLVM_INSTRUCTION_TYPES_H
|
||||||
|
|
||||||
#include "llvm/ADT/Twine.h"
|
#include "llvm/ADT/Twine.h"
|
||||||
#include "llvm/DerivedTypes.h"
|
#include "llvm/IR/DerivedTypes.h"
|
||||||
#include "llvm/Instruction.h"
|
#include "llvm/IR/Instruction.h"
|
||||||
#include "llvm/OperandTraits.h"
|
#include "llvm/IR/OperandTraits.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
@ -177,19 +177,19 @@ public:
|
|||||||
const Twine &Name = "") {\
|
const Twine &Name = "") {\
|
||||||
return Create(Instruction::OPC, V1, V2, Name);\
|
return Create(Instruction::OPC, V1, V2, Name);\
|
||||||
}
|
}
|
||||||
#include "llvm/Instruction.def"
|
#include "llvm/IR/Instruction.def"
|
||||||
#define HANDLE_BINARY_INST(N, OPC, CLASS) \
|
#define HANDLE_BINARY_INST(N, OPC, CLASS) \
|
||||||
static BinaryOperator *Create##OPC(Value *V1, Value *V2, \
|
static BinaryOperator *Create##OPC(Value *V1, Value *V2, \
|
||||||
const Twine &Name, BasicBlock *BB) {\
|
const Twine &Name, BasicBlock *BB) {\
|
||||||
return Create(Instruction::OPC, V1, V2, Name, BB);\
|
return Create(Instruction::OPC, V1, V2, Name, BB);\
|
||||||
}
|
}
|
||||||
#include "llvm/Instruction.def"
|
#include "llvm/IR/Instruction.def"
|
||||||
#define HANDLE_BINARY_INST(N, OPC, CLASS) \
|
#define HANDLE_BINARY_INST(N, OPC, CLASS) \
|
||||||
static BinaryOperator *Create##OPC(Value *V1, Value *V2, \
|
static BinaryOperator *Create##OPC(Value *V1, Value *V2, \
|
||||||
const Twine &Name, Instruction *I) {\
|
const Twine &Name, Instruction *I) {\
|
||||||
return Create(Instruction::OPC, V1, V2, Name, I);\
|
return Create(Instruction::OPC, V1, V2, Name, I);\
|
||||||
}
|
}
|
||||||
#include "llvm/Instruction.def"
|
#include "llvm/IR/Instruction.def"
|
||||||
|
|
||||||
static BinaryOperator *CreateNSW(BinaryOps Opc, Value *V1, Value *V2,
|
static BinaryOperator *CreateNSW(BinaryOps Opc, Value *V1, Value *V2,
|
||||||
const Twine &Name = "") {
|
const Twine &Name = "") {
|
@ -16,8 +16,8 @@
|
|||||||
#define LLVM_INSTRUCTION_H
|
#define LLVM_INSTRUCTION_H
|
||||||
|
|
||||||
#include "llvm/ADT/ilist_node.h"
|
#include "llvm/ADT/ilist_node.h"
|
||||||
|
#include "llvm/IR/User.h"
|
||||||
#include "llvm/Support/DebugLoc.h"
|
#include "llvm/Support/DebugLoc.h"
|
||||||
#include "llvm/User.h"
|
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
@ -375,35 +375,35 @@ public:
|
|||||||
#define FIRST_TERM_INST(N) TermOpsBegin = N,
|
#define FIRST_TERM_INST(N) TermOpsBegin = N,
|
||||||
#define HANDLE_TERM_INST(N, OPC, CLASS) OPC = N,
|
#define HANDLE_TERM_INST(N, OPC, CLASS) OPC = N,
|
||||||
#define LAST_TERM_INST(N) TermOpsEnd = N+1
|
#define LAST_TERM_INST(N) TermOpsEnd = N+1
|
||||||
#include "llvm/Instruction.def"
|
#include "llvm/IR/Instruction.def"
|
||||||
};
|
};
|
||||||
|
|
||||||
enum BinaryOps {
|
enum BinaryOps {
|
||||||
#define FIRST_BINARY_INST(N) BinaryOpsBegin = N,
|
#define FIRST_BINARY_INST(N) BinaryOpsBegin = N,
|
||||||
#define HANDLE_BINARY_INST(N, OPC, CLASS) OPC = N,
|
#define HANDLE_BINARY_INST(N, OPC, CLASS) OPC = N,
|
||||||
#define LAST_BINARY_INST(N) BinaryOpsEnd = N+1
|
#define LAST_BINARY_INST(N) BinaryOpsEnd = N+1
|
||||||
#include "llvm/Instruction.def"
|
#include "llvm/IR/Instruction.def"
|
||||||
};
|
};
|
||||||
|
|
||||||
enum MemoryOps {
|
enum MemoryOps {
|
||||||
#define FIRST_MEMORY_INST(N) MemoryOpsBegin = N,
|
#define FIRST_MEMORY_INST(N) MemoryOpsBegin = N,
|
||||||
#define HANDLE_MEMORY_INST(N, OPC, CLASS) OPC = N,
|
#define HANDLE_MEMORY_INST(N, OPC, CLASS) OPC = N,
|
||||||
#define LAST_MEMORY_INST(N) MemoryOpsEnd = N+1
|
#define LAST_MEMORY_INST(N) MemoryOpsEnd = N+1
|
||||||
#include "llvm/Instruction.def"
|
#include "llvm/IR/Instruction.def"
|
||||||
};
|
};
|
||||||
|
|
||||||
enum CastOps {
|
enum CastOps {
|
||||||
#define FIRST_CAST_INST(N) CastOpsBegin = N,
|
#define FIRST_CAST_INST(N) CastOpsBegin = N,
|
||||||
#define HANDLE_CAST_INST(N, OPC, CLASS) OPC = N,
|
#define HANDLE_CAST_INST(N, OPC, CLASS) OPC = N,
|
||||||
#define LAST_CAST_INST(N) CastOpsEnd = N+1
|
#define LAST_CAST_INST(N) CastOpsEnd = N+1
|
||||||
#include "llvm/Instruction.def"
|
#include "llvm/IR/Instruction.def"
|
||||||
};
|
};
|
||||||
|
|
||||||
enum OtherOps {
|
enum OtherOps {
|
||||||
#define FIRST_OTHER_INST(N) OtherOpsBegin = N,
|
#define FIRST_OTHER_INST(N) OtherOpsBegin = N,
|
||||||
#define HANDLE_OTHER_INST(N, OPC, CLASS) OPC = N,
|
#define HANDLE_OTHER_INST(N, OPC, CLASS) OPC = N,
|
||||||
#define LAST_OTHER_INST(N) OtherOpsEnd = N+1
|
#define LAST_OTHER_INST(N) OtherOpsEnd = N+1
|
||||||
#include "llvm/Instruction.def"
|
#include "llvm/IR/Instruction.def"
|
||||||
};
|
};
|
||||||
private:
|
private:
|
||||||
// Shadow Value::setValueSubclassData with a private forwarding method so that
|
// Shadow Value::setValueSubclassData with a private forwarding method so that
|
@ -18,10 +18,10 @@
|
|||||||
|
|
||||||
#include "llvm/ADT/ArrayRef.h"
|
#include "llvm/ADT/ArrayRef.h"
|
||||||
#include "llvm/ADT/SmallVector.h"
|
#include "llvm/ADT/SmallVector.h"
|
||||||
#include "llvm/Attributes.h"
|
#include "llvm/IR/Attributes.h"
|
||||||
#include "llvm/CallingConv.h"
|
#include "llvm/IR/CallingConv.h"
|
||||||
#include "llvm/DerivedTypes.h"
|
#include "llvm/IR/DerivedTypes.h"
|
||||||
#include "llvm/InstrTypes.h"
|
#include "llvm/IR/InstrTypes.h"
|
||||||
#include "llvm/Support/ErrorHandling.h"
|
#include "llvm/Support/ErrorHandling.h"
|
||||||
#include "llvm/Support/IntegersSubset.h"
|
#include "llvm/Support/IntegersSubset.h"
|
||||||
#include "llvm/Support/IntegersSubsetMapping.h"
|
#include "llvm/Support/IntegersSubsetMapping.h"
|
@ -24,10 +24,10 @@
|
|||||||
#ifndef LLVM_INTRINSICINST_H
|
#ifndef LLVM_INTRINSICINST_H
|
||||||
#define LLVM_INTRINSICINST_H
|
#define LLVM_INTRINSICINST_H
|
||||||
|
|
||||||
#include "llvm/Constants.h"
|
#include "llvm/IR/Constants.h"
|
||||||
#include "llvm/Function.h"
|
#include "llvm/IR/Function.h"
|
||||||
#include "llvm/Instructions.h"
|
#include "llvm/IR/Instructions.h"
|
||||||
#include "llvm/Intrinsics.h"
|
#include "llvm/IR/Intrinsics.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
/// IntrinsicInst - A useful wrapper class for inspecting calls to intrinsic
|
/// IntrinsicInst - A useful wrapper class for inspecting calls to intrinsic
|
@ -473,11 +473,11 @@ def int_convertuu : Intrinsic<[llvm_anyint_ty],
|
|||||||
// Target-specific intrinsics
|
// Target-specific intrinsics
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
include "llvm/IntrinsicsPowerPC.td"
|
include "llvm/IR/IntrinsicsPowerPC.td"
|
||||||
include "llvm/IntrinsicsX86.td"
|
include "llvm/IR/IntrinsicsX86.td"
|
||||||
include "llvm/IntrinsicsARM.td"
|
include "llvm/IR/IntrinsicsARM.td"
|
||||||
include "llvm/IntrinsicsXCore.td"
|
include "llvm/IR/IntrinsicsXCore.td"
|
||||||
include "llvm/IntrinsicsHexagon.td"
|
include "llvm/IR/IntrinsicsHexagon.td"
|
||||||
include "llvm/IntrinsicsNVVM.td"
|
include "llvm/IR/IntrinsicsNVVM.td"
|
||||||
include "llvm/IntrinsicsMips.td"
|
include "llvm/IR/IntrinsicsMips.td"
|
||||||
include "llvm/IntrinsicsR600.td"
|
include "llvm/IR/IntrinsicsR600.td"
|
@ -16,10 +16,10 @@
|
|||||||
#define LLVM_MDBUILDER_H
|
#define LLVM_MDBUILDER_H
|
||||||
|
|
||||||
#include "llvm/ADT/APInt.h"
|
#include "llvm/ADT/APInt.h"
|
||||||
#include "llvm/Constants.h"
|
#include "llvm/IR/Constants.h"
|
||||||
#include "llvm/DerivedTypes.h"
|
#include "llvm/IR/DerivedTypes.h"
|
||||||
#include "llvm/LLVMContext.h"
|
#include "llvm/IR/LLVMContext.h"
|
||||||
#include "llvm/Metadata.h"
|
#include "llvm/IR/Metadata.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
@ -19,7 +19,7 @@
|
|||||||
#include "llvm/ADT/ArrayRef.h"
|
#include "llvm/ADT/ArrayRef.h"
|
||||||
#include "llvm/ADT/FoldingSet.h"
|
#include "llvm/ADT/FoldingSet.h"
|
||||||
#include "llvm/ADT/ilist_node.h"
|
#include "llvm/ADT/ilist_node.h"
|
||||||
#include "llvm/Value.h"
|
#include "llvm/IR/Value.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
class Constant;
|
class Constant;
|
@ -16,10 +16,10 @@
|
|||||||
#define LLVM_MODULE_H
|
#define LLVM_MODULE_H
|
||||||
|
|
||||||
#include "llvm/ADT/OwningPtr.h"
|
#include "llvm/ADT/OwningPtr.h"
|
||||||
#include "llvm/Function.h"
|
#include "llvm/IR/Function.h"
|
||||||
#include "llvm/GlobalAlias.h"
|
#include "llvm/IR/GlobalAlias.h"
|
||||||
#include "llvm/GlobalVariable.h"
|
#include "llvm/IR/GlobalVariable.h"
|
||||||
#include "llvm/Metadata.h"
|
#include "llvm/IR/Metadata.h"
|
||||||
#include "llvm/Support/DataTypes.h"
|
#include "llvm/Support/DataTypes.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
@ -15,7 +15,7 @@
|
|||||||
#ifndef LLVM_OPERAND_TRAITS_H
|
#ifndef LLVM_OPERAND_TRAITS_H
|
||||||
#define LLVM_OPERAND_TRAITS_H
|
#define LLVM_OPERAND_TRAITS_H
|
||||||
|
|
||||||
#include "llvm/User.h"
|
#include "llvm/IR/User.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
@ -15,12 +15,12 @@
|
|||||||
#ifndef LLVM_OPERATOR_H
|
#ifndef LLVM_OPERATOR_H
|
||||||
#define LLVM_OPERATOR_H
|
#define LLVM_OPERATOR_H
|
||||||
|
|
||||||
#include "llvm/Constants.h"
|
#include "llvm/IR/Constants.h"
|
||||||
#include "llvm/DataLayout.h"
|
#include "llvm/IR/DataLayout.h"
|
||||||
#include "llvm/DerivedTypes.h"
|
#include "llvm/IR/DerivedTypes.h"
|
||||||
#include "llvm/Instruction.h"
|
#include "llvm/IR/Instruction.h"
|
||||||
|
#include "llvm/IR/Type.h"
|
||||||
#include "llvm/Support/GetElementPtrTypeIterator.h"
|
#include "llvm/Support/GetElementPtrTypeIterator.h"
|
||||||
#include "llvm/Type.h"
|
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
@ -15,8 +15,8 @@
|
|||||||
#ifndef LLVM_TYPEBUILDER_H
|
#ifndef LLVM_TYPEBUILDER_H
|
||||||
#define LLVM_TYPEBUILDER_H
|
#define LLVM_TYPEBUILDER_H
|
||||||
|
|
||||||
#include "llvm/DerivedTypes.h"
|
#include "llvm/IR/DerivedTypes.h"
|
||||||
#include "llvm/LLVMContext.h"
|
#include "llvm/IR/LLVMContext.h"
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
@ -19,8 +19,8 @@
|
|||||||
#ifndef LLVM_USER_H
|
#ifndef LLVM_USER_H
|
||||||
#define LLVM_USER_H
|
#define LLVM_USER_H
|
||||||
|
|
||||||
|
#include "llvm/IR/Value.h"
|
||||||
#include "llvm/Support/ErrorHandling.h"
|
#include "llvm/Support/ErrorHandling.h"
|
||||||
#include "llvm/Value.h"
|
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
@ -14,9 +14,9 @@
|
|||||||
#ifndef LLVM_VALUE_H
|
#ifndef LLVM_VALUE_H
|
||||||
#define LLVM_VALUE_H
|
#define LLVM_VALUE_H
|
||||||
|
|
||||||
|
#include "llvm/IR/Use.h"
|
||||||
#include "llvm/Support/Casting.h"
|
#include "llvm/Support/Casting.h"
|
||||||
#include "llvm/Support/Compiler.h"
|
#include "llvm/Support/Compiler.h"
|
||||||
#include "llvm/Use.h"
|
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
@ -15,8 +15,8 @@
|
|||||||
#define LLVM_VALUE_SYMBOL_TABLE_H
|
#define LLVM_VALUE_SYMBOL_TABLE_H
|
||||||
|
|
||||||
#include "llvm/ADT/StringMap.h"
|
#include "llvm/ADT/StringMap.h"
|
||||||
|
#include "llvm/IR/Value.h"
|
||||||
#include "llvm/Support/DataTypes.h"
|
#include "llvm/Support/DataTypes.h"
|
||||||
#include "llvm/Value.h"
|
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
template<typename ValueSubClass, typename ItemParentClass>
|
template<typename ValueSubClass, typename ItemParentClass>
|
@ -11,11 +11,11 @@
|
|||||||
#ifndef LLVM_INSTVISITOR_H
|
#ifndef LLVM_INSTVISITOR_H
|
||||||
#define LLVM_INSTVISITOR_H
|
#define LLVM_INSTVISITOR_H
|
||||||
|
|
||||||
#include "llvm/Function.h"
|
#include "llvm/IR/Function.h"
|
||||||
#include "llvm/Instructions.h"
|
#include "llvm/IR/Instructions.h"
|
||||||
#include "llvm/IntrinsicInst.h"
|
#include "llvm/IR/IntrinsicInst.h"
|
||||||
#include "llvm/Intrinsics.h"
|
#include "llvm/IR/Intrinsics.h"
|
||||||
#include "llvm/Module.h"
|
#include "llvm/IR/Module.h"
|
||||||
#include "llvm/Support/CallSite.h"
|
#include "llvm/Support/CallSite.h"
|
||||||
#include "llvm/Support/ErrorHandling.h"
|
#include "llvm/Support/ErrorHandling.h"
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ namespace llvm {
|
|||||||
// types now...
|
// types now...
|
||||||
//
|
//
|
||||||
#define HANDLE_INST(NUM, OPCODE, CLASS) class CLASS;
|
#define HANDLE_INST(NUM, OPCODE, CLASS) class CLASS;
|
||||||
#include "llvm/Instruction.def"
|
#include "llvm/IR/Instruction.def"
|
||||||
|
|
||||||
#define DELEGATE(CLASS_TO_VISIT) \
|
#define DELEGATE(CLASS_TO_VISIT) \
|
||||||
return static_cast<SubClass*>(this)-> \
|
return static_cast<SubClass*>(this)-> \
|
||||||
@ -123,7 +123,7 @@ public:
|
|||||||
case Instruction::OPCODE: return \
|
case Instruction::OPCODE: return \
|
||||||
static_cast<SubClass*>(this)-> \
|
static_cast<SubClass*>(this)-> \
|
||||||
visit##OPCODE(static_cast<CLASS&>(I));
|
visit##OPCODE(static_cast<CLASS&>(I));
|
||||||
#include "llvm/Instruction.def"
|
#include "llvm/IR/Instruction.def"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -158,7 +158,7 @@ public:
|
|||||||
else \
|
else \
|
||||||
DELEGATE(CLASS); \
|
DELEGATE(CLASS); \
|
||||||
}
|
}
|
||||||
#include "llvm/Instruction.def"
|
#include "llvm/IR/Instruction.def"
|
||||||
|
|
||||||
// Specific Instruction type classes... note that all of the casts are
|
// Specific Instruction type classes... note that all of the casts are
|
||||||
// necessary because we use the instruction classes as opaque types...
|
// necessary because we use the instruction classes as opaque types...
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#include "llvm/Analysis/ScalarEvolution.h"
|
#include "llvm/Analysis/ScalarEvolution.h"
|
||||||
#include "llvm/Assembly/PrintModulePass.h"
|
#include "llvm/Assembly/PrintModulePass.h"
|
||||||
#include "llvm/CodeGen/Passes.h"
|
#include "llvm/CodeGen/Passes.h"
|
||||||
#include "llvm/Function.h"
|
#include "llvm/IR/Function.h"
|
||||||
#include "llvm/Transforms/IPO.h"
|
#include "llvm/Transforms/IPO.h"
|
||||||
#include "llvm/Transforms/Instrumentation.h"
|
#include "llvm/Transforms/Instrumentation.h"
|
||||||
#include "llvm/Transforms/Scalar.h"
|
#include "llvm/Transforms/Scalar.h"
|
||||||
|
@ -17,11 +17,11 @@
|
|||||||
#define LLVM_LINKALLVMCORE_H
|
#define LLVM_LINKALLVMCORE_H
|
||||||
|
|
||||||
#include "llvm/Analysis/Verifier.h"
|
#include "llvm/Analysis/Verifier.h"
|
||||||
#include "llvm/InlineAsm.h"
|
#include "llvm/IR/InlineAsm.h"
|
||||||
#include "llvm/Instructions.h"
|
#include "llvm/IR/Instructions.h"
|
||||||
#include "llvm/IntrinsicInst.h"
|
#include "llvm/IR/IntrinsicInst.h"
|
||||||
#include "llvm/LLVMContext.h"
|
#include "llvm/IR/LLVMContext.h"
|
||||||
#include "llvm/Module.h"
|
#include "llvm/IR/Module.h"
|
||||||
#include "llvm/Support/Dwarf.h"
|
#include "llvm/Support/Dwarf.h"
|
||||||
#include "llvm/Support/DynamicLibrary.h"
|
#include "llvm/Support/DynamicLibrary.h"
|
||||||
#include "llvm/Support/MathExtras.h"
|
#include "llvm/Support/MathExtras.h"
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
#define LLVM_SUPPORT_CFG_H
|
#define LLVM_SUPPORT_CFG_H
|
||||||
|
|
||||||
#include "llvm/ADT/GraphTraits.h"
|
#include "llvm/ADT/GraphTraits.h"
|
||||||
#include "llvm/Function.h"
|
#include "llvm/IR/Function.h"
|
||||||
#include "llvm/InstrTypes.h"
|
#include "llvm/IR/InstrTypes.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
|
@ -27,10 +27,10 @@
|
|||||||
#define LLVM_SUPPORT_CALLSITE_H
|
#define LLVM_SUPPORT_CALLSITE_H
|
||||||
|
|
||||||
#include "llvm/ADT/PointerIntPair.h"
|
#include "llvm/ADT/PointerIntPair.h"
|
||||||
#include "llvm/Attributes.h"
|
#include "llvm/IR/Attributes.h"
|
||||||
#include "llvm/BasicBlock.h"
|
#include "llvm/IR/BasicBlock.h"
|
||||||
#include "llvm/CallingConv.h"
|
#include "llvm/IR/CallingConv.h"
|
||||||
#include "llvm/Instructions.h"
|
#include "llvm/IR/Instructions.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
#ifndef LLVM_SUPPORT_CONSTANTFOLDER_H
|
#ifndef LLVM_SUPPORT_CONSTANTFOLDER_H
|
||||||
#define LLVM_SUPPORT_CONSTANTFOLDER_H
|
#define LLVM_SUPPORT_CONSTANTFOLDER_H
|
||||||
|
|
||||||
#include "llvm/Constants.h"
|
#include "llvm/IR/Constants.h"
|
||||||
#include "llvm/InstrTypes.h"
|
#include "llvm/IR/InstrTypes.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#define LLVM_SUPPORT_DATAFLOW_H
|
#define LLVM_SUPPORT_DATAFLOW_H
|
||||||
|
|
||||||
#include "llvm/ADT/GraphTraits.h"
|
#include "llvm/ADT/GraphTraits.h"
|
||||||
#include "llvm/User.h"
|
#include "llvm/IR/User.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
#ifndef LLVM_SUPPORT_GETELEMENTPTRTYPE_H
|
#ifndef LLVM_SUPPORT_GETELEMENTPTRTYPE_H
|
||||||
#define LLVM_SUPPORT_GETELEMENTPTRTYPE_H
|
#define LLVM_SUPPORT_GETELEMENTPTRTYPE_H
|
||||||
|
|
||||||
#include "llvm/DerivedTypes.h"
|
#include "llvm/IR/DerivedTypes.h"
|
||||||
#include "llvm/User.h"
|
#include "llvm/IR/User.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
template<typename ItTy = User::const_op_iterator>
|
template<typename ItTy = User::const_op_iterator>
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
#ifndef LLVM_SUPPORT_INSTITERATOR_H
|
#ifndef LLVM_SUPPORT_INSTITERATOR_H
|
||||||
#define LLVM_SUPPORT_INSTITERATOR_H
|
#define LLVM_SUPPORT_INSTITERATOR_H
|
||||||
|
|
||||||
#include "llvm/BasicBlock.h"
|
#include "llvm/IR/BasicBlock.h"
|
||||||
#include "llvm/Function.h"
|
#include "llvm/IR/Function.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
|
@ -18,9 +18,9 @@
|
|||||||
#ifndef CONSTANTRANGESSET_H_
|
#ifndef CONSTANTRANGESSET_H_
|
||||||
#define CONSTANTRANGESSET_H_
|
#define CONSTANTRANGESSET_H_
|
||||||
|
|
||||||
#include "llvm/Constants.h"
|
#include "llvm/IR/Constants.h"
|
||||||
#include "llvm/DerivedTypes.h"
|
#include "llvm/IR/DerivedTypes.h"
|
||||||
#include "llvm/LLVMContext.h"
|
#include "llvm/IR/LLVMContext.h"
|
||||||
#include <list>
|
#include <list>
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
@ -23,8 +23,8 @@
|
|||||||
#define LLVM_SUPPORT_NOFOLDER_H
|
#define LLVM_SUPPORT_NOFOLDER_H
|
||||||
|
|
||||||
#include "llvm/ADT/ArrayRef.h"
|
#include "llvm/ADT/ArrayRef.h"
|
||||||
#include "llvm/Constants.h"
|
#include "llvm/IR/Constants.h"
|
||||||
#include "llvm/Instructions.h"
|
#include "llvm/IR/Instructions.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
|
@ -29,10 +29,10 @@
|
|||||||
#ifndef LLVM_SUPPORT_PATTERNMATCH_H
|
#ifndef LLVM_SUPPORT_PATTERNMATCH_H
|
||||||
#define LLVM_SUPPORT_PATTERNMATCH_H
|
#define LLVM_SUPPORT_PATTERNMATCH_H
|
||||||
|
|
||||||
#include "llvm/Constants.h"
|
#include "llvm/IR/Constants.h"
|
||||||
#include "llvm/Instructions.h"
|
#include "llvm/IR/Instructions.h"
|
||||||
#include "llvm/IntrinsicInst.h"
|
#include "llvm/IR/IntrinsicInst.h"
|
||||||
#include "llvm/Operator.h"
|
#include "llvm/IR/Operator.h"
|
||||||
#include "llvm/Support/CallSite.h"
|
#include "llvm/Support/CallSite.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
@ -21,8 +21,8 @@
|
|||||||
|
|
||||||
#include "llvm/ADT/ArrayRef.h"
|
#include "llvm/ADT/ArrayRef.h"
|
||||||
#include "llvm/Analysis/ConstantFolding.h"
|
#include "llvm/Analysis/ConstantFolding.h"
|
||||||
#include "llvm/Constants.h"
|
#include "llvm/IR/Constants.h"
|
||||||
#include "llvm/InstrTypes.h"
|
#include "llvm/IR/InstrTypes.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
#include "llvm/ADT/DenseMapInfo.h"
|
#include "llvm/ADT/DenseMapInfo.h"
|
||||||
#include "llvm/ADT/PointerIntPair.h"
|
#include "llvm/ADT/PointerIntPair.h"
|
||||||
#include "llvm/Value.h"
|
#include "llvm/IR/Value.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
class ValueHandleBase;
|
class ValueHandleBase;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// Include all information about LLVM intrinsics.
|
// Include all information about LLVM intrinsics.
|
||||||
include "llvm/Intrinsics.td"
|
include "llvm/IR/Intrinsics.td"
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
// Register file description - These classes are used to fill in the target
|
// Register file description - These classes are used to fill in the target
|
||||||
|
@ -24,12 +24,12 @@
|
|||||||
|
|
||||||
#include "llvm/ADT/DenseMap.h"
|
#include "llvm/ADT/DenseMap.h"
|
||||||
#include "llvm/AddressingMode.h"
|
#include "llvm/AddressingMode.h"
|
||||||
#include "llvm/Attributes.h"
|
|
||||||
#include "llvm/CallingConv.h"
|
|
||||||
#include "llvm/CodeGen/DAGCombine.h"
|
#include "llvm/CodeGen/DAGCombine.h"
|
||||||
#include "llvm/CodeGen/RuntimeLibcalls.h"
|
#include "llvm/CodeGen/RuntimeLibcalls.h"
|
||||||
#include "llvm/CodeGen/SelectionDAGNodes.h"
|
#include "llvm/CodeGen/SelectionDAGNodes.h"
|
||||||
#include "llvm/InlineAsm.h"
|
#include "llvm/IR/Attributes.h"
|
||||||
|
#include "llvm/IR/CallingConv.h"
|
||||||
|
#include "llvm/IR/InlineAsm.h"
|
||||||
#include "llvm/Support/CallSite.h"
|
#include "llvm/Support/CallSite.h"
|
||||||
#include "llvm/Support/DebugLoc.h"
|
#include "llvm/Support/DebugLoc.h"
|
||||||
#include "llvm/Target/TargetCallingConv.h"
|
#include "llvm/Target/TargetCallingConv.h"
|
||||||
|
@ -16,9 +16,9 @@
|
|||||||
#define LLVM_TARGET_TARGETLOWERINGOBJECTFILE_H
|
#define LLVM_TARGET_TARGETLOWERINGOBJECTFILE_H
|
||||||
|
|
||||||
#include "llvm/ADT/ArrayRef.h"
|
#include "llvm/ADT/ArrayRef.h"
|
||||||
|
#include "llvm/IR/Module.h"
|
||||||
#include "llvm/MC/MCObjectFileInfo.h"
|
#include "llvm/MC/MCObjectFileInfo.h"
|
||||||
#include "llvm/MC/SectionKind.h"
|
#include "llvm/MC/SectionKind.h"
|
||||||
#include "llvm/Module.h"
|
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
class MachineModuleInfo;
|
class MachineModuleInfo;
|
||||||
|
@ -17,9 +17,9 @@
|
|||||||
#define LLVM_TARGET_TARGETREGISTERINFO_H
|
#define LLVM_TARGET_TARGETREGISTERINFO_H
|
||||||
|
|
||||||
#include "llvm/ADT/ArrayRef.h"
|
#include "llvm/ADT/ArrayRef.h"
|
||||||
#include "llvm/CallingConv.h"
|
|
||||||
#include "llvm/CodeGen/MachineBasicBlock.h"
|
#include "llvm/CodeGen/MachineBasicBlock.h"
|
||||||
#include "llvm/CodeGen/ValueTypes.h"
|
#include "llvm/CodeGen/ValueTypes.h"
|
||||||
|
#include "llvm/IR/CallingConv.h"
|
||||||
#include "llvm/MC/MCRegisterInfo.h"
|
#include "llvm/MC/MCRegisterInfo.h"
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
@ -23,10 +23,10 @@
|
|||||||
#define LLVM_TRANSFORMS_TARGET_TRANSFORM_INTERFACE
|
#define LLVM_TRANSFORMS_TARGET_TRANSFORM_INTERFACE
|
||||||
|
|
||||||
#include "llvm/AddressingMode.h"
|
#include "llvm/AddressingMode.h"
|
||||||
#include "llvm/Intrinsics.h"
|
#include "llvm/IR/Intrinsics.h"
|
||||||
|
#include "llvm/IR/Type.h"
|
||||||
#include "llvm/Pass.h"
|
#include "llvm/Pass.h"
|
||||||
#include "llvm/Support/DataTypes.h"
|
#include "llvm/Support/DataTypes.h"
|
||||||
#include "llvm/Type.h"
|
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
// FIXME: Move to this file: BasicBlock::removePredecessor, BB::splitBasicBlock
|
// FIXME: Move to this file: BasicBlock::removePredecessor, BB::splitBasicBlock
|
||||||
|
|
||||||
#include "llvm/BasicBlock.h"
|
#include "llvm/IR/BasicBlock.h"
|
||||||
#include "llvm/Support/CFG.h"
|
#include "llvm/Support/CFG.h"
|
||||||
#include "llvm/Support/DebugLoc.h"
|
#include "llvm/Support/DebugLoc.h"
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#ifndef TRANSFORMS_UTILS_BUILDLIBCALLS_H
|
#ifndef TRANSFORMS_UTILS_BUILDLIBCALLS_H
|
||||||
#define TRANSFORMS_UTILS_BUILDLIBCALLS_H
|
#define TRANSFORMS_UTILS_BUILDLIBCALLS_H
|
||||||
|
|
||||||
#include "llvm/IRBuilder.h"
|
#include "llvm/IR/IRBuilder.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
class Value;
|
class Value;
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#define TRANSFORMS_UTILS_BYPASSSLOWDIVISION_H
|
#define TRANSFORMS_UTILS_BYPASSSLOWDIVISION_H
|
||||||
|
|
||||||
#include "llvm/ADT/DenseMap.h"
|
#include "llvm/ADT/DenseMap.h"
|
||||||
#include "llvm/Function.h"
|
#include "llvm/IR/Function.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#ifndef LLVM_TRANSFORMS_UTILS_CMPINSTANALYSIS_H
|
#ifndef LLVM_TRANSFORMS_UTILS_CMPINSTANALYSIS_H
|
||||||
#define LLVM_TRANSFORMS_UTILS_CMPINSTANALYSIS_H
|
#define LLVM_TRANSFORMS_UTILS_CMPINSTANALYSIS_H
|
||||||
|
|
||||||
#include "llvm/InstrTypes.h"
|
#include "llvm/IR/InstrTypes.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
class ICmpInst;
|
class ICmpInst;
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user