clang 22.0.0git
|
Go to the source code of this file.
Functions | |
static Value * | handleAsDoubleBuiltin (CodeGenFunction &CGF, const CallExpr *E) |
static Value * | handleHlslClip (const CallExpr *E, CodeGenFunction *CGF) |
static Value * | handleHlslSplitdouble (const CallExpr *E, CodeGenFunction *CGF) |
static Intrinsic::ID | getDotProductIntrinsic (CGHLSLRuntime &RT, QualType QT) |
static Intrinsic::ID | getFirstBitHighIntrinsic (CGHLSLRuntime &RT, QualType QT) |
static Intrinsic::ID | getWaveActiveSumIntrinsic (llvm::Triple::ArchType Arch, CGHLSLRuntime &RT, QualType QT) |
static Intrinsic::ID | getWaveActiveMaxIntrinsic (llvm::Triple::ArchType Arch, CGHLSLRuntime &RT, QualType QT) |
static std::string | getSpecConstantFunctionName (clang::QualType SpecConstantType, ASTContext &Context) |
|
static |
Definition at line 164 of file CGHLSLBuiltins.cpp.
References clang::Type::isFloatingType(), clang::Type::isSignedIntegerType(), and clang::Type::isUnsignedIntegerType().
Referenced by clang::CodeGen::CodeGenFunction::EmitHLSLBuiltinExpr().
|
static |
Definition at line 173 of file CGHLSLBuiltins.cpp.
References clang::Type::hasSignedIntegerRepresentation(), and clang::Type::hasUnsignedIntegerRepresentation().
Referenced by clang::CodeGen::CodeGenFunction::EmitHLSLBuiltinExpr().
|
static |
Definition at line 220 of file CGHLSLBuiltins.cpp.
References clang::ParmVarDecl::Create(), clang::FunctionDecl::Create(), clang::ASTContext::createMangleContext(), clang::IdentifierTable::get(), clang::ASTContext::getFunctionType(), clang::ASTContext::getTranslationUnitDecl(), clang::ASTContext::Idents, clang::ASTContext::IntTy, clang::SC_Extern, and clang::SC_None.
Referenced by clang::CodeGen::CodeGenFunction::getSpecConstantFunction().
|
static |
Definition at line 200 of file CGHLSLBuiltins.cpp.
References Arch, and clang::Type::isUnsignedIntegerType().
Referenced by clang::CodeGen::CodeGenFunction::EmitHLSLBuiltinExpr().
|
static |
Definition at line 183 of file CGHLSLBuiltins.cpp.
References Arch, and clang::Type::isUnsignedIntegerType().
Referenced by clang::CodeGen::CodeGenFunction::EmitHLSLBuiltinExpr().
|
static |
Definition at line 21 of file CGHLSLBuiltins.cpp.
References clang::CodeGen::CodeGenFunction::Builder, clang::CodeGen::CodeGenFunction::CGM, clang::CodeGen::CodeGenTypeCache::DoubleTy, E, clang::CodeGen::CodeGenFunction::EmitScalarExpr(), clang::Type::getAs(), clang::CodeGen::CodeGenModule::getTarget(), clang::TargetInfo::getTriple(), clang::Expr::getType(), clang::Type::hasUnsignedIntegerRepresentation(), and clang::Type::isVectorType().
Referenced by clang::CodeGen::CodeGenFunction::EmitHLSLBuiltinExpr().
|
static |
Definition at line 56 of file CGHLSLBuiltins.cpp.
References clang::CodeGen::CodeGenFunction::Builder, clang::CodeGen::CodeGenFunction::CGM, clang::CodeGen::CodeGenFunction::createBasicBlock(), clang::CodeGen::CodeGenFunction::CurFn, E, clang::CodeGen::CodeGenFunction::EmitScalarExpr(), clang::CodeGen::CodeGenTypeCache::FloatTy, clang::Type::getAs(), clang::CodeGen::CodeGenModule::getHLSLRuntime(), clang::CodeGen::CodeGenModule::getTarget(), clang::TargetInfo::getTriple(), and clang::Expr::getType().
Referenced by clang::CodeGen::CodeGenFunction::EmitHLSLBuiltinExpr().
|
static |
Definition at line 95 of file CGHLSLBuiltins.cpp.
References clang::TargetCXXABI::areArgsDestroyedLeftToRightInCallee(), clang::CodeGen::CodeGenFunction::Builder, clang::CodeGen::CodeGenFunction::CGM, clang::CodeGen::CGBuilderTy::CreateStore(), E, clang::CodeGen::CodeGenFunction::EmitHLSLOutArgExpr(), clang::CodeGen::CodeGenFunction::EmitScalarExpr(), clang::CodeGen::CodeGenFunction::EmitWritebacks(), clang::CodeGen::LValue::getAddress(), clang::Type::getAs(), clang::TargetInfo::getCXXABI(), clang::CodeGen::CodeGenFunction::getTarget(), clang::CodeGen::CodeGenModule::getTarget(), clang::TargetInfo::getTriple(), clang::Expr::getType(), clang::Value::getType(), clang::CodeGen::CodeGenTypeCache::Int32Ty, and clang::CodeGen::CallArgList::reverseWritebacks().
Referenced by clang::CodeGen::CodeGenFunction::EmitHLSLBuiltinExpr().