Searched refs:TorList (Results 1 – 1 of 1) sorted by relevance
227 static Constant *GetTorInit(std::vector<std::pair<Function *, int>> &TorList) { in GetTorInit() argument228 assert(!TorList.empty() && "Don't create empty tor list!"); in GetTorInit()230 Type *Int32Ty = Type::getInt32Ty(TorList[0].first->getContext()); in GetTorInit()232 StructType *STy = StructType::get(Int32Ty, TorList[0].first->getType()); in GetTorInit()233 for (unsigned i = 0, e = TorList.size(); i != e; ++i) { in GetTorInit()234 Constant *Elts[] = {ConstantInt::get(Int32Ty, TorList[i].second), in GetTorInit()235 TorList[i].first}; in GetTorInit()