Searched refs:llvm (Results 1 - 25 of 375) sorted by relevance

1234567891011>>

/frameworks/rs/rsov/compiler/
H A DGlobalAllocPass.h20 namespace llvm { namespace
22 } // namespace llvm
26 llvm::ModulePass *createGlobalAllocPass();
27 llvm::ModulePass *createRemoveAllGlobalAllocPass();
H A DGlobalMergePass.h20 namespace llvm { namespace
22 } // namespace llvm
26 llvm::ModulePass *createGlobalMergePass();
H A DInlinePreparationPass.h20 namespace llvm { namespace
22 } // namespace llvm
26 llvm::ModulePass *createInlinePreparationPass();
H A DRemoveNonkernelsPass.h20 namespace llvm { namespace
22 } // namespace llvm
26 llvm::ModulePass *createRemoveNonkernelsPass();
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...]
/frameworks/compile/libbcc/lib/
H A DRSTransforms.h20 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...]
H A DRSInvariant.cpp20 #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 DInitialization.cpp24 #include <llvm/InitializePasses.h>
25 #include <llvm/PassRegistry.h>
26 #include <llvm/Support/ErrorHandling.h>
27 #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...]
H A DRSX86TranslateGEPPass.cpp24 #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 DRSInvokeHelperPass.cpp28 #include <llvm/IR/DataLayout.h>
29 #include <llvm/IR/DerivedTypes.h>
30 #include <llvm/IR/Function.h>
31 #include <llvm/IR/Instructions.h>
32 #include <llvm/IR/IRBuilder.h>
33 #include <llvm/IR/MDBuilder.h>
34 #include <llvm/IR/Module.h>
35 #include <llvm/IR/Type.h>
36 #include <llvm/Pass.h>
37 #include <llvm/Suppor
[all...]
H A DRSGlobalInfoPass.cpp23 #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 DBCCContextImpl.h20 #include <llvm/ADT/SmallPtrSet.h>
21 #include <llvm/IR/LLVMContext.h>
33 llvm::LLVMContext mLLVMContext;
37 llvm::SmallPtrSet<Source *, 2> mOwnSources;
H A DRSX86CallConvPass.cpp24 #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 DRSKernelExpand.cpp31 #include <llvm/IR/DerivedTypes.h>
32 #include <llvm/IR/Function.h>
33 #include <llvm/IR/Instructions.h>
34 #include <llvm/IR/IRBuilder.h>
35 #include <llvm/IR/MDBuilder.h>
36 #include <llvm/IR/Module.h>
37 #include <llvm/Pass.h>
38 #include <llvm/Support/raw_ostream.h>
39 #include <llvm/IR/DataLayout.h>
40 #include <llvm/I
[all...]
H A DRSAddDebugInfoPass.cpp25 #include <llvm/Pass.h>
26 #include <llvm/IR/DIBuilder.h>
27 #include <llvm/IR/Function.h>
28 #include <llvm/IR/InstIterator.h>
29 #include <llvm/IR/Instructions.h>
30 #include <llvm/IR/IRBuilder.h>
31 #include <llvm/IR/Module.h>
32 #include <llvm/ADT/SetVector.h>
39 const char DEBUG_COMPILE_UNIT_MDNAME[] = "llvm.dbg.cu";
45 class RSAddDebugInfoPass : public llvm
[all...]
/frameworks/compile/slang/StripUnkAttr/
H A Dstrip_unknown_attributes.h17 namespace llvm { namespace
34 bool stripUnknownAttributes(llvm::Function &F);
H A Dstrip_unknown_attributes_pass.h17 #include "llvm/IR/Module.h"
18 #include "llvm/Pass.h"
33 class StripUnknownAttributes : public llvm::ModulePass {
39 bool runOnFunction(llvm::Function &F);
43 virtual bool runOnModule(llvm::Module &M);
46 llvm::ModulePass * createStripUnknownAttributesPass();
/frameworks/compile/mclinker/lib/Target/
H A DGNUInfo.cpp16 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/mclinker/lib/LD/
H A DELFDynObjFileFormat.cpp13 #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 DELFExecFileFormat.cpp13 #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...]
/frameworks/compile/libbcc/include/bcc/
H A DCompilerConfig.h23 #include <llvm/ADT/Optional.h>
24 #include <llvm/ADT/Triple.h>
25 #include <llvm/Support/CodeGen.h>
26 #include <llvm/Target/TargetOptions.h>
28 namespace llvm { namespace
32 } // end namespace llvm
46 llvm::TargetOptions mTargetOpts;
48 llvm::CodeModel::Model mCodeModel;
50 llvm::CodeGenOpt::Level mOptLevel;
52 llvm
[all...]
/frameworks/compile/mclinker/include/mcld/Support/
H A DMemoryRegion.h14 #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;
/frameworks/compile/mclinker/lib/ADT/
H A DStringEntry.cpp14 // 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 DMain.cpp22 #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>
44 llvm::cl::list<std::string>
45 OptInputFilenames(llvm::cl::Positional, llvm
[all...]
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsAbiFlags.cpp17 #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...]

Completed in 320 milliseconds

1234567891011>>