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.cpp770 const VariablesMetadata *VMetadata = Func->getVMetadata(); in getVarStackSlotParams() local
841 if (SimpleCoalescing && VMetadata->isTracked(Var)) { in getVarStackSlotParams()
842 if (VMetadata->isMultiBlock(Var)) { in getVarStackSlotParams()
845 SizeT NodeIndex = VMetadata->getLocalUseNode(Var)->getIndex(); in getVarStackSlotParams()
889 const VariablesMetadata *VMetadata = Func->getVMetadata(); in assignVarStackSlots() local
907 if (SimpleCoalescing && VMetadata->isTracked(Var)) { in assignVarStackSlots()
908 if (VMetadata->isMultiBlock(Var)) { in assignVarStackSlots()
912 SizeT NodeIndex = VMetadata->getLocalUseNode(Var)->getIndex(); in assignVarStackSlots()
DIceCfg.h167 VariablesMetadata *getVMetadata() const { return VMetadata.get(); } in getVMetadata()
322 std::unique_ptr<VariablesMetadata> VMetadata; variable
DIceCfg.cpp45 VMetadata.reset(new VariablesMetadata(this)); in Cfg()
1350 VMetadata.get(), &Inserts)) { in materializeVectorShuffles()
1370 VMetadata.get(), Inserts, &Src0, in materializeVectorShuffles()
1764 if (VMetadata->getKind() != VMK_Uses) { in dump()
1765 if (const Inst *FirstDef = VMetadata->getFirstDefinition(Var)) { in dump()
1770 if (VMetadata->getKind() == VMK_All) { in dump()
1771 for (const Inst *Instr : VMetadata->getLatterDefinitions(Var)) { in dump()
DIceTargetLoweringARM32.cpp5510 bool matchAssign(const VariablesMetadata *VMetadata, Variable **Var, in matchAssign() argument
5515 const Inst *VarAssign = VMetadata->getSingleDefinition(*Var); in matchAssign()
5518 assert(!VMetadata->isMultiDef(*Var)); in matchAssign()
5525 if (!VMetadata->isMultiDef(SrcVar) || in matchAssign()
5562 bool matchCombinedBaseIndex(const VariablesMetadata *VMetadata, Variable **Base, in matchCombinedBaseIndex() argument
5573 const Inst *BaseInst = VMetadata->getSingleDefinition(*Base); in matchCombinedBaseIndex()
5576 assert(!VMetadata->isMultiDef(*Base)); in matchCombinedBaseIndex()
5582 if (VMetadata->isMultiDef(Var1)) in matchCombinedBaseIndex()
5587 if (VMetadata->isMultiDef(Var2)) in matchCombinedBaseIndex()
5601 bool matchShiftedOffsetReg(const VariablesMetadata *VMetadata, in matchShiftedOffsetReg() argument
[all …]
DIceTargetLoweringX86BaseImpl.h5446 : Func(Func), VMetadata(Func->getVMetadata()) {}
5469 const VariablesMetadata *const VMetadata;
5511 if (const Inst *VarAssign = VMetadata->getSingleDefinition(*Var)) {
5512 assert(!VMetadata->isMultiDef(*Var));
5517 if (!VMetadata->isMultiDef(SrcVar) &&
5554 auto *BaseInst = VMetadata->getSingleDefinition(*Base);
5557 assert(!VMetadata->isMultiDef(*Base));
5561 if (VMetadata->isMultiDef(Var1))
5564 if (VMetadata->isMultiDef(Var2))
5585 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()
5223 bool matchAssign(const VariablesMetadata *VMetadata, Variable **Var, in matchAssign() argument
5228 const Inst *VarAssign = VMetadata->getSingleDefinition(*Var); in matchAssign()
5231 assert(!VMetadata->isMultiDef(*Var)); in matchAssign()
5238 if (!VMetadata->isMultiDef(SrcVar) || in matchAssign()
5275 bool matchOffsetBase(const VariablesMetadata *VMetadata, Variable **Base, in matchOffsetBase() argument
5283 const Inst *BaseInst = VMetadata->getSingleDefinition(*Base); in matchOffsetBase()
[all …]
DIceInst.cpp194 VariablesMetadata *VMetadata = Func->getVMetadata(); in livenessLightweight() local
196 if (VMetadata->isMultiBlock(Var)) in livenessLightweight()