mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Added support for cloning a trace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6430 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9604416192
commit
2c49fc023e
@ -91,4 +91,11 @@ void CloneFunctionInto(Function *NewFunc, const Function *OldFunc,
|
||||
///
|
||||
bool InlineFunction(CallInst *C);
|
||||
|
||||
|
||||
/// CloneTrace - Returns a copy of the specified trace. It removes internal phi
|
||||
/// nodes, copies the basic blocks, remaps variables, and returns a new vector
|
||||
/// of basic blocks (the cloned trace).
|
||||
///
|
||||
std::vector<BasicBlock *> cloneTrace(std::vector<BasicBlock*> &origTrace);
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user