Lines Matching refs:A0
338 Instruction *A0 = dyn_cast<Instruction>(L0->getPointerOperand()); in hoistLoad() local
340 if (A0 && A1 && A0->isIdenticalTo(A1) && isSafeToHoist(A0) && in hoistLoad()
341 A0->hasOneUse() && (A0->getParent() == L0->getParent()) && in hoistLoad()
343 isa<GetElementPtrInst>(A0)) { in hoistLoad()
347 hoistInstruction(BB, A0, A1); in hoistLoad()
479 Instruction *A0 = dyn_cast<Instruction>(S0->getPointerOperand()); in sinkStore() local
481 if (A0 && A1 && A0->isIdenticalTo(A1) && A0->hasOneUse() && in sinkStore()
482 (A0->getParent() == S0->getParent()) && A1->hasOneUse() && in sinkStore()
483 (A1->getParent() == S1->getParent()) && isa<GetElementPtrInst>(A0)) { in sinkStore()
495 Instruction *ANew = A0->clone(); in sinkStore()
500 assert(S0->getParent() == A0->getParent()); in sinkStore()
509 A0->replaceAllUsesWith(ANew); in sinkStore()
510 removeInstruction(A0); in sinkStore()