Searched refs:FieldGlobals (Results 1 – 3 of 3) sorted by relevance
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 1244 std::vector<Value*> FieldGlobals; in PerformHeapAllocSRoA() local 1260 FieldGlobals.push_back(NGV); in PerformHeapAllocSRoA() 1315 for (unsigned i = 0, e = FieldGlobals.size(); i != e; ++i) { in PerformHeapAllocSRoA() 1316 Value *GVVal = new LoadInst(FieldGlobals[i], "tmp", NullPtrBlock); in PerformHeapAllocSRoA() 1328 new StoreInst(Constant::getNullValue(GVVal->getType()), FieldGlobals[i], in PerformHeapAllocSRoA() 1343 InsertedScalarizedValues[GV] = FieldGlobals; in PerformHeapAllocSRoA() 1364 for (unsigned i = 0, e = FieldGlobals.size(); i != e; ++i) { in PerformHeapAllocSRoA() 1365 Type *ValTy = cast<GlobalValue>(FieldGlobals[i])->getValueType(); in PerformHeapAllocSRoA() 1367 new StoreInst(Null, FieldGlobals[i], SI); in PerformHeapAllocSRoA() 1414 return cast<GlobalVariable>(FieldGlobals[0]); in PerformHeapAllocSRoA()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 1288 std::vector<Value *> FieldGlobals; in PerformHeapAllocSRoA() local 1304 FieldGlobals.push_back(NGV); in PerformHeapAllocSRoA() 1359 for (unsigned i = 0, e = FieldGlobals.size(); i != e; ++i) { in PerformHeapAllocSRoA() 1360 Value *GVVal = new LoadInst(FieldGlobals[i], "tmp", NullPtrBlock); in PerformHeapAllocSRoA() 1372 new StoreInst(Constant::getNullValue(GVVal->getType()), FieldGlobals[i], in PerformHeapAllocSRoA() 1387 InsertedScalarizedValues[GV] = FieldGlobals; in PerformHeapAllocSRoA() 1408 for (unsigned i = 0, e = FieldGlobals.size(); i != e; ++i) { in PerformHeapAllocSRoA() 1409 Type *ValTy = cast<GlobalValue>(FieldGlobals[i])->getValueType(); in PerformHeapAllocSRoA() 1411 new StoreInst(Null, FieldGlobals[i], SI); in PerformHeapAllocSRoA() 1458 return cast<GlobalVariable>(FieldGlobals[0]); in PerformHeapAllocSRoA()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 1309 std::vector<Value*> FieldGlobals; in PerformHeapAllocSRoA() local 1322 FieldGlobals.push_back(NGV); in PerformHeapAllocSRoA() 1376 for (unsigned i = 0, e = FieldGlobals.size(); i != e; ++i) { in PerformHeapAllocSRoA() 1377 Value *GVVal = new LoadInst(FieldGlobals[i], "tmp", NullPtrBlock); in PerformHeapAllocSRoA() 1389 new StoreInst(Constant::getNullValue(GVVal->getType()), FieldGlobals[i], in PerformHeapAllocSRoA() 1405 InsertedScalarizedValues[GV] = FieldGlobals; in PerformHeapAllocSRoA() 1426 for (unsigned i = 0, e = FieldGlobals.size(); i != e; ++i) { in PerformHeapAllocSRoA() 1427 PointerType *PT = cast<PointerType>(FieldGlobals[i]->getType()); in PerformHeapAllocSRoA() 1429 new StoreInst(Null, FieldGlobals[i], SI); in PerformHeapAllocSRoA() 1476 return cast<GlobalVariable>(FieldGlobals[0]); in PerformHeapAllocSRoA()
|