Lines Matching defs:isLegalToInline
76 bool InlinerInterface::isLegalToInline(Operation *call, Operation *callable,
79 return handler->isLegalToInline(call, callable, wouldBeCloned);
83 bool InlinerInterface::isLegalToInline(Region *dest, Region *src,
87 return handler->isLegalToInline(dest, src, wouldBeCloned, valueMapping);
91 bool InlinerInterface::isLegalToInline(Operation *op, Region *dest,
95 return handler->isLegalToInline(op, dest, wouldBeCloned, valueMapping);
158 static bool isLegalToInline(InlinerInterface &interface, Region *src,
164 if (!interface.isLegalToInline(&op, insertRegion,
175 return !isLegalToInline(interface, ®ion, insertRegion,
266 if (!interface.isLegalToInline(insertRegion, src, shouldCloneInlinedRegion,
268 !isLegalToInline(interface, src, insertRegion, shouldCloneInlinedRegion,
530 if (!interface.isLegalToInline(call, callable, shouldCloneInlinedRegion))