Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DCallSiteSplitting.cpp393 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 DDeadStoreElimination.cpp1363 Instruction *CurrentI = CurrentDef->getMemoryInst(); in getDomMemoryDef() local
1372 if (mayThrowBetween(KillingI, CurrentI, KillingUndObj)) { in getDomMemoryDef()
1379 if (isDSEBarrier(KillingUndObj, CurrentI)) { in getDomMemoryDef()
1388 if (!isa<IntrinsicInst>(CurrentI) && isReadClobber(KillingLoc, CurrentI)) in getDomMemoryDef()
1404 CurrentLoc = getLocForWrite(CurrentI); in getDomMemoryDef()
1405 if (!CurrentLoc || !isRemovable(CurrentI)) { in getDomMemoryDef()
1413 if (!isGuaranteedLoopIndependent(CurrentI, KillingI, *CurrentLoc)) { in getDomMemoryDef()
1423 if (!isMemTerminator(*CurrentLoc, CurrentI, KillingI)) { in getDomMemoryDef()
1430 auto OR = isOverwrite(KillingI, CurrentI, KillingLoc, *CurrentLoc, in getDomMemoryDef()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DOpenMPOpt.cpp1554 Instruction *CurrentI = &RuntimeCall; in canBeMovedDownwards() local
1556 while ((CurrentI = CurrentI->getNextNode())) { in canBeMovedDownwards()
1561 if (CurrentI->mayHaveSideEffects() || CurrentI->mayReadFromMemory()) { in canBeMovedDownwards()
1563 return CurrentI; in canBeMovedDownwards()