llvm.org GIT mirror llvm / 80480bf
[X86] Minor code cleanup to fix several clang-tidy warnings. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292404 91177308-0d34-0410-b5e6-96231b3b80d8 Kirill Bobyrev 3 years ago
2 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
137137 // The operator on the top of the stack has higher precedence than the
138138 // new operator.
139139 unsigned ParenCount = 0;
140 while (1) {
140 while (true) {
141141 // Nothing to process.
142142 if (InfixOperatorStack.empty())
143143 break;
18221822 return ParseIntelBracExpression(/*SegReg=*/0, Start, /*ImmDisp=*/0, false,
18231823 Size);
18241824
1825 AsmToken StartTok = Tok;
1825 const AsmToken &StartTok = Tok;
18261826 IntelExprStateMachine SM(/*Imm=*/0, /*StopOnLBrac=*/true,
18271827 /*AddImmPrefix=*/false);
18281828 if (ParseIntelExpression(SM, End))
23732373 Operands.push_back(X86Operand::CreateToken("*", consumeToken()));
23742374
23752375 // Read the operands.
2376 while(1) {
2376 while (true) {
23772377 if (std::unique_ptr Op = ParseOperand()) {
23782378 Operands.push_back(std::move(Op));
23792379 if (HandleAVX512Operand(Operands, *Operands.back()))
2536825368 // inside MC, therefore without the two markers shrink-wrapping
2536925369 // may push the prologue/epilogue pass them.
2537025370 const TargetInstrInfo &TII = *Subtarget.getInstrInfo();
25371 DebugLoc DL = MI.getDebugLoc();
25371 const DebugLoc &DL = MI.getDebugLoc();
2537225372 MachineFunction &MF = *BB->getParent();
2537325373
2537425374 // Emit CALLSEQ_START right before the instruction.
3462334623 int64_t Offset = 0;
3462434624
3462534625 // Match either (GA), (GA+C), (GA+C1+C2), etc.
34626 while (1) {
34626 while (true) {
3462734627 if ((GA = dyn_cast(Op))) {
3462834628 Offset += GA->getOffset();
3462934629 break;