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

Method isNonStaticMethodInvocation

lib/rootdefanalysis/RDAnalyzer.cpp:905–915  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

903}
904
905bool RDAnalyzer::isNonStaticMethodInvocation(const llvm::CallBase &CB) const {
906
907 auto *F = CB.getCalledFunction();
908 if (!F) {
909 // Return false unless which function is called by this instruction.
910 return false;
911 }
912
913 auto Name = F->getName();
914 return Extension.isNonStaticClassMethod(Name.str());
915}
916
917RDAnalyzer::PROPTYPE RDAnalyzer::isPropagated(const RDTarget &Target,
918 llvm::Value &Src) {

Callers

nothing calls this directly

Calls 3

getCalledFunctionMethod · 0.80
getNameMethod · 0.45

Tested by

no test coverage detected