Lines Matching refs:TheCondState
384 AsmCond TheCondState; member in __anon96dc1d8a0111::MasmParser
1328 AsmCond StartingCondState = TheCondState; in Run()
1382 if (TheCondState.TheCond != StartingCondState.TheCond || in Run()
1383 TheCondState.Ignore != StartingCondState.Ignore) in Run()
2126 if (!TheCondState.Ignore) { in parseStatement()
2135 if (!TheCondState.Ignore) { in parseStatement()
2166 if (!TheCondState.Ignore) { in parseStatement()
2238 if (TheCondState.Ignore) { in parseStatement()
5981 TheCondState = TheCondStack.back(); in parseDirectiveExitMacro()
6177 TheCondStack.push_back(TheCondState); in parseDirectiveIf()
6178 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIf()
6179 if (TheCondState.Ignore) { in parseDirectiveIf()
6198 TheCondState.CondMet = ExprValue; in parseDirectiveIf()
6199 TheCondState.Ignore = !TheCondState.CondMet; in parseDirectiveIf()
6208 TheCondStack.push_back(TheCondState); in parseDirectiveIfb()
6209 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIfb()
6211 if (TheCondState.Ignore) { in parseDirectiveIfb()
6222 TheCondState.CondMet = ExpectBlank == Str.empty(); in parseDirectiveIfb()
6223 TheCondState.Ignore = !TheCondState.CondMet; in parseDirectiveIfb()
6255 TheCondStack.push_back(TheCondState); in parseDirectiveIfidn()
6256 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIfidn()
6258 TheCondState.CondMet = in parseDirectiveIfidn()
6261 TheCondState.CondMet = ExpectEqual == (String1 == String2); in parseDirectiveIfidn()
6262 TheCondState.Ignore = !TheCondState.CondMet; in parseDirectiveIfidn()
6271 TheCondStack.push_back(TheCondState); in parseDirectiveIfdef()
6272 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIfdef()
6274 if (TheCondState.Ignore) { in parseDirectiveIfdef()
6298 TheCondState.CondMet = (is_defined == expect_defined); in parseDirectiveIfdef()
6299 TheCondState.Ignore = !TheCondState.CondMet; in parseDirectiveIfdef()
6309 if (TheCondState.TheCond != AsmCond::IfCond && in parseDirectiveElseIf()
6310 TheCondState.TheCond != AsmCond::ElseIfCond) in parseDirectiveElseIf()
6313 TheCondState.TheCond = AsmCond::ElseIfCond; in parseDirectiveElseIf()
6318 if (LastIgnoreState || TheCondState.CondMet) { in parseDirectiveElseIf()
6319 TheCondState.Ignore = true; in parseDirectiveElseIf()
6340 TheCondState.CondMet = ExprValue; in parseDirectiveElseIf()
6341 TheCondState.Ignore = !TheCondState.CondMet; in parseDirectiveElseIf()
6350 if (TheCondState.TheCond != AsmCond::IfCond && in parseDirectiveElseIfb()
6351 TheCondState.TheCond != AsmCond::ElseIfCond) in parseDirectiveElseIfb()
6354 TheCondState.TheCond = AsmCond::ElseIfCond; in parseDirectiveElseIfb()
6359 if (LastIgnoreState || TheCondState.CondMet) { in parseDirectiveElseIfb()
6360 TheCondState.Ignore = true; in parseDirectiveElseIfb()
6374 TheCondState.CondMet = ExpectBlank == Str.empty(); in parseDirectiveElseIfb()
6375 TheCondState.Ignore = !TheCondState.CondMet; in parseDirectiveElseIfb()
6386 if (TheCondState.TheCond != AsmCond::IfCond && in parseDirectiveElseIfdef()
6387 TheCondState.TheCond != AsmCond::ElseIfCond) in parseDirectiveElseIfdef()
6390 TheCondState.TheCond = AsmCond::ElseIfCond; in parseDirectiveElseIfdef()
6395 if (LastIgnoreState || TheCondState.CondMet) { in parseDirectiveElseIfdef()
6396 TheCondState.Ignore = true; in parseDirectiveElseIfdef()
6422 TheCondState.CondMet = (is_defined == expect_defined); in parseDirectiveElseIfdef()
6423 TheCondState.Ignore = !TheCondState.CondMet; in parseDirectiveElseIfdef()
6433 if (TheCondState.TheCond != AsmCond::IfCond && in parseDirectiveElseIfidn()
6434 TheCondState.TheCond != AsmCond::ElseIfCond) in parseDirectiveElseIfidn()
6437 TheCondState.TheCond = AsmCond::ElseIfCond; in parseDirectiveElseIfidn()
6442 if (LastIgnoreState || TheCondState.CondMet) { in parseDirectiveElseIfidn()
6443 TheCondState.Ignore = true; in parseDirectiveElseIfidn()
6472 TheCondState.CondMet = in parseDirectiveElseIfidn()
6475 TheCondState.CondMet = ExpectEqual == (String1 == String2); in parseDirectiveElseIfidn()
6476 TheCondState.Ignore = !TheCondState.CondMet; in parseDirectiveElseIfidn()
6489 if (TheCondState.TheCond != AsmCond::IfCond && in parseDirectiveElse()
6490 TheCondState.TheCond != AsmCond::ElseIfCond) in parseDirectiveElse()
6493 TheCondState.TheCond = AsmCond::ElseCond; in parseDirectiveElse()
6497 if (LastIgnoreState || TheCondState.CondMet) in parseDirectiveElse()
6498 TheCondState.Ignore = true; in parseDirectiveElse()
6500 TheCondState.Ignore = false; in parseDirectiveElse()
6654 TheCondState.CondMet = in parseDirectiveErrorIfidn()
6657 TheCondState.CondMet = ExpectEqual == (String1 == String2); in parseDirectiveErrorIfidn()
6658 TheCondState.Ignore = !TheCondState.CondMet; in parseDirectiveErrorIfidn()
6701 if ((TheCondState.TheCond == AsmCond::NoCond) || TheCondStack.empty()) in parseDirectiveEndIf()
6705 TheCondState = TheCondStack.back(); in parseDirectiveEndIf()