Home
last modified time | relevance | path

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

/external/llvm/unittests/Transforms/Utils/
DCloning.cpp322 Instruction& OldI = *OldIter; in TEST_F() local
324 EXPECT_NE(&OldI, &NewI); in TEST_F()
326 EXPECT_EQ(OldI.hasMetadata(), NewI.hasMetadata()); in TEST_F()
327 if (OldI.hasMetadata()) { in TEST_F()
328 const DebugLoc& OldDL = OldI.getDebugLoc(); in TEST_F()
359 Instruction& OldI = *OldIter; in TEST_F() local
361 if (DbgDeclareInst* OldIntrin = dyn_cast<DbgDeclareInst>(&OldI)) { in TEST_F()
378 } else if (DbgValueInst* OldIntrin = dyn_cast<DbgValueInst>(&OldI)) { in TEST_F()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DCloneFunction.cpp403 BasicBlock::const_iterator OldI = BI->begin(); in CloneAndPruneFunctionInto() local
404 for (; (PN = dyn_cast<PHINode>(I)); ++I, ++OldI) in CloneAndPruneFunctionInto()
405 PHIToResolve.push_back(cast<PHINode>(OldI)); in CloneAndPruneFunctionInto()
483 BasicBlock::const_iterator OldI = OldBB->begin(); in CloneAndPruneFunctionInto() local
487 assert(VMap[OldI] == PN && "VMap mismatch"); in CloneAndPruneFunctionInto()
488 VMap[OldI] = NV; in CloneAndPruneFunctionInto()
490 ++OldI; in CloneAndPruneFunctionInto()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DCloning.cpp481 Instruction& OldI = *OldIter; in TEST_F() local
483 EXPECT_NE(&OldI, &NewI); in TEST_F()
485 EXPECT_EQ(OldI.hasMetadata(), NewI.hasMetadata()); in TEST_F()
486 if (OldI.hasMetadata()) { in TEST_F()
487 const DebugLoc& OldDL = OldI.getDebugLoc(); in TEST_F()
518 Instruction& OldI = *OldIter; in TEST_F() local
520 if (DbgDeclareInst* OldIntrin = dyn_cast<DbgDeclareInst>(&OldI)) { in TEST_F()
543 } else if (DbgValueInst* OldIntrin = dyn_cast<DbgValueInst>(&OldI)) { in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineBasicBlock.cpp665 succ_iterator OldI = llvm::find(successors(), Old); in splitSuccessor() local
666 assert(OldI != succ_end() && "Old is not a successor of this block!"); in splitSuccessor()
676 : *getProbabilityIterator(OldI)); in splitSuccessor()
711 succ_iterator OldI = E; in replaceSuccessor() local
714 OldI = I; in replaceSuccessor()
720 if (OldI != E) in replaceSuccessor()
724 assert(OldI != E && "Old is not a successor of this block"); in replaceSuccessor()
730 *OldI = New; in replaceSuccessor()
739 *ProbIter += *getProbabilityIterator(OldI); in replaceSuccessor()
741 removeSuccessor(OldI); in replaceSuccessor()
DWinEHPrepare.cpp897 auto *OldI = dyn_cast<Instruction>(const_cast<Value *>(VT.first)); in cloneCommonBlocks() local
898 if (!OldI) in cloneCommonBlocks()
903 for (Use &U : OldI->uses()) { in cloneCommonBlocks()
922 SSAUpdate.Initialize(OldI->getType(), OldI->getName()); in cloneCommonBlocks()
923 SSAUpdate.AddAvailableValue(OldI->getParent(), OldI); in cloneCommonBlocks()
/external/llvm/lib/CodeGen/
DWinEHPrepare.cpp841 for (Instruction &OldI : *OldBlock) { in cloneCommonBlocks()
842 auto *OldPN = dyn_cast<PHINode>(&OldI); in cloneCommonBlocks()
893 auto *OldI = dyn_cast<Instruction>(const_cast<Value *>(VT.first)); in cloneCommonBlocks() local
894 if (!OldI) in cloneCommonBlocks()
899 for (Use &U : OldI->uses()) { in cloneCommonBlocks()
918 SSAUpdate.Initialize(OldI->getType(), OldI->getName()); in cloneCommonBlocks()
919 SSAUpdate.AddAvailableValue(OldI->getParent(), OldI); in cloneCommonBlocks()
DMachineBasicBlock.cpp576 succ_iterator OldI = E; in replaceSuccessor() local
579 OldI = I; in replaceSuccessor()
585 if (OldI != E) in replaceSuccessor()
589 assert(OldI != E && "Old is not a successor of this block"); in replaceSuccessor()
595 *OldI = New; in replaceSuccessor()
604 *ProbIter += *getProbabilityIterator(OldI); in replaceSuccessor()
606 removeSuccessor(OldI); in replaceSuccessor()
/external/llvm/lib/Transforms/Utils/
DCloneFunction.cpp536 BasicBlock::const_iterator OldI = OldBB->begin(); in CloneAndPruneIntoFromInst() local
540 assert(VMap[&*OldI] == PN && "VMap mismatch"); in CloneAndPruneIntoFromInst()
541 VMap[&*OldI] = NV; in CloneAndPruneIntoFromInst()
543 ++OldI; in CloneAndPruneIntoFromInst()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantsContext.h687 typename MapTy::iterator OldI = FindExistingElement(C);
688 assert(OldI != Map.end() && "Constant not found in constant table!");
689 assert(OldI->second == C && "Didn't find correct element?");
692 Map.erase(OldI);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DCloneFunction.cpp573 BasicBlock::const_iterator OldI = OldBB->begin(); in CloneAndPruneIntoFromInst() local
577 assert(VMap[&*OldI] == PN && "VMap mismatch"); in CloneAndPruneIntoFromInst()
578 VMap[&*OldI] = NV; in CloneAndPruneIntoFromInst()
580 ++OldI; in CloneAndPruneIntoFromInst()
/external/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp1250 Instruction *OldI = Old; in doReplacement() local
1253 assert(OldI != NewI && "Disallowed at construction?!"); in doReplacement()
1261 OldI->replaceAllUsesWith(NewI); in doReplacement()
1266 auto *RI = cast<ReturnInst>(OldI->getParent()->getTerminator()); in doReplacement()
1271 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp1374 Instruction *OldI = Old; in doReplacement() local
1377 assert(OldI != NewI && "Disallowed at construction?!"); in doReplacement()
1385 OldI->replaceAllUsesWith(NewI); in doReplacement()
1390 auto *RI = cast<ReturnInst>(OldI->getParent()->getTerminator()); in doReplacement()
1395 OldI->eraseFromParent(); in doReplacement()
DSROA.cpp4328 if (Instruction *OldI = dyn_cast<Instruction>(OldV)) in clobberUse() local
4329 if (isInstructionTriviallyDead(OldI)) { in clobberUse()
4330 DeadInsts.insert(OldI); in clobberUse()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp9980 for (VerifyMap::iterator OldI = BackedgeDumpsOld.begin(), in verify() local
9983 OldI != OldE; ++OldI, ++NewI) { in verify()
9984 assert(OldI->first == NewI->first && "Loop order changed!"); in verify()
9991 if (OldI->second != NewI->second && in verify()
9992 OldI->second.find("undef") == std::string::npos && in verify()
9994 OldI->second != "***COULDNOTCOMPUTE***" && in verify()
9997 << OldI->first->getHeader()->getName() in verify()
9998 << "' changed from '" << OldI->second in verify()
/external/clang/lib/Sema/
DSemaOverload.cpp1116 OldI = Old->specific_attr_begin<EnableIfAttr>(), in IsOverload()
1118 NewI != NewE || OldI != OldE; ++NewI, ++OldI) { in IsOverload()
1119 if (NewI == NewE || OldI == OldE) in IsOverload()
1123 OldI->getCond()->Profile(OldID, Context, true); in IsOverload()