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

1234567891011>>

/frameworks/compile/libbcc/lib/AndroidBitcode/X86/
H A DX86ABCExpandVAArg.cpp17 #include <llvm/ADT/Triple.h>
18 #include <llvm/DerivedTypes.h>
19 #include <llvm/Function.h>
20 #include <llvm/Instructions.h>
21 #include <llvm/IRBuilder.h>
22 #include <llvm/Module.h>
23 #include <llvm/Pass.h>
24 #include <llvm/Type.h>
25 #include <llvm/Target/TargetData.h>
41 virtual llvm
[all...]
/frameworks/compile/libbcc/lib/AndroidBitcode/
H A DABCCompiler.cpp19 #include <llvm/Module.h>
20 #include <llvm/PassManager.h>
21 #include <llvm/Target/TargetData.h>
22 #include <llvm/Target/TargetMachine.h>
33 llvm::PassManager &pPM) {
34 llvm::PassManager pm;
35 llvm::Module &module = pScript.getSource().getModule();
36 const llvm::TargetMachine &tm = getTargetMachine();
37 llvm::TargetData *target_data =
38 new (std::nothrow) llvm
[all...]
H A DABCExpandVAArgPass.cpp22 #include <llvm/Instructions.h>
23 #include <llvm/Support/InstIterator.h>
29 bool ABCExpandVAArgPass::runOnFunction(llvm::Function &pFunc) {
35 for (llvm::inst_iterator inst = llvm::inst_begin(pFunc),
36 inst_end = llvm::inst_end(pFunc); inst != inst_end; inst++) {
37 if (inst->getOpcode() == llvm::Instruction::VAArg) {
38 llvm::Value *v = expandVAArg(&*inst);
/frameworks/compile/libbcc/lib/AndroidBitcode/ARM/
H A DARMABCExpandVAArg.cpp17 #include <llvm/ADT/Triple.h>
18 #include <llvm/DerivedTypes.h>
19 #include <llvm/Function.h>
20 #include <llvm/Instructions.h>
21 #include <llvm/IRBuilder.h>
22 #include <llvm/Module.h>
23 #include <llvm/Pass.h>
24 #include <llvm/Type.h>
25 #include <llvm/Target/TargetData.h>
41 llvm
[all...]
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
H A DBitReader_2_7.h18 #include "llvm/GVMaterializer.h"
19 #include "llvm/Attributes.h"
20 #include "llvm/Type.h"
21 #include "llvm/OperandTraits.h"
22 #include "llvm/Bitcode/BitstreamReader.h"
23 #include "llvm/Bitcode/LLVMBitCodes.h"
24 #include "llvm/Support/ValueHandle.h"
25 #include "llvm/ADT/DenseMap.h"
28 namespace llvm { namespace
32 } // End llvm namespac
[all...]
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
H A DBitReader_3_0.h17 #include "llvm/GVMaterializer.h"
18 #include "llvm/Attributes.h"
19 #include "llvm/Type.h"
20 #include "llvm/OperandTraits.h"
21 #include "llvm/Bitcode/BitstreamReader.h"
22 #include "llvm/Bitcode/LLVMBitCodes.h"
23 #include "llvm/Support/ValueHandle.h"
24 #include "llvm/ADT/DenseMap.h"
27 namespace llvm { namespace
31 } // End llvm namespac
[all...]
/frameworks/compile/libbcc/lib/AndroidBitcode/Mips/
H A DMipsABCExpandVAArg.cpp17 #include <llvm/ADT/Triple.h>
18 #include <llvm/DerivedTypes.h>
19 #include <llvm/Function.h>
20 #include <llvm/Instructions.h>
21 #include <llvm/IRBuilder.h>
22 #include <llvm/Module.h>
23 #include <llvm/Pass.h>
24 #include <llvm/Type.h>
25 #include <llvm/Target/TargetData.h>
41 virtual llvm
[all...]
/frameworks/compile/linkloader/utils/
H A Draw_ostream.h20 #include <llvm/Support/raw_ostream.h>
21 #include <llvm/Support/Format.h>
23 extern llvm::raw_ostream &out();
31 extern llvm::raw_ostream &operator<<(llvm::raw_ostream &, MyFormat const &);
H A Drsl_assert.cpp19 #include <llvm/Support/raw_ostream.h>
32 llvm::errs() << "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n";
33 llvm::errs() << "rslAssert [" << file << ":" << line << "] " << expr << "\n";
34 llvm::errs() << "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n";
/frameworks/compile/libbcc/include/bcc/AndroidBitcode/
H A DABCExpandVAArgPass.h20 #include <llvm/Pass.h>
22 namespace llvm { namespace
27 } // end llvm namespace
32 * This pass expands va_arg LLVM instruction generated from llvm-ndk-cc.
40 class ABCExpandVAArgPass : public llvm::FunctionPass {
45 llvm::LLVMContext *mContext;
48 virtual llvm::Value *expandVAArg(llvm::Instruction *pInst) = 0;
51 ABCExpandVAArgPass() : llvm::FunctionPass(ID), mContext(NULL) { }
53 virtual bool runOnFunction(llvm
[all...]
/frameworks/compile/mclinker/include/mcld/Config/
H A DConfig.h17 #include <llvm/Config/llvm-config.h>
/frameworks/compile/mclinker/lib/LD/
H A DELFDynObjFileFormat.cpp9 #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,
42 llvm
[all...]
H A DELFExecFileFormat.cpp9 #include <llvm/Support/ELF.h>
23 llvm::ELF::SHT_DYNSYM,
24 llvm::ELF::SHF_ALLOC,
28 llvm::ELF::SHT_STRTAB,
29 llvm::ELF::SHF_ALLOC,
33 llvm::ELF::SHT_PROGBITS,
34 llvm::ELF::SHF_ALLOC,
38 llvm::ELF::SHT_HASH,
39 llvm::ELF::SHF_ALLOC,
43 llvm
[all...]
/frameworks/compile/llvm-ndk-cc/
H A Dllvm-ndk-link.cpp5 #include "llvm/Linker.h"
6 #include "llvm/LLVMContext.h"
7 #include "llvm/Module.h"
8 #include "llvm/PassManager.h"
10 #include "llvm/ADT/OwningPtr.h"
12 #include "llvm/Bitcode/ReaderWriter.h"
14 #include "llvm/Support/CommandLine.h"
15 #include "llvm/Support/ManagedStatic.h"
16 #include "llvm/Support/MemoryBuffer.h"
17 #include "llvm/Suppor
[all...]
/frameworks/compile/libbcc/lib/Core/
H A DBCCContextImpl.h20 #include <llvm/ADT/SmallPtrSet.h>
21 #include <llvm/LLVMContext.h>
33 llvm::LLVMContext mLLVMContext;
37 llvm::SmallPtrSet<Source *, 2> mOwnSources;
/frameworks/compile/libbcc/lib/ExecutionEngine/
H A DGDBJIT.cpp32 #include <llvm/Support/Compiler.h>
/frameworks/compile/libbcc/tools/mcld/
H A DMain.cpp20 #include <llvm/ADT/SmallString.h>
21 #include <llvm/Support/CommandLine.h>
22 #include <llvm/Support/FileSystem.h>
23 #include <llvm/Support/Path.h>
24 #include <llvm/Support/raw_ostream.h>
25 #include <llvm/Support/system_error.h>
43 static llvm::cl::opt<std::string>
45 llvm::cl::desc("Specify the target triple (default: "
47 llvm::cl::init(DEFAULT_TARGET_TRIPLE_STRING),
48 llvm
[all...]
/frameworks/compile/mclinker/tools/mcld/
H A Dmain.cpp13 #include <llvm/ADT/SmallString.h>
14 #include <llvm/Support/CommandLine.h>
15 #include <llvm/Support/FileSystem.h>
16 #include <llvm/Support/Path.h>
17 #include <llvm/Support/raw_ostream.h>
18 #include <llvm/Support/system_error.h>
36 static llvm::cl::opt<std::string>
38 llvm::cl::desc("Specify the target triple (default: "
40 llvm::cl::init(DEFAULT_TARGET_TRIPLE_STRING),
41 llvm
[all...]
/frameworks/compile/mclinker/lib/ADT/
H A DStringEntry.cpp14 // StringEntry<llvm::StringRef>
15 StringEntry<llvm::StringRef>::StringEntry()
19 StringEntry<llvm::StringRef>::StringEntry(const StringEntry::key_type& pKey)
23 StringEntry<llvm::StringRef>::StringEntry(const StringEntry<llvm::StringRef>& pCopy)
28 StringEntry<llvm::StringRef>::~StringEntry()
34 void StringEntry<llvm::StringRef>::setValue(llvm::StringRef& pVal)
38 m_Value = llvm::StringRef(data, pVal.size());
41 void StringEntry<llvm
[all...]
/frameworks/compile/libbcc/include/bcc/Support/
H A DCompilerConfig.h23 #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;
61 const llvm
[all...]
/frameworks/compile/linkloader/lib/
H A DELFTypes.cpp18 #include <llvm/Support/raw_ostream.h>
19 #include <llvm/Support/Format.h>
24 llvm::raw_ostream &operator<<(llvm::raw_ostream &os, TYPE const &val) { \
25 os << llvm::format("%0*x", FORMAT_WIDTH, val.value); \
/frameworks/compile/slang/BitWriter_2_9/
H A DValueEnumerator.h17 #include "llvm/ADT/DenseMap.h"
18 #include "llvm/ADT/SmallVector.h"
19 #include "llvm/Attributes.h"
22 namespace llvm { namespace
37 } // end llvm namespace
43 typedef std::vector<llvm::Type*> TypeList;
46 typedef std::vector<std::pair<const llvm::Value*, unsigned> > ValueList;
48 typedef llvm::DenseMap<llvm::Type*, unsigned> TypeMapType;
52 typedef llvm
[all...]
/frameworks/compile/slang/BitWriter_2_9_func/
H A DValueEnumerator.h17 #include "llvm/ADT/DenseMap.h"
18 #include "llvm/ADT/SmallVector.h"
19 #include "llvm/Attributes.h"
22 namespace llvm { namespace
37 } // end llvm namespace
43 typedef std::vector<llvm::Type*> TypeList;
46 typedef std::vector<std::pair<const llvm::Value*, unsigned> > ValueList;
48 typedef llvm::DenseMap<llvm::Type*, unsigned> TypeMapType;
52 typedef llvm
[all...]
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSForEachExpand.cpp22 #include <llvm/DerivedTypes.h>
23 #include <llvm/Function.h>
24 #include <llvm/Instructions.h>
25 #include <llvm/IRBuilder.h>
26 #include <llvm/Module.h>
27 #include <llvm/Pass.h>
28 #include <llvm/Support/raw_ostream.h>
29 #include <llvm/Target/TargetData.h>
30 #include <llvm/Type.h>
48 class RSForEachExpandPass : public llvm
[all...]
/frameworks/compile/libbcc/lib/Support/
H A DCompilerConfig.cpp19 #include <llvm/CodeGen/SchedulerRegistry.h>
20 #include <llvm/MC/SubtargetFeature.h>
21 #include <llvm/Support/TargetRegistry.h>
33 llvm::RegisterScheduler::setDefault(llvm::createDefaultScheduler);
43 // options.FloatABIType = llvm::FloatABI::Soft;
45 mTargetOpts.FloatABIType = llvm::FloatABI::Soft;
54 mCodeModel = llvm::CodeModel::Small;
59 mRelocModel = llvm::Reloc::Default;
64 mOptLevel = llvm
[all...]

Completed in 363 milliseconds

1234567891011>>