Searched refs:llvm (Results 1 - 25 of 375) sorted by last modified time

1234567891011>>

/frameworks/rs/
H A DAndroid.mk7 llvm-rs-cc \
/frameworks/rs/driver/runtime/
H A Dbuild_bc_lib_internal.mk42 -emit-llvm \
94 # any blank lines that llvm-link inserts.
/frameworks/rs/rsov/compiler/
H A DAndroid.mk18 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 DContext.cpp19 #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 DContext.h23 #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 DGlobalAllocPass.cpp22 #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 DGlobalAllocPass.h20 namespace llvm { namespace
22 } // namespace llvm
26 llvm::ModulePass *createGlobalAllocPass();
27 llvm::ModulePass *createRemoveAllGlobalAllocPass();
H A DGlobalAllocSPIRITPass.cpp70 const llvm::SmallVectorImpl<rs2spirv::RSAllocationInfo> &Allocs) {
176 llvm::SmallVectorImpl<rs2spirv::RSAllocationInfo> &mAllocs;
H A DGlobalMergePass.cpp19 #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 DGlobalMergePass.h20 namespace llvm { namespace
22 } // namespace llvm
26 llvm::ModulePass *createGlobalMergePass();
H A DInlinePreparationPass.cpp19 #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 DInlinePreparationPass.h20 namespace llvm { namespace
22 } // namespace llvm
26 llvm::ModulePass *createInlinePreparationPass();
H A DRSAllocationUtils.cpp19 #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 DRSAllocationUtils.h20 #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 DRSSPIRVWriter.cpp31 #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 DRSSPIRVWriter.h22 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 DRemoveNonkernelsPass.cpp19 #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 DRemoveNonkernelsPass.h20 namespace llvm { namespace
22 } // namespace llvm
26 llvm::ModulePass *createRemoveNonkernelsPass();
H A DWrapper.cpp19 #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 DWrapper.h22 namespace llvm { namespace
45 bool DecorateGlobalBuffer(llvm::Module &M, Builder &b, Module *m);
52 android::spirit::Pass* CreateWrapperPass(const llvm::Module &LLVMModule);
H A Drs2spirv.cpp21 #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 Drs2spirv_driver.sh67 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 Drs2spirv_lit_driver.sh32 eval llvm-as "$script_path" -o "$output_folder/$script.bc" &&
H A Drun-lit-tests.sh5 LIT_PATH=$current_dir/llvm-lit
/frameworks/rs/rsov/compiler/unit_tests/
H A DTestRunner.h20 #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"; \

Completed in 133 milliseconds

1234567891011>>