Home
last modified time | relevance | path

Searched refs:vector (Results 1 – 25 of 195) sorted by relevance

12345678

/art/compiler/
Doat_writer.h79 OatWriter(const std::vector<const DexFile*>& dex_files,
108 const std::vector<DebugInfo>& GetCFIMethodInfo() const { in GetCFIMethodInfo()
175 std::vector<uint32_t> methods_offsets_;
184 const std::vector<CompiledMethod*>& compiled_methods,
207 std::vector<CompiledMethod*> compiled_methods_;
213 std::vector<uint32_t> oat_method_offsets_offsets_from_oat_class_;
237 std::vector<OatMethodOffsets> method_offsets_;
238 std::vector<OatQuickMethodHeader> method_headers_;
244 std::vector<DebugInfo> method_info_;
249 const std::vector<const DexFile*>* dex_files_;
[all …]
Delf_writer_quick.h31 const std::vector<const DexFile*>& dex_files,
39 const std::vector<const DexFile*>& dex_files,
54 void ReservePatchSpace(std::vector<uint8_t>* buffer, bool debug);
103 std::vector<ElfDynamicState> dynamics_;
115 std::vector<Elf32_Dyn> GetDynamics(Elf32_Word strsz, Elf32_Word soname_off);
128 std::vector<uint8_t>* GetBuffer() { return &buf_; } in GetBuffer()
129 void SetBuffer(std::vector<uint8_t> buf) { buf_ = buf; } in SetBuffer()
132 std::vector<uint8_t> buf_;
178 std::vector<Elf32_Word> GenerateHashContents();
180 std::vector<Elf32_Sym> GenerateSymtab();
[all …]
Dvector_output_stream.cc23 VectorOutputStream::VectorOutputStream(const std::string& location, std::vector<uint8_t>& vector) in VectorOutputStream() argument
24 : OutputStream(location), offset_(vector.size()), vector_(vector) {} in VectorOutputStream()
Delf_writer_mclinker.h45 const std::vector<const DexFile*>& dex_files,
53 const std::vector<const DexFile*>& dex_files,
64 void AddOatInput(std::vector<uint8_t>& oat_contents);
65 void AddMethodInputs(const std::vector<const DexFile*>& dex_files);
69 void FixupOatMethodOffsets(const std::vector<const DexFile*>& dex_files)
Dvector_output_stream.h30 VectorOutputStream(const std::string& location, std::vector<uint8_t>& vector);
58 std::vector<uint8_t>& vector_;
Doutput_stream_test.cc52 void CheckTestOutput(const std::vector<uint8_t>& actual) { in CheckTestOutput()
70 std::vector<uint8_t> actual(in->GetLength()); in TEST_F()
85 std::vector<uint8_t> actual(in->GetLength()); in TEST_F()
92 std::vector<uint8_t> output; in TEST_F()
/art/compiler/sea_ir/ir/
Dsea.h65 std::vector<int> GetUses() const { in GetUses()
66 return std::vector<int>(); in GetUses()
101 definition_edges_[predecessor_id] = new std::vector<InstructionNode*>(); in RenameToSSA()
109 std::vector<InstructionNode*> GetSSAProducers() { in GetSSAProducers()
110 std::vector<InstructionNode*> producers; in GetSSAProducers()
111 for (std::vector<std::vector<InstructionNode*>*>::const_iterator in GetSSAProducers()
122 std::vector<InstructionNode*>* GetSSAUses(int predecessor_pos) { in GetSSAUses()
136 std::vector<std::vector<InstructionNode*>*> definition_edges_;
155 std::vector<InstructionNode*>* GetInstructions() { in GetInstructions()
205 std::vector<PhiInstructionNode*>* GetPhiNodes() { in GetPhiNodes()
[all …]
Dsea.cc33 std::vector<PhiInstructionNode*>* phis = region->GetPhiNodes(); in Traverse()
34 for (std::vector<PhiInstructionNode*>::const_iterator cit = phis->begin(); in Traverse()
38 std::vector<InstructionNode*>* instructions = region->GetInstructions(); in Traverse()
39 for (std::vector<InstructionNode*>::const_iterator cit = instructions->begin(); in Traverse()
46 for (std::vector<Region*>::const_iterator cit = ordered_regions_.begin(); in Traverse()
63 std::vector<sea_ir::Region*>* succs = current_region->GetSuccessors(); in ComputeRPO()
64 for (std::vector<sea_ir::Region*>::iterator succ_it = succs->begin(); in ComputeRPO()
78 std::vector<Region*>::iterator crt_it; in ComputeIDominators()
93 std::vector<Region*>* preds = (*crt_it)->GetPredecessors(); in ComputeIDominators()
96 for (std::vector<Region*>::iterator pred_it = preds->begin(); in ComputeIDominators()
[all …]
Dinstruction_nodes.h41 static std::vector<sea_ir::InstructionNode*> Create(const art::Instruction* in);
50 virtual std::vector<int> GetDefinitions() const;
52 virtual std::vector<int> GetUses() const;
65 virtual std::vector<InstructionNode*> GetSSAProducers() { in GetSSAProducers()
66 std::vector<int> uses = GetUses(); in GetSSAProducers()
67 std::vector<InstructionNode*> ssa_uses; in GetSSAProducers()
68 for (std::vector<int>::const_iterator cit = uses.begin(); cit != uses.end(); cit++) { in GetSSAProducers()
76 std::vector<InstructionNode*>* GetSSAConsumers() { in GetSSAConsumers()
104 std::vector<InstructionNode*> used_in_;
171 std::vector<int> GetUses() const { in GetUses()
[all …]
/art/compiler/trampolines/
Dtrampoline_compiler.cc31 static const std::vector<uint8_t>* CreateTrampoline(EntryPointCallingConvention abi, in CreateTrampoline()
50 std::unique_ptr<std::vector<uint8_t>> entry_stub(new std::vector<uint8_t>(cs)); in CreateTrampoline()
59 static const std::vector<uint8_t>* CreateTrampoline(EntryPointCallingConvention abi, in CreateTrampoline()
87 std::unique_ptr<std::vector<uint8_t>> entry_stub(new std::vector<uint8_t>(cs)); in CreateTrampoline()
96 static const std::vector<uint8_t>* CreateTrampoline(EntryPointCallingConvention abi, in CreateTrampoline()
117 std::unique_ptr<std::vector<uint8_t>> entry_stub(new std::vector<uint8_t>(cs)); in CreateTrampoline()
126 static const std::vector<uint8_t>* CreateTrampoline(ThreadOffset<4> offset) { in CreateTrampoline()
134 std::unique_ptr<std::vector<uint8_t>> entry_stub(new std::vector<uint8_t>(cs)); in CreateTrampoline()
143 static const std::vector<uint8_t>* CreateTrampoline(ThreadOffset<8> offset) { in CreateTrampoline()
152 std::unique_ptr<std::vector<uint8_t>> entry_stub(new std::vector<uint8_t>(cs)); in CreateTrampoline()
[all …]
/art/compiler/sea_ir/types/
Dtype_inference_visitor.cc32 std::vector<const Type*> arguments = fti.GetDeclaredArgumentTypes(); in Visit()
43 std::vector<const Type*> types_to_merge = GetOperandTypes(instruction); in Visit()
49 std::vector<const Type*> operand_types = GetOperandTypes(instruction); in Visit()
50 for (std::vector<const Type*>::const_iterator cit = operand_types.begin(); in Visit()
60 std::vector<const Type*> operand_types = GetOperandTypes(instruction); in Visit()
71 std::vector<const Type*> TypeInferenceVisitor::GetOperandTypes( in GetOperandTypes()
73 std::vector<InstructionNode*> sources = instruction->GetSSAProducers(); in GetOperandTypes()
74 std::vector<const Type*> types_to_merge; in GetOperandTypes()
75 for (std::vector<InstructionNode*>::const_iterator cit = sources.begin(); cit != sources.end(); in GetOperandTypes()
85 const Type* TypeInferenceVisitor::MergeTypes(std::vector<const Type*>& types) const { in MergeTypes()
[all …]
Dtype_inference_visitor_test.cc25 explicit TestInstructionNode(std::vector<InstructionNode*> prods): InstructionNode(NULL), in TestInstructionNode()
27 std::vector<InstructionNode*> GetSSAProducers() { in GetSSAProducers()
31 std::vector<InstructionNode*> producers_;
65 std::vector<const Type*> types; in TEST_F()
79 std::vector<const Type*> types; in TEST_F()
93 std::vector<const Type*> types; in TEST_F()
109 std::vector<const Type*> types; in TEST_F()
110 std::vector<InstructionNode*> preds; in TEST_F()
115 new TestInstructionNode(std::vector<InstructionNode*>()); in TEST_F()
117 new TestInstructionNode(std::vector<InstructionNode*>()); in TEST_F()
[all …]
Dtype_inference.cc68 std::vector<const Type*> FunctionTypeInfo::GetDeclaredArgumentTypes() { in GetDeclaredArgumentTypes()
70 std::vector<const Type*> argument_types; in GetDeclaredArgumentTypes()
144 std::vector<Region*>* regions = graph->GetRegions(); in ComputeTypes()
147 for (std::vector<Region*>::const_iterator region_it = regions->begin(); in ComputeTypes()
149 std::vector<PhiInstructionNode*>* phi_instructions = (*region_it)->GetPhiNodes(); in ComputeTypes()
151 std::vector<InstructionNode*>* instructions = (*region_it)->GetInstructions(); in ComputeTypes()
179 std::vector<InstructionNode*>* consumers = (*instruction_it)->GetSSAConsumers(); in ComputeTypes()
180 for (std::vector<InstructionNode*>::iterator consumer = consumers->begin(); in ComputeTypes()
/art/compiler/sea_ir/debug/
Ddot_gen.cc27 for (std::vector<Region*>::const_iterator cit = graph->GetRegions()->begin(); in Initialize()
67 std::vector<InstructionNode*>* used_in = instruction->GetSSAConsumers(); in ToDotSSAEdges()
68 for (std::vector<InstructionNode*>::const_iterator cit = used_in->begin(); in ToDotSSAEdges()
77 std::vector<InstructionNode*> definition_edges = instruction->GetSSAProducers(); in ToDotSSAEdges()
79 for (std::vector<InstructionNode*>::const_iterator in ToDotSSAEdges()
99 std::vector<InstructionNode*>* used_in = instruction->GetSSAConsumers(); in ToDotSSAEdges()
100 for (std::vector<InstructionNode*>::const_iterator cit = used_in->begin(); in ToDotSSAEdges()
127 std::vector<PhiInstructionNode*>* phi_instructions = region->GetPhiNodes(); in Visit()
128 for (std::vector<PhiInstructionNode*>::const_iterator cit = phi_instructions->begin(); in Visit()
132 std::vector<InstructionNode*>* instructions = region->GetInstructions(); in Visit()
[all …]
/art/compiler/driver/
Dcompiler_driver.h118 void CompileAll(jobject class_loader, const std::vector<const DexFile*>& dex_files,
166 const std::vector<uint8_t>* CreateInterpreterToInterpreterBridge() const
168 const std::vector<uint8_t>* CreateInterpreterToCompiledCodeBridge() const
170 const std::vector<uint8_t>* CreateJniDlsymLookup() const
172 const std::vector<uint8_t>* CreatePortableImtConflictTrampoline() const
174 const std::vector<uint8_t>* CreatePortableResolutionTrampoline() const
176 const std::vector<uint8_t>* CreatePortableToInterpreterBridge() const
178 const std::vector<uint8_t>* CreateQuickGenericJniTrampoline() const
180 const std::vector<uint8_t>* CreateQuickImtConflictTrampoline() const
182 const std::vector<uint8_t>* CreateQuickResolutionTrampoline() const
[all …]
/art/compiler/sea_ir/code_gen/
Dcode_gen.cc31 const std::vector<Region*>* predecessors = r->GetPredecessors(); in Visit()
42 for (std::vector<Region*>::const_iterator cit = graph->GetRegions()->begin(); in Initialize()
62 std::vector<SignatureNode*>* parameters = graph->GetParameterNodes(); in Visit()
66 std::vector<llvm::Type*> parameter_types; in Visit()
67 for (std::vector<SignatureNode*>::const_iterator param_iterator = parameters->begin(); in Visit()
97 std::vector<Region*>* regions = &ordered_regions_; in Visit()
100 for (std::vector<Region*>::const_iterator cit = regions->begin(); cit != regions->end(); cit++) { in Visit()
146 std::vector<InstructionNode*> ssa_uses = instruction->GetSSAProducers(); in Visit()
155 std::vector<Region*>* successors = instruction->GetRegion()->GetSuccessors(); in Visit()
187 std::vector<InstructionNode*> ssa_uses = instruction->GetSSAProducers(); in Visit()
[all …]
/art/compiler/llvm/generated/
Dart_module.cc29 std::vector<Type*>FuncTy_0_args; in makeLLVMModuleContents()
34 std::vector<Type*>StructTy_JavaObject_fields; in makeLLVMModuleContents()
46 std::vector<Type*>StructTy_ShadowFrame_fields; in makeLLVMModuleContents()
64 std::vector<Type*>FuncTy_3_args; in makeLLVMModuleContents()
70 std::vector<Type*>FuncTy_4_args; in makeLLVMModuleContents()
77 std::vector<Type*>FuncTy_5_args; in makeLLVMModuleContents()
85 std::vector<Type*>FuncTy_6_args; in makeLLVMModuleContents()
92 std::vector<Type*>FuncTy_7_args; in makeLLVMModuleContents()
102 std::vector<Type*>FuncTy_8_args; in makeLLVMModuleContents()
109 std::vector<Type*>FuncTy_9_args; in makeLLVMModuleContents()
[all …]
/art/compiler/dex/
Dverified_method.h37 typedef std::vector<uint32_t> SafeCastSet;
46 const std::vector<uint8_t>& GetDexGcMap() const { in GetDexGcMap()
78 const std::vector<uint8_t>& data);
92 std::vector<uint8_t> dex_gc_map_;
/art/compiler/utils/
Dassembler_test.h56 const std::vector<Reg*> registers = GetRegisters(); in RepeatR()
81 const std::vector<Reg*> registers = GetRegisters(); in RepeatRR()
116 const std::vector<Reg*> registers = GetRegisters(); in RepeatRI()
118 std::vector<int64_t> imms = CreateImmediateValues(imm_bytes); in RepeatRI()
155 std::vector<int64_t> imms = CreateImmediateValues(imm_bytes); in RepeatI()
225 virtual std::vector<Reg*> GetRegisters() = 0;
311 virtual std::vector<int64_t> CreateImmediateValues(size_t imm_bytes) { in CreateImmediateValues()
312 std::vector<int64_t> res; in CreateImmediateValues()
355 std::unique_ptr<std::vector<uint8_t>> data(new std::vector<uint8_t>(cs)); in Driver()
386 std::unique_ptr<std::vector<uint8_t>> code;
[all …]
Dmanaged_register.h110 class ManagedRegisterEntrySpills : public std::vector<ManagedRegisterSpill> {
116 std::vector<ManagedRegisterSpill>::push_back(spill); in push_back()
121 std::vector<ManagedRegisterSpill>::push_back(spill); in push_back()
125 std::vector<ManagedRegisterSpill>::push_back(__x); in push_back()
/art/runtime/
Dparsed_options.h35 typedef std::vector<std::pair<std::string, const void*>> RuntimeOptions;
42 const std::vector<const DexFile*>* boot_class_path_;
92 std::vector<std::string> properties_;
94 std::vector<std::string> compiler_options_;
95 std::vector<std::string> image_compiler_options_;
Dcommon_runtime_test.h36 typedef std::vector<std::pair<std::string, const void*>> RuntimeOptions;
103 std::vector<const DexFile*> OpenTestDexFiles(const char* name)
113 std::vector<const DexFile*> boot_class_path_;
120 std::vector<const DexFile*> opened_dex_files_;
171 std::ostream& operator<<(std::ostream& os, const std::vector<T>& rhs);
/art/runtime/jdwp/
Djdwp_bits.h35 static inline void Append1BE(std::vector<uint8_t>& bytes, uint8_t value) { in Append1BE()
39 static inline void Append2BE(std::vector<uint8_t>& bytes, uint16_t value) { in Append2BE()
44 static inline void Append4BE(std::vector<uint8_t>& bytes, uint32_t value) { in Append4BE()
51 static inline void Append8BE(std::vector<uint8_t>& bytes, uint64_t value) { in Append8BE()
62 static inline void AppendUtf16BE(std::vector<uint8_t>& bytes, const uint16_t* chars, size_t char_co… in AppendUtf16BE()
/art/compiler/optimizing/
Dcode_generator.h129 void BuildMappingTable(std::vector<uint8_t>* vector) const;
130 void BuildVMapTable(std::vector<uint8_t>* vector) const;
132 std::vector<uint8_t>* vector, const DexCompilationUnit& dex_compilation_unit) const;
Doptimizing_compiler.cc48 const std::vector<uint8_t>& GetMemory() const { return memory_; } in GetMemory()
51 std::vector<uint8_t> memory_;
163 std::vector<uint8_t> mapping_table; in TryCompile()
165 std::vector<uint8_t> vmap_table; in TryCompile()
167 std::vector<uint8_t> gc_map; in TryCompile()

12345678