Add ArraySemanticsCall::getInstruction method

This commit is contained in:
Meghana Gupta
2021-01-08 18:42:56 -08:00
parent cd2d4cc287
commit 5b847e5280

View File

@@ -83,6 +83,9 @@ public:
ArraySemanticsCall() : SemanticsCall(nullptr) {}
/// Return the SemanticsCall
ApplyInst *getInstruction() { return SemanticsCall; }
/// Can we hoist this call.
bool canHoist(SILInstruction *To, DominanceInfo *DT) const;