Home
last modified time | relevance | path

Searched refs:OldI (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineBasicBlock.cpp818 succ_iterator OldI = llvm::find(successors(), Old); in splitSuccessor() local
819 assert(OldI != succ_end() && "Old is not a successor of this block!"); in splitSuccessor()
829 : *getProbabilityIterator(OldI)); in splitSuccessor()
864 succ_iterator OldI = E; in replaceSuccessor() local
867 OldI = I; in replaceSuccessor()
873 if (OldI != E) in replaceSuccessor()
877 assert(OldI != E && "Old is not a successor of this block"); in replaceSuccessor()
883 *OldI = New; in replaceSuccessor()
892 *ProbIter += *getProbabilityIterator(OldI); in replaceSuccessor()
894 removeSuccessor(OldI); in replaceSuccessor()
H A DWinEHPrepare.cpp1087 auto *OldI = dyn_cast<Instruction>(const_cast<Value *>(VT.first)); in cloneCommonBlocks() local
1088 if (!OldI) in cloneCommonBlocks()
1093 for (Use &U : OldI->uses()) { in cloneCommonBlocks()
1112 SSAUpdate.Initialize(OldI->getType(), OldI->getName()); in cloneCommonBlocks()
1113 SSAUpdate.AddAvailableValue(OldI->getParent(), OldI); in cloneCommonBlocks()
H A DCodeGenPrepare.cpp1111 auto *OldI = dyn_cast<Instruction>(Old); in replaceAllUsesWith() local
1112 if (OldI) { in replaceAllUsesWith()
1113 for (Value::user_iterator UI = OldI->user_begin(), E = OldI->user_end(); in replaceAllUsesWith()
7795 Instruction *OldI = cast<Instruction>(U->getUser()); in tryToSinkFreeOperands() local
7796 if (auto It = NewInstructions.find(OldI); It != NewInstructions.end()) in tryToSinkFreeOperands()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp856 BasicBlock::const_iterator OldI = OldBB->begin(); in CloneAndPruneIntoFromInst() local
860 assert(VMap[&*OldI] == PN && "VMap mismatch"); in CloneAndPruneIntoFromInst()
861 VMap[&*OldI] = NV; in CloneAndPruneIntoFromInst()
863 ++OldI; in CloneAndPruneIntoFromInst()
/freebsd/contrib/llvm-project/llvm/lib/Demangle/
H A DRustDemangle.cpp1152 size_t OldI = I; in decodePunycode() local
1183 Bias = Adapt(I - OldI, NumPoints); in decodePunycode()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp1605 Instruction *OldI = Old; in doReplacement() local
1608 assert(OldI != NewI && "Disallowed at construction?!"); in doReplacement()
1616 OldI->replaceAllUsesWith(NewI); in doReplacement()
1621 auto *RI = cast<ReturnInst>(OldI->getParent()->getTerminator()); in doReplacement()
1626 OldI->eraseFromParent(); in doReplacement()
H A DSROA.cpp5563 if (Instruction *OldI = dyn_cast<Instruction>(OldV)) in clobberUse() local
5564 if (isInstructionTriviallyDead(OldI)) { in clobberUse()
5565 DeadInsts.push_back(OldI); in clobberUse()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp1590 OldI = Old->specific_attr_begin<EnableIfAttr>(), in IsOverloadOrOverrideImpl()
1592 NewI != NewE || OldI != OldE; ++NewI, ++OldI) { in IsOverloadOrOverrideImpl()
1593 if (NewI == NewE || OldI == OldE) in IsOverloadOrOverrideImpl()
1597 OldI->getCond()->Profile(OldID, SemaRef.Context, true); in IsOverloadOrOverrideImpl()