Lines Matching refs:Object
147 const T &Object,
869 for (const auto &Object : YamlMF.FixedStackObjects) {
871 if (Object.Type != yaml::FixedMachineStackObject::SpillSlot)
872 ObjectIdx = MFI.CreateFixedObject(Object.Size, Object.Offset,
873 Object.IsImmutable, Object.IsAliased);
875 ObjectIdx = MFI.CreateFixedSpillStackObject(Object.Size, Object.Offset);
877 if (!TFI->isSupportedStackID(Object.StackID))
878 return error(Object.ID.SourceRange.Start,
880 MFI.setStackID(ObjectIdx, Object.StackID);
881 MFI.setObjectAlignment(ObjectIdx, Object.Alignment.valueOrOne());
882 if (!PFS.FixedStackObjectSlots.insert(std::make_pair(Object.ID.Value,
885 return error(Object.ID.SourceRange.Start,
887 Twine(Object.ID.Value) + "'");
888 if (parseCalleeSavedRegister(PFS, CSIInfo, Object.CalleeSavedRegister,
889 Object.CalleeSavedRestored, ObjectIdx))
891 if (parseStackObjectsDebugInfo(PFS, Object, ObjectIdx))
895 for (const auto &Object : YamlMF.EntryValueObjects) {
898 if (parseNamedRegisterReference(PFS, Reg, Object.EntryValueRegister.Value,
900 return error(Error, Object.EntryValueRegister.SourceRange);
902 return error(Object.EntryValueRegister.SourceRange.Start,
905 PFS, Object.DebugVar, Object.DebugExpr, Object.DebugLoc);
914 for (const auto &Object : YamlMF.StackObjects) {
917 const yaml::StringValue &Name = Object.Name;
927 if (!TFI->isSupportedStackID(Object.StackID))
928 return error(Object.ID.SourceRange.Start,
930 if (Object.Type == yaml::MachineStackObject::VariableSized)
932 MFI.CreateVariableSizedObject(Object.Alignment.valueOrOne(), Alloca);
935 Object.Size, Object.Alignment.valueOrOne(),
936 Object.Type == yaml::MachineStackObject::SpillSlot, Alloca,
937 Object.StackID);
938 MFI.setObjectOffset(ObjectIdx, Object.Offset);
940 if (!PFS.StackObjectSlots.insert(std::make_pair(Object.ID.Value, ObjectIdx))
942 return error(Object.ID.SourceRange.Start,
944 Twine(Object.ID.Value) + "'");
945 if (parseCalleeSavedRegister(PFS, CSIInfo, Object.CalleeSavedRegister,
946 Object.CalleeSavedRestored, ObjectIdx))
948 if (Object.LocalOffset)
949 MFI.mapLocalFrameObject(ObjectIdx, *Object.LocalOffset);
950 if (parseStackObjectsDebugInfo(PFS, Object, ObjectIdx))
1029 const T &Object, int FrameIdx) {
1031 parseVarExprLoc(PFS, Object.DebugVar, Object.DebugExpr, Object.DebugLoc);