clang 22.0.0git
|
#include "CIRGenCall.h"
#include "CIRGenConstantEmitter.h"
#include "CIRGenFunction.h"
#include "CIRGenModule.h"
#include "CIRGenValue.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "mlir/IR/Value.h"
#include "mlir/Support/LLVM.h"
#include "clang/AST/Expr.h"
#include "clang/AST/GlobalDecl.h"
#include "clang/Basic/Builtins.h"
#include "clang/CIR/MissingFeatures.h"
#include "llvm/Support/ErrorHandling.h"
Go to the source code of this file.
Functions | |
static RValue | emitLibraryCall (CIRGenFunction &cgf, const FunctionDecl *fd, const CallExpr *e, mlir::Operation *calleeValue) |
template<typename Op > | |
static RValue | emitBuiltinBitOp (CIRGenFunction &cgf, const CallExpr *e, bool poisonZero=false) |
template<class Operation > | |
static RValue | emitUnaryMaybeConstrainedFPBuiltin (CIRGenFunction &cgf, const CallExpr &e) |
|
static |
Definition at line 39 of file CIRGenBuiltin.cpp.
References cir::MissingFeatures::builtinCheckKind(), clang::CIRGen::CIRGenFunction::convertType(), cir::CIRBaseBuilderTy::createIntCast(), clang::CIRGen::CIRGenFunction::emitScalarExpr(), clang::CIRGen::RValue::get(), clang::CallExpr::getArg(), clang::CIRGen::CIRGenFunction::getBuilder(), clang::CIRGen::CIRGenFunction::getLoc(), clang::Stmt::getSourceRange(), and clang::Expr::getType().
|
static |
Definition at line 32 of file CIRGenBuiltin.cpp.
References clang::CIRGen::CIRGenFunction::emitCall(), clang::CIRGen::CIRGenCallee::forDirect(), clang::CallExpr::getCallee(), and clang::Expr::getType().
Referenced by clang::CIRGen::CIRGenFunction::emitBuiltinExpr(), and clang::CodeGen::CodeGenFunction::EmitBuiltinExpr().
|
static |
Definition at line 76 of file CIRGenBuiltin.cpp.
References cir::MissingFeatures::cgFPOptionsRAII(), clang::CIRGen::CIRGenFunction::emitScalarExpr(), cir::MissingFeatures::fpConstraints(), clang::CIRGen::RValue::get(), clang::CallExpr::getArg(), and clang::CIRGen::CIRGenFunction::getBuilder().
Referenced by clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), and clang::CodeGen::CodeGenFunction::EmitPPCBuiltinExpr().