/frameworks/rs/ |
H A D | Android.mk | 7 llvm-rs-cc \
|
/frameworks/rs/driver/runtime/ |
H A D | build_bc_lib_internal.mk | 42 -emit-llvm \ 94 # any blank lines that llvm-link inserts.
|
/frameworks/rs/rsov/compiler/ |
H A D | Android.mk | 18 LLVM_ROOT_PATH := external/llvm 20 LIBSPIRV_ROOT_PATH := external/spirv-llvm/lib/SPIRV 77 include $(LLVM_ROOT_PATH)/llvm.mk 145 include $(LLVM_ROOT_PATH)/llvm.mk
|
H A D | Context.cpp | 19 #include "llvm/ADT/Triple.h" 20 #include "llvm/IR/Module.h" 21 #include "llvm/Support/raw_ostream.h" 40 llvm::errs() << "cannot extract metadata\n";
|
H A D | Context.h | 23 #include "llvm/ADT/StringMap.h" 24 #include "llvm/ADT/StringRef.h" 44 namespace llvm { namespace 95 bool isForEachKernel(llvm::StringRef name) const { 101 llvm::SmallVectorImpl<RSAllocationInfo> &getGlobalAllocs() { 107 const llvm::StringRef strVarName(varName); 119 llvm::StringMap<uint32_t> mVarNameToSlot; 121 llvm::StringMap<uint32_t> mForEachNameToSlot; 126 llvm::SmallVector<RSAllocationInfo, 8> mGlobalAllocs;
|
H A D | GlobalAllocPass.cpp | 22 #include "llvm/IR/GlobalVariable.h" 23 #include "llvm/IR/Module.h" 24 #include "llvm/Pass.h" 25 #include "llvm/Support/Debug.h" 29 using namespace llvm;
|
H A D | GlobalAllocPass.h | 20 namespace llvm { namespace 22 } // namespace llvm 26 llvm::ModulePass *createGlobalAllocPass(); 27 llvm::ModulePass *createRemoveAllGlobalAllocPass();
|
H A D | GlobalAllocSPIRITPass.cpp | 70 const llvm::SmallVectorImpl<rs2spirv::RSAllocationInfo> &Allocs) { 176 llvm::SmallVectorImpl<rs2spirv::RSAllocationInfo> &mAllocs;
|
H A D | GlobalMergePass.cpp | 19 #include "llvm/IR/Constants.h" 20 #include "llvm/IR/DataLayout.h" 21 #include "llvm/IR/GlobalVariable.h" 22 #include "llvm/IR/Instructions.h" 23 #include "llvm/IR/Module.h" 24 #include "llvm/Pass.h" 25 #include "llvm/Support/Debug.h" 26 #include "llvm/Support/raw_ostream.h" 32 using namespace llvm;
|
H A D | GlobalMergePass.h | 20 namespace llvm { namespace 22 } // namespace llvm 26 llvm::ModulePass *createGlobalMergePass();
|
H A D | InlinePreparationPass.cpp | 19 #include "llvm/IR/Module.h" 20 #include "llvm/Pass.h" 21 #include "llvm/Support/Debug.h" 22 #include "llvm/Support/raw_ostream.h" 28 using namespace llvm;
|
H A D | InlinePreparationPass.h | 20 namespace llvm { namespace 22 } // namespace llvm 26 llvm::ModulePass *createInlinePreparationPass();
|
H A D | RSAllocationUtils.cpp | 19 #include "llvm/ADT/StringRef.h" 20 #include "llvm/IR/Constants.h" 21 #include "llvm/IR/GlobalVariable.h" 22 #include "llvm/IR/Instructions.h" 23 #include "llvm/IR/Module.h" 24 #include "llvm/Support/Debug.h" 25 #include "llvm/Support/raw_ostream.h" 34 using namespace llvm; 115 if (FName.startswith("llvm.memcpy")) {
|
H A D | RSAllocationUtils.h | 20 #include "llvm/ADT/Optional.h" 21 #include "llvm/ADT/SmallVector.h" 25 namespace llvm { namespace 30 } // namespace llvm 36 llvm::Optional<std::string> RSElementType; 37 llvm::GlobalVariable *GlobalVar; 51 llvm::CallInst *FCall; 56 bool isRSAllocation(const llvm::GlobalVariable &GV); 57 bool getRSAllocationInfo(llvm::Module &M, 58 llvm [all...] |
H A D | RSSPIRVWriter.cpp | 31 #include "llvm/ADT/Triple.h" 32 #include "llvm/IR/LegacyPassManager.h" 33 #include "llvm/IR/Module.h" 34 #include "llvm/Support/CommandLine.h" 35 #include "llvm/Support/Debug.h" 36 #include "llvm/Support/SPIRV.h" 37 #include "llvm/Support/raw_ostream.h" 38 #include "llvm/Transforms/IPO.h" 39 #include "llvm/Transforms/Scalar.h" 43 using namespace llvm; [all...] |
H A D | RSSPIRVWriter.h | 22 namespace llvm { namespace 25 } // namespace llvm 33 bool WriteSPIRV(llvm::Module *M, std::unique_ptr<bcinfo::MetadataExtractor> ME, 34 llvm::raw_ostream &OS, std::string &ErrMsg);
|
H A D | RemoveNonkernelsPass.cpp | 19 #include "llvm/IR/Constants.h" 20 #include "llvm/IR/Module.h" 21 #include "llvm/Pass.h" 22 #include "llvm/Support/Debug.h" 23 #include "llvm/Support/raw_ostream.h" 29 using namespace llvm;
|
H A D | RemoveNonkernelsPass.h | 20 namespace llvm { namespace 22 } // namespace llvm 26 llvm::ModulePass *createRemoveNonkernelsPass();
|
H A D | Wrapper.cpp | 19 #include "llvm/IR/Module.h" 233 bool DecorateGlobalBuffer(llvm::Module &LM, Builder &b, Module *m) { 254 std::find_if(GlobalsB, GlobalsE, [](const llvm::GlobalVariable &GV) { 262 const llvm::GlobalVariable &G = *Found; 265 if (const auto *LPtrTy = llvm::dyn_cast<llvm::PointerType>(G.getType())) { 267 llvm::dyn_cast<llvm::StructType>(LPtrTy->getElementType())) { 294 llvm::SmallVector<rs2spirv::RSAllocationInfo, 2> RSAllocs; 296 // llvm [all...] |
H A D | Wrapper.h | 22 namespace llvm { namespace 45 bool DecorateGlobalBuffer(llvm::Module &M, Builder &b, Module *m); 52 android::spirit::Pass* CreateWrapperPass(const llvm::Module &LLVMModule);
|
H A D | rs2spirv.cpp | 21 #include "llvm/Bitcode/ReaderWriter.h" 22 #include "llvm/IR/LLVMContext.h" 23 #include "llvm/IR/Module.h" 24 #include "llvm/Support/CommandLine.h" 25 #include "llvm/Support/DataStream.h" 26 #include "llvm/Support/Debug.h" 27 #include "llvm/Support/FileSystem.h" 28 #include "llvm/Support/PrettyStackTrace.h" 29 #include "llvm/Support/Signals.h" 30 #include "llvm/Suppor [all...] |
H A D | rs2spirv_driver.sh | 67 eval llvm-rs-cc -o "$output_folder" -S -emit-llvm -Wall -Werror -target-api 24 \ 70 eval llvm-as "$output_folder/bc32/$script.ll" -o "$output_folder/$script.bc" &&
|
/frameworks/rs/rsov/compiler/tests/ |
H A D | rs2spirv_lit_driver.sh | 32 eval llvm-as "$script_path" -o "$output_folder/$script.bc" &&
|
H A D | run-lit-tests.sh | 5 LIT_PATH=$current_dir/llvm-lit
|
/frameworks/rs/rsov/compiler/unit_tests/ |
H A D | TestRunner.h | 20 #include "llvm/Support/Debug.h" 21 #include "llvm/Support/raw_ostream.h" 48 llvm::outs() << "Test(" << TC.description << ") {\n"; 50 llvm::outs() << "\n} (" << TC.description << ") [" << getCheckSuccessNum() 95 llvm::errs() << "\nCHECK <( " #CONDITION " )> failed!\n"; \
|