Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemorySSAUpdater.cpp272 MemoryAccess *FirstDef = &*Defs->begin(); in insertUse() local
275 if (auto *MD = dyn_cast<MemoryDef>(FirstDef)) in insertUse()
276 FirstDef = MD->getDefiningAccess(); in insertUse()
278 MSSA->renamePass(MU->getBlock(), FirstDef, Visited); in insertUse()
435 MemoryAccess *FirstDef = &*MSSA->getWritableBlockDefs(StartBlock)->begin(); in insertDef() local
438 if (auto *MD = dyn_cast<MemoryDef>(FirstDef)) in insertDef()
439 FirstDef = MD->getDefiningAccess(); in insertDef()
441 MSSA->renamePass(MD->getBlock(), FirstDef, Visited); in insertDef()
489 auto *FirstDef = &*Defs->begin(); in fixupDefs() local
491 assert(!isa<MemoryPhi>(FirstDef) && in fixupDefs()
[all …]
/external/llvm-project/llvm/lib/Analysis/
DMemorySSAUpdater.cpp274 MemoryAccess *FirstDef = &*Defs->begin(); in insertUse() local
277 if (auto *MD = dyn_cast<MemoryDef>(FirstDef)) in insertUse()
278 FirstDef = MD->getDefiningAccess(); in insertUse()
280 MSSA->renamePass(MU->getBlock(), FirstDef, Visited); in insertUse()
440 MemoryAccess *FirstDef = &*MSSA->getWritableBlockDefs(StartBlock)->begin(); in insertDef() local
443 if (auto *MD = dyn_cast<MemoryDef>(FirstDef)) in insertDef()
444 FirstDef = MD->getDefiningAccess(); in insertDef()
446 MSSA->renamePass(MD->getBlock(), FirstDef, Visited); in insertDef()
501 auto *FirstDef = &*Defs->begin(); in fixupDefs() local
503 assert(!isa<MemoryPhi>(FirstDef) && in fixupDefs()
[all …]
/external/llvm/lib/Transforms/Utils/
DMemorySSA.cpp1165 MemoryAccess *FirstDef = nullptr; in UpwardsDFSWalk() local
1177 if (FirstDef && CurrentPair.first != PHIPair.first && in UpwardsDFSWalk()
1178 CurrentPair.first != FirstDef) { in UpwardsDFSWalk()
1183 if (!FirstDef) in UpwardsDFSWalk()
1184 FirstDef = CurrentPair.first; in UpwardsDFSWalk()
1189 assert(FirstDef && "Found a Phi with no upward defs?"); in UpwardsDFSWalk()
1190 ModifyingAccess = FirstDef; in UpwardsDFSWalk()
/external/llvm-project/llvm/lib/CodeGen/
DRegisterScavenging.cpp636 MachineRegisterInfo::def_iterator FirstDef = in scavengeVReg() local
641 assert(FirstDef != MRI.def_end() && in scavengeVReg()
643 MachineInstr &DefMI = *FirstDef->getParent(); in scavengeVReg()
DSplitKit.h125 SlotIndex FirstDef; ///< First non-phi valno->def, or SlotIndex(). member
DSplitKit.cpp254 BI.FirstDef = BI.FirstInstr; in calcLiveBlockInfo()
280 BI.FirstInstr = BI.FirstDef = LVI->start; in calcLiveBlockInfo()
285 if (!BI.FirstDef) in calcLiveBlockInfo()
286 BI.FirstDef = LVI->start; in calcLiveBlockInfo()
DRegAllocGreedy.cpp1212 BC.ChangesValue = BI.FirstDef.isValid(); in addSplitConstraints()
1429 if (BI.LiveIn && BI.LiveOut && BI.FirstDef) in calcSpillCost()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRegisterScavenging.cpp655 MachineRegisterInfo::def_iterator FirstDef = in scavengeVReg() local
660 assert(FirstDef != MRI.def_end() && in scavengeVReg()
662 MachineInstr &DefMI = *FirstDef->getParent(); in scavengeVReg()
DSplitKit.h124 SlotIndex FirstDef; ///< First non-phi valno->def, or SlotIndex(). member
DSplitKit.cpp259 BI.FirstDef = BI.FirstInstr; in calcLiveBlockInfo()
285 BI.FirstInstr = BI.FirstDef = LVI->start; in calcLiveBlockInfo()
290 if (!BI.FirstDef) in calcLiveBlockInfo()
291 BI.FirstDef = LVI->start; in calcLiveBlockInfo()
DRegAllocGreedy.cpp1204 BC.ChangesValue = BI.FirstDef.isValid(); in addSplitConstraints()
1424 if (BI.LiveIn && BI.LiveOut && BI.FirstDef) in calcSpillCost()
/external/swiftshader/third_party/subzero/src/
DIceRegAlloc.cpp41 if (const Inst *FirstDef = VMetadata->getFirstDefinition(Var)) in overlapsDefs() local
42 if (Item->getLiveRange().overlapsInst(FirstDef->getNumber(), UseTrimmed)) in overlapsDefs()
62 if (const Inst *FirstDef = VMetadata->getFirstDefinition(Var)) in dumpDisableOverlap() local
63 Str << FirstDef->getNumber(); in dumpDisableOverlap()
DIceCfg.cpp1765 if (const Inst *FirstDef = VMetadata->getFirstDefinition(Var)) { in dump() local
1766 Str << FirstDef->getNumber(); in dump()
/external/llvm/lib/CodeGen/
DSplitKit.h106 SlotIndex FirstDef; ///< First non-phi valno->def, or SlotIndex(). member
DSplitKit.cpp234 BI.FirstDef = BI.FirstInstr; in calcLiveBlockInfo()
260 BI.FirstInstr = BI.FirstDef = LVI->start; in calcLiveBlockInfo()
265 if (!BI.FirstDef) in calcLiveBlockInfo()
266 BI.FirstDef = LVI->start; in calcLiveBlockInfo()
DRegAllocGreedy.cpp949 BC.ChangesValue = BI.FirstDef.isValid(); in addSplitConstraints()
1151 if (BI.LiveIn && BI.LiveOut && BI.FirstDef) in calcSpillCost()