Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DCodeGenPrepare.cpp818 Value *&SunkAddr = SunkAddrs[Addr]; in OptimizeMemoryInst() local
819 if (SunkAddr) { in OptimizeMemoryInst()
822 if (SunkAddr->getType() != Addr->getType()) in OptimizeMemoryInst()
823 SunkAddr = Builder.CreateBitCast(SunkAddr, Addr->getType()); in OptimizeMemoryInst()
887 SunkAddr = Constant::getNullValue(Addr->getType()); in OptimizeMemoryInst()
889 SunkAddr = Builder.CreateIntToPtr(Result, Addr->getType(), "sunkaddr"); in OptimizeMemoryInst()
892 MemoryInst->replaceUsesOfWith(Repl, SunkAddr); in OptimizeMemoryInst()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp3819 Value *&SunkAddr = SunkAddrs[Addr]; in optimizeMemoryInst() local
3820 if (SunkAddr) { in optimizeMemoryInst()
3823 if (SunkAddr->getType() != Addr->getType()) in optimizeMemoryInst()
3824 SunkAddr = Builder.CreateBitCast(SunkAddr, Addr->getType()); in optimizeMemoryInst()
3874 SunkAddr = Constant::getNullValue(Addr->getType()); in optimizeMemoryInst()
3939 SunkAddr = ResultPtr; in optimizeMemoryInst()
3943 SunkAddr = Builder.CreateGEP(I8Ty, ResultPtr, ResultIndex, "sunkaddr"); in optimizeMemoryInst()
3946 if (SunkAddr->getType() != Addr->getType()) in optimizeMemoryInst()
3947 SunkAddr = Builder.CreateBitCast(SunkAddr, Addr->getType()); in optimizeMemoryInst()
4018 SunkAddr = Constant::getNullValue(Addr->getType()); in optimizeMemoryInst()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4469 Value * SunkAddr = SunkAddrVH.pointsToAliveValue() ? SunkAddrVH : nullptr; in optimizeMemoryInst() local
4470 if (SunkAddr) { in optimizeMemoryInst()
4473 if (SunkAddr->getType() != Addr->getType()) in optimizeMemoryInst()
4474 SunkAddr = Builder.CreatePointerCast(SunkAddr, Addr->getType()); in optimizeMemoryInst()
4538 SunkAddr = Constant::getNullValue(Addr->getType()); in optimizeMemoryInst()
4595 SunkAddr = ResultPtr; in optimizeMemoryInst()
4599 SunkAddr = Builder.CreateGEP(I8Ty, ResultPtr, ResultIndex, "sunkaddr"); in optimizeMemoryInst()
4602 if (SunkAddr->getType() != Addr->getType()) in optimizeMemoryInst()
4603 SunkAddr = Builder.CreatePointerCast(SunkAddr, Addr->getType()); in optimizeMemoryInst()
4687 SunkAddr = Constant::getNullValue(Addr->getType()); in optimizeMemoryInst()
[all …]