Home
last modified time | relevance | path

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

/external/swiftshader/third_party/subzero/src/
DIceOperand.cpp405 SizeT VarNum = Var->getIndex(); in addNode() local
406 assert(VarNum < Metadata.size()); in addNode()
408 Metadata[VarNum].markUse(Kind, &I, Node, IsImplicit); in addNode()
424 SizeT VarNum = Var->getIndex(); in addNode() local
425 assert(VarNum < Metadata.size()); in addNode()
427 Metadata[VarNum].markUse(Kind, &I, Node, IsImplicit); in addNode()
438 SizeT VarNum = Var->getIndex(); in isMultiDef() local
440 return Metadata[VarNum].getMultiDef() != VariableTracking::MDS_SingleDef; in isMultiDef()
450 SizeT VarNum = Var->getIndex(); in isMultiBlock() local
451 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.cpp221 SizeT VarNum = Liveness->getLiveIndex(Dest->getIndex()); in liveness() local
222 if (Live[VarNum]) { in liveness()
224 Live[VarNum] = false; in liveness()
226 LiveBegin->push_back(std::make_pair(VarNum, InstNumber)); in liveness()
243 SizeT VarNum = Liveness->getLiveIndex(Var->getIndex()); in liveness() local
244 if (!Live[VarNum]) { in liveness()
247 Live[VarNum] = true; in liveness()
265 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()
DIceTargetLoweringX86BaseImpl.h151 bool containsValid(SizeT VarNum) const {
152 auto Element = Producers.find(VarNum);
155 void setInvalid(SizeT VarNum) { Producers[VarNum].Instr = nullptr; }
272 SizeT VarNum = Var->getIndex();
273 if (!containsValid(VarNum))
277 setInvalid(VarNum);
284 setInvalid(VarNum);
288 getProducerKind(Producers[VarNum].Instr);
290 setInvalid(VarNum);
294 if (Producers[VarNum].IsComplex && Producers[VarNum].NumUses > 0) {
[all …]
DIceTargetLoweringARM32.cpp7029 SizeT VarNum = Var->getIndex(); in recordProducers() local
7030 auto ComputationIter = KnownComputations.find(VarNum); in recordProducers()
7038 KnownComputations.erase(VarNum); in recordProducers()
7042 KnownComputations.erase(VarNum); in recordProducers()
7048 KnownComputations.erase(VarNum); in recordProducers()
7055 KnownComputations.erase(VarNum); in recordProducers()
DIceTargetLoweringMIPS32.cpp6054 SizeT VarNum = Var->getIndex(); in recordProducers() local
6055 auto ComputationIter = KnownComputations.find(VarNum); in recordProducers()
6063 KnownComputations.erase(VarNum); in recordProducers()
6067 KnownComputations.erase(VarNum); in recordProducers()