Lines Matching refs:ValID
653 ValID ID; in ParseAlias()
656 if (ID.Kind != ValID::t_Constant) in ParseAlias()
2342 bool LLParser::ParseValID(ValID &ID, PerFunctionState *PFS) { in ParseValID()
2348 ID.Kind = ValID::t_GlobalID; in ParseValID()
2352 ID.Kind = ValID::t_GlobalName; in ParseValID()
2356 ID.Kind = ValID::t_LocalID; in ParseValID()
2360 ID.Kind = ValID::t_LocalName; in ParseValID()
2364 ID.Kind = ValID::t_APSInt; in ParseValID()
2368 ID.Kind = ValID::t_APFloat; in ParseValID()
2372 ID.Kind = ValID::t_Constant; in ParseValID()
2376 ID.Kind = ValID::t_Constant; in ParseValID()
2378 case lltok::kw_null: ID.Kind = ValID::t_Null; break; in ParseValID()
2379 case lltok::kw_undef: ID.Kind = ValID::t_Undef; break; in ParseValID()
2380 case lltok::kw_zeroinitializer: ID.Kind = ValID::t_Zero; break; in ParseValID()
2393 ID.Kind = ValID::t_ConstantStruct; in ParseValID()
2414 ID.Kind = ValID::t_PackedConstantStruct; in ParseValID()
2435 ID.Kind = ValID::t_Constant; in ParseValID()
2450 ID.Kind = ValID::t_EmptyArray; in ParseValID()
2469 ID.Kind = ValID::t_Constant; in ParseValID()
2477 ID.Kind = ValID::t_Constant; in ParseValID()
2495 ID.Kind = ValID::t_InlineAsm; in ParseValID()
2503 ValID Fn, Label; in ParseValID()
2512 if (Fn.Kind != ValID::t_GlobalID && Fn.Kind != ValID::t_GlobalName) in ParseValID()
2514 if (Label.Kind != ValID::t_LocalID && Label.Kind != ValID::t_LocalName) in ParseValID()
2519 if (Fn.Kind == ValID::t_GlobalID) { in ParseValID()
2540 std::map<ValID, GlobalValue *>())) in ParseValID()
2547 ID.Kind = ValID::t_Constant; in ParseValID()
2555 if (Label.Kind == ValID::t_LocalID) in ParseValID()
2562 if (Label.Kind == ValID::t_LocalID) in ParseValID()
2572 ID.Kind = ValID::t_Constant; in ParseValID()
2605 ID.Kind = ValID::t_Constant; in ParseValID()
2623 ID.Kind = ValID::t_Constant; in ParseValID()
2649 ID.Kind = ValID::t_Constant; in ParseValID()
2681 ID.Kind = ValID::t_Constant; in ParseValID()
2767 ID.Kind = ValID::t_Constant; in ParseValID()
2790 ID.Kind = ValID::t_Constant; in ParseValID()
2890 ID.Kind = ValID::t_Constant; in ParseValID()
2902 ValID ID; in ParseGlobalValue()
3896 bool LLParser::ConvertValIDToValue(Type *Ty, ValID &ID, Value *&V, in ConvertValIDToValue()
3902 case ValID::t_LocalID: in ConvertValIDToValue()
3906 case ValID::t_LocalName: in ConvertValIDToValue()
3910 case ValID::t_InlineAsm: { in ConvertValIDToValue()
3920 case ValID::t_GlobalName: in ConvertValIDToValue()
3923 case ValID::t_GlobalID: in ConvertValIDToValue()
3926 case ValID::t_APSInt: in ConvertValIDToValue()
3932 case ValID::t_APFloat: in ConvertValIDToValue()
3955 case ValID::t_Null: in ConvertValIDToValue()
3960 case ValID::t_Undef: in ConvertValIDToValue()
3966 case ValID::t_EmptyArray: in ConvertValIDToValue()
3971 case ValID::t_Zero: in ConvertValIDToValue()
3977 case ValID::t_Constant: in ConvertValIDToValue()
3983 case ValID::t_ConstantStruct: in ConvertValIDToValue()
3984 case ValID::t_PackedConstantStruct: in ConvertValIDToValue()
3989 if (ST->isPacked() != (ID.Kind == ValID::t_PackedConstantStruct)) in ConvertValIDToValue()
4009 ValID ID; in ParseValue()
4255 ValID ID; in ParseFunctionHeader()
4257 ID.Kind = ValID::t_GlobalID; in ParseFunctionHeader()
4260 ID.Kind = ValID::t_GlobalName; in ParseFunctionHeader()
4271 ValID ID; in resolveForwardRefBlockAddresses()
4273 ID.Kind = ValID::t_GlobalName; in resolveForwardRefBlockAddresses()
4276 ID.Kind = ValID::t_GlobalID; in resolveForwardRefBlockAddresses()
4285 const ValID &BBID = I.first; in resolveForwardRefBlockAddresses()
4288 assert((BBID.Kind == ValID::t_LocalID || BBID.Kind == ValID::t_LocalName) && in resolveForwardRefBlockAddresses()
4291 if (BBID.Kind == ValID::t_LocalName) in resolveForwardRefBlockAddresses()
4725 ValID CalleeID; in ParseInvoke()
5144 ValID CalleeID; in ParseCall()
5729 ValID Fn, Label; in ParseUseListOrderBB()
5740 if (Fn.Kind == ValID::t_GlobalName) in ParseUseListOrderBB()
5742 else if (Fn.Kind == ValID::t_GlobalID) in ParseUseListOrderBB()
5755 if (Label.Kind == ValID::t_LocalID) in ParseUseListOrderBB()
5757 if (Label.Kind != ValID::t_LocalName) in ParseUseListOrderBB()