mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
add two new methods
llvm-svn: 23024
This commit is contained in:
parent
8824bd228b
commit
79191b194f
@ -260,11 +260,16 @@ public:
|
||||
SDOperand Op4, SDOperand Op5) {
|
||||
return getNode(ISD::BUILTIN_OP_END+Opcode, VT, Op1, Op2, Op3, Op4, Op5);
|
||||
}
|
||||
SDOperand getTargetNode(unsigned Opcode, MVT::ValueType VT,
|
||||
std::vector<SDOperand> &Ops) {
|
||||
return getNode(ISD::BUILTIN_OP_END+Opcode, VT, Ops);
|
||||
}
|
||||
|
||||
/// ReplaceAllUsesWith - Modify anything using 'From' to use 'To' instead.
|
||||
/// This can cause recursive merging of nodes in the DAG.
|
||||
///
|
||||
void ReplaceAllUsesWith(SDNode *From, SDNode *To);
|
||||
void ReplaceAllUsesWith(SDNode *From, const std::vector<SDOperand> &To);
|
||||
|
||||
void dump() const;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user