Skip to content
Commit dffc589a authored by Chris Lattner's avatar Chris Lattner Committed by jpienaar
Browse files

Extend InstVisitor and Walker to handle arbitrary CFG functions, expand the

Function::walk functionality into f->walkInsts/Ops which allows visiting all
instructions, not just ops.  Eliminate Function::getBody() and
Function::getReturn() helpers which crash in CFG functions, and were only kept
around as a bridge.

This is step 25/n towards merging instructions and statements.

PiperOrigin-RevId: 227243966
parent bbe3f4d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment