Lines Matching refs:ResultIndex
3834 Value *ResultPtr = nullptr, *ResultIndex = nullptr; in optimizeMemoryInst() local
3892 ResultIndex = V; in optimizeMemoryInst()
3909 Instruction *I = dyn_cast_or_null<Instruction>(ResultIndex); in optimizeMemoryInst()
3910 if (I && (ResultIndex != AddrMode.BaseReg)) in optimizeMemoryInst()
3918 if (ResultIndex) in optimizeMemoryInst()
3919 ResultIndex = Builder.CreateAdd(ResultIndex, V, "sunkaddr"); in optimizeMemoryInst()
3921 ResultIndex = V; in optimizeMemoryInst()
3927 if (ResultIndex) { in optimizeMemoryInst()
3932 ResultPtr = Builder.CreateGEP(I8Ty, ResultPtr, ResultIndex, "sunkaddr"); in optimizeMemoryInst()
3935 ResultIndex = V; in optimizeMemoryInst()
3938 if (!ResultIndex) { in optimizeMemoryInst()
3943 SunkAddr = Builder.CreateGEP(I8Ty, ResultPtr, ResultIndex, "sunkaddr"); in optimizeMemoryInst()