clang 23.0.0git
CIRGenAsm.cpp File Reference

Go to the source code of this file.

Functions

static AsmFlavor inferFlavor (const CIRGenModule &cgm, const AsmStmt &s)
static void collectClobbers (const CIRGenFunction &cgf, const AsmStmt &s, std::string &constraints, bool &hasUnwindClobber, bool &readOnly, bool readNone)
static void collectInOutConstraintInfos (const CIRGenFunction &cgf, const AsmStmt &s, SmallVectorImpl< TargetInfo::ConstraintInfo > &out, SmallVectorImpl< TargetInfo::ConstraintInfo > &in)
static void emitAsmStores (CIRGenFunction &cgf, const AsmStmt &s, const llvm::ArrayRef< mlir::Value > regResults, const llvm::ArrayRef< mlir::Type > resultRegTypes, const llvm::ArrayRef< mlir::Type > resultTruncRegTypes, const llvm::ArrayRef< LValue > resultRegDests, const llvm::ArrayRef< QualType > resultRegQualTys, const llvm::BitVector &resultTypeRequiresCast, const llvm::BitVector &resultRegIsFlagReg)

Function Documentation

◆ collectClobbers()

◆ collectInOutConstraintInfos()

◆ emitAsmStores()

void emitAsmStores ( CIRGenFunction & cgf,
const AsmStmt & s,
const llvm::ArrayRef< mlir::Value > regResults,
const llvm::ArrayRef< mlir::Type > resultRegTypes,
const llvm::ArrayRef< mlir::Type > resultTruncRegTypes,
const llvm::ArrayRef< LValue > resultRegDests,
const llvm::ArrayRef< QualType > resultRegQualTys,
const llvm::BitVector & resultTypeRequiresCast,
const llvm::BitVector & resultRegIsFlagReg )
static

◆ inferFlavor()

AsmFlavor inferFlavor ( const CIRGenModule & cgm,
const AsmStmt & s )
static