Lines Matching refs:SrcField
2495 Value *SrcField = NewElts[i]; in RewriteLoadUserOfWholeAlloca() local
2497 cast<PointerType>(SrcField->getType())->getElementType(); in RewriteLoadUserOfWholeAlloca()
2507 SrcField = new BitCastInst(SrcField, in RewriteLoadUserOfWholeAlloca()
2510 SrcField = new LoadInst(SrcField, "sroa.load.elt", LI); in RewriteLoadUserOfWholeAlloca()
2514 if (SrcField->getType() != FieldIntTy) in RewriteLoadUserOfWholeAlloca()
2515 SrcField = new BitCastInst(SrcField, FieldIntTy, "", LI); in RewriteLoadUserOfWholeAlloca()
2519 if (SrcField->getType() != ResultVal->getType()) in RewriteLoadUserOfWholeAlloca()
2520 SrcField = new ZExtInst(SrcField, ResultVal->getType(), "", LI); in RewriteLoadUserOfWholeAlloca()
2533 Value *ShiftVal = ConstantInt::get(SrcField->getType(), Shift); in RewriteLoadUserOfWholeAlloca()
2534 SrcField = BinaryOperator::CreateShl(SrcField, ShiftVal, "", LI); in RewriteLoadUserOfWholeAlloca()
2540 ResultVal = BinaryOperator::CreateOr(SrcField, ResultVal, "", LI); in RewriteLoadUserOfWholeAlloca()
2542 ResultVal = SrcField; in RewriteLoadUserOfWholeAlloca()