/frameworks/compile/mclinker/lib/LD/ |
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/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/include/mcld/Support/ |
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();
|
H A D | MemoryArea.h | 14 #include <llvm/ADT/StringRef.h> 15 #include <llvm/Support/MemoryBuffer.h> 30 explicit MemoryArea(llvm::StringRef pFilename); 38 llvm::StringRef request(size_t pOffset, size_t pLength); 43 std::unique_ptr<llvm::MemoryBuffer> m_pMemoryBuffer;
|
/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);
|
H A D | MsgHandling.cpp | 17 #include <llvm/Support/ManagedStatic.h> 18 #include <llvm/Support/raw_ostream.h> 19 #include <llvm/Support/Signals.h> 28 static llvm::ManagedStatic<DiagnosticEngine> g_pEngine; 52 llvm::sys::RunInterruptHandlers();
|
/frameworks/compile/slang/StripUnkAttr/ |
H A D | strip_unknown_attributes.cpp | 19 #include "llvm/IR/Function.h" 23 bool stripUnknownAttributes(llvm::Function &F) { 25 for (llvm::Function::arg_iterator I = F.arg_begin(), E = F.arg_end(); 27 llvm::Argument &A = *I; 30 llvm::AttrBuilder B; 31 B.addAttribute(llvm::Attribute::ReadNone); 32 B.addAttribute(llvm::Attribute::ReadOnly); 33 llvm::AttributeSet ToStrip = llvm::AttributeSet::get(F.getContext(), 39 F.removeFnAttr(llvm [all...] |
/frameworks/compile/libbcc/lib/ |
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...] |
H A D | BCCContextImpl.cpp | 21 #include <llvm/ADT/STLExtras.h> 32 llvm::DeleteContainerPointers(Sources);
|
H A D | CompilerConfig.cpp | 24 #include <llvm/CodeGen/SchedulerRegistry.h> 25 #include <llvm/MC/SubtargetFeature.h> 26 #include <llvm/Support/Host.h> 27 #include <llvm/Support/TargetRegistry.h> 38 llvm::StringMap<bool> features; 39 if (llvm::sys::getHostCPUFeatures(features)) { 61 mTargetOpts.FloatABIType = llvm::FloatABI::Soft; 66 mCodeModel = llvm::CodeModel::Small; 71 mOptLevel = llvm::CodeGenOpt::Default; 76 mArchType = llvm [all...] |
H A D | Source.cpp | 24 #include <llvm/ADT/STLExtras.h> 25 #include <llvm/ADT/StringExtras.h> 26 #include <llvm/Bitcode/ReaderWriter.h> 27 #include <llvm/IR/LLVMContext.h> 28 #include <llvm/IR/Module.h> 29 #include <llvm/IR/Verifier.h> 30 #include <llvm/Linker/Linker.h> 31 #include <llvm/Support/MemoryBuffer.h> 32 #include "llvm/Support/raw_ostream.h" 46 static inline std::unique_ptr<llvm [all...] |
/frameworks/compile/slang/BitWriter_3_2/ |
H A D | ValueEnumerator.h | 17 #include "llvm/ADT/DenseMap.h" 18 #include "llvm/ADT/SmallVector.h" 19 #include "llvm/IR/Attributes.h" 20 #include "llvm/IR/UseListOrder.h" 23 namespace llvm { namespace 40 } // end llvm namespace 46 typedef std::vector<llvm::Type*> TypeList; 49 typedef std::vector<std::pair<const llvm::Value*, unsigned> > ValueList; 51 llvm::UseListOrderStack UseListOrders; 53 typedef llvm [all...] |
/frameworks/compile/slang/BitWriter_2_9/ |
H A D | ValueEnumerator.h | 17 #include "llvm/ADT/DenseMap.h" 18 #include "llvm/ADT/SmallVector.h" 19 #include "llvm/IR/Attributes.h" 22 namespace llvm { namespace 39 } // end llvm namespace 45 typedef std::vector<llvm::Type*> TypeList; 48 typedef std::vector<std::pair<const llvm::Value*, unsigned> > ValueList; 50 typedef llvm::DenseMap<llvm::Type*, unsigned> TypeMapType; 54 typedef llvm [all...] |
/frameworks/compile/slang/BitWriter_2_9_func/ |
H A D | ValueEnumerator.h | 17 #include "llvm/ADT/DenseMap.h" 18 #include "llvm/ADT/SmallVector.h" 19 #include "llvm/IR/Attributes.h" 22 namespace llvm { namespace 39 } // end llvm namespace 45 typedef std::vector<llvm::Type*> TypeList; 48 typedef std::vector<std::pair<const llvm::Value*, unsigned> > ValueList; 50 typedef llvm::DenseMap<llvm::Type*, unsigned> TypeMapType; 54 typedef llvm [all...] |
/frameworks/compile/mclinker/lib/Target/ |
H A D | ELFDynamic.cpp | 15 #include <llvm/Support/ErrorHandling.h> 16 #include <llvm/Support/Host.h> 93 reserveOne(llvm::ELF::DT_SONAME); 96 reserveOne(llvm::ELF::DT_SYMBOLIC); 100 reserveOne(llvm::ELF::DT_INIT); 103 reserveOne(llvm::ELF::DT_FINI); 106 reserveOne(llvm::ELF::DT_PREINIT_ARRAY); 107 reserveOne(llvm::ELF::DT_PREINIT_ARRAYSZ); 111 reserveOne(llvm::ELF::DT_INIT_ARRAY); 112 reserveOne(llvm [all...] |
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMGNUInfo.h | 13 #include <llvm/Support/ELF.h> 19 explicit ARMGNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) {} 21 uint32_t machine() const { return llvm::ELF::EM_ARM; } 25 uint64_t flags() const { return llvm::ELF::EF_ARM_EABI_VER5; }
|
/frameworks/compile/libbcc/tools/bcc/ |
H A D | Main.cpp | 29 #include <llvm/ADT/STLExtras.h> 30 #include <llvm/ADT/SmallString.h> 31 #include <llvm/Config/config.h> 32 #include <llvm/Support/CommandLine.h> 33 #include <llvm/Support/FileSystem.h> 34 #include <llvm/Support/ManagedStatic.h> 35 #include <llvm/Support/MemoryBuffer.h> 36 #include <llvm/Support/Path.h> 37 #include <llvm/Support/PluginLoader.h> 38 #include <llvm/Suppor [all...] |
/frameworks/compile/libbcc/include/bcc/ |
H A D | Compiler.h | 20 namespace llvm { namespace 31 } // end namespace llvm 78 llvm::TargetMachine *mTarget; 82 enum ErrorCode runPasses(Script &pScript, llvm::raw_pwrite_stream &pResult); 84 bool addInternalizeSymbolsPass(Script &pScript, llvm::legacy::PassManager &pPM); 85 void addExpandKernelPass(llvm::legacy::PassManager &pPM); 86 void addDebugInfoPass(Script &pScript, llvm::legacy::PassManager &pPM); 87 void addGlobalInfoPass(Script &pScript, llvm::legacy::PassManager &pPM); 88 void addInvariantPass(llvm::legacy::PassManager &pPM); 89 void addInvokeHelperPass(llvm [all...] |
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64GNUInfo.h | 13 #include <llvm/Support/ELF.h> 19 explicit AArch64GNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) {} 21 uint32_t machine() const { return llvm::ELF::EM_AARCH64; }
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonGNUInfo.cpp | 11 #include <llvm/ADT/StringRef.h> 12 #include <llvm/ADT/StringSwitch.h> 25 return llvm::StringSwitch<uint64_t>(m_Options.getTargetCPU())
|
/frameworks/compile/slang/ |
H A D | slang_bitcode_gen.h | 22 namespace llvm { namespace 31 void writeBitcode(llvm::raw_ostream &Out, 32 const llvm::Module &M,
|
/frameworks/rs/rsov/compiler/ |
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);
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
H A D | RegionFragment.h | 14 #include <llvm/ADT/StringRef.h> 23 explicit RegionFragment(llvm::StringRef pRegion, SectionData* pSD = NULL); 27 const llvm::StringRef getRegion() const { return m_Region; } 28 llvm::StringRef getRegion() { return m_Region; } 39 llvm::StringRef m_Region;
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | MergedStringTable.h | 14 #include <llvm/ADT/StringMap.h> 15 #include <llvm/ADT/StringRef.h> 26 typedef llvm::StringMap<size_t> StringMapTy; 33 bool insertString(llvm::StringRef pString); 46 size_t getOutputOffset(llvm::StringRef pStr);
|