Lines Matching refs:TheCondState
132 AsmCond TheCondState; member in __anon13c8422b0111::AsmParser
636 AsmCond StartingCondState = TheCondState; in Run()
666 if (TheCondState.TheCond != StartingCondState.TheCond || in Run()
667 TheCondState.Ignore != StartingCondState.Ignore) in Run()
1325 if (!TheCondState.Ignore) in parseStatement()
1332 if (!TheCondState.Ignore) in parseStatement()
1350 if (!TheCondState.Ignore) in parseStatement()
1401 if (TheCondState.Ignore) { in parseStatement()
3627 TheCondState = TheCondStack.back(); in parseDirectiveExitMacro()
3982 TheCondStack.push_back(TheCondState); in parseDirectiveIf()
3983 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIf()
3984 if (TheCondState.Ignore) { in parseDirectiveIf()
4019 TheCondState.CondMet = ExprValue; in parseDirectiveIf()
4020 TheCondState.Ignore = !TheCondState.CondMet; in parseDirectiveIf()
4029 TheCondStack.push_back(TheCondState); in parseDirectiveIfb()
4030 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIfb()
4032 if (TheCondState.Ignore) { in parseDirectiveIfb()
4042 TheCondState.CondMet = ExpectBlank == Str.empty(); in parseDirectiveIfb()
4043 TheCondState.Ignore = !TheCondState.CondMet; in parseDirectiveIfb()
4053 TheCondStack.push_back(TheCondState); in parseDirectiveIfc()
4054 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIfc()
4056 if (TheCondState.Ignore) { in parseDirectiveIfc()
4073 TheCondState.CondMet = ExpectEqual == (Str1.trim() == Str2.trim()); in parseDirectiveIfc()
4074 TheCondState.Ignore = !TheCondState.CondMet; in parseDirectiveIfc()
4118 TheCondStack.push_back(TheCondState); in parseDirectiveIfeqs()
4119 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIfeqs()
4120 TheCondState.CondMet = ExpectEqual == (String1 == String2); in parseDirectiveIfeqs()
4121 TheCondState.Ignore = !TheCondState.CondMet; in parseDirectiveIfeqs()
4130 TheCondStack.push_back(TheCondState); in parseDirectiveIfdef()
4131 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIfdef()
4133 if (TheCondState.Ignore) { in parseDirectiveIfdef()
4144 TheCondState.CondMet = (Sym && !Sym->isUndefined()); in parseDirectiveIfdef()
4146 TheCondState.CondMet = (!Sym || Sym->isUndefined()); in parseDirectiveIfdef()
4147 TheCondState.Ignore = !TheCondState.CondMet; in parseDirectiveIfdef()
4156 if (TheCondState.TheCond != AsmCond::IfCond && in parseDirectiveElseIf()
4157 TheCondState.TheCond != AsmCond::ElseIfCond) in parseDirectiveElseIf()
4160 TheCondState.TheCond = AsmCond::ElseIfCond; in parseDirectiveElseIf()
4165 if (LastIgnoreState || TheCondState.CondMet) { in parseDirectiveElseIf()
4166 TheCondState.Ignore = true; in parseDirectiveElseIf()
4177 TheCondState.CondMet = ExprValue; in parseDirectiveElseIf()
4178 TheCondState.Ignore = !TheCondState.CondMet; in parseDirectiveElseIf()
4192 if (TheCondState.TheCond != AsmCond::IfCond && in parseDirectiveElse()
4193 TheCondState.TheCond != AsmCond::ElseIfCond) in parseDirectiveElse()
4196 TheCondState.TheCond = AsmCond::ElseCond; in parseDirectiveElse()
4200 if (LastIgnoreState || TheCondState.CondMet) in parseDirectiveElse()
4201 TheCondState.Ignore = true; in parseDirectiveElse()
4203 TheCondState.Ignore = false; in parseDirectiveElse()
4286 if ((TheCondState.TheCond == AsmCond::NoCond) || TheCondStack.empty()) in parseDirectiveEndIf()
4290 TheCondState = TheCondStack.back(); in parseDirectiveEndIf()