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

Method resolveConstantForwardRefs

lib/Bitcode/Reader/BitcodeReader.cpp:1016–1089  ·  view source on GitHub ↗

Once all constants are read, this method bulk resolves any forward references. The idea behind this is that we sometimes get constants (such as large arrays) which reference *many* forward ref constants. Replacing each of these causes a lot of thrashing when building/reuniquing the constant. Instead of doing this, we look at all the uses and rewrite all the place holders at once for any constan

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

parseConstantsMethod · 0.80

Calls 15

user_beginMethod · 0.80
sortFunction · 0.50
assertFunction · 0.50
getFunction · 0.50
beginMethod · 0.45
endMethod · 0.45
emptyMethod · 0.45
backMethod · 0.45
pop_backMethod · 0.45
use_emptyMethod · 0.45
setMethod · 0.45
getUseMethod · 0.45

Tested by

no test coverage detected