/frameworks/compile/libbcc/include/bcc/Renderscript/ |
H A D | RSTransforms.h | 20 namespace llvm { namespace 29 llvm::ModulePass * 32 llvm::FunctionPass * 35 llvm::FunctionPass * 38 llvm::ModulePass * createRSEmbedInfoPass(); 40 llvm::ModulePass * createRSGlobalInfoPass(bool pSkipConstants); 42 llvm::ModulePass * createRSScreenFunctionsPass(); 44 llvm::ModulePass * createRSIsThreadablePass(); 46 llvm::ModulePass * createRSX86_64CallConvPass(); 48 llvm [all...] |
/frameworks/compile/mclinker/lib/Target/ |
H A D | GNUInfo.cpp | 16 GNUInfo::GNUInfo(const llvm::Triple& pTriple) : m_Triple(pTriple) { 21 case llvm::Triple::FreeBSD: 22 return llvm::ELF::ELFOSABI_FREEBSD; 23 case llvm::Triple::Linux: 24 return llvm::ELF::ELFOSABI_LINUX; 26 return llvm::ELF::ELFOSABI_NONE;
|
/frameworks/compile/libbcc/lib/Renderscript/ |
H A D | RSInvariant.cpp | 20 #include <llvm/IR/Function.h> 21 #include <llvm/IR/Instructions.h> 22 #include <llvm/IR/Metadata.h> 23 #include <llvm/IR/Module.h> 24 #include <llvm/IR/Type.h> 25 #include <llvm/Pass.h> 64 class RSInvariantPass : public llvm::FunctionPass { 70 virtual bool doInitialization(llvm::Module &M) { 71 EmptyMDNode = llvm::MDNode::get(M.getContext(), llvm [all...] |
H A D | RSX86TranslateGEPPass.cpp | 24 #include <llvm/IR/Function.h> 25 #include <llvm/IR/Instructions.h> 26 #include <llvm/IR/Module.h> 27 #include <llvm/Pass.h> 28 #include <llvm/IR/GetElementPtrTypeIterator.h> 37 class RSX86TranslateGEPPass : public llvm::FunctionPass { 40 llvm::LLVMContext *Context; 41 const llvm::DataLayout DL; 44 bool GEPIndexesStructType(const llvm::GetElementPtrInst *GEP) { 45 for (llvm [all...] |
H A D | RSAddDebugInfoPass.cpp | 22 #include <llvm/Pass.h> 23 #include <llvm/IR/DIBuilder.h> 24 #include <llvm/IR/Function.h> 25 #include <llvm/IR/InstIterator.h> 26 #include <llvm/IR/Instructions.h> 27 #include <llvm/IR/IRBuilder.h> 28 #include <llvm/IR/Module.h> 35 const char DEBUG_COMPILE_UNIT_MDNAME[] = "llvm.dbg.cu"; 41 class RSAddDebugInfoPass : public llvm::ModulePass { 52 virtual bool runOnModule(llvm [all...] |
H A D | RSInvokeHelperPass.cpp | 24 #include <llvm/IR/DataLayout.h> 25 #include <llvm/IR/DerivedTypes.h> 26 #include <llvm/IR/Function.h> 27 #include <llvm/IR/Instructions.h> 28 #include <llvm/IR/IRBuilder.h> 29 #include <llvm/IR/MDBuilder.h> 30 #include <llvm/IR/Module.h> 31 #include <llvm/IR/Type.h> 32 #include <llvm/Pass.h> 33 #include <llvm/Suppor [all...] |
H A D | RSGlobalInfoPass.cpp | 23 #include <llvm/IR/Constant.h> 24 #include <llvm/IR/Constants.h> 25 #include <llvm/IR/Type.h> 26 #include <llvm/IR/Module.h> 27 #include <llvm/IR/Function.h> 28 #include <llvm/Pass.h> 66 class RSGlobalInfoPass: public llvm::ModulePass { 74 static uint32_t getEncodedProperties(const llvm::GlobalVariable &GV) { 90 if (GV.getLinkage() == llvm::GlobalValue::InternalLinkage) { 105 void getAnalysisUsage(llvm [all...] |
H A D | RSX86CallConvPass.cpp | 24 #include <llvm/IR/CallSite.h> 25 #include <llvm/IR/Type.h> 26 #include <llvm/IR/Instructions.h> 27 #include <llvm/IR/Module.h> 28 #include <llvm/IR/Function.h> 29 #include <llvm/Pass.h> 42 class RSX86_64CallConvPass: public llvm::ModulePass { 44 bool IsRSFunctionOfInterest(llvm::Function &F) { 49 // llvm intrinsic or internal function 50 llvm [all...] |
H A D | RSKernelExpand.cpp | 25 #include <llvm/IR/DerivedTypes.h> 26 #include <llvm/IR/Function.h> 27 #include <llvm/IR/Instructions.h> 28 #include <llvm/IR/IRBuilder.h> 29 #include <llvm/IR/MDBuilder.h> 30 #include <llvm/IR/Module.h> 31 #include <llvm/Pass.h> 32 #include <llvm/Support/raw_ostream.h> 33 #include <llvm/IR/DataLayout.h> 34 #include <llvm/I [all...] |
H A D | RSIsThreadablePass.cpp | 22 #include <llvm/IR/Instructions.h> 23 #include <llvm/IR/Metadata.h> 24 #include <llvm/IR/Module.h> 25 #include <llvm/IR/Function.h> 26 #include <llvm/Pass.h> 34 class RSIsThreadablePass : public llvm::ModulePass { 97 virtual void getAnalysisUsage(llvm::AnalysisUsage &AU) const override { 101 bool runOnModule(llvm::Module &M) override { 112 llvm::LLVMContext &context = M.getContext(); 113 llvm [all...] |
/frameworks/compile/libbcc/lib/Support/ |
H A D | Initialization.cpp | 21 #include <llvm/InitializePasses.h> 22 #include <llvm/PassRegistry.h> 23 #include <llvm/Support/ErrorHandling.h> 24 #include <llvm/Support/TargetSelect.h> 47 llvm::remove_fatal_error_handler(); 48 llvm::install_fatal_error_handler(llvm_error_handler, nullptr); 51 llvm::InitializeAllTargets(); 52 llvm::InitializeAllTargetMCs(); 53 llvm::InitializeAllAsmPrinters(); 55 llvm [all...] |
/frameworks/compile/mclinker/lib/LD/ |
H A D | ELFDynObjFileFormat.cpp | 13 #include <llvm/Support/ELF.h> 21 llvm::ELF::SHT_DYNSYM, 22 llvm::ELF::SHF_ALLOC, 26 llvm::ELF::SHT_STRTAB, 27 llvm::ELF::SHF_ALLOC, 31 llvm::ELF::SHT_PROGBITS, 32 llvm::ELF::SHF_ALLOC, 36 llvm::ELF::SHT_HASH, 37 llvm::ELF::SHF_ALLOC, 42 llvm [all...] |
H A D | ELFExecFileFormat.cpp | 13 #include <llvm/Support/ELF.h> 22 llvm::ELF::SHT_DYNSYM, 23 llvm::ELF::SHF_ALLOC, 27 llvm::ELF::SHT_STRTAB, 28 llvm::ELF::SHF_ALLOC, 32 llvm::ELF::SHT_PROGBITS, 33 llvm::ELF::SHF_ALLOC, 37 llvm::ELF::SHT_HASH, 38 llvm::ELF::SHF_ALLOC, 43 llvm [all...] |
H A D | ELFFileFormat.cpp | 13 #include <llvm/Support/ELF.h> 71 llvm::ELF::SHT_PROGBITS, 72 llvm::ELF::SHF_ALLOC | llvm::ELF::SHF_EXECINSTR, 75 pBuilder.CreateSection("", LDFileFormat::Null, llvm::ELF::SHT_NULL, 0x0); 78 llvm::ELF::SHT_PROGBITS, 79 llvm::ELF::SHF_ALLOC, 85 llvm::ELF::SHT_NOBITS, 86 llvm::ELF::SHF_ALLOC | llvm [all...] |
/frameworks/compile/libbcc/lib/Core/ |
H A D | BCCContextImpl.h | 20 #include <llvm/ADT/SmallPtrSet.h> 21 #include <llvm/IR/LLVMContext.h> 33 llvm::LLVMContext mLLVMContext; 37 llvm::SmallPtrSet<Source *, 2> mOwnSources;
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | MemoryRegion.h | 14 #include <llvm/ADT/ArrayRef.h> 15 #include <llvm/Support/DataTypes.h> 22 typedef llvm::ArrayRef<uint8_t> ConstMemoryRegion; 23 typedef llvm::MutableArrayRef<uint8_t> MemoryRegion;
|
H A D | raw_ostream.h | 11 #include <llvm/Support/FileSystem.h> 12 #include <llvm/Support/raw_ostream.h> 18 class raw_fd_ostream : public llvm::raw_fd_ostream { 32 llvm::sys::fs::OpenFlags pFlags = llvm::sys::fs::F_None); 42 llvm::raw_ostream& changeColor(enum llvm::raw_ostream::Colors pColors, 46 llvm::raw_ostream& resetColor(); 48 llvm::raw_ostream& reverseColor();
|
/frameworks/compile/slang/ |
H A D | strip_unknown_attributes.h | 17 #include "llvm/IR/Module.h" 18 #include "llvm/Pass.h" 27 class StripUnknownAttributes : public llvm::ModulePass { 33 bool runOnFunction(llvm::Function &F); 37 virtual bool runOnModule(llvm::Module &M); 40 llvm::ModulePass * createStripUnknownAttributesPass();
|
/frameworks/compile/mclinker/lib/ADT/ |
H A D | StringEntry.cpp | 14 // StringEntry<llvm::StringRef> 16 StringEntry<llvm::StringRef>::StringEntry() { 19 StringEntry<llvm::StringRef>::StringEntry(const StringEntry::key_type& pKey) { 22 StringEntry<llvm::StringRef>::StringEntry( 23 const StringEntry<llvm::StringRef>& pCopy) { 27 StringEntry<llvm::StringRef>::~StringEntry() { 32 void StringEntry<llvm::StringRef>::setValue(llvm::StringRef pVal) { 35 m_Value = llvm::StringRef(data, pVal.size()); 38 void StringEntry<llvm [all...] |
/frameworks/compile/libbcc/tools/bcc_compat/ |
H A D | Main.cpp | 22 #include <llvm/ADT/STLExtras.h> 23 #include <llvm/ADT/SmallString.h> 24 #include <llvm/Config/config.h> 25 #include <llvm/Support/CommandLine.h> 26 #include <llvm/Support/FileSystem.h> 27 #include <llvm/Support/Path.h> 28 #include <llvm/Support/raw_ostream.h> 48 llvm::cl::list<std::string> 49 OptInputFilenames(llvm::cl::Positional, llvm [all...] |
/frameworks/compile/libbcc/include/bcc/Support/ |
H A D | CompilerConfig.h | 23 #include <llvm/ADT/Triple.h> 24 #include <llvm/Support/CodeGen.h> 25 #include <llvm/Target/TargetOptions.h> 27 namespace llvm { namespace 31 } // end namespace llvm 45 llvm::TargetOptions mTargetOpts; 47 llvm::CodeModel::Model mCodeModel; 49 llvm::CodeGenOpt::Level mOptLevel; 51 llvm::Reloc::Model mRelocModel; 63 const llvm [all...] |
/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsAbiFlags.cpp | 17 #include <llvm/Support/Casting.h> 18 #include <llvm/Support/MipsABIFlags.h> 25 typedef llvm::object::ELFType<llvm::support::little, false> ELF32LE; 26 typedef llvm::object::Elf_Mips_ABIFlags<ELF32LE> ElfMipsAbiFlags; 50 assert(pSection.type() == llvm::ELF::SHT_MIPS_ABIFLAGS && 59 if (secData->size() != 2 || !llvm::isa<RegionFragment>(secData->front())) { 64 const auto& frag = llvm::cast<RegionFragment>(secData->front()); 86 switch (flags & llvm::ELF::EF_MIPS_ARCH) { 87 case llvm [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
H A D | BitReader_2_7.h | 17 #include "llvm/ADT/DenseMap.h" 18 #include "llvm/Bitcode/BitstreamReader.h" 19 #include "llvm/Bitcode/LLVMBitCodes.h" 20 #include "llvm/IR/Attributes.h" 21 #include "llvm/IR/DiagnosticInfo.h" 22 #include "llvm/IR/GVMaterializer.h" 23 #include "llvm/IR/OperandTraits.h" 24 #include "llvm/IR/Type.h" 25 #include "llvm/IR/ValueHandle.h" 26 #include "llvm/Suppor 29 namespace llvm { namespace [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
H A D | BitReader_3_0.h | 17 #include "llvm/ADT/DenseMap.h" 18 #include "llvm/Bitcode/BitstreamReader.h" 19 #include "llvm/Bitcode/LLVMBitCodes.h" 20 #include "llvm/IR/Attributes.h" 21 #include "llvm/IR/DiagnosticInfo.h" 22 #include "llvm/IR/GVMaterializer.h" 23 #include "llvm/IR/OperandTraits.h" 24 #include "llvm/IR/Type.h" 25 #include "llvm/IR/ValueHandle.h" 26 #include "llvm/Suppor 29 namespace llvm { namespace [all...] |
/frameworks/compile/mclinker/lib/Support/ |
H A D | MemoryArea.cpp | 12 #include <llvm/Support/ErrorOr.h> 22 MemoryArea::MemoryArea(llvm::StringRef pFilename) { 23 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer> > buffer_or_error = 24 llvm::MemoryBuffer::getFile(pFilename, 34 llvm::StringRef mem(pMemBuffer, pSize); 36 llvm::MemoryBuffer::getMemBuffer(mem, 41 llvm::StringRef MemoryArea::request(size_t pOffset, size_t pLength) { 42 return llvm::StringRef(m_pMemoryBuffer->getBufferStart() + pOffset, pLength);
|