|
clang 23.0.0git
|
#include "CIRGenFunction.h"#include "mlir/IR/Value.h"#include "clang/Basic/TargetBuiltins.h"#include "llvm/Support/ErrorHandling.h"Go to the source code of this file.
Functions | |
| static mlir::Value | emitBinaryExpMaybeConstrainedFPBuiltin (CIRGenFunction &cgf, const CallExpr *e, llvm::StringRef intrinsicName, llvm::StringRef constrainedIntrinsicName) |
| static mlir::Value | emitLogbBuiltin (CIRGenFunction &cgf, const CallExpr *e, const llvm::fltSemantics &fSem) |
|
static |
Definition at line 23 of file CIRGenBuiltinAMDGPU.cpp.
References clang::CIRGen::CIRGenFunction::cgm, clang::CIRGen::CIRGenBuilderTy::emitIntrinsicCallOp(), clang::CIRGen::CIRGenFunction::emitScalarExpr(), clang::CIRGen::CIRGenModule::errorNYI(), clang::CallExpr::getArg(), clang::CIRGen::CIRGenFunction::getBuilder(), clang::Expr::getExprLoc(), clang::CIRGen::CIRGenBuilderTy::getIsFPConstrained(), clang::CIRGen::CIRGenFunction::getLoc(), and clang::Stmt::getSourceRange().
Referenced by clang::CodeGen::CodeGenFunction::EmitAMDGPUBuiltinExpr(), clang::CIRGen::CIRGenFunction::emitAMDGPUBuiltinExpr(), and clang::CodeGen::CodeGenFunction::EmitBuiltinExpr().
|
static |
Definition at line 43 of file CIRGenBuiltinAMDGPU.cpp.
References cir::CIRBaseBuilderTy::createAdd(), cir::CIRBaseBuilderTy::createCompare(), cir::CIRBaseBuilderTy::createSelect(), clang::CIRGen::CIRGenBuilderTy::emitIntrinsicCallOp(), clang::CIRGen::CIRGenFunction::emitScalarExpr(), exp, fabs, clang::CIRGen::CIRGenBuilderTy::getAnonRecordTy(), clang::CallExpr::getArg(), clang::CIRGen::CIRGenFunction::getBuilder(), cir::CIRBaseBuilderTy::getConstant(), clang::Expr::getExprLoc(), clang::CIRGen::CIRGenFunction::getLoc(), and clang::CIRGen::CIRGenBuilderTy::getSInt32Ty().
Referenced by clang::CIRGen::CIRGenFunction::emitAMDGPUBuiltinExpr().