mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 23:18:58 +00:00
Add another option to cloneGraph
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4641 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
70925b0569
commit
02fd6870c1
@ -140,8 +140,9 @@ public:
|
||||
// CloneFlags enum - Bits that may be passed into the cloneInto method to
|
||||
// specify how to clone the function graph.
|
||||
enum CloneFlags {
|
||||
StripAllocaBit = 1 << 0, KeepAllocaBit = 0 << 0,
|
||||
DontCloneCallNodes = 2 << 0, CloneCallNodes = 0 << 0,
|
||||
StripAllocaBit = 1 << 0, KeepAllocaBit = 0 << 0,
|
||||
DontCloneCallNodes = 1 << 1, CloneCallNodes = 0 << 0,
|
||||
DontCloneAuxCallNodes = 1 << 2, CloneAuxCallNodes = 0 << 0,
|
||||
};
|
||||
|
||||
// cloneInto - Clone the specified DSGraph into the current graph, returning
|
||||
|
@ -140,8 +140,9 @@ public:
|
||||
// CloneFlags enum - Bits that may be passed into the cloneInto method to
|
||||
// specify how to clone the function graph.
|
||||
enum CloneFlags {
|
||||
StripAllocaBit = 1 << 0, KeepAllocaBit = 0 << 0,
|
||||
DontCloneCallNodes = 2 << 0, CloneCallNodes = 0 << 0,
|
||||
StripAllocaBit = 1 << 0, KeepAllocaBit = 0 << 0,
|
||||
DontCloneCallNodes = 1 << 1, CloneCallNodes = 0 << 0,
|
||||
DontCloneAuxCallNodes = 1 << 2, CloneAuxCallNodes = 0 << 0,
|
||||
};
|
||||
|
||||
// cloneInto - Clone the specified DSGraph into the current graph, returning
|
||||
|
Loading…
Reference in New Issue
Block a user