Merge remote-tracking branch 'origin/master' into master-next

This commit is contained in:
Bob Wilson
2016-10-27 22:28:28 -07:00
377 changed files with 10818 additions and 6806 deletions

View File

@@ -1033,6 +1033,10 @@ public:
*this << getIDAndType(LI->getOperand());
}
void visitLoadBorrowInst(LoadBorrowInst *LBI) {
*this << getIDAndType(LBI->getOperand());
}
void printStoreOwnershipQualifier(StoreOwnershipQualifier Qualifier) {
switch (Qualifier) {
case StoreOwnershipQualifier::Unqualified:
@@ -1055,9 +1059,15 @@ public:
*this << getIDAndType(SI->getDest());
}
void visitEndBorrowInst(EndBorrowInst *EBI) {
*this << getID(EBI->getDest()) << " from " << getID(EBI->getSrc()) << " : "
<< EBI->getDest()->getType() << ", " << EBI->getSrc()->getType();
}
void visitAssignInst(AssignInst *AI) {
*this << getID(AI->getSrc()) << " to " << getIDAndType(AI->getDest());
}
void visitMarkUninitializedInst(MarkUninitializedInst *MU) {
switch (MU->getKind()) {
case MarkUninitializedInst::Var: *this << "[var] "; break;
@@ -1259,6 +1269,14 @@ public:
*this << getIDAndType(I->getOperand());
}
void visitCopyValueInst(CopyValueInst *I) {
*this << getIDAndType(I->getOperand());
}
void visitDestroyValueInst(DestroyValueInst *I) {
*this << getIDAndType(I->getOperand());
}
void visitRetainValueInst(RetainValueInst *I) { visitRefCountingInst(I); }
void visitReleaseValueInst(ReleaseValueInst *I) { visitRefCountingInst(I); }
@@ -1510,10 +1528,11 @@ public:
*this << PVBI->getValueType() << " in " << getIDAndType(PVBI->getOperand());
}
void visitProjectBoxInst(ProjectBoxInst *PBI) {
*this << getIDAndType(PBI->getOperand());
*this << getIDAndType(PBI->getOperand()) << ", " << PBI->getFieldIndex();
}
void visitProjectExistentialBoxInst(ProjectExistentialBoxInst *PEBI) {
*this << PEBI->getValueType() << " in " << getIDAndType(PEBI->getOperand());
*this << PEBI->getType().getObjectType()
<< " in " << getIDAndType(PEBI->getOperand());
}
void visitCondFailInst(CondFailInst *FI) {