Home | History | Annotate | Download | only in NVPTX

Lines Matching full:llvm

3 //                     The LLVM Compiler Infrastructure
17 #include "llvm/IR/Function.h"
18 #include "llvm/IR/GlobalVariable.h"
19 #include "llvm/IR/IntrinsicInst.h"
20 #include "llvm/IR/Value.h"
26 namespace llvm {
31 void clearAnnotationCache(const llvm::Module *);
33 bool findOneNVVMAnnotation(const llvm::GlobalValue *, std::string, unsigned &);
34 bool findAllNVVMAnnotation(const llvm::GlobalValue *, std::string,
37 bool isTexture(const llvm::Value &);
38 bool isSurface(const llvm::Value &);
39 bool isSampler(const llvm::Value &);
40 bool isImage(const llvm::Value &);
41 bool isImageReadOnly(const llvm::Value &);
42 bool isImageWriteOnly(const llvm::Value &);
43 bool isImageReadWrite(const llvm::Value &);
44 bool isManaged(const llvm::Value &);
46 std::string getTextureName(const llvm::Value &);
47 std::string getSurfaceName(const llvm::Value &);
48 std::string getSamplerName(const llvm::Value &);
50 bool getMaxNTIDx(const llvm::Function &, unsigned &);
51 bool getMaxNTIDy(const llvm::Function &, unsigned &);
52 bool getMaxNTIDz(const llvm::Function &, unsigned &);
54 bool getReqNTIDx(const llvm::Function &, unsigned &);
55 bool getReqNTIDy(const llvm::Function &, unsigned &);
56 bool getReqNTIDz(const llvm::Function &, unsigned &);
58 bool getMinCTASm(const llvm::Function &, unsigned &);
59 bool isKernelFunction(const llvm::Function &);
61 bool getAlign(const llvm::Function &, unsigned index, unsigned &);
62 bool getAlign(const llvm::CallInst &, unsigned index, unsigned &);
64 bool isBarrierIntrinsic(llvm::Intrinsic::ID);