Home | History | Annotate | Download | only in Sema

Lines Matching defs:Asm

1 //===--- SemaStmtAsm.cpp - Semantic Analysis for Asm Statements -----------===//
10 // This file implements semantic analysis for inline asm statements.
41 /// ignore "noop" casts in places where an lvalue is required by an inline asm.
74 /// anywhere in the decomposed asm string.
82 // one, then we have to reject this asm.
213 // Validate the asm string, ensuring it makes sense given the operands we
325 // If the smaller input/output operand is not mentioned in the asm string,
326 // then we can promote the smaller one to a larger input and the asm string
331 // one, then we have to reject this asm.
333 // This is a use in the asm string of the smaller operand. Since we
334 // codegen this by promoting to a wider value, the asm will get printed
344 // If the smaller value wasn't mentioned in the asm string, and if the
378 StringRef Asm;
382 Asm = SemaRef.PP.getSpelling(AsmTok, TokenBuf, &StringInvalid);
384 return Asm;
395 SmallString<512> Asm;
402 Asm += "\n\t";
415 Asm += ' ';
418 Asm += Spelling;
419 TokOffsets.push_back(Asm.size());
421 AsmString = Asm.str();
461 // Compute an offset into the inline asm buffer.
590 // Empty asm statements don't need to instantiate the AsmParser, etc.
620 llvm::MemoryBuffer::getMemBuffer(AsmString, "<inline asm>");