Searched refs:TorList (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/tools/bugpoint/ |
D | ExtractFunction.cpp | 173 static Constant *GetTorInit(std::vector<std::pair<Function*, int> > &TorList) { in GetTorInit() argument 174 assert(!TorList.empty() && "Don't create empty tor list!"); in GetTorInit() 176 Type *Int32Ty = Type::getInt32Ty(TorList[0].first->getContext()); in GetTorInit() 179 StructType::get(Int32Ty, TorList[0].first->getType(), NULL); in GetTorInit() 180 for (unsigned i = 0, e = TorList.size(); i != e; ++i) { in GetTorInit() 182 ConstantInt::get(Int32Ty, TorList[i].second), in GetTorInit() 183 TorList[i].first in GetTorInit()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/ |
D | ExtractFunction.cpp | 229 static Constant *GetTorInit(std::vector<std::pair<Function *, int>> &TorList) { in GetTorInit() argument 230 assert(!TorList.empty() && "Don't create empty tor list!"); in GetTorInit() 232 Type *Int32Ty = Type::getInt32Ty(TorList[0].first->getContext()); in GetTorInit() 234 StructType *STy = StructType::get(Int32Ty, TorList[0].first->getType()); in GetTorInit() 235 for (unsigned i = 0, e = TorList.size(); i != e; ++i) { in GetTorInit() 236 Constant *Elts[] = {ConstantInt::get(Int32Ty, TorList[i].second), in GetTorInit() 237 TorList[i].first}; in GetTorInit()
|
/external/llvm/tools/bugpoint/ |
D | ExtractFunction.cpp | 228 static Constant *GetTorInit(std::vector<std::pair<Function*, int> > &TorList) { in GetTorInit() argument 229 assert(!TorList.empty() && "Don't create empty tor list!"); in GetTorInit() 231 Type *Int32Ty = Type::getInt32Ty(TorList[0].first->getContext()); in GetTorInit() 234 StructType::get(Int32Ty, TorList[0].first->getType(), nullptr); in GetTorInit() 235 for (unsigned i = 0, e = TorList.size(); i != e; ++i) { in GetTorInit() 237 ConstantInt::get(Int32Ty, TorList[i].second), in GetTorInit() 238 TorList[i].first in GetTorInit()
|