Home
last modified time | relevance | path

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

/external/llvm/tools/bugpoint/
DExtractFunction.cpp194 static Constant *GetTorInit(std::vector<std::pair<Function*, int> > &TorList) { in GetTorInit() argument
195 assert(!TorList.empty() && "Don't create empty tor list!"); in GetTorInit()
197 Type *Int32Ty = Type::getInt32Ty(TorList[0].first->getContext()); in GetTorInit()
200 StructType::get(Int32Ty, TorList[0].first->getType(), nullptr); in GetTorInit()
201 for (unsigned i = 0, e = TorList.size(); i != e; ++i) { in GetTorInit()
203 ConstantInt::get(Int32Ty, TorList[i].second), in GetTorInit()
204 TorList[i].first in GetTorInit()