Lines Matching refs:ValID
737 ValID ID; in parseIndirectSymbol()
740 if (ID.Kind != ValID::t_Constant) in parseIndirectSymbol()
2681 bool LLParser::ParseValID(ValID &ID, PerFunctionState *PFS) { in ParseValID()
2687 ID.Kind = ValID::t_GlobalID; in ParseValID()
2691 ID.Kind = ValID::t_GlobalName; in ParseValID()
2695 ID.Kind = ValID::t_LocalID; in ParseValID()
2699 ID.Kind = ValID::t_LocalName; in ParseValID()
2703 ID.Kind = ValID::t_APSInt; in ParseValID()
2707 ID.Kind = ValID::t_APFloat; in ParseValID()
2711 ID.Kind = ValID::t_Constant; in ParseValID()
2715 ID.Kind = ValID::t_Constant; in ParseValID()
2717 case lltok::kw_null: ID.Kind = ValID::t_Null; break; in ParseValID()
2718 case lltok::kw_undef: ID.Kind = ValID::t_Undef; break; in ParseValID()
2719 case lltok::kw_zeroinitializer: ID.Kind = ValID::t_Zero; break; in ParseValID()
2720 case lltok::kw_none: ID.Kind = ValID::t_None; break; in ParseValID()
2734 ID.Kind = ValID::t_ConstantStruct; in ParseValID()
2756 ID.Kind = ValID::t_PackedConstantStruct; in ParseValID()
2777 ID.Kind = ValID::t_Constant; in ParseValID()
2792 ID.Kind = ValID::t_EmptyArray; in ParseValID()
2811 ID.Kind = ValID::t_Constant; in ParseValID()
2819 ID.Kind = ValID::t_Constant; in ParseValID()
2837 ID.Kind = ValID::t_InlineAsm; in ParseValID()
2845 ValID Fn, Label; in ParseValID()
2854 if (Fn.Kind != ValID::t_GlobalID && Fn.Kind != ValID::t_GlobalName) in ParseValID()
2856 if (Label.Kind != ValID::t_LocalID && Label.Kind != ValID::t_LocalName) in ParseValID()
2861 if (Fn.Kind == ValID::t_GlobalID) { in ParseValID()
2882 std::map<ValID, GlobalValue *>())) in ParseValID()
2889 ID.Kind = ValID::t_Constant; in ParseValID()
2897 if (Label.Kind == ValID::t_LocalID) in ParseValID()
2904 if (Label.Kind == ValID::t_LocalID) in ParseValID()
2914 ID.Kind = ValID::t_Constant; in ParseValID()
2947 ID.Kind = ValID::t_Constant; in ParseValID()
2965 ID.Kind = ValID::t_Constant; in ParseValID()
2991 ID.Kind = ValID::t_Constant; in ParseValID()
3023 ID.Kind = ValID::t_Constant; in ParseValID()
3109 ID.Kind = ValID::t_Constant; in ParseValID()
3132 ID.Kind = ValID::t_Constant; in ParseValID()
3231 ID.Kind = ValID::t_Constant; in ParseValID()
3243 ValID ID; in ParseGlobalValue()
4381 bool LLParser::ConvertValIDToValue(Type *Ty, ValID &ID, Value *&V, in ConvertValIDToValue()
4387 case ValID::t_LocalID: in ConvertValIDToValue()
4391 case ValID::t_LocalName: in ConvertValIDToValue()
4395 case ValID::t_InlineAsm: { in ConvertValIDToValue()
4403 case ValID::t_GlobalName: in ConvertValIDToValue()
4406 case ValID::t_GlobalID: in ConvertValIDToValue()
4409 case ValID::t_APSInt: in ConvertValIDToValue()
4415 case ValID::t_APFloat: in ConvertValIDToValue()
4438 case ValID::t_Null: in ConvertValIDToValue()
4443 case ValID::t_Undef: in ConvertValIDToValue()
4449 case ValID::t_EmptyArray: in ConvertValIDToValue()
4454 case ValID::t_Zero: in ConvertValIDToValue()
4460 case ValID::t_None: in ConvertValIDToValue()
4465 case ValID::t_Constant: in ConvertValIDToValue()
4471 case ValID::t_ConstantStruct: in ConvertValIDToValue()
4472 case ValID::t_PackedConstantStruct: in ConvertValIDToValue()
4477 if (ST->isPacked() != (ID.Kind == ValID::t_PackedConstantStruct)) in ConvertValIDToValue()
4497 ValID ID; in parseConstantValue()
4502 case ValID::t_APSInt: in parseConstantValue()
4503 case ValID::t_APFloat: in parseConstantValue()
4504 case ValID::t_Undef: in parseConstantValue()
4505 case ValID::t_Constant: in parseConstantValue()
4506 case ValID::t_ConstantStruct: in parseConstantValue()
4507 case ValID::t_PackedConstantStruct: { in parseConstantValue()
4522 ValID ID; in ParseValue()
4766 ValID ID; in ParseFunctionHeader()
4768 ID.Kind = ValID::t_GlobalID; in ParseFunctionHeader()
4771 ID.Kind = ValID::t_GlobalName; in ParseFunctionHeader()
4782 ValID ID; in resolveForwardRefBlockAddresses()
4784 ID.Kind = ValID::t_GlobalName; in resolveForwardRefBlockAddresses()
4787 ID.Kind = ValID::t_GlobalID; in resolveForwardRefBlockAddresses()
4796 const ValID &BBID = I.first; in resolveForwardRefBlockAddresses()
4799 assert((BBID.Kind == ValID::t_LocalID || BBID.Kind == ValID::t_LocalName) && in resolveForwardRefBlockAddresses()
4802 if (BBID.Kind == ValID::t_LocalName) in resolveForwardRefBlockAddresses()
5251 ValID CalleeID; in ParseInvoke()
5847 ValID CalleeID; in ParseCall()
6450 ValID Fn, Label; in ParseUseListOrderBB()
6461 if (Fn.Kind == ValID::t_GlobalName) in ParseUseListOrderBB()
6463 else if (Fn.Kind == ValID::t_GlobalID) in ParseUseListOrderBB()
6476 if (Label.Kind == ValID::t_LocalID) in ParseUseListOrderBB()
6478 if (Label.Kind != ValID::t_LocalName) in ParseUseListOrderBB()