mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
Provide a way to change the incoming value for a phi node
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@495 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -38,6 +38,9 @@ public:
|
|||||||
inline Value *getIncomingValue(unsigned i) {
|
inline Value *getIncomingValue(unsigned i) {
|
||||||
return Operands[i*2];
|
return Operands[i*2];
|
||||||
}
|
}
|
||||||
|
inline void setIncomingValue(unsigned i, Value *V) {
|
||||||
|
Operands[i*2] = V;
|
||||||
|
}
|
||||||
|
|
||||||
// getIncomingBlock - Return incoming basic block #x
|
// getIncomingBlock - Return incoming basic block #x
|
||||||
inline const BasicBlock *getIncomingBlock(unsigned i) const {
|
inline const BasicBlock *getIncomingBlock(unsigned i) const {
|
||||||
|
Reference in New Issue
Block a user