MCPcopy Create free account
hub / github.com/GoSSIP-SJTU/Armariris / ThreadEdge

Method ThreadEdge

lib/Transforms/Scalar/JumpThreading.cpp:1443–1594  ·  view source on GitHub ↗

ThreadEdge - We have decided that it is safe and profitable to factor the blocks in PredBBs to one predecessor, then thread an edge from it to SuccBB across BB. Transform the IR to reflect this change.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

DEBUGFunction · 0.85
threadEdgeMethod · 0.80
getFrequencyMethod · 0.80
getNameMethod · 0.45
countMethod · 0.45
sizeMethod · 0.45
getContextMethod · 0.45
getParentMethod · 0.45
moveAfterMethod · 0.45
getBlockFreqMethod · 0.45

Tested by

no test coverage detected