Searched refs:FieldGlobals (Results 1 - 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1211 /// global. Eliminate all uses of Ptr, making them use FieldGlobals instead.
1244 std::vector<Value*> FieldGlobals; local
1260 FieldGlobals.push_back(NGV);
1315 for (unsigned i = 0, e = FieldGlobals.size(); i != e; ++i) {
1316 Value *GVVal = new LoadInst(FieldGlobals[i], "tmp", NullPtrBlock);
1328 new StoreInst(Constant::getNullValue(GVVal->getType()), FieldGlobals[i],
1343 InsertedScalarizedValues[GV] = FieldGlobals;
1364 for (unsigned i = 0, e = FieldGlobals.size(); i != e; ++i) {
1365 Type *ValTy = cast<GlobalValue>(FieldGlobals[i])->getValueType();
1367 new StoreInst(Null, FieldGlobals[
[all...]
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
H A DGlobalOpt.cpp1276 /// use FieldGlobals instead. All uses of loaded values satisfy
1309 std::vector<Value*> FieldGlobals; local
1322 FieldGlobals.push_back(NGV);
1376 for (unsigned i = 0, e = FieldGlobals.size(); i != e; ++i) {
1377 Value *GVVal = new LoadInst(FieldGlobals[i], "tmp", NullPtrBlock);
1389 new StoreInst(Constant::getNullValue(GVVal->getType()), FieldGlobals[i],
1405 InsertedScalarizedValues[GV] = FieldGlobals;
1426 for (unsigned i = 0, e = FieldGlobals.size(); i != e; ++i) {
1427 PointerType *PT = cast<PointerType>(FieldGlobals[i]->getType());
1429 new StoreInst(Null, FieldGlobals[
[all...]

Completed in 66 milliseconds