Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCallSiteSplitting.cpp394 Instruction *CurrentI = &*I++; in splitCallSite() local
395 if (!CurrentI->use_empty()) { in splitCallSite()
398 if (isa<PHINode>(CurrentI)) in splitCallSite()
400 PHINode *NewPN = PHINode::Create(CurrentI->getType(), Preds.size()); in splitCallSite()
401 NewPN->setDebugLoc(CurrentI->getDebugLoc()); in splitCallSite()
403 NewPN->addIncoming(Mapping[CurrentI], in splitCallSite()
404 cast<Instruction>(Mapping[CurrentI])->getParent()); in splitCallSite()
406 CurrentI->replaceAllUsesWith(NewPN); in splitCallSite()
408 CurrentI->eraseFromParent(); in splitCallSite()
410 if (CurrentI == OriginalBegin) in splitCallSite()
H A DDeadStoreElimination.cpp1390 Instruction *CurrentI = CurrentDef->getMemoryInst(); in getDomMemoryDef() local
1397 if (mayThrowBetween(KillingI, CurrentI, DefUO)) { in getDomMemoryDef()
1404 if (isDSEBarrier(DefUO, CurrentI)) { in getDomMemoryDef()
1413 if (!isa<IntrinsicInst>(CurrentI) && isReadClobber(DefLoc, CurrentI)) in getDomMemoryDef()
1429 if (!hasAnalyzableMemoryWrite(CurrentI, TLI) || !isRemovable(CurrentI)) in getDomMemoryDef()
1433 CurrentLoc = getLocForWriteEx(CurrentI); in getDomMemoryDef()
1440 if (!isGuaranteedLoopIndependent(CurrentI, KillingI, *CurrentLoc)) { in getDomMemoryDef()
1450 if (!isMemTerminator(*CurrentLoc, CurrentI, KillingI)) in getDomMemoryDef()
1454 auto OR = isOverwrite(KillingI, CurrentI, DefLoc, *CurrentLoc, in getDomMemoryDef()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DOpenMPOpt.cpp1433 Instruction *CurrentI = &RuntimeCall; in canBeMovedDownwards() local
1435 while ((CurrentI = CurrentI->getNextNode())) { in canBeMovedDownwards()
1440 if (CurrentI->mayHaveSideEffects() || CurrentI->mayReadFromMemory()) { in canBeMovedDownwards()
1442 return CurrentI; in canBeMovedDownwards()