Searched refs:CodeGen (Results 1 - 25 of 112) sorted by relevance

12345

/external/libchrome/sandbox/linux/bpf_dsl/
H A Dpolicy_compiler.h35 CodeGen::Program Compile();
53 // Return returns a CodeGen::Node that returns the specified seccomp
55 CodeGen::Node Return(uint32_t ret);
57 // Trap returns a CodeGen::Node to indicate the system call should
59 CodeGen::Node Trap(TrapRegistry::TrapFnc fnc, const void* aux, bool safe);
61 // MaskedEqual returns a CodeGen::Node that represents a conditional branch.
67 CodeGen::Node MaskedEqual(int argno,
71 CodeGen::Node passed,
72 CodeGen::Node failed);
86 CodeGen
[all...]
H A Ddump_bpf.h16 static void PrintProgram(const CodeGen::Program& program);
20 static std::string StringPrintProgram(const CodeGen::Program& program);
H A Dcodegen_unittest.cc77 TEST(CodeGen, HashSanity) {
106 // programs with CodeGen and verifying the linearized output matches
112 // MakeInstruction calls CodeGen::MakeInstruction() and associated
114 CodeGen::Node MakeInstruction(uint16_t code, argument
116 CodeGen::Node jt = CodeGen::kNullNode,
117 CodeGen::Node jf = CodeGen::kNullNode) {
118 CodeGen::Node res = gen_.MakeInstruction(code, k, jt, jf);
119 EXPECT_NE(CodeGen
[all...]
H A Dcodegen.cc16 // This CodeGen implementation strives for simplicity while still
52 const CodeGen::Node CodeGen::kNullNode;
54 CodeGen::CodeGen() : program_(), equivalent_(), memos_() { function in class:sandbox::CodeGen
57 CodeGen::~CodeGen() {
60 CodeGen::Program CodeGen::Compile(CodeGen
[all...]
H A Dbpf_dsl_impl.h24 // Compile uses |pc| to emit a CodeGen::Node that conditionally continues
27 virtual CodeGen::Node Compile(PolicyCompiler* pc,
28 CodeGen::Node then_node,
29 CodeGen::Node else_node) const = 0;
42 // Compile uses |pc| to emit a CodeGen::Node that executes the
44 virtual CodeGen::Node Compile(PolicyCompiler* pc) const = 0;
H A Dpolicy_compiler.cc87 CodeGen::Node node;
103 CodeGen::Program PolicyCompiler::Compile() {
133 CodeGen::Node PolicyCompiler::AssemblePolicy() {
143 CodeGen::Node PolicyCompiler::CheckArch(CodeGen::Node passed) {
153 CodeGen::Node PolicyCompiler::MaybeAddEscapeHatch(CodeGen::Node rest) {
185 CodeGen::Node PolicyCompiler::DispatchSyscall() {
192 CodeGen::Node jumptable = AssembleJumpTable(ranges.begin(), ranges.end());
200 CodeGen
[all...]
H A Dcodegen.h28 // Callers would typically create a new CodeGen object and then use it
32 // CodeGen gen;
33 // CodeGen::Node allow, branch, dag;
47 // CodeGen::Program program = gen.Compile(dag);
52 class SANDBOX_EXPORT CodeGen { class in namespace:sandbox
65 CodeGen();
66 ~CodeGen();
114 DISALLOW_COPY_AND_ASSIGN(CodeGen);
H A Dbpf_dsl.cc28 CodeGen::Node Compile(PolicyCompiler* pc) const override {
56 CodeGen::Node Compile(PolicyCompiler* pc) const override {
82 CodeGen::Node Compile(PolicyCompiler* pc) const override {
85 CodeGen::Node then_node = then_result_->Compile(pc);
86 CodeGen::Node else_node = else_result_->Compile(pc);
107 CodeGen::Node Compile(PolicyCompiler* pc,
108 CodeGen::Node then_node,
109 CodeGen::Node else_node) const override {
128 CodeGen::Node Compile(PolicyCompiler* pc,
129 CodeGen
[all...]
/external/swiftshader/third_party/LLVM/
H A DAndroid.mk36 lib/CodeGen/SelectionDAG/DAGCombiner.cpp \
37 lib/CodeGen/SelectionDAG/FastISel.cpp \
38 lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp \
39 lib/CodeGen/SelectionDAG/InstrEmitter.cpp \
40 lib/CodeGen/SelectionDAG/LegalizeDAG.cpp \
41 lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp \
42 lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp \
43 lib/CodeGen/SelectionDAG/LegalizeTypes.cpp \
44 lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp \
45 lib/CodeGen/SelectionDA
[all...]
/external/clang/lib/CodeGen/
H A DABIInfo.h28 namespace CodeGen { namespace in namespace:clang
51 CodeGen::CodeGenTypes &CGT;
56 ABIInfo(CodeGen::CodeGenTypes &cgt)
65 CodeGen::CGCXXABI &getCXXABI() const;
82 virtual void computeInfo(CodeGen::CGFunctionInfo &FI) const = 0;
88 // the ABI information any lower than CodeGen. Of course, for
91 virtual CodeGen::Address EmitVAArg(CodeGen::CodeGenFunction &CGF,
92 CodeGen::Address VAListAddr,
99 virtual CodeGen
[all...]
H A DTargetInfo.h34 namespace CodeGen { namespace in namespace:clang
58 CodeGen::CodeGenModule &M) const {}
63 CodeGen::CodeGenModule &M) const {}
88 virtual int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const {
96 virtual bool initDwarfEHRegSizeTable(CodeGen::CodeGenFunction &CGF,
106 virtual llvm::Value *decodeReturnAddress(CodeGen::CodeGenFunction &CGF,
116 virtual llvm::Value *encodeReturnAddress(CodeGen::CodeGenFunction &CGF,
126 virtual llvm::Type *adjustInlineAsmType(CodeGen::CodeGenFunction &CGF,
134 CodeGen::CodeGenFunction &CGF, CodeGen
[all...]
H A DCGObjCRuntime.h35 namespace CodeGen { namespace in namespace:clang
55 namespace CodeGen { namespace in namespace:clang
65 CodeGen::CodeGenModule &CGM;
66 CGObjCRuntime(CodeGen::CodeGenModule &CGM) : CGM(CGM) {}
78 uint64_t ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM,
81 uint64_t ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM,
85 LValue EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF,
161 virtual CodeGen::RValue
162 GenerateMessageSend(CodeGen::CodeGenFunction &CGF,
177 virtual CodeGen
[all...]
H A DCodeGenABITypes.cpp15 // CodeGenTypes class in lib/CodeGen.
19 #include "clang/CodeGen/CodeGenABITypes.h"
21 #include "clang/CodeGen/CGFunctionInfo.h"
27 using namespace CodeGen;
30 CodeGen::arrangeObjCMessageSendSignature(CodeGenModule &CGM,
37 CodeGen::arrangeFreeFunctionType(CodeGenModule &CGM,
44 CodeGen::arrangeFreeFunctionType(CodeGenModule &CGM,
50 CodeGen::arrangeCXXMethodType(CodeGenModule &CGM,
58 CodeGen::arrangeFreeFunctionCall(CodeGenModule &CGM,
H A DCodeGenTBAA.h1 //===--- CodeGenTBAA.h - TBAA information for LLVM CodeGen ------*- C++ -*-===//
32 namespace CodeGen { namespace in namespace:clang
121 } // end namespace CodeGen
126 template<> struct DenseMapInfo<clang::CodeGen::TBAAPathTag> {
127 static clang::CodeGen::TBAAPathTag getEmptyKey() {
128 return clang::CodeGen::TBAAPathTag(
134 static clang::CodeGen::TBAAPathTag getTombstoneKey() {
135 return clang::CodeGen::TBAAPathTag(
141 static unsigned getHashValue(const clang::CodeGen::TBAAPathTag &Val) {
147 static bool isEqual(const clang::CodeGen
[all...]
H A DAddress.h22 namespace CodeGen { namespace in namespace:clang
109 template <class U> inline U cast(CodeGen::Address addr) {
112 template <class U> inline bool isa(CodeGen::Address addr) {
H A DCGOpenMPRuntimeNVPTX.h24 namespace CodeGen { namespace in namespace:clang
135 const RegionCodeGenTy &CodeGen) override;
156 /// \param CodeGen Code generation sequence for the \a D directive.
161 const RegionCodeGenTy &CodeGen) override;
176 } // CodeGen namespace.
H A DCGOpenCLRuntime.h27 namespace CodeGen { namespace in namespace:clang
H A DCGCUDARuntime.h28 namespace CodeGen { namespace in namespace:clang
H A DSanitizerMetadata.h29 namespace CodeGen { namespace in namespace:clang
50 } // end namespace CodeGen
H A DCGOpenMPRuntime.h47 namespace CodeGen { namespace in namespace:clang
65 intptr_t CodeGen; member in class:clang::CodeGen::final
72 static void CallbackFn(intptr_t CodeGen, CodeGenFunction &CGF, argument
74 return (*reinterpret_cast<Callable *>(CodeGen))(CGF, Action);
80 Callable &&CodeGen,
84 : CodeGen(reinterpret_cast<intptr_t>(&CodeGen)),
123 /// \param CodeGen Lambda codegen specific to an accelerator device.
131 const RegionCodeGenTy &CodeGen);
513 /// \param CodeGen Cod
79 RegionCodeGenTy( Callable &&CodeGen, typename std::enable_if< !std::is_same<typename std::remove_reference<Callable>::type, RegionCodeGenTy>::value>::type * = nullptr) argument
[all...]
/external/swiftshader/third_party/LLVM/lib/
H A DMakefile13 PARALLEL_DIRS := VMCore AsmParser Bitcode Archive Analysis Transforms CodeGen \
/external/clang/include/clang/CodeGen/
H A DModuleBuilder.h1 //===--- CodeGen/ModuleBuilder.h - Build LLVM from ASTs ---------*- C++ -*-===//
35 namespace CodeGen { namespace in namespace:clang
49 CodeGen::CodeGenModule &CGM();
/external/emma/core/java12/com/vladium/jcd/compiler/
H A DCodeGen.java7 * $Id: CodeGen.java,v 1.1.1.1 2004/05/09 16:57:49 vlad_r Exp $
21 abstract class CodeGen implements IOpcodes class in inherits:IOpcodes
130 private CodeGen () {} // prevent subclassing method in class:CodeGen
/external/libchrome/sandbox/linux/seccomp-bpf/
H A Dsandbox_bpf.h100 CodeGen::Program AssembleFilter();
H A Dsandbox_bpf.cc220 CodeGen::Program SandboxBPF::AssembleFilter() {
243 CodeGen::Program program = AssembleFilter();
249 CodeGen::Program().swap(program); // vector swap trick

Completed in 548 milliseconds

12345