Home
last modified time | relevance | path

Searched refs:VMetadata (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/subzero/src/
DIceLiveness.cpp43 VariablesMetadata *VMetadata = Func->getVMetadata(); in initInternal() local
51 if (VMetadata->isMultiBlock(Var)) { in initInternal()
53 } else if (VMetadata->isSingleBlock(Var)) { in initInternal()
54 SizeT Index = VMetadata->getLocalUseNode(Var)->getIndex(); in initInternal()
85 if (VMetadata->isMultiBlock(Var)) { in initInternal()
88 } else if (VMetadata->isSingleBlock(Var)) { in initInternal()
89 SizeT NodeIndex = VMetadata->getLocalUseNode(Var)->getIndex(); in initInternal()
DIceRegAlloc.cpp40 VariablesMetadata *VMetadata = Func->getVMetadata(); in overlapsDefs() local
41 if (const Inst *FirstDef = VMetadata->getFirstDefinition(Var)) in overlapsDefs()
44 for (const Inst *Def : VMetadata->getLatterDefinitions(Var)) { in overlapsDefs()
58 VariablesMetadata *VMetadata = Func->getVMetadata(); in dumpDisableOverlap() local
62 if (const Inst *FirstDef = VMetadata->getFirstDefinition(Var)) in dumpDisableOverlap()
64 const InstDefList &Defs = VMetadata->getLatterDefinitions(Var); in dumpDisableOverlap()
518 VariablesMetadata *VMetadata = Func->getVMetadata(); in findRegisterPreference() local
519 const Inst *DefInst = VMetadata->getFirstDefinitionSingleBlock(Iter.Cur); in findRegisterPreference()
525 DefInst->isVarAssign() && !VMetadata->isMultiDef(Iter.Cur); in findRegisterPreference()
DIceTargetLowering.cpp783 const VariablesMetadata *VMetadata = Func->getVMetadata(); in getVarStackSlotParams() local
854 if (SimpleCoalescing && VMetadata->isTracked(Var)) { in getVarStackSlotParams()
855 if (VMetadata->isMultiBlock(Var)) { in getVarStackSlotParams()
858 SizeT NodeIndex = VMetadata->getLocalUseNode(Var)->getIndex(); in getVarStackSlotParams()
902 const VariablesMetadata *VMetadata = Func->getVMetadata(); in assignVarStackSlots() local
920 if (SimpleCoalescing && VMetadata->isTracked(Var)) { in assignVarStackSlots()
921 if (VMetadata->isMultiBlock(Var)) { in assignVarStackSlots()
925 SizeT NodeIndex = VMetadata->getLocalUseNode(Var)->getIndex(); in assignVarStackSlots()
DIceCfg.h167 VariablesMetadata *getVMetadata() const { return VMetadata.get(); } in getVMetadata()
336 std::unique_ptr<VariablesMetadata> VMetadata; variable
DIceCfg.cpp45 VMetadata.reset(new VariablesMetadata(this)); in Cfg()
1447 VMetadata.get(), &Inserts)) { in materializeVectorShuffles()
1467 VMetadata.get(), Inserts, &Src0, in materializeVectorShuffles()
1871 if (VMetadata->getKind() != VMK_Uses) { in dump()
1872 if (const Inst *FirstDef = VMetadata->getFirstDefinition(Var)) { in dump()
1877 if (VMetadata->getKind() == VMK_All) { in dump()
1878 for (const Inst *Instr : VMetadata->getLatterDefinitions(Var)) { in dump()
DIceTargetLoweringARM32.cpp5513 bool matchAssign(const VariablesMetadata *VMetadata, Variable **Var, in matchAssign() argument
5518 const Inst *VarAssign = VMetadata->getSingleDefinition(*Var); in matchAssign()
5521 assert(!VMetadata->isMultiDef(*Var)); in matchAssign()
5528 if (!VMetadata->isMultiDef(SrcVar) || in matchAssign()
5565 bool matchCombinedBaseIndex(const VariablesMetadata *VMetadata, Variable **Base, in matchCombinedBaseIndex() argument
5576 const Inst *BaseInst = VMetadata->getSingleDefinition(*Base); in matchCombinedBaseIndex()
5579 assert(!VMetadata->isMultiDef(*Base)); in matchCombinedBaseIndex()
5585 if (VMetadata->isMultiDef(Var1)) in matchCombinedBaseIndex()
5590 if (VMetadata->isMultiDef(Var2)) in matchCombinedBaseIndex()
5604 bool matchShiftedOffsetReg(const VariablesMetadata *VMetadata, in matchShiftedOffsetReg() argument
[all …]
DIceTargetLoweringX86BaseImpl.h5367 : Func(Func), VMetadata(Func->getVMetadata()) {}
5390 const VariablesMetadata *const VMetadata;
5432 if (const Inst *VarAssign = VMetadata->getSingleDefinition(*Var)) {
5433 assert(!VMetadata->isMultiDef(*Var));
5438 if (!VMetadata->isMultiDef(SrcVar) &&
5475 auto *BaseInst = VMetadata->getSingleDefinition(*Base);
5478 assert(!VMetadata->isMultiDef(*Base));
5482 if (VMetadata->isMultiDef(Var1))
5485 if (VMetadata->isMultiDef(Var2))
5506 auto *IndexInst = VMetadata->getSingleDefinition(*Index);
[all …]
DIceTargetLoweringMIPS32.cpp119 const VariablesMetadata *VMetadata = Func->getVMetadata(); in assignVarStackSlots() local
126 if (SimpleCoalescing && VMetadata->isTracked(Var)) { in assignVarStackSlots()
127 if (VMetadata->isMultiBlock(Var)) { in assignVarStackSlots()
131 SizeT NodeIndex = VMetadata->getLocalUseNode(Var)->getIndex(); in assignVarStackSlots()
5238 bool matchAssign(const VariablesMetadata *VMetadata, Variable **Var, in matchAssign() argument
5243 const Inst *VarAssign = VMetadata->getSingleDefinition(*Var); in matchAssign()
5246 assert(!VMetadata->isMultiDef(*Var)); in matchAssign()
5253 if (!VMetadata->isMultiDef(SrcVar) || in matchAssign()
5290 bool matchOffsetBase(const VariablesMetadata *VMetadata, Variable **Base, in matchOffsetBase() argument
5298 const Inst *BaseInst = VMetadata->getSingleDefinition(*Base); in matchOffsetBase()
[all …]
DIceInst.cpp202 VariablesMetadata *VMetadata = Func->getVMetadata(); in livenessLightweight() local
204 if (VMetadata->isMultiBlock(Var)) in livenessLightweight()