forked from terralang/terra
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for LLVM 18 (terralang#662)
- Loading branch information
1 parent
f673dd8
commit af046fb
Showing
11 changed files
with
119 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#include "llvm/IR/CallingConv.h" | ||
#include "llvm/IR/DerivedTypes.h" | ||
#include "llvm/IR/LLVMContext.h" | ||
#include "llvm/IR/Module.h" | ||
#include "llvm/IR/IRBuilder.h" | ||
#include "llvm/IR/DataLayout.h" | ||
#include "llvm/IR/Instructions.h" | ||
#include "llvm/IR/IntrinsicInst.h" | ||
#include "llvm/IR/InlineAsm.h" | ||
#include "llvm/Analysis/CallGraphSCCPass.h" | ||
#include "llvm/Analysis/CallGraph.h" | ||
#include "llvm/IR/DIBuilder.h" | ||
#include "llvm/IR/DebugInfo.h" | ||
#include "llvm/IR/Mangler.h" | ||
//#include "llvm/ExecutionEngine/ObjectImage.h" | ||
#include "llvm/IR/Verifier.h" | ||
#include "llvm/Linker/Linker.h" | ||
#include "llvm/IR/CFG.h" | ||
#include "llvm/IR/InstVisitor.h" | ||
#include "llvm/CodeGen/TargetSubtargetInfo.h" | ||
|
||
#include "llvm/Support/VirtualFileSystem.h" | ||
#include "clang/Rewrite/Core/Rewriter.h" | ||
#include "clang/Rewrite/Frontend/Rewriters.h" | ||
#include "llvm/IR/DiagnosticPrinter.h" | ||
#include "llvm/Analysis/TargetTransformInfo.h" | ||
#include "llvm/Object/SymbolSize.h" | ||
|
||
#include "llvm/Bitcode/BitcodeReader.h" | ||
#include "llvm/Support/Error.h" | ||
|
||
#define LLVM_PATH_TYPE std::string | ||
#define RAW_FD_OSTREAM_NONE sys::fs::OF_None | ||
#define RAW_FD_OSTREAM_BINARY sys::fs::OF_None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters