Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemorySSAUpdater.cpp308 MemoryAccess *FirstDef = &*MSSA->getWritableBlockDefs(StartBlock)->begin(); in insertDef() local
311 if (auto *MD = dyn_cast<MemoryDef>(FirstDef)) in insertDef()
312 FirstDef = MD->getDefiningAccess(); in insertDef()
314 MSSA->renamePass(MD->getBlock(), FirstDef, Visited); in insertDef()
362 auto *FirstDef = &*Defs->begin(); in fixupDefs() local
364 assert(!isa<MemoryPhi>(FirstDef) && in fixupDefs()
368 assert(MSSA->dominates(NewDef, FirstDef) && in fixupDefs()
374 cast<MemoryDef>(FirstDef)->setDefiningAccess(getPreviousDef(FirstDef)); in fixupDefs()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwarfdump/
DStatistics.cpp73 uint64_t FirstDef = List->Entries[0].Begin; in collectStatsForDie() local
76 if (UnitOfs + FirstDef >= ScopeLowPC) in collectStatsForDie()
77 OffsetToFirstDefinition = UnitOfs + FirstDef - ScopeLowPC; in collectStatsForDie()
/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/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.cpp1872 if (const Inst *FirstDef = VMetadata->getFirstDefinition(Var)) { in dump() local
1873 Str << FirstDef->getNumber(); in dump()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DRegisterScavenging.cpp647 MachineRegisterInfo::def_iterator FirstDef = in scavengeVReg() local
652 assert(FirstDef != MRI.def_end() && in scavengeVReg()
654 MachineInstr &DefMI = *FirstDef->getParent(); in scavengeVReg()
DSplitKit.h112 SlotIndex FirstDef; ///< First non-phi valno->def, or SlotIndex(). member
DSplitKit.cpp260 BI.FirstDef = BI.FirstInstr; in calcLiveBlockInfo()
286 BI.FirstInstr = BI.FirstDef = LVI->start; in calcLiveBlockInfo()
291 if (!BI.FirstDef) in calcLiveBlockInfo()
292 BI.FirstDef = LVI->start; in calcLiveBlockInfo()
DRegAllocGreedy.cpp1187 BC.ChangesValue = BI.FirstDef.isValid(); in addSplitConstraints()
1387 if (BI.LiveIn && BI.LiveOut && BI.FirstDef) in calcSpillCost()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DSplitKit.h73 SlotIndex FirstDef; ///< First non-phi valno->def, or SlotIndex(). member
DSplitKit.cpp196 BI.FirstDef = BI.FirstInstr; in calcLiveBlockInfo()
222 BI.FirstInstr = BI.FirstDef = LVI->start; in calcLiveBlockInfo()
227 if (!BI.FirstDef) in calcLiveBlockInfo()
228 BI.FirstDef = LVI->start; in calcLiveBlockInfo()
DRegAllocGreedy.cpp687 BC.ChangesValue = BI.FirstDef; in addSplitConstraints()
885 if (BI.LiveIn && BI.LiveOut && BI.FirstDef) in calcSpillCost()
/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()