Lines Matching refs:lengthKind
732 static StringRef getTypeListName(Element *arg, ArgumentLengthKind &lengthKind) { in getTypeListName() argument
734 lengthKind = getArgumentLengthKind(operand->getVar()); in getTypeListName()
738 lengthKind = getArgumentLengthKind(result->getVar()); in getTypeListName()
741 lengthKind = ArgumentLengthKind::Variadic; in getTypeListName()
848 ArgumentLengthKind lengthKind; in genElementParserStorage() local
849 StringRef name = getTypeListName(dir->getOperand(), lengthKind); in genElementParserStorage()
850 if (lengthKind != ArgumentLengthKind::Single) in genElementParserStorage()
858 ArgumentLengthKind lengthKind; in genElementParserStorage() local
859 StringRef name = getTypeListName(dir->getOperand(), lengthKind); in genElementParserStorage()
863 if (lengthKind != ArgumentLengthKind::Single) in genElementParserStorage()
888 ArgumentLengthKind lengthKind = getArgumentLengthKind(operand->getVar()); in genCustomParameterParser() local
889 if (lengthKind == ArgumentLengthKind::Variadic) in genCustomParameterParser()
891 else if (lengthKind == ArgumentLengthKind::Optional) in genCustomParameterParser()
911 ArgumentLengthKind lengthKind; in genCustomParameterParser() local
912 StringRef listName = getTypeListName(dir->getOperand(), lengthKind); in genCustomParameterParser()
913 if (lengthKind == ArgumentLengthKind::Variadic) in genCustomParameterParser()
915 else if (lengthKind == ArgumentLengthKind::Optional) in genCustomParameterParser()
920 ArgumentLengthKind lengthKind; in genCustomParameterParser() local
921 StringRef listName = getTypeListName(dir->getOperand(), lengthKind); in genCustomParameterParser()
922 if (lengthKind == ArgumentLengthKind::Variadic) in genCustomParameterParser()
924 else if (lengthKind == ArgumentLengthKind::Optional) in genCustomParameterParser()
954 ArgumentLengthKind lengthKind; in genCustomDirectiveParser() local
955 StringRef listName = getTypeListName(dir->getOperand(), lengthKind); in genCustomDirectiveParser()
956 if (lengthKind == ArgumentLengthKind::Optional) in genCustomDirectiveParser()
962 ArgumentLengthKind lengthKind; in genCustomDirectiveParser() local
963 StringRef listName = getTypeListName(dir->getOperand(), lengthKind); in genCustomDirectiveParser()
964 if (lengthKind == ArgumentLengthKind::Optional) in genCustomDirectiveParser()
996 ArgumentLengthKind lengthKind; in genCustomDirectiveParser() local
997 StringRef listName = getTypeListName(dir->getOperand(), lengthKind); in genCustomDirectiveParser()
998 if (lengthKind == ArgumentLengthKind::Optional) { in genCustomDirectiveParser()
1149 ArgumentLengthKind lengthKind = getArgumentLengthKind(operand->getVar()); in genElementParser() local
1151 if (lengthKind == ArgumentLengthKind::Variadic) in genElementParser()
1153 else if (lengthKind == ArgumentLengthKind::Optional) in genElementParser()
1196 ArgumentLengthKind lengthKind; in genElementParser() local
1197 StringRef listName = getTypeListName(dir->getOperand(), lengthKind); in genElementParser()
1198 if (lengthKind == ArgumentLengthKind::Variadic) in genElementParser()
1200 else if (lengthKind == ArgumentLengthKind::Optional) in genElementParser()
1205 ArgumentLengthKind lengthKind; in genElementParser() local
1206 StringRef listName = getTypeListName(dir->getOperand(), lengthKind); in genElementParser()
1207 if (lengthKind == ArgumentLengthKind::Variadic) in genElementParser()
1209 else if (lengthKind == ArgumentLengthKind::Optional) in genElementParser()