|
clang 23.0.0git
|
#include "clang/Basic/DiagnosticSema.h"#include "CIRGenFunction.h"#include "clang/CIR/MissingFeatures.h"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) |
|
static |
Definition at line 31 of file CIRGenAsm.cpp.
References clang::CIRGen::CIRGenFunction::getCIRGenModule(), clang::TargetInfo::getClobbers(), clang::CIRGen::CIRGenModule::getCodeGenOpts(), clang::CIRGen::CIRGenModule::getDiags(), clang::TargetInfo::getNormalizedGCCRegisterName(), clang::CIRGen::CIRGenFunction::getTarget(), clang::isa(), clang::TargetInfo::isSPRegName(), clang::DiagnosticsEngine::Report(), and s.
Referenced by clang::CIRGen::CIRGenFunction::emitAsmStmt().
|
static |
Definition at line 89 of file CIRGenAsm.cpp.
References clang::CIRGen::CIRGenFunction::getTarget(), clang::in, clang::out, s, clang::TargetInfo::validateInputConstraint(), and clang::TargetInfo::validateOutputConstraint().
Referenced by clang::CIRGen::CIRGenFunction::emitAsmStmt().
|
static |
Definition at line 181 of file CIRGenAsm.cpp.
References cir::MissingFeatures::asmLLVMAssume(), cir::MissingFeatures::asmVectorType(), clang::CIRGen::CIRGenFunction::cgm, clang::CIRGen::CIRGenBuilderTy::createFloatingCast(), cir::CIRBaseBuilderTy::createIntCast(), cir::CIRBaseBuilderTy::createIntToPtr(), cir::CIRBaseBuilderTy::createPtrToInt(), clang::CIRGen::CIRGenBuilderTy::createStore(), clang::CIRGen::CIRGenFunction::emitStoreThroughLValue(), clang::CIRGen::RValue::get(), clang::CIRGen::CIRGenFunction::getBuilder(), clang::CIRGen::CIRGenFunction::getContext(), clang::CIRGen::CIRGenModule::getDataLayout(), clang::CIRGen::CIRGenModule::getDiags(), clang::Expr::getExprLoc(), clang::ASTContext::getIntTypeForBitwidth(), clang::CIRGen::CIRGenFunction::getLoc(), clang::CIRGen::CIRGenModule::getTargetCIRGenInfo(), clang::ASTContext::getTypeSize(), cir::CIRDataLayout::getTypeSizeInBits(), clang::isa(), clang::QualType::isNull(), clang::CIRGen::TargetCIRGenInfo::isScalarizableAsmOperand(), clang::CIRGen::CIRGenFunction::makeAddrLValue(), clang::DiagnosticsEngine::Report(), and s.
Referenced by clang::CIRGen::CIRGenFunction::emitAsmStmt().
|
static |
Definition at line 22 of file CIRGenAsm.cpp.
References clang::CIRGen::CIRGenModule::getCodeGenOpts(), clang::CodeGenOptions::IAD_ATT, clang::isa(), and s.
Referenced by clang::CIRGen::CIRGenFunction::emitAsmStmt().