Searched refs:FieldGlobals (Results 1 – 2 of 2) 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/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()
|