/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | ScheduleDAGFast.cpp | 584 SUnit *NewDef = nullptr; in ListScheduleBottomUp() local 586 NewDef = CopyAndMoveSuccessors(LRDef); in ListScheduleBottomUp() 587 if (!DestRC && !NewDef) in ListScheduleBottomUp() 591 if (!NewDef) { in ListScheduleBottomUp() 598 NewDef = Copies.back(); in ListScheduleBottomUp() 601 LLVM_DEBUG(dbgs() << "Adding an edge from SU # " << NewDef->NodeNum in ListScheduleBottomUp() 603 LiveRegDefs[Reg] = NewDef; in ListScheduleBottomUp() 604 AddPred(NewDef, SDep(TrySU, SDep::Artificial)); in ListScheduleBottomUp() 606 CurSU = NewDef; in ListScheduleBottomUp()
|
D | ScheduleDAGRRList.cpp | 1568 SUnit *NewDef = nullptr; in PickNodeToScheduleBottomUp() local 1570 NewDef = CopyAndMoveSuccessors(LRDef); in PickNodeToScheduleBottomUp() 1571 if (!DestRC && !NewDef) in PickNodeToScheduleBottomUp() 1574 if (!NewDef) { in PickNodeToScheduleBottomUp() 1581 NewDef = Copies.back(); in PickNodeToScheduleBottomUp() 1584 LLVM_DEBUG(dbgs() << " Adding an edge from SU #" << NewDef->NodeNum in PickNodeToScheduleBottomUp() 1586 LiveRegDefs[Reg] = NewDef; in PickNodeToScheduleBottomUp() 1587 AddPredQueued(NewDef, SDep(TrySU, SDep::Artificial)); in PickNodeToScheduleBottomUp() 1589 CurSU = NewDef; in PickNodeToScheduleBottomUp()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | ScheduleDAGFast.cpp | 592 SUnit *NewDef = nullptr; in ListScheduleBottomUp() local 594 NewDef = CopyAndMoveSuccessors(LRDef); in ListScheduleBottomUp() 595 if (!DestRC && !NewDef) in ListScheduleBottomUp() 599 if (!NewDef) { in ListScheduleBottomUp() 606 NewDef = Copies.back(); in ListScheduleBottomUp() 609 DEBUG(dbgs() << "Adding an edge from SU # " << NewDef->NodeNum in ListScheduleBottomUp() 611 LiveRegDefs[Reg] = NewDef; in ListScheduleBottomUp() 612 AddPred(NewDef, SDep(TrySU, SDep::Artificial)); in ListScheduleBottomUp() 614 CurSU = NewDef; in ListScheduleBottomUp()
|
D | ScheduleDAGRRList.cpp | 1458 SUnit *NewDef = nullptr; in PickNodeToScheduleBottomUp() local 1460 NewDef = CopyAndMoveSuccessors(LRDef); in PickNodeToScheduleBottomUp() 1461 if (!DestRC && !NewDef) in PickNodeToScheduleBottomUp() 1464 if (!NewDef) { in PickNodeToScheduleBottomUp() 1471 NewDef = Copies.back(); in PickNodeToScheduleBottomUp() 1474 DEBUG(dbgs() << " Adding an edge from SU #" << NewDef->NodeNum in PickNodeToScheduleBottomUp() 1476 LiveRegDefs[Reg] = NewDef; in PickNodeToScheduleBottomUp() 1477 AddPred(NewDef, SDep(TrySU, SDep::Artificial)); in PickNodeToScheduleBottomUp() 1479 CurSU = NewDef; in PickNodeToScheduleBottomUp()
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | ScheduleDAGFast.cpp | 584 SUnit *NewDef = nullptr; in ListScheduleBottomUp() local 586 NewDef = CopyAndMoveSuccessors(LRDef); in ListScheduleBottomUp() 587 if (!DestRC && !NewDef) in ListScheduleBottomUp() 591 if (!NewDef) { in ListScheduleBottomUp() 598 NewDef = Copies.back(); in ListScheduleBottomUp() 601 LLVM_DEBUG(dbgs() << "Adding an edge from SU # " << NewDef->NodeNum in ListScheduleBottomUp() 603 LiveRegDefs[Reg] = NewDef; in ListScheduleBottomUp() 604 AddPred(NewDef, SDep(TrySU, SDep::Artificial)); in ListScheduleBottomUp() 606 CurSU = NewDef; in ListScheduleBottomUp()
|
D | ScheduleDAGRRList.cpp | 1568 SUnit *NewDef = nullptr; in PickNodeToScheduleBottomUp() local 1570 NewDef = CopyAndMoveSuccessors(LRDef); in PickNodeToScheduleBottomUp() 1571 if (!DestRC && !NewDef) in PickNodeToScheduleBottomUp() 1574 if (!NewDef) { in PickNodeToScheduleBottomUp() 1581 NewDef = Copies.back(); in PickNodeToScheduleBottomUp() 1584 LLVM_DEBUG(dbgs() << " Adding an edge from SU #" << NewDef->NodeNum in PickNodeToScheduleBottomUp() 1586 LiveRegDefs[Reg] = NewDef; in PickNodeToScheduleBottomUp() 1587 AddPredQueued(NewDef, SDep(TrySU, SDep::Artificial)); in PickNodeToScheduleBottomUp() 1589 CurSU = NewDef; in PickNodeToScheduleBottomUp()
|
/external/llvm/lib/CodeGen/ |
D | MachineSSAUpdater.cpp | 150 MachineInstr *NewDef = InsertNewDef(TargetOpcode::IMPLICIT_DEF, in GetValueInMiddleOfBlock() local 153 return NewDef->getOperand(0).getReg(); in GetValueInMiddleOfBlock() 287 MachineInstr *NewDef = InsertNewDef(TargetOpcode::IMPLICIT_DEF, in GetUndefVal() local 291 return NewDef->getOperand(0).getReg(); in GetUndefVal()
|
D | TailDuplicator.cpp | 318 unsigned NewDef = MRI->createVirtualRegister(RC); in processPHI() local 319 Copies.push_back(std::make_pair(NewDef, RegSubRegPair(SrcReg, SrcSubReg))); in processPHI() 321 addSSAUpdateEntry(DefReg, NewDef, PredBB); in processPHI()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | MachineSSAUpdater.cpp | 155 MachineInstr *NewDef = InsertNewDef(TargetOpcode::IMPLICIT_DEF, in GetValueInMiddleOfBlock() local 158 return NewDef->getOperand(0).getReg(); in GetValueInMiddleOfBlock() 297 MachineInstr *NewDef = InsertNewDef(TargetOpcode::IMPLICIT_DEF, in GetUndefVal() local 301 return NewDef->getOperand(0).getReg(); in GetUndefVal()
|
D | TailDuplicator.cpp | 362 Register NewDef = MRI->createVirtualRegister(RC); in processPHI() local 363 Copies.push_back(std::make_pair(NewDef, RegSubRegPair(SrcReg, SrcSubReg))); in processPHI() 365 addSSAUpdateEntry(DefReg, NewDef, PredBB); in processPHI()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineSSAUpdater.cpp | 152 MachineInstr *NewDef = InsertNewDef(TargetOpcode::IMPLICIT_DEF, in GetValueInMiddleOfBlock() local 155 return NewDef->getOperand(0).getReg(); in GetValueInMiddleOfBlock() 294 MachineInstr *NewDef = InsertNewDef(TargetOpcode::IMPLICIT_DEF, in GetUndefVal() local 298 return NewDef->getOperand(0).getReg(); in GetUndefVal()
|
D | TailDuplicator.cpp | 360 Register NewDef = MRI->createVirtualRegister(RC); in processPHI() local 361 Copies.push_back(std::make_pair(NewDef, RegSubRegPair(SrcReg, SrcSubReg))); in processPHI() 363 addSSAUpdateEntry(DefReg, NewDef, PredBB); in processPHI()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | MemorySSAUpdater.cpp | 290 MemoryAccess *NewDef) { in setMemoryPhiValueForBlock() argument 301 MP->setIncomingValue(i, NewDef); in setMemoryPhiValueForBlock() 456 MemoryAccess *NewDef = dyn_cast_or_null<MemoryAccess>(Var); in fixupDefs() local 457 if (!NewDef) in fixupDefs() 460 auto *Defs = MSSA->getWritableBlockDefs(NewDef->getBlock()); in fixupDefs() 461 auto DefIter = NewDef->getDefsIterator(); in fixupDefs() 464 if (MemoryPhi *Phi = dyn_cast<MemoryPhi>(NewDef)) in fixupDefs() 469 cast<MemoryDef>(DefIter)->setDefiningAccess(NewDef); in fixupDefs() 476 for (const auto *S : successors(NewDef->getBlock())) { in fixupDefs() 478 setMemoryPhiValueForBlock(MP, NewDef->getBlock(), NewDef); in fixupDefs() [all …]
|
/external/llvm-project/llvm/lib/Analysis/ |
D | MemorySSAUpdater.cpp | 292 MemoryAccess *NewDef) { in setMemoryPhiValueForBlock() argument 303 MP->setIncomingValue(i, NewDef); in setMemoryPhiValueForBlock() 468 MemoryAccess *NewDef = dyn_cast_or_null<MemoryAccess>(Var); in fixupDefs() local 469 if (!NewDef) in fixupDefs() 472 auto *Defs = MSSA->getWritableBlockDefs(NewDef->getBlock()); in fixupDefs() 473 auto DefIter = NewDef->getDefsIterator(); in fixupDefs() 476 if (MemoryPhi *Phi = dyn_cast<MemoryPhi>(NewDef)) in fixupDefs() 481 cast<MemoryDef>(DefIter)->setDefiningAccess(NewDef); in fixupDefs() 488 for (const auto *S : successors(NewDef->getBlock())) { in fixupDefs() 490 setMemoryPhiValueForBlock(MP, NewDef->getBlock(), NewDef); in fixupDefs() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | LegalizationArtifactCombiner.h | 399 Register NewDef = MergeI->getOperand(Idx + 1).getReg(); in tryCombineMerges() local 400 MRI.replaceRegWith(MI.getOperand(Idx).getReg(), NewDef); in tryCombineMerges() 401 UpdatedDefs.push_back(NewDef); in tryCombineMerges() 522 Register NewDef = UpdatedDefs.pop_back_val(); in tryCombineInstruction() local 523 assert(NewDef.isVirtual() && "Unexpected redefinition of a physreg"); in tryCombineInstruction() 524 for (MachineInstr &Use : MRI.use_instructions(NewDef)) { in tryCombineInstruction()
|
/external/llvm-project/llvm/lib/WindowsManifest/ |
D | WindowsManifestMerger.cpp | 358 xmlNsPtr NewDef = xmlCopyNamespace(Def); in mergeNamespaces() local 359 NewDef->next = OriginalNode->nsDef; in mergeNamespaces() 360 OriginalNode->nsDef = NewDef; in mergeNamespaces()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/WindowsManifest/ |
D | WindowsManifestMerger.cpp | 358 xmlNsPtr NewDef = xmlCopyNamespace(Def); in mergeNamespaces() local 359 NewDef->next = OriginalNode->nsDef; in mergeNamespaces() 360 OriginalNode->nsDef = NewDef; in mergeNamespaces()
|
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
D | LegalizationArtifactCombiner.h | 843 Register NewDef = UpdatedDefs.pop_back_val(); in tryCombineInstruction() local 844 assert(NewDef.isVirtual() && "Unexpected redefinition of a physreg"); in tryCombineInstruction() 845 for (MachineInstr &Use : MRI.use_instructions(NewDef)) { in tryCombineInstruction()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | MemCpyOptimizer.cpp | 492 auto *NewDef = in tryMergingIntoMemset() local 498 MSSAU->insertDef(NewDef, /*RenameUses=*/true); in tryMergingIntoMemset() 499 LastMemDef = NewDef; in tryMergingIntoMemset() 500 MemInsertPoint = NewDef; in tryMergingIntoMemset()
|
D | GVN.cpp | 1383 if (auto *NewDef = dyn_cast<MemoryDef>(NewAccess)) in PerformLoadPRE() local 1384 MSSAU->insertDef(NewDef, /*RenameUses=*/true); in PerformLoadPRE() 1628 auto *NewDef = in processAssumeIntrinsic() local 1636 MSSAU->insertDef(cast<MemoryDef>(NewDef), /*RenameUses=*/false); in processAssumeIntrinsic()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 1733 Value *NewDef = DU.WideDef; in widenIVUse() local 1740 NewDef = Builder.CreateTrunc(DU.WideDef, DU.NarrowUse->getType()); in widenIVUse() 1750 NewDef = DU.NarrowUse; in widenIVUse() 1753 if (NewDef != DU.NarrowUse) { in widenIVUse() 1757 DU.NarrowUse->replaceAllUsesWith(NewDef); in widenIVUse()
|
/external/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 1285 Value *NewDef = DU.WideDef; in widenIVUse() local 1292 NewDef = Builder.CreateTrunc(DU.WideDef, DU.NarrowUse->getType()); in widenIVUse() 1301 NewDef = DU.NarrowUse; in widenIVUse() 1304 if (NewDef != DU.NarrowUse) { in widenIVUse() 1308 DU.NarrowUse->replaceAllUsesWith(NewDef); in widenIVUse()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 1590 Value *NewDef = DU.WideDef; in widenIVUse() local 1597 NewDef = Builder.CreateTrunc(DU.WideDef, DU.NarrowUse->getType()); in widenIVUse() 1607 NewDef = DU.NarrowUse; in widenIVUse() 1610 if (NewDef != DU.NarrowUse) { in widenIVUse() 1614 DU.NarrowUse->replaceAllUsesWith(NewDef); in widenIVUse()
|
/external/llvm/lib/TableGen/ |
D | TGParser.cpp | 219 auto NewDef = make_unique<Record>(*R); in AddSubMultiClass() local 223 if (AddValue(NewDef.get(), SubMultiClass.RefRange.Start, MCVal)) in AddSubMultiClass() 226 CurMC->DefPrototypes.push_back(std::move(NewDef)); in AddSubMultiClass()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUMachineCFGStructurizer.cpp | 70 static void phiInfoElementSetDef(PHIInfoElementT *Info, unsigned NewDef); 135 unsigned NewDef) { in phiInfoElementSetDef() argument 136 Info->DestReg = NewDef; in phiInfoElementSetDef()
|