Searched refs:CurrentI (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | CallSiteSplitting.cpp | 393 Instruction *CurrentI = &*I++; in splitCallSite() local 394 if (!CurrentI->use_empty()) { in splitCallSite() 397 if (isa<PHINode>(CurrentI)) in splitCallSite() 399 PHINode *NewPN = PHINode::Create(CurrentI->getType(), Preds.size()); in splitCallSite() 400 NewPN->setDebugLoc(CurrentI->getDebugLoc()); in splitCallSite() 402 NewPN->addIncoming(Mapping[CurrentI], in splitCallSite() 403 cast<Instruction>(Mapping[CurrentI])->getParent()); in splitCallSite() 405 CurrentI->replaceAllUsesWith(NewPN); in splitCallSite() 407 CurrentI->eraseFromParent(); in splitCallSite() 409 if (CurrentI == OriginalBegin) in splitCallSite()
|
| H A D | DeadStoreElimination.cpp | 1279 Instruction *CurrentI = CurrentDef->getMemoryInst(); in getDomMemoryDef() local 1288 if (mayThrowBetween(KillingI, CurrentI, KillingUndObj)) { in getDomMemoryDef() 1295 if (isDSEBarrier(KillingUndObj, CurrentI)) { in getDomMemoryDef() 1304 if (!isa<IntrinsicInst>(CurrentI) && isReadClobber(KillingLoc, CurrentI)) in getDomMemoryDef() 1320 CurrentLoc = getLocForWrite(CurrentI); in getDomMemoryDef() 1321 if (!CurrentLoc || !isRemovable(CurrentI)) { in getDomMemoryDef() 1329 if (!isGuaranteedLoopIndependent(CurrentI, KillingI, *CurrentLoc)) { in getDomMemoryDef() 1339 if (!isMemTerminator(*CurrentLoc, CurrentI, KillingI)) { in getDomMemoryDef() 1346 auto OR = isOverwrite(KillingI, CurrentI, KillingLoc, *CurrentLoc, in getDomMemoryDef()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | OpenMPOpt.cpp | 1728 Instruction *CurrentI = &RuntimeCall; in canBeMovedDownwards() local 1730 while ((CurrentI = CurrentI->getNextNode())) { in canBeMovedDownwards() 1735 if (CurrentI->mayHaveSideEffects() || CurrentI->mayReadFromMemory()) { in canBeMovedDownwards() 1737 return CurrentI; in canBeMovedDownwards()
|