Home
last modified time | relevance | path

Searched refs:VarNum (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceOperand.cpp416 SizeT VarNum = Var->getIndex(); in addNode() local
417 assert(VarNum < Metadata.size()); in addNode()
419 Metadata[VarNum].markUse(Kind, &I, Node, IsImplicit); in addNode()
435 SizeT VarNum = Var->getIndex(); in addNode() local
436 assert(VarNum < Metadata.size()); in addNode()
438 Metadata[VarNum].markUse(Kind, &I, Node, IsImplicit); in addNode()
449 SizeT VarNum = Var->getIndex(); in isMultiDef() local
451 return Metadata[VarNum].getMultiDef() != VariableTracking::MDS_SingleDef; in isMultiDef()
461 SizeT VarNum = Var->getIndex(); in isMultiBlock() local
462 switch (Metadata[VarNum].getMultiBlock()) { in isMultiBlock()
[all …]
DIceVariableSplitting.cpp85 const SizeT VarNum = getVarNum(SrcVar); in reset() local
86 Map[VarNum].LastUseInst = &Instr; in reset()
87 Map[VarNum].LastUseNode = Node; in reset()
94 const SizeT VarNum = getVarNum(Var); in get() local
95 Variable *MappedVar = Map[VarNum].MappedVar; in get()
98 if (Map[VarNum].MappedVarNode != Node) in get()
108 const SizeT VarNum = getVarNum(Var); in makeLinked() local
109 Map[VarNum].MappedVar = NewVar; in makeLinked()
110 Map[VarNum].MappedVarNode = Node; in makeLinked()
119 const SizeT VarNum = getVarNum(LinkedTo); in spliceBlockLocalLinkedToChain() local
[all …]
DIceRegAlloc.cpp172 for (SizeT VarNum : DefsWithoutUses) { in livenessValidateIntervals() local
173 Variable *Var = Vars[VarNum]; in livenessValidateIntervals()
174 Str << "LR def without use, instruction " << LRBegin[VarNum] in livenessValidateIntervals()
177 for (SizeT VarNum : UsesBeforeDefs) { in livenessValidateIntervals() local
178 Variable *Var = Vars[VarNum]; in livenessValidateIntervals()
179 Str << "LR use before def, instruction " << LREnd[VarNum] << ", variable " in livenessValidateIntervals()
227 SizeT VarNum = Var->getIndex(); in initForInfOnly() local
228 LREnd[VarNum] = Instr.getNumber(); in initForInfOnly()
229 if (!Var->getIsArg() && LRBegin[VarNum] == Inst::NumberSentinel) in initForInfOnly()
230 UsesBeforeDefs.push_back(VarNum); in initForInfOnly()
[all …]
DIceInst.cpp211 SizeT VarNum = Liveness->getLiveIndex(Dest->getIndex()); in liveness() local
212 if (Live[VarNum]) { in liveness()
214 Live[VarNum] = false; in liveness()
216 LiveBegin->push_back(std::make_pair(VarNum, InstNumber)); in liveness()
233 SizeT VarNum = Liveness->getLiveIndex(Var->getIndex()); in liveness() local
234 if (!Live[VarNum]) { in liveness()
237 Live[VarNum] = true; in liveness()
255 LiveEnd->push_back(std::make_pair(VarNum, InstNumber)); in liveness()
DIceCfgNode.cpp461 SizeT VarNum = Func->getLiveness()->getLiveIndex(Dest->getIndex()); in advancedPhiLowering() local
463 if (VarNum < LiveIn.size()) { in advancedPhiLowering()
464 assert(!LiveIn[VarNum]); in advancedPhiLowering()
465 LiveIn[VarNum] = true; in advancedPhiLowering()
564 SizeT VarNum = Func->getNumVariables(); in advancedPhiLowering() local
567 Tmp->setName(Func, "__split_" + std::to_string(VarNum)); in advancedPhiLowering()
DIceTargetLoweringX8632.h97 bool containsValid(SizeT VarNum) const { in containsValid() argument
98 auto Element = Producers.find(VarNum); in containsValid()
101 void setInvalid(SizeT VarNum) { Producers[VarNum].Instr = nullptr; } in setInvalid() argument
DIceTargetLoweringX8664.h98 bool containsValid(SizeT VarNum) const { in containsValid() argument
99 auto Element = Producers.find(VarNum); in containsValid()
102 void setInvalid(SizeT VarNum) { Producers[VarNum].Instr = nullptr; } in setInvalid() argument
DIceTargetLoweringX8664.cpp200 SizeT VarNum = Var->getIndex(); in init() local
201 if (!containsValid(VarNum)) in init()
205 setInvalid(VarNum); in init()
212 setInvalid(VarNum); in init()
216 getProducerKind(Producers[VarNum].Instr); in init()
218 setInvalid(VarNum); in init()
222 if (Producers[VarNum].IsComplex && Producers[VarNum].NumUses > 0) { in init()
223 setInvalid(VarNum); in init()
226 ++Producers[VarNum].NumUses; in init()
228 Producers[VarNum].IsLiveOut = false; in init()
[all …]
DIceTargetLoweringX8632.cpp191 SizeT VarNum = Var->getIndex(); in init() local
192 if (!containsValid(VarNum)) in init()
196 setInvalid(VarNum); in init()
203 setInvalid(VarNum); in init()
207 getProducerKind(Producers[VarNum].Instr); in init()
209 setInvalid(VarNum); in init()
213 if (Producers[VarNum].IsComplex && Producers[VarNum].NumUses > 0) { in init()
214 setInvalid(VarNum); in init()
217 ++Producers[VarNum].NumUses; in init()
219 Producers[VarNum].IsLiveOut = false; in init()
[all …]
DIceTargetLoweringARM32.cpp6731 SizeT VarNum = Var->getIndex(); in recordProducers() local
6732 auto ComputationIter = KnownComputations.find(VarNum); in recordProducers()
6740 KnownComputations.erase(VarNum); in recordProducers()
6744 KnownComputations.erase(VarNum); in recordProducers()
6750 KnownComputations.erase(VarNum); in recordProducers()
6757 KnownComputations.erase(VarNum); in recordProducers()
DIceTargetLoweringMIPS32.cpp5971 SizeT VarNum = Var->getIndex(); in recordProducers() local
5972 auto ComputationIter = KnownComputations.find(VarNum); in recordProducers()
5980 KnownComputations.erase(VarNum); in recordProducers()
5984 KnownComputations.erase(VarNum); in recordProducers()