Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DScalarReplAggregates.cpp2327 Value *SrcField = NewElts[i]; in RewriteLoadUserOfWholeAlloca() local
2329 cast<PointerType>(SrcField->getType())->getElementType(); in RewriteLoadUserOfWholeAlloca()
2339 SrcField = new BitCastInst(SrcField, in RewriteLoadUserOfWholeAlloca()
2342 SrcField = new LoadInst(SrcField, "sroa.load.elt", LI); in RewriteLoadUserOfWholeAlloca()
2346 if (SrcField->getType() != FieldIntTy) in RewriteLoadUserOfWholeAlloca()
2347 SrcField = new BitCastInst(SrcField, FieldIntTy, "", LI); in RewriteLoadUserOfWholeAlloca()
2351 if (SrcField->getType() != ResultVal->getType()) in RewriteLoadUserOfWholeAlloca()
2352 SrcField = new ZExtInst(SrcField, ResultVal->getType(), "", LI); in RewriteLoadUserOfWholeAlloca()
2365 Value *ShiftVal = ConstantInt::get(SrcField->getType(), Shift); in RewriteLoadUserOfWholeAlloca()
2366 SrcField = BinaryOperator::CreateShl(SrcField, ShiftVal, "", LI); in RewriteLoadUserOfWholeAlloca()
[all …]