Home
last modified time | relevance | path

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

/external/llvm/unittests/Transforms/Utils/
DCloning.cpp342 Instruction& OldI = *OldIter; in TEST_F() local
344 EXPECT_NE(&OldI, &NewI); in TEST_F()
346 EXPECT_EQ(OldI.hasMetadata(), NewI.hasMetadata()); in TEST_F()
347 if (OldI.hasMetadata()) { in TEST_F()
348 const DebugLoc& OldDL = OldI.getDebugLoc(); in TEST_F()
379 Instruction& OldI = *OldIter; in TEST_F() local
381 if (DbgDeclareInst* OldIntrin = dyn_cast<DbgDeclareInst>(&OldI)) { in TEST_F()
398 } else if (DbgValueInst* OldIntrin = dyn_cast<DbgValueInst>(&OldI)) { in TEST_F()
/external/llvm/lib/CodeGen/
DWinEHPrepare.cpp681 for (Instruction &OldI : *OldBlock) { in cloneCommonBlocks()
682 auto *OldPN = dyn_cast<PHINode>(&OldI); in cloneCommonBlocks()
733 auto *OldI = dyn_cast<Instruction>(const_cast<Value *>(VT.first)); in cloneCommonBlocks() local
734 if (!OldI) in cloneCommonBlocks()
739 for (Use &U : OldI->uses()) { in cloneCommonBlocks()
758 SSAUpdate.Initialize(OldI->getType(), OldI->getName()); in cloneCommonBlocks()
759 SSAUpdate.AddAvailableValue(OldI->getParent(), OldI); in cloneCommonBlocks()
DMachineBasicBlock.cpp573 succ_iterator OldI = E; in replaceSuccessor() local
576 OldI = I; in replaceSuccessor()
582 if (OldI != E) in replaceSuccessor()
586 assert(OldI != E && "Old is not a successor of this block"); in replaceSuccessor()
592 *OldI = New; in replaceSuccessor()
601 *ProbIter += *getProbabilityIterator(OldI); in replaceSuccessor()
603 removeSuccessor(OldI); in replaceSuccessor()
/external/llvm/lib/Transforms/Utils/
DCloneFunction.cpp633 BasicBlock::const_iterator OldI = OldBB->begin(); in CloneAndPruneIntoFromInst() local
637 assert(VMap[&*OldI] == PN && "VMap mismatch"); in CloneAndPruneIntoFromInst()
638 VMap[&*OldI] = NV; in CloneAndPruneIntoFromInst()
640 ++OldI; in CloneAndPruneIntoFromInst()
/external/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp1373 Instruction *OldI = Old; in doReplacement() local
1376 assert(OldI != NewI && "Disallowed at construction?!"); in doReplacement()
1382 OldI->replaceAllUsesWith(NewI); in doReplacement()
1383 OldI->eraseFromParent(); in doReplacement()
DSROA.cpp4068 if (Instruction *OldI = dyn_cast<Instruction>(OldV)) in clobberUse() local
4069 if (isInstructionTriviallyDead(OldI)) { in clobberUse()
4070 DeadInsts.insert(OldI); in clobberUse()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp9482 for (VerifyMap::iterator OldI = BackedgeDumpsOld.begin(), in verify() local
9485 OldI != OldE; ++OldI, ++NewI) { in verify()
9486 assert(OldI->first == NewI->first && "Loop order changed!"); in verify()
9493 if (OldI->second != NewI->second && in verify()
9494 OldI->second.find("undef") == std::string::npos && in verify()
9496 OldI->second != "***COULDNOTCOMPUTE***" && in verify()
9499 << OldI->first->getHeader()->getName() in verify()
9500 << "' changed from '" << OldI->second in verify()
/external/clang/lib/Sema/
DSemaOverload.cpp1078 OldI = Old->specific_attr_begin<EnableIfAttr>(), in IsOverload()
1080 NewI != NewE || OldI != OldE; ++NewI, ++OldI) { in IsOverload()
1081 if (NewI == NewE || OldI == OldE) in IsOverload()
1085 OldI->getCond()->Profile(OldID, Context, true); in IsOverload()