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

Method create

lib/rootdefanalysis/RDTarget.cpp:178–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176RDTarget::RDTarget(const RDTarget &Rhs) { *this = Rhs; }
177
178std::shared_ptr<RDTarget> RDTarget::create(llvm::Value &IR) {
179
180 auto Cands = FindTarget().find(IR);
181 assert(Cands.size() == 1);
182 auto Cand = *Cands.begin();
183 assert(Cand.first && "Unexpected Program State");
184
185 return create(*Cand.first, Cand.second);
186}
187
188std::shared_ptr<RDTarget>
189RDTarget::create(llvm::Value &IR, std::vector<unsigned> MemoryIndices) {

Callers

nothing calls this directly

Calls 6

FindTargetClass · 0.85
find_ifFunction · 0.85
sizeMethod · 0.80
beginMethod · 0.80
endMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected