@@ -177,15 +177,6 @@ std::string FindSemanticsBitcodeFile(std::string_view arch);
177177// Return a pointer to the Nth argument (N=0 is the first argument).
178178llvm::Argument *NthArgument (llvm::Function *func, size_t index);
179179
180- // Returns a pointer to the `__remill_basic_block` function.
181- llvm::Function *BasicBlockFunction (llvm::Module *module );
182-
183- // Return the type of a lifted function.
184- //
185- // NOTE(pag): Deprecated. Use `remill::Arch::LiftedFunctionType()` instead.
186- llvm::FunctionType *LiftedFunctionType (llvm::Module *module )
187- __attribute__((deprecated));
188-
189180// Return a vector of arguments to pass to a lifted function, where the
190181// arguments are derived from `block`.
191182std::array<llvm::Value *, kNumBlockArgs >
@@ -200,28 +191,6 @@ using ISelCallback =
200191 std::function<void (llvm::GlobalVariable *, llvm::Function *)>;
201192void ForEachISel (llvm::Module *module , ISelCallback callback);
202193
203- // Declare a lifted function of the correct type.
204- llvm::Function *DeclareLiftedFunction (llvm::Module *module ,
205- std::string_view name);
206-
207- // Returns the type of a state pointer.
208- //
209- // NOTE(pag): Deprecated. Use `remill::Arch::StatePointerType()` instead.
210- llvm::PointerType *StatePointerType (llvm::Module *module )
211- __attribute__((deprecated));
212-
213- // Returns the type of a state pointer.
214- //
215- // NOTE(pag): Deprecated. Use `remill::Arch::MemoryPointerType()` instead.
216- llvm::PointerType *MemoryPointerType (llvm::Module *module )
217- __attribute__((deprecated));
218-
219- // Returns the type of an address (addr_t in the State.h).
220- //
221- // NOTE(pag): Deprecated. Use `remill::Arch::AddressType()` instead.
222- llvm::IntegerType *AddressType (llvm::Module *module )
223- __attribute__((deprecated));
224-
225194using ValueMap = std::unordered_map<llvm::Value *, llvm::Value *>;
226195using TypeMap = std::unordered_map<llvm::Type *, llvm::Type *>;
227196using MDMap = std::unordered_map<llvm::Metadata *, llvm::Metadata *>;
@@ -242,9 +211,6 @@ void CloneFunctionInto(llvm::Function *source_func, llvm::Function *dest_func,
242211// `source_func` into the module of `dest_func`.
243212void CloneFunctionInto (llvm::Function *source_func, llvm::Function *dest_func);
244213
245- // Make `func` a clone of the `__remill_basic_block` function.
246- void CloneBlockFunctionInto (llvm::Function *func);
247-
248214// Returns a list of callers of a specific function.
249215std::vector<llvm::CallInst *> CallersOf (llvm::Function *func);
250216
0 commit comments