clang 20.0.0git
Functions
CGHLSLRuntime.cpp File Reference
#include "CGHLSLRuntime.h"
#include "CGDebugInfo.h"
#include "CodeGenModule.h"
#include "TargetInfo.h"
#include "clang/AST/Decl.h"
#include "clang/Basic/TargetOptions.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/FormatVariadic.h"

Go to the source code of this file.

Functions

static llvm::hlsl::ElementType calculateElementType (const ASTContext &Context, const clang::Type *ResourceTy)
 
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 342 of file CGHLSLRuntime.cpp.

References clang::Result.

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

◆ calculateElementType()

static llvm::hlsl::ElementType calculateElementType ( const ASTContext Context,
const clang::Type ResourceTy 
)
static

◆ gatherFunctions()

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