Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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.cpp1343 Instruction *CurrentI = CurrentDef->getMemoryInst(); in getDomMemoryDef() local
1353 if (mayThrowBetween(KillingI, CurrentI, DefUO)) { in getDomMemoryDef()
1360 if (isDSEBarrier(DefUO, CurrentI)) { in getDomMemoryDef()
1369 if (!isa<IntrinsicInst>(CurrentI) && isReadClobber(DefLoc, CurrentI)) in getDomMemoryDef()
1385 if (!hasAnalyzableMemoryWrite(CurrentI, TLI) || !isRemovable(CurrentI)) { in getDomMemoryDef()
1392 CurrentLoc = getLocForWriteEx(CurrentI); in getDomMemoryDef()
1414 if (!isMemTerminator(*CurrentLoc, CurrentI, KillingI)) { in getDomMemoryDef()
1421 auto OR = isOverwrite(KillingI, CurrentI, DefLoc, *CurrentLoc, in getDomMemoryDef()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DOpenMPOpt.cpp1271 Instruction *CurrentI = &RuntimeCall; in canBeMovedDownwards() local
1273 while ((CurrentI = CurrentI->getNextNode())) { in canBeMovedDownwards()
1278 if (CurrentI->mayHaveSideEffects() || CurrentI->mayReadFromMemory()) { in canBeMovedDownwards()
1280 return CurrentI; in canBeMovedDownwards()