Home
last modified time | relevance | path

Searched refs:SrcField (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp2495 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()
[all …]