MCPcopy Create free account
hub / github.com/Samsung/UTopia / walk

Method walk

lib/indcallsolver/LLVMWalker.cpp:14–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14void LLVMWalker::walk(const llvm::Module &M) {
15 if (GVHandlers.size() > 0) {
16 for (const auto &GV : M.globals()) {
17 for (auto *Handler : GVHandlers) {
18 assert(Handler && "Unexpected Program State");
19 Handler->handle(GV);
20 }
21 }
22 }
23
24 if (InstHandlers.size() > 0) {
25 for (const auto &F : M) {
26 for (const auto &B : F) {
27 for (const auto &I : B) {
28 for (auto *Handler : InstHandlers) {
29 assert(Handler && "Unexpected Program State");
30 Handler->handle(I);
31 }
32 }
33 }
34 }
35 }
36}

Callers 2

solveMethod · 0.80
prepareMethod · 0.80

Calls 2

sizeMethod · 0.80
handleMethod · 0.45

Tested by 1

prepareMethod · 0.64