Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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.cpp739 const VariablesMetadata *VMetadata = Func->getVMetadata(); in getVarStackSlotParams() local
810 if (SimpleCoalescing && VMetadata->isTracked(Var)) { in getVarStackSlotParams()
811 if (VMetadata->isMultiBlock(Var)) { in getVarStackSlotParams()
814 SizeT NodeIndex = VMetadata->getLocalUseNode(Var)->getIndex(); in getVarStackSlotParams()
858 const VariablesMetadata *VMetadata = Func->getVMetadata(); in assignVarStackSlots() local
876 if (SimpleCoalescing && VMetadata->isTracked(Var)) { in assignVarStackSlots()
877 if (VMetadata->isMultiBlock(Var)) { in assignVarStackSlots()
881 SizeT NodeIndex = VMetadata->getLocalUseNode(Var)->getIndex(); in assignVarStackSlots()
DIceCfg.h167 VariablesMetadata *getVMetadata() const { return VMetadata.get(); } in getVMetadata()
321 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()
1750 if (VMetadata->getKind() != VMK_Uses) { in dump()
1751 if (const Inst *FirstDef = VMetadata->getFirstDefinition(Var)) { in dump()
1756 if (VMetadata->getKind() == VMK_All) { in dump()
1757 for (const Inst *Instr : VMetadata->getLatterDefinitions(Var)) { in dump()
DIceTargetLoweringARM32.cpp5314 bool matchAssign(const VariablesMetadata *VMetadata, Variable **Var, in matchAssign() argument
5319 const Inst *VarAssign = VMetadata->getSingleDefinition(*Var); in matchAssign()
5322 assert(!VMetadata->isMultiDef(*Var)); in matchAssign()
5329 if (!VMetadata->isMultiDef(SrcVar) || in matchAssign()
5366 bool matchCombinedBaseIndex(const VariablesMetadata *VMetadata, Variable **Base, in matchCombinedBaseIndex() argument
5377 const Inst *BaseInst = VMetadata->getSingleDefinition(*Base); in matchCombinedBaseIndex()
5380 assert(!VMetadata->isMultiDef(*Base)); in matchCombinedBaseIndex()
5386 if (VMetadata->isMultiDef(Var1)) in matchCombinedBaseIndex()
5391 if (VMetadata->isMultiDef(Var2)) in matchCombinedBaseIndex()
5405 bool matchShiftedOffsetReg(const VariablesMetadata *VMetadata, in matchShiftedOffsetReg() argument
[all …]
DIceTargetLoweringX8664.cpp4419 : Func(Func), VMetadata(Func->getVMetadata()) {} in AddressOptimizer()
4442 const VariablesMetadata *const VMetadata; member in Ice::X8664::AddressOptimizer
4484 if (const Inst *VarAssign = VMetadata->getSingleDefinition(*Var)) { in matchAssign()
4485 assert(!VMetadata->isMultiDef(*Var)); in matchAssign()
4490 if (!VMetadata->isMultiDef(SrcVar) && in matchAssign()
4527 auto *BaseInst = VMetadata->getSingleDefinition(*Base); in matchCombinedBaseIndex()
4530 assert(!VMetadata->isMultiDef(*Base)); in matchCombinedBaseIndex()
4534 if (VMetadata->isMultiDef(Var1)) in matchCombinedBaseIndex()
4537 if (VMetadata->isMultiDef(Var2)) in matchCombinedBaseIndex()
4558 auto *IndexInst = VMetadata->getSingleDefinition(*Index); in matchShiftedIndex()
[all …]
DIceTargetLoweringX8632.cpp4998 : Func(Func), VMetadata(Func->getVMetadata()) {} in AddressOptimizer()
5021 const VariablesMetadata *const VMetadata; member in Ice::X8632::AddressOptimizer
5063 if (const Inst *VarAssign = VMetadata->getSingleDefinition(*Var)) { in matchAssign()
5064 assert(!VMetadata->isMultiDef(*Var)); in matchAssign()
5069 if (!VMetadata->isMultiDef(SrcVar) && in matchAssign()
5106 auto *BaseInst = VMetadata->getSingleDefinition(*Base); in matchCombinedBaseIndex()
5109 assert(!VMetadata->isMultiDef(*Base)); in matchCombinedBaseIndex()
5113 if (VMetadata->isMultiDef(Var1)) in matchCombinedBaseIndex()
5116 if (VMetadata->isMultiDef(Var2)) in matchCombinedBaseIndex()
5137 auto *IndexInst = VMetadata->getSingleDefinition(*Index); in matchShiftedIndex()
[all …]
DIceTargetLoweringMIPS32.cpp118 const VariablesMetadata *VMetadata = Func->getVMetadata(); in assignVarStackSlots() local
125 if (SimpleCoalescing && VMetadata->isTracked(Var)) { in assignVarStackSlots()
126 if (VMetadata->isMultiBlock(Var)) { in assignVarStackSlots()
130 SizeT NodeIndex = VMetadata->getLocalUseNode(Var)->getIndex(); in assignVarStackSlots()
5176 bool matchAssign(const VariablesMetadata *VMetadata, Variable **Var, in matchAssign() argument
5181 const Inst *VarAssign = VMetadata->getSingleDefinition(*Var); in matchAssign()
5184 assert(!VMetadata->isMultiDef(*Var)); in matchAssign()
5191 if (!VMetadata->isMultiDef(SrcVar) || in matchAssign()
5228 bool matchOffsetBase(const VariablesMetadata *VMetadata, Variable **Base, in matchOffsetBase() argument
5236 const Inst *BaseInst = VMetadata->getSingleDefinition(*Base); in matchOffsetBase()
[all …]
DIceInst.cpp192 VariablesMetadata *VMetadata = Func->getVMetadata(); in livenessLightweight() local
194 if (VMetadata->isMultiBlock(Var)) in livenessLightweight()