Lines Matching refs:FieldNo

1182 static Value *GetHeapSROAValue(Value *V, unsigned FieldNo,  in GetHeapSROAValue()  argument
1187 if (FieldNo >= FieldVals.size()) in GetHeapSROAValue()
1188 FieldVals.resize(FieldNo+1); in GetHeapSROAValue()
1192 if (Value *FieldVal = FieldVals[FieldNo]) in GetHeapSROAValue()
1200 Value *V = GetHeapSROAValue(LI->getOperand(0), FieldNo, in GetHeapSROAValue()
1203 LI->getName() + ".f" + Twine(FieldNo), LI); in GetHeapSROAValue()
1214 PHINode::Create(PointerType::get(ST->getElementType(FieldNo), AS), in GetHeapSROAValue()
1216 PN->getName()+".f"+Twine(FieldNo), PN); in GetHeapSROAValue()
1218 PHIsToRewrite.push_back(std::make_pair(PN, FieldNo)); in GetHeapSROAValue()
1221 return FieldVals[FieldNo] = Result; in GetHeapSROAValue()
1251 unsigned FieldNo = cast<ConstantInt>(GEPI->getOperand(2))->getZExtValue(); in RewriteHeapSROALoadUser() local
1252 Value *NewPtr = GetHeapSROAValue(GEPI->getOperand(0), FieldNo, in RewriteHeapSROALoadUser()
1328 for (unsigned FieldNo = 0, e = STy->getNumElements(); FieldNo != e;++FieldNo){ in PerformHeapAllocSRoA() local
1329 Type *FieldTy = STy->getElementType(FieldNo); in PerformHeapAllocSRoA()
1334 Constant::getNullValue(PFieldTy), GV->getName() + ".f" + Twine(FieldNo), in PerformHeapAllocSRoA()
1346 CI->getName() + ".f" + Twine(FieldNo)); in PerformHeapAllocSRoA()
1455 unsigned FieldNo = PHIsToRewrite.back().second; in PerformHeapAllocSRoA() local
1457 PHINode *FieldPN = cast<PHINode>(InsertedScalarizedValues[PN][FieldNo]); in PerformHeapAllocSRoA()
1463 InVal = GetHeapSROAValue(InVal, FieldNo, InsertedScalarizedValues, in PerformHeapAllocSRoA()