/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | MemorySSAUpdater.cpp | 272 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/ |
D | MemorySSAUpdater.cpp | 274 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/ |
D | MemorySSA.cpp | 1165 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/ |
D | RegisterScavenging.cpp | 636 MachineRegisterInfo::def_iterator FirstDef = in scavengeVReg() local 641 assert(FirstDef != MRI.def_end() && in scavengeVReg() 643 MachineInstr &DefMI = *FirstDef->getParent(); in scavengeVReg()
|
D | SplitKit.h | 125 SlotIndex FirstDef; ///< First non-phi valno->def, or SlotIndex(). member
|
D | SplitKit.cpp | 254 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()
|
D | RegAllocGreedy.cpp | 1212 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/ |
D | RegisterScavenging.cpp | 655 MachineRegisterInfo::def_iterator FirstDef = in scavengeVReg() local 660 assert(FirstDef != MRI.def_end() && in scavengeVReg() 662 MachineInstr &DefMI = *FirstDef->getParent(); in scavengeVReg()
|
D | SplitKit.h | 124 SlotIndex FirstDef; ///< First non-phi valno->def, or SlotIndex(). member
|
D | SplitKit.cpp | 259 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()
|
D | RegAllocGreedy.cpp | 1204 BC.ChangesValue = BI.FirstDef.isValid(); in addSplitConstraints() 1424 if (BI.LiveIn && BI.LiveOut && BI.FirstDef) in calcSpillCost()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceRegAlloc.cpp | 41 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()
|
D | IceCfg.cpp | 1765 if (const Inst *FirstDef = VMetadata->getFirstDefinition(Var)) { in dump() local 1766 Str << FirstDef->getNumber(); in dump()
|
/external/llvm/lib/CodeGen/ |
D | SplitKit.h | 106 SlotIndex FirstDef; ///< First non-phi valno->def, or SlotIndex(). member
|
D | SplitKit.cpp | 234 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()
|
D | RegAllocGreedy.cpp | 949 BC.ChangesValue = BI.FirstDef.isValid(); in addSplitConstraints() 1151 if (BI.LiveIn && BI.LiveOut && BI.FirstDef) in calcSpillCost()
|