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

Method runPasses

tools/bugpoint/OptimizerDriver.cpp:129–265  ·  view source on GitHub ↗

runPasses - Run the specified passes on Program, outputting a bitcode file and writing the filename into OutputFile if successful. If the optimizations fail for some reason (optimizer crashes), return true, otherwise return false. If DeleteOutput is set to true, the bitcode is deleted on success, and the filename string is undefined. This prints to outs() a single line message indicating whethe

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

doTestMethod · 0.45
TestForOptimizerCrashFunction · 0.45
doTestMethod · 0.45

Calls 15

createUniqueFileFunction · 0.85
WriteBitcodeToFileFunction · 0.85
DEBUGFunction · 0.85
has_errorMethod · 0.80
clear_errorMethod · 0.80
keepMethod · 0.80
stringClass · 0.50
flushMethod · 0.45
messageMethod · 0.45
strMethod · 0.45
closeMethod · 0.45
emptyMethod · 0.45

Tested by 1

TestForOptimizerCrashFunction · 0.36