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

Method setFirstUse

lib/rootdefanalysis/RDNode.cpp:80–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void RDNode::setFirstUse(llvm::CallBase &CB, int ArgNo) {
81
82 auto *CF = CB.getCalledFunction();
83 if (CF && CF->isDeclaration()) {
84 FirstUses.clear();
85 addFirstUse(CB, ArgNo);
86 }
87}
88
89void RDNode::setForcedDef() { this->ForcedDef = true; }
90

Callers 7

findRootDefinitionsMethod · 0.80
traceMethod · 0.80
handleMemoryCallMethod · 0.80
handleExternalCallMethod · 0.80
generateRDNodeMethod · 0.80
generateRDNodesMethod · 0.80
TEST_FFunction · 0.80

Calls 2

getCalledFunctionMethod · 0.80
clearMethod · 0.45

Tested by 3

generateRDNodeMethod · 0.64
generateRDNodesMethod · 0.64
TEST_FFunction · 0.64