Searched refs:OldI (Results 1 - 10 of 10) sorted by relevance

/external/llvm/unittests/Transforms/Utils/
H A DCloning.cpp322 Instruction& OldI = *OldIter; local
324 EXPECT_NE(&OldI, &NewI);
326 EXPECT_EQ(OldI.hasMetadata(), NewI.hasMetadata());
327 if (OldI.hasMetadata()) {
328 const DebugLoc& OldDL = OldI.getDebugLoc();
359 Instruction& OldI = *OldIter; local
361 if (DbgDeclareInst* OldIntrin = dyn_cast<DbgDeclareInst>(&OldI)) {
378 } else if (DbgValueInst* OldIntrin = dyn_cast<DbgValueInst>(&OldI)) {
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
H A DCloneFunction.cpp403 BasicBlock::const_iterator OldI = BI->begin(); local
404 for (; (PN = dyn_cast<PHINode>(I)); ++I, ++OldI)
405 PHIToResolve.push_back(cast<PHINode>(OldI));
483 BasicBlock::const_iterator OldI = OldBB->begin(); local
487 assert(VMap[OldI] == PN && "VMap mismatch");
488 VMap[OldI] = NV;
490 ++OldI;
/external/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp841 for (Instruction &OldI : *OldBlock) {
842 auto *OldPN = dyn_cast<PHINode>(&OldI);
893 auto *OldI = dyn_cast<Instruction>(const_cast<Value *>(VT.first)); local
894 if (!OldI)
899 for (Use &U : OldI->uses()) {
914 // We found a use of OldI outside of the funclet. Rename all uses of OldI
918 SSAUpdate.Initialize(OldI->getType(), OldI->getName());
919 SSAUpdate.AddAvailableValue(OldI
[all...]
H A DMachineBasicBlock.cpp576 succ_iterator OldI = E; local
579 OldI = I;
585 if (OldI != E)
589 assert(OldI != E && "Old is not a successor of this block");
595 *OldI = New;
604 *ProbIter += *getProbabilityIterator(OldI);
606 removeSuccessor(OldI);
/external/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp536 BasicBlock::const_iterator OldI = OldBB->begin(); local
540 assert(VMap[&*OldI] == PN && "VMap mismatch");
541 VMap[&*OldI] = NV;
543 ++OldI;
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DConstantsContext.h687 typename MapTy::iterator OldI = FindExistingElement(C); local
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/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp1250 Instruction *OldI = Old; local
1253 assert(OldI != NewI && "Disallowed at construction?!");
1261 OldI->replaceAllUsesWith(NewI);
1266 auto *RI = cast<ReturnInst>(OldI->getParent()->getTerminator());
1271 OldI->eraseFromParent();
H A DSROA.cpp4068 if (Instruction *OldI = dyn_cast<Instruction>(OldV))
4069 if (isInstructionTriviallyDead(OldI)) {
4070 DeadInsts.insert(OldI);
/external/llvm/lib/Analysis/
H A DScalarEvolution.cpp9980 for (VerifyMap::iterator OldI = BackedgeDumpsOld.begin(),
9983 OldI != OldE; ++OldI, ++NewI) {
9984 assert(OldI->first == NewI->first && "Loop order changed!");
9991 if (OldI->second != NewI->second &&
9992 OldI->second.find("undef") == std::string::npos &&
9994 OldI->second != "***COULDNOTCOMPUTE***" &&
9997 << OldI->first->getHeader()->getName()
9998 << "' changed from '" << OldI->second
/external/clang/lib/Sema/
H A DSemaOverload.cpp1116 OldI = Old->specific_attr_begin<EnableIfAttr>(),
1118 NewI != NewE || OldI != OldE; ++NewI, ++OldI) {
1119 if (NewI == NewE || OldI == OldE)
1123 OldI->getCond()->Profile(OldID, Context, true);

Completed in 1044 milliseconds