Searched refs:TorList (Results 1 - 1 of 1) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/tools/bugpoint/
H A DExtractFunction.cpp228 static Constant *GetTorInit(std::vector<std::pair<Function *, int>> &TorList) { argument
229 assert(!TorList.empty() && "Don't create empty tor list!");
231 Type *Int32Ty = Type::getInt32Ty(TorList[0].first->getContext());
233 StructType *STy = StructType::get(Int32Ty, TorList[0].first->getType());
234 for (unsigned i = 0, e = TorList.size(); i != e; ++i) {
235 Constant *Elts[] = {ConstantInt::get(Int32Ty, TorList[i].second),
236 TorList[i].first};

Completed in 89 milliseconds