clang 17.0.0git
Functions
CGHLSLRuntime.cpp File Reference
#include "CGHLSLRuntime.h"
#include "CGDebugInfo.h"
#include "CodeGenModule.h"
#include "clang/AST/Decl.h"
#include "clang/Basic/TargetOptions.h"
#include "llvm/IR/IntrinsicsDirectX.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/FormatVariadic.h"
Include dependency graph for CGHLSLRuntime.cpp:

Go to the source code of this file.

Functions

static llvm::hlsl::ResourceKind castResourceShapeToResourceKind (HLSLResourceAttr::ResourceKind RK)
 
static ValuebuildVectorInput (IRBuilder<> &B, Function *F, llvm::Type *Ty)
 
static void gatherFunctions (SmallVectorImpl< Function * > &Fns, llvm::Module &M, bool CtorOrDtor)
 

Function Documentation

◆ buildVectorInput()

static Value * buildVectorInput ( IRBuilder<> &  B,
Function *  F,
llvm::Type Ty 
)
static

Definition at line 328 of file CGHLSLRuntime.cpp.

References clang::Result.

Referenced by clang::CodeGen::CGHLSLRuntime::emitInputSemantic().

◆ castResourceShapeToResourceKind()

static llvm::hlsl::ResourceKind castResourceShapeToResourceKind ( HLSLResourceAttr::ResourceKind  RK)
static

◆ gatherFunctions()

static void gatherFunctions ( SmallVectorImpl< Function * > &  Fns,
llvm::Module &  M,
bool  CtorOrDtor 
)
static