File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,11 @@ LLVMFunctions &LLVMBuildUtils::functions()
119119 return m_functions;
120120}
121121
122+ LLVMTypeAnalyzer &LLVMBuildUtils::typeAnalyzer ()
123+ {
124+ return m_typeAnalyzer;
125+ }
126+
122127BlockPrototype *LLVMBuildUtils::procedurePrototype () const
123128{
124129 return m_procedurePrototype;
Original file line number Diff line number Diff line change 77#include " llvmfunctions.h"
88#include " llvmvariableptr.h"
99#include " llvmlistptr.h"
10+ #include " llvmtypeanalyzer.h"
1011
1112namespace libscratchcpp
1213{
@@ -33,6 +34,7 @@ class LLVMBuildUtils
3334 llvm::Module *module () const ;
3435 llvm::IRBuilder<> &builder ();
3536 LLVMFunctions &functions ();
37+ LLVMTypeAnalyzer &typeAnalyzer ();
3638
3739 BlockPrototype *procedurePrototype () const ;
3840 bool warp () const ;
@@ -96,6 +98,7 @@ class LLVMBuildUtils
9698 llvm::LLVMContext &m_llvmCtx;
9799 llvm::IRBuilder<> &m_builder;
98100 LLVMFunctions m_functions;
101+ LLVMTypeAnalyzer m_typeAnalyzer;
99102 Target *m_target = nullptr ;
100103 llvm::Function *m_function = nullptr ;
101104
You can’t perform that action at this time.
0 commit comments