• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/

Lines Matching refs:MemoryAccess

43 MemoryAccess *MemorySSAUpdater::getPreviousDefRecursive(
45 DenseMap<BasicBlock *, TrackingVH<MemoryAccess>> &CachedPreviousDef) {
59 MemoryAccess *Result = getPreviousDefFromEnd(Pred, CachedPreviousDef);
68 MemoryAccess *Result = MSSA->createMemoryPhi(BB);
75 SmallVector<TrackingVH<MemoryAccess>, 8> PhiOps;
81 MemoryAccess *SingleAccess = nullptr;
144 MemoryAccess *MemorySSAUpdater::getPreviousDef(MemoryAccess *MA) {
147 DenseMap<BasicBlock *, TrackingVH<MemoryAccess>> CachedPreviousDef;
154 MemoryAccess *MemorySSAUpdater::getPreviousDefInBlock(MemoryAccess *MA) {
170 return cast<MemoryAccess>(&U);
179 MemoryAccess *MemorySSAUpdater::getPreviousDefFromEnd(
181 DenseMap<BasicBlock *, TrackingVH<MemoryAccess>> &CachedPreviousDef) {
192 MemoryAccess *MemorySSAUpdater::recursePhi(MemoryAccess *Phi) {
195 TrackingVH<MemoryAccess> Res(Phi);
209 MemoryAccess *MemorySSAUpdater::tryRemoveTrivialPhi(MemoryPhi *Phi) {
215 MemoryAccess *MemorySSAUpdater::tryRemoveTrivialPhi(MemoryPhi *Phi,
222 MemoryAccess *Same = nullptr;
230 Same = cast<MemoryAccess>(&*Op);
274 MemoryAccess *FirstDef = &*Defs->begin();
292 MemoryAccess *NewDef) {
318 MemoryAccess *DefBefore = getPreviousDef(MD);
398 DenseMap<BasicBlock *, TrackingVH<MemoryAccess>> CachedPreviousDef;
437 MemoryAccess *FirstDef = &*MSSA->getWritableBlockDefs(StartBlock)->begin();
458 MemoryAccess *NewDef = dyn_cast_or_null<MemoryAccess>(Var);
535 MPhi->unorderedDeleteIncomingIf([&](const MemoryAccess *, BasicBlock *B) {
547 static MemoryAccess *getNewDefiningAccessForClone(MemoryAccess *MA,
552 MemoryAccess *InsnDefining = MA;
577 if (MemoryAccess *NewDefPhi = MPhiMap.lookup(DefPhi))
591 for (const MemoryAccess &MA : *Acc) {
603 MemoryAccess *NewUseOrDef = MSSA->createDefinedAccess(
626 MemoryAccess *UniqueValue = nullptr;
629 MemoryAccess *IV = MPhi->getIncomingValue(I);
667 MemoryAccess *IncomingAccess = Phi->getIncomingValue(It);
697 if (MemoryAccess *NewDefPhi = MPhiMap.lookup(IncPhi))
727 if (MemoryAccess *NewPhi = MPhiMap.lookup(MPhi))
825 auto GetLastDef = [&](BasicBlock *BB) -> MemoryAccess * {
982 SmallDenseMap<BasicBlock *, MemoryAccess *> LastDefAddedPred;
1002 MemoryAccess *DefP1 = GetLastDef(P1);
1101 MemoryAccess *Usr = cast<MemoryAccess>(U.getUser());
1182 MemoryAccess *FirstInNew = nullptr;
1232 static MemoryAccess *onlySingleValue(MemoryPhi *MP) {
1233 MemoryAccess *MA = nullptr;
1237 MA = cast<MemoryAccess>(Arg);
1267 Phi->unorderedDeleteIncomingIf([&](MemoryAccess *MA, BasicBlock *B) {
1281 void MemorySSAUpdater::removeMemoryAccess(MemoryAccess *MA, bool OptimizePhis) {
1286 MemoryAccess *NewDefTarget = nullptr;
1361 for (MemoryAccess &MA : *Acc)
1371 MemoryAccess *MA = &*AB;
1422 MemoryAccess *MemorySSAUpdater::createMemoryAccessInBB(
1423 Instruction *I, MemoryAccess *Definition, const BasicBlock *BB,
1431 Instruction *I, MemoryAccess *Definition, MemoryUseOrDef *InsertPt) {
1441 Instruction *I, MemoryAccess *Definition, MemoryAccess *InsertPt) {