Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCallSiteSplitting.cpp392 Instruction *CurrentI = &*I++; in splitCallSite() local
393 if (!CurrentI->use_empty()) { in splitCallSite()
396 if (isa<PHINode>(CurrentI)) in splitCallSite()
398 PHINode *NewPN = PHINode::Create(CurrentI->getType(), Preds.size()); in splitCallSite()
399 NewPN->setDebugLoc(CurrentI->getDebugLoc()); in splitCallSite()
401 NewPN->addIncoming(Mapping[CurrentI], in splitCallSite()
402 cast<Instruction>(Mapping[CurrentI])->getParent()); in splitCallSite()
404 CurrentI->replaceAllUsesWith(NewPN); in splitCallSite()
406 CurrentI->dropDbgRecords(); in splitCallSite()
407 CurrentI->eraseFromParent(); in splitCallSite()
[all …]
H A DDeadStoreElimination.cpp1391 Instruction *CurrentI = CurrentDef->getMemoryInst(); in getDomMemoryDef() local
1400 if (mayThrowBetween(KillingI, CurrentI, KillingUndObj)) { in getDomMemoryDef()
1407 if (isDSEBarrier(KillingUndObj, CurrentI)) { in getDomMemoryDef()
1416 if (!isa<IntrinsicInst>(CurrentI) && isReadClobber(KillingLoc, CurrentI)) in getDomMemoryDef()
1432 CurrentLoc = getLocForWrite(CurrentI); in getDomMemoryDef()
1433 if (!CurrentLoc || !isRemovable(CurrentI)) { in getDomMemoryDef()
1441 if (!isGuaranteedLoopIndependent(CurrentI, KillingI, *CurrentLoc)) { in getDomMemoryDef()
1451 if (!isMemTerminator(*CurrentLoc, CurrentI, KillingI)) { in getDomMemoryDef()
1458 auto OR = isOverwrite(KillingI, CurrentI, KillingLoc, *CurrentLoc, in getDomMemoryDef()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DOpenMPOpt.cpp1692 Instruction *CurrentI = &RuntimeCall; in canBeMovedDownwards() local
1694 while ((CurrentI = CurrentI->getNextNode())) { in canBeMovedDownwards()
1699 if (CurrentI->mayHaveSideEffects() || CurrentI->mayReadFromMemory()) { in canBeMovedDownwards()
1701 return CurrentI; in canBeMovedDownwards()