<div>Hi:</div><div><br></div><div>In my analysis Pass, I'm trying to visit CallInsts to a special Intrinsic, in the order that they'll be executed, starting from the EntryBlock.</div><div>My naive initial assumption was to start from entryBlock and custom handle Br Instructions, but apparently this doesn't work well with more complicated CFGs like loop or Switch.</div><div><br></div><div>Is there any LLVM builtin infrastructure that could be used for this? Any hint would be appreciated.</div><div><br></div><div><br></div><div>Zhang</div><div><includetail><!--<![endif]--></includetail></div>