mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-13 08:26:02 +00:00
Commit missing files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63545 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -568,6 +568,7 @@ public:
|
|||||||
|
|
||||||
/// getMergeValues - Create a MERGE_VALUES node from the given operands.
|
/// getMergeValues - Create a MERGE_VALUES node from the given operands.
|
||||||
SDValue getMergeValues(const SDValue *Ops, unsigned NumOps);
|
SDValue getMergeValues(const SDValue *Ops, unsigned NumOps);
|
||||||
|
SDValue getMergeValues(const SDValue *Ops, unsigned NumOps, DebugLoc dl);
|
||||||
|
|
||||||
/// getCall - Create a CALL node from the given information.
|
/// getCall - Create a CALL node from the given information.
|
||||||
///
|
///
|
||||||
|
@@ -3547,6 +3547,20 @@ SDValue SelectionDAG::getMergeValues(const SDValue *Ops, unsigned NumOps) {
|
|||||||
return getNode(ISD::MERGE_VALUES, getVTList(&VTs[0], NumOps), Ops, NumOps);
|
return getNode(ISD::MERGE_VALUES, getVTList(&VTs[0], NumOps), Ops, NumOps);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// DebugLoc-aware version.
|
||||||
|
SDValue SelectionDAG::getMergeValues(const SDValue *Ops, unsigned NumOps,
|
||||||
|
DebugLoc dl) {
|
||||||
|
if (NumOps == 1)
|
||||||
|
return Ops[0];
|
||||||
|
|
||||||
|
SmallVector<MVT, 4> VTs;
|
||||||
|
VTs.reserve(NumOps);
|
||||||
|
for (unsigned i = 0; i < NumOps; ++i)
|
||||||
|
VTs.push_back(Ops[i].getValueType());
|
||||||
|
return getNode(ISD::MERGE_VALUES, dl, getVTList(&VTs[0], NumOps),
|
||||||
|
Ops, NumOps);
|
||||||
|
}
|
||||||
|
|
||||||
SDValue
|
SDValue
|
||||||
SelectionDAG::getMemIntrinsicNode(unsigned Opcode,
|
SelectionDAG::getMemIntrinsicNode(unsigned Opcode,
|
||||||
const MVT *VTs, unsigned NumVTs,
|
const MVT *VTs, unsigned NumVTs,
|
||||||
|
Reference in New Issue
Block a user