/external/llvm/unittests/Transforms/Utils/ |
D | Cloning.cpp | 322 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/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 841 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()
|
D | MachineBasicBlock.cpp | 576 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/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineBasicBlock.cpp | 677 succ_iterator OldI = llvm::find(successors(), Old); in splitSuccessor() local 678 assert(OldI != succ_end() && "Old is not a successor of this block!"); in splitSuccessor() 688 : *getProbabilityIterator(OldI)); in splitSuccessor() 723 succ_iterator OldI = E; in replaceSuccessor() local 726 OldI = I; in replaceSuccessor() 732 if (OldI != E) in replaceSuccessor() 736 assert(OldI != E && "Old is not a successor of this block"); in replaceSuccessor() 742 *OldI = New; in replaceSuccessor() 751 *ProbIter += *getProbabilityIterator(OldI); in replaceSuccessor() 753 removeSuccessor(OldI); in replaceSuccessor()
|
D | WinEHPrepare.cpp | 898 auto *OldI = dyn_cast<Instruction>(const_cast<Value *>(VT.first)); in cloneCommonBlocks() local 899 if (!OldI) in cloneCommonBlocks() 904 for (Use &U : OldI->uses()) { in cloneCommonBlocks() 923 SSAUpdate.Initialize(OldI->getType(), OldI->getName()); in cloneCommonBlocks() 924 SSAUpdate.AddAvailableValue(OldI->getParent(), OldI); in cloneCommonBlocks()
|
D | CodeGenPrepare.cpp | 6324 Instruction *OldI = cast<Instruction>(U->getUser()); in tryToSinkFreeOperands() local 6325 if (NewInstructions.count(OldI)) in tryToSinkFreeOperands() 6326 NewInstructions[OldI]->setOperand(U->getOperandNo(), NI); in tryToSinkFreeOperands()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | MachineBasicBlock.cpp | 754 succ_iterator OldI = llvm::find(successors(), Old); in splitSuccessor() local 755 assert(OldI != succ_end() && "Old is not a successor of this block!"); in splitSuccessor() 765 : *getProbabilityIterator(OldI)); in splitSuccessor() 800 succ_iterator OldI = E; in replaceSuccessor() local 803 OldI = I; in replaceSuccessor() 809 if (OldI != E) in replaceSuccessor() 813 assert(OldI != E && "Old is not a successor of this block"); in replaceSuccessor() 819 *OldI = New; in replaceSuccessor() 828 *ProbIter += *getProbabilityIterator(OldI); in replaceSuccessor() 830 removeSuccessor(OldI); in replaceSuccessor()
|
D | WinEHPrepare.cpp | 920 auto *OldI = dyn_cast<Instruction>(const_cast<Value *>(VT.first)); in cloneCommonBlocks() local 921 if (!OldI) in cloneCommonBlocks() 926 for (Use &U : OldI->uses()) { in cloneCommonBlocks() 945 SSAUpdate.Initialize(OldI->getType(), OldI->getName()); in cloneCommonBlocks() 946 SSAUpdate.AddAvailableValue(OldI->getParent(), OldI); in cloneCommonBlocks()
|
D | CodeGenPrepare.cpp | 6778 Instruction *OldI = cast<Instruction>(U->getUser()); in tryToSinkFreeOperands() local 6779 if (NewInstructions.count(OldI)) in tryToSinkFreeOperands() 6780 NewInstructions[OldI]->setOperand(U->getOperandNo(), NI); in tryToSinkFreeOperands()
|
/external/llvm-project/llvm/unittests/Transforms/Utils/ |
D | CloningTest.cpp | 575 Instruction& OldI = *OldIter; in TEST_F() local 577 EXPECT_NE(&OldI, &NewI); in TEST_F() 579 EXPECT_EQ(OldI.hasMetadata(), NewI.hasMetadata()); in TEST_F() 580 if (OldI.hasMetadata()) { in TEST_F() 581 const DebugLoc& OldDL = OldI.getDebugLoc(); in TEST_F() 612 Instruction& OldI = *OldIter; in TEST_F() local 614 if (DbgDeclareInst* OldIntrin = dyn_cast<DbgDeclareInst>(&OldI)) { in TEST_F() 637 } else if (DbgValueInst* OldIntrin = dyn_cast<DbgValueInst>(&OldI)) { in TEST_F()
|
/external/llvm/lib/Transforms/Utils/ |
D | CloneFunction.cpp | 536 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-10.0/llvm/lib/Transforms/Utils/ |
D | CloneFunction.cpp | 588 BasicBlock::const_iterator OldI = OldBB->begin(); in CloneAndPruneIntoFromInst() local 592 assert(VMap[&*OldI] == PN && "VMap mismatch"); in CloneAndPruneIntoFromInst() 593 VMap[&*OldI] = NV; in CloneAndPruneIntoFromInst() 595 ++OldI; in CloneAndPruneIntoFromInst()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | CloneFunction.cpp | 592 BasicBlock::const_iterator OldI = OldBB->begin(); in CloneAndPruneIntoFromInst() local 596 assert(VMap[&*OldI] == PN && "VMap mismatch"); in CloneAndPruneIntoFromInst() 597 VMap[&*OldI] = NV; in CloneAndPruneIntoFromInst() 599 ++OldI; in CloneAndPruneIntoFromInst()
|
/external/llvm/lib/Transforms/Scalar/ |
D | RewriteStatepointsForGC.cpp | 1250 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()
|
D | SROA.cpp | 4068 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-10.0/llvm/lib/Transforms/Scalar/ |
D | RewriteStatepointsForGC.cpp | 1371 Instruction *OldI = Old; in doReplacement() local 1374 assert(OldI != NewI && "Disallowed at construction?!"); in doReplacement() 1382 OldI->replaceAllUsesWith(NewI); in doReplacement() 1387 auto *RI = cast<ReturnInst>(OldI->getParent()->getTerminator()); in doReplacement() 1392 OldI->eraseFromParent(); in doReplacement()
|
D | SROA.cpp | 4426 if (Instruction *OldI = dyn_cast<Instruction>(OldV)) in clobberUse() local 4427 if (isInstructionTriviallyDead(OldI)) { in clobberUse() 4428 DeadInsts.insert(OldI); in clobberUse()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | RewriteStatepointsForGC.cpp | 1428 Instruction *OldI = Old; in doReplacement() local 1431 assert(OldI != NewI && "Disallowed at construction?!"); in doReplacement() 1439 OldI->replaceAllUsesWith(NewI); in doReplacement() 1444 auto *RI = cast<ReturnInst>(OldI->getParent()->getTerminator()); in doReplacement() 1449 OldI->eraseFromParent(); in doReplacement()
|
D | SROA.cpp | 4600 if (Instruction *OldI = dyn_cast<Instruction>(OldV)) in clobberUse() local 4601 if (isInstructionTriviallyDead(OldI)) { in clobberUse() 4602 DeadInsts.insert(OldI); in clobberUse()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 9980 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/ |
D | SemaOverload.cpp | 1116 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()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaOverload.cpp | 1266 OldI = Old->specific_attr_begin<EnableIfAttr>(), in IsOverload() 1268 NewI != NewE || OldI != OldE; ++NewI, ++OldI) { in IsOverload() 1269 if (NewI == NewE || OldI == OldE) in IsOverload() 1273 OldI->getCond()->Profile(OldID, Context, true); in IsOverload()
|