• Home
  • Raw
  • Download

Lines Matching refs:FieldNo

1106 static Value *GetHeapSROAValue(Value *V, unsigned FieldNo,  in GetHeapSROAValue()  argument
1111 if (FieldNo >= FieldVals.size()) in GetHeapSROAValue()
1112 FieldVals.resize(FieldNo+1); in GetHeapSROAValue()
1116 if (Value *FieldVal = FieldVals[FieldNo]) in GetHeapSROAValue()
1124 Result = new LoadInst(GetHeapSROAValue(LI->getOperand(0), FieldNo, in GetHeapSROAValue()
1127 LI->getName()+".f"+Twine(FieldNo), LI); in GetHeapSROAValue()
1138 PHINode::Create(PointerType::get(ST->getElementType(FieldNo), AS), in GetHeapSROAValue()
1140 PN->getName()+".f"+Twine(FieldNo), PN); in GetHeapSROAValue()
1142 PHIsToRewrite.push_back(std::make_pair(PN, FieldNo)); in GetHeapSROAValue()
1145 return FieldVals[FieldNo] = Result; in GetHeapSROAValue()
1175 unsigned FieldNo = cast<ConstantInt>(GEPI->getOperand(2))->getZExtValue(); in RewriteHeapSROALoadUser() local
1176 Value *NewPtr = GetHeapSROAValue(GEPI->getOperand(0), FieldNo, in RewriteHeapSROALoadUser()
1251 for (unsigned FieldNo = 0, e = STy->getNumElements(); FieldNo != e;++FieldNo){ in PerformHeapAllocSRoA() local
1252 Type *FieldTy = STy->getElementType(FieldNo); in PerformHeapAllocSRoA()
1257 Constant::getNullValue(PFieldTy), GV->getName() + ".f" + Twine(FieldNo), in PerformHeapAllocSRoA()
1269 CI->getName() + ".f" + Twine(FieldNo)); in PerformHeapAllocSRoA()
1376 unsigned FieldNo = PHIsToRewrite.back().second; in PerformHeapAllocSRoA() local
1378 PHINode *FieldPN = cast<PHINode>(InsertedScalarizedValues[PN][FieldNo]); in PerformHeapAllocSRoA()
1384 InVal = GetHeapSROAValue(InVal, FieldNo, InsertedScalarizedValues, in PerformHeapAllocSRoA()