Home
last modified time | relevance | path

Searched refs:NewDef (Results 1 – 21 of 21) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemorySSAUpdater.cpp230 MemoryAccess *NewDef) { in setMemoryPhiValueForBlock() argument
241 MP->setIncomingValue(i, NewDef); in setMemoryPhiValueForBlock()
329 MemoryAccess *NewDef = dyn_cast_or_null<MemoryAccess>(Var); in fixupDefs() local
330 if (!NewDef) in fixupDefs()
333 auto *Defs = MSSA->getWritableBlockDefs(NewDef->getBlock()); in fixupDefs()
334 auto DefIter = NewDef->getDefsIterator(); in fixupDefs()
337 if (MemoryPhi *Phi = dyn_cast<MemoryPhi>(NewDef)) in fixupDefs()
342 cast<MemoryDef>(DefIter)->setDefiningAccess(NewDef); in fixupDefs()
349 for (const auto *S : successors(NewDef->getBlock())) { in fixupDefs()
351 setMemoryPhiValueForBlock(MP, NewDef->getBlock(), NewDef); in fixupDefs()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DScheduleDAGFast.cpp581 SUnit *NewDef = 0; in ListScheduleBottomUp() local
583 NewDef = CopyAndMoveSuccessors(LRDef); in ListScheduleBottomUp()
584 if (!DestRC && !NewDef) in ListScheduleBottomUp()
588 if (!NewDef) { in ListScheduleBottomUp()
597 NewDef = Copies.back(); in ListScheduleBottomUp()
600 DEBUG(dbgs() << "Adding an edge from SU # " << NewDef->NodeNum in ListScheduleBottomUp()
602 LiveRegDefs[Reg] = NewDef; in ListScheduleBottomUp()
603 AddPred(NewDef, SDep(TrySU, SDep::Order, /*Latency=*/1, in ListScheduleBottomUp()
607 CurSU = NewDef; in ListScheduleBottomUp()
DScheduleDAGRRList.cpp1220 SUnit *NewDef = 0; in PickNodeToScheduleBottomUp() local
1222 NewDef = CopyAndMoveSuccessors(LRDef); in PickNodeToScheduleBottomUp()
1223 if (!DestRC && !NewDef) in PickNodeToScheduleBottomUp()
1226 if (!NewDef) { in PickNodeToScheduleBottomUp()
1236 NewDef = Copies.back(); in PickNodeToScheduleBottomUp()
1239 DEBUG(dbgs() << " Adding an edge from SU #" << NewDef->NodeNum in PickNodeToScheduleBottomUp()
1241 LiveRegDefs[Reg] = NewDef; in PickNodeToScheduleBottomUp()
1242 AddPred(NewDef, SDep(TrySU, SDep::Order, /*Latency=*/1, in PickNodeToScheduleBottomUp()
1247 CurSU = NewDef; in PickNodeToScheduleBottomUp()
/external/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGFast.cpp592 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()
DScheduleDAGRRList.cpp1458 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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGFast.cpp585 SUnit *NewDef = nullptr; in ListScheduleBottomUp() local
587 NewDef = CopyAndMoveSuccessors(LRDef); in ListScheduleBottomUp()
588 if (!DestRC && !NewDef) in ListScheduleBottomUp()
592 if (!NewDef) { in ListScheduleBottomUp()
599 NewDef = Copies.back(); in ListScheduleBottomUp()
602 LLVM_DEBUG(dbgs() << "Adding an edge from SU # " << NewDef->NodeNum in ListScheduleBottomUp()
604 LiveRegDefs[Reg] = NewDef; in ListScheduleBottomUp()
605 AddPred(NewDef, SDep(TrySU, SDep::Artificial)); in ListScheduleBottomUp()
607 CurSU = NewDef; in ListScheduleBottomUp()
DScheduleDAGRRList.cpp1551 SUnit *NewDef = nullptr; in PickNodeToScheduleBottomUp() local
1553 NewDef = CopyAndMoveSuccessors(LRDef); in PickNodeToScheduleBottomUp()
1554 if (!DestRC && !NewDef) in PickNodeToScheduleBottomUp()
1557 if (!NewDef) { in PickNodeToScheduleBottomUp()
1564 NewDef = Copies.back(); in PickNodeToScheduleBottomUp()
1567 LLVM_DEBUG(dbgs() << " Adding an edge from SU #" << NewDef->NodeNum in PickNodeToScheduleBottomUp()
1569 LiveRegDefs[Reg] = NewDef; in PickNodeToScheduleBottomUp()
1570 AddPred(NewDef, SDep(TrySU, SDep::Artificial)); in PickNodeToScheduleBottomUp()
1572 CurSU = NewDef; in PickNodeToScheduleBottomUp()
/external/llvm/lib/CodeGen/
DMachineSSAUpdater.cpp150 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()
DTailDuplicator.cpp318 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/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineSSAUpdater.cpp149 MachineInstr *NewDef = InsertNewDef(TargetOpcode::IMPLICIT_DEF, in GetValueInMiddleOfBlock() local
152 return NewDef->getOperand(0).getReg(); in GetValueInMiddleOfBlock()
303 MachineInstr *NewDef = InsertNewDef(TargetOpcode::IMPLICIT_DEF, in GetUndefVal() local
307 return NewDef->getOperand(0).getReg(); in GetUndefVal()
DTailDuplication.cpp391 unsigned NewDef = MRI->createVirtualRegister(RC); in ProcessPHI() local
392 Copies.push_back(std::make_pair(NewDef, SrcReg)); in ProcessPHI()
394 AddSSAUpdateEntry(DefReg, NewDef, PredBB); in ProcessPHI()
DVirtRegRewriter.cpp581 MachineInstr &NewDef, unsigned Reg, in InvalidateRegDef() argument
601 MachineBasicBlock::iterator E = &NewDef; in InvalidateRegDef()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineSSAUpdater.cpp153 MachineInstr *NewDef = InsertNewDef(TargetOpcode::IMPLICIT_DEF, in GetValueInMiddleOfBlock() local
156 return NewDef->getOperand(0).getReg(); in GetValueInMiddleOfBlock()
295 MachineInstr *NewDef = InsertNewDef(TargetOpcode::IMPLICIT_DEF, in GetUndefVal() local
299 return NewDef->getOperand(0).getReg(); in GetUndefVal()
DTailDuplicator.cpp354 unsigned NewDef = MRI->createVirtualRegister(RC); in processPHI() local
355 Copies.push_back(std::make_pair(NewDef, RegSubRegPair(SrcReg, SrcSubReg))); in processPHI()
357 addSSAUpdateEntry(DefReg, NewDef, PredBB); in processPHI()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/WindowsManifest/
DWindowsManifestMerger.cpp359 xmlNsPtr NewDef = xmlCopyNamespace(Def); in mergeNamespaces() local
360 NewDef->next = OriginalNode->nsDef; in mergeNamespaces()
361 OriginalNode->nsDef = NewDef; in mergeNamespaces()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DIndVarSimplify.cpp995 Value *NewDef = DU.WideDef; in WidenIVUse() local
1002 NewDef = Builder.CreateTrunc(DU.WideDef, DU.NarrowUse->getType()); in WidenIVUse()
1011 NewDef = DU.NarrowUse; in WidenIVUse()
1014 if (NewDef != DU.NarrowUse) { in WidenIVUse()
1018 DU.NarrowUse->replaceAllUsesWith(NewDef); in WidenIVUse()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp1285 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-7.0/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp1419 Value *NewDef = DU.WideDef; in widenIVUse() local
1426 NewDef = Builder.CreateTrunc(DU.WideDef, DU.NarrowUse->getType()); in widenIVUse()
1436 NewDef = DU.NarrowUse; in widenIVUse()
1439 if (NewDef != DU.NarrowUse) { in widenIVUse()
1443 DU.NarrowUse->replaceAllUsesWith(NewDef); in widenIVUse()
/external/swiftshader/third_party/LLVM/lib/TableGen/
DTGParser.cpp223 Record *NewDef = new Record(**i); in AddSubMultiClass() local
227 if (AddValue(NewDef, SubMultiClass.RefLoc, MCVals[i])) in AddSubMultiClass()
230 CurMC->DefPrototypes.push_back(NewDef); in AddSubMultiClass()
/external/llvm/lib/TableGen/
DTGParser.cpp219 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-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUMachineCFGStructurizer.cpp70 static void phiInfoElementSetDef(PHIInfoElementT *Info, unsigned NewDef);
135 unsigned NewDef) { in phiInfoElementSetDef() argument
136 Info->DestReg = NewDef; in phiInfoElementSetDef()