Home
last modified time | relevance | path

Searched refs:invoke (Results 1 – 25 of 150) sorted by relevance

123456

/art/compiler/optimizing/
Dintrinsics_arm64.cc89 static void MoveArguments(HInvoke* invoke, CodeGeneratorARM64* codegen) { in MoveArguments() argument
91 IntrinsicVisitor::MoveArguments(invoke, codegen, &calling_convention_visitor); in MoveArguments()
102 explicit IntrinsicSlowPathARM64(HInvoke* invoke) : invoke_(invoke) { } in IntrinsicSlowPathARM64() argument
141 bool IntrinsicLocationsBuilderARM64::TryDispatch(HInvoke* invoke) { in TryDispatch() argument
142 Dispatch(invoke); in TryDispatch()
143 LocationSummary* res = invoke->GetLocations(); in TryDispatch()
149 static void CreateFPToIntLocations(ArenaAllocator* arena, HInvoke* invoke) { in CreateFPToIntLocations() argument
150 LocationSummary* locations = new (arena) LocationSummary(invoke, in CreateFPToIntLocations()
157 static void CreateIntToFPLocations(ArenaAllocator* arena, HInvoke* invoke) { in CreateIntToFPLocations() argument
158 LocationSummary* locations = new (arena) LocationSummary(invoke, in CreateIntToFPLocations()
[all …]
Dintrinsics_x86_64.cc49 bool IntrinsicLocationsBuilderX86_64::TryDispatch(HInvoke* invoke) { in TryDispatch() argument
50 Dispatch(invoke); in TryDispatch()
51 const LocationSummary* res = invoke->GetLocations(); in TryDispatch()
108 static void MoveArguments(HInvoke* invoke, CodeGeneratorX86_64* codegen) { in MoveArguments() argument
110 IntrinsicVisitor::MoveArguments(invoke, codegen, &calling_convention_visitor); in MoveArguments()
121 explicit IntrinsicSlowPathX86_64(HInvoke* invoke) : invoke_(invoke) { } in IntrinsicSlowPathX86_64() argument
161 static void CreateFPToIntLocations(ArenaAllocator* arena, HInvoke* invoke) { in CreateFPToIntLocations() argument
162 LocationSummary* locations = new (arena) LocationSummary(invoke, in CreateFPToIntLocations()
169 static void CreateIntToFPLocations(ArenaAllocator* arena, HInvoke* invoke) { in CreateIntToFPLocations() argument
170 LocationSummary* locations = new (arena) LocationSummary(invoke, in CreateIntToFPLocations()
[all …]
Dintrinsics_arm.cc80 static void MoveArguments(HInvoke* invoke, CodeGeneratorARM* codegen) { in MoveArguments() argument
82 IntrinsicVisitor::MoveArguments(invoke, codegen, &calling_convention_visitor); in MoveArguments()
93 explicit IntrinsicSlowPathARM(HInvoke* invoke) : invoke_(invoke) { } in IntrinsicSlowPathARM() argument
132 bool IntrinsicLocationsBuilderARM::TryDispatch(HInvoke* invoke) { in TryDispatch() argument
133 Dispatch(invoke); in TryDispatch()
134 LocationSummary* res = invoke->GetLocations(); in TryDispatch()
140 static void CreateFPToIntLocations(ArenaAllocator* arena, HInvoke* invoke) { in CreateFPToIntLocations() argument
141 LocationSummary* locations = new (arena) LocationSummary(invoke, in CreateFPToIntLocations()
148 static void CreateIntToFPLocations(ArenaAllocator* arena, HInvoke* invoke) { in CreateIntToFPLocations() argument
149 LocationSummary* locations = new (arena) LocationSummary(invoke, in CreateIntToFPLocations()
[all …]
Dintrinsics_x86.cc53 bool IntrinsicLocationsBuilderX86::TryDispatch(HInvoke* invoke) { in TryDispatch() argument
54 Dispatch(invoke); in TryDispatch()
55 LocationSummary* res = invoke->GetLocations(); in TryDispatch()
116 static void MoveArguments(HInvoke* invoke, CodeGeneratorX86* codegen) { in MoveArguments() argument
118 IntrinsicVisitor::MoveArguments(invoke, codegen, &calling_convention_visitor); in MoveArguments()
129 explicit IntrinsicSlowPathX86(HInvoke* invoke) in IntrinsicSlowPathX86() argument
130 : invoke_(invoke) { } in IntrinsicSlowPathX86()
170 static void CreateFPToIntLocations(ArenaAllocator* arena, HInvoke* invoke, bool is64bit) { in CreateFPToIntLocations() argument
171 LocationSummary* locations = new (arena) LocationSummary(invoke, in CreateFPToIntLocations()
181 static void CreateIntToFPLocations(ArenaAllocator* arena, HInvoke* invoke, bool is64bit) { in CreateIntToFPLocations() argument
[all …]
Dintrinsics.h54 void Dispatch(HInvoke* invoke) { in Dispatch() argument
55 switch (invoke->GetIntrinsic()) { in Dispatch()
60 Visit ## Name(invoke); \ in Dispatch()
74 virtual void Visit ## Name(HInvoke* invoke ATTRIBUTE_UNUSED) { \
81 static void MoveArguments(HInvoke* invoke, in INTRINSICS_LIST()
84 if (kIsDebugBuild && invoke->IsInvokeStaticOrDirect()) { in INTRINSICS_LIST()
85 HInvokeStaticOrDirect* invoke_static_or_direct = invoke->AsInvokeStaticOrDirect(); in INTRINSICS_LIST()
91 if (invoke->GetNumberOfArguments() == 0) { in INTRINSICS_LIST()
96 LocationSummary* locations = invoke->GetLocations(); in INTRINSICS_LIST()
102 for (size_t i = 0; i < invoke->GetNumberOfArguments(); i++) { in INTRINSICS_LIST()
[all …]
Dprepare_for_register_allocation.cc82 void PrepareForRegisterAllocation::VisitInvokeStaticOrDirect(HInvokeStaticOrDirect* invoke) { in VisitInvokeStaticOrDirect() argument
83 if (invoke->IsStaticWithExplicitClinitCheck()) { in VisitInvokeStaticOrDirect()
84 size_t last_input_index = invoke->InputCount() - 1; in VisitInvokeStaticOrDirect()
85 HInstruction* last_input = invoke->InputAt(last_input_index); in VisitInvokeStaticOrDirect()
94 invoke->RemoveLoadClassAsLastInput(); in VisitInvokeStaticOrDirect()
Dintrinsics_x86.h40 void Visit ## Name(HInvoke* invoke) OVERRIDE;
49 bool TryDispatch(HInvoke* invoke);
65 void Visit ## Name(HInvoke* invoke) OVERRIDE;
Dintrinsics_x86_64.h40 void Visit ## Name(HInvoke* invoke) OVERRIDE;
49 bool TryDispatch(HInvoke* invoke);
65 void Visit ## Name(HInvoke* invoke) OVERRIDE;
Dintrinsics.cc302 static bool CheckInvokeType(Intrinsics intrinsic, HInvoke* invoke) { in CheckInvokeType() argument
311 InvokeType invoke_type = invoke->IsInvokeStaticOrDirect() ? in CheckInvokeType()
312 invoke->AsInvokeStaticOrDirect()->GetInvokeType() : in CheckInvokeType()
313 invoke->IsInvokeVirtual() ? kVirtual : kSuper; in CheckInvokeType()
339 HInvoke* invoke = inst->AsInvoke(); in Run() local
341 if (inliner->IsIntrinsic(invoke->GetDexMethodIndex(), &method)) { in Run()
345 if (!CheckInvokeType(intrinsic, invoke)) { in Run()
348 << PrettyMethod(invoke->GetDexMethodIndex(), *dex_file_); in Run()
350 invoke->SetIntrinsic(intrinsic); in Run()
Dintrinsics_arm.h43 void Visit ## Name(HInvoke* invoke) OVERRIDE;
52 bool TryDispatch(HInvoke* invoke);
69 void Visit ## Name(HInvoke* invoke) OVERRIDE;
Dintrinsics_arm64.h45 void Visit ## Name(HInvoke* invoke) OVERRIDE;
54 bool TryDispatch(HInvoke* invoke);
69 void Visit ## Name(HInvoke* invoke) OVERRIDE;
/art/test/457-regs/src/
DMain.java27 m.invoke(null, new Boolean(true), new Byte((byte)2)); in main()
30 m.invoke(null, new Boolean(true), new Float(4.0f)); in main()
33 m.invoke(null, new Main()); in main()
36 m.invoke(null); in main()
39 m.invoke(null, new Main()); in main()
/art/test/412-new-array/src/
DMain.java154 int[] result = (int[])m.invoke(null, args); in testSmaliFilledNewArray()
164 Object[] result = (Object[])m.invoke(null, args); in testSmaliFilledNewArray()
173 Object[] result = (Object[])m.invoke(null, args); in testSmaliFilledNewArray()
182 int[] result = (int[])m.invoke(null, args); in testSmaliFilledNewArray()
192 Object[] result = (Object[])m.invoke(null, args); in testSmaliFilledNewArray()
201 Object[] result = (Object[])m.invoke(null, args); in testSmaliFilledNewArray()
226 m.invoke(null, args); in testSmaliFillArrayData()
240 m.invoke(null, args); in testSmaliFillArrayData()
253 m.invoke(null, args); in testSmaliFillArrayData()
265 m.invoke(null, args); in testSmaliFillArrayData()
[all …]
/art/compiler/dex/quick/
Ddex_file_method_inliner.cc113 MIR* AllocReplacementMIR(MIRGraph* mir_graph, MIR* invoke) { in AllocReplacementMIR() argument
115 insn->offset = invoke->offset; in AllocReplacementMIR()
120 uint32_t GetInvokeReg(MIR* invoke, uint32_t arg) { in GetInvokeReg() argument
121 DCHECK_LT(arg, invoke->dalvikInsn.vA); in GetInvokeReg()
122 DCHECK(!MIR::DecodedInstruction::IsPseudoMirOp(invoke->dalvikInsn.opcode)); in GetInvokeReg()
123 if (IsInvokeInstructionRange(invoke->dalvikInsn.opcode)) { in GetInvokeReg()
124 return invoke->dalvikInsn.vC + arg; // Range invoke. in GetInvokeReg()
126 DCHECK_EQ(Instruction::FormatOf(invoke->dalvikInsn.opcode), Instruction::k35c); in GetInvokeReg()
127 return invoke->dalvikInsn.arg[arg]; // Non-range invoke. in GetInvokeReg()
131 bool WideArgIsInConsecutiveDalvikRegs(MIR* invoke, uint32_t arg) { in WideArgIsInConsecutiveDalvikRegs() argument
[all …]
/art/test/503-dead-instructions/src/
DMain.java26 m.invoke(null, arguments1); in main()
30 m.invoke(null, arguments2); in main()
34 m.invoke(null, arguments3); in main()
38 m.invoke(null, arguments4); in main()
/art/test/134-reg-promotion/smali/
DTest.smali23 invoke-direct {v2}, Ljava/lang/String;-><init>()V
27 invoke-static {}, LMain;->blowup()V
30 invoke-static {v2}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;
33 invoke-static {v2}, Ljava/lang/Float;->isNaN(F)Z
43 invoke-direct {v2}, Ljava/lang/String;-><init>()V
47 invoke-static {}, LMain;->blowup()V
50 invoke-static {v2}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;
58 invoke-static {v2}, Ljava/lang/Float;->isNaN(F)Z
/art/test/435-new-instance/smali/
Dinstance.smali21 invoke-direct {v0}, Ljava/lang/Object;-><init>()V
28 # invoke-direct {v3}, LTestInterface;-><init>()V
36 # invoke-direct {v3}, LTestClass;-><init>()V
44 # invoke-direct {v3}, Lpck/ProtectedClass;-><init>()V
52 # invoke-direct {v3}, LUnknownClass;-><init>()V
/art/test/503-dead-instructions/smali/
DDeadInstructions.smali23 # optimizing compiler into thinking the invoke is live.
30 invoke-static {v0, v1}, LDeadInstructions;->method1()V
42 invoke-static {v0, v2}, LDeadInstructions;->method2(J)V
52 invoke-static {v0}, LDeadInstructions;->method2(J)V
61 invoke-static {}, LDeadInstructions;->method3(J)V
/art/test/118-noimage-dex2oat/src/
DMain.java67 return (String) getCurrentInstructionSetMethod.invoke(null); in getCurrentInstructionSet()
70 return (boolean) isBootClassPathOnDiskMethod.invoke(null, instructionSet); in isBootClassPathOnDisk()
79 m.invoke(o); in testB18485243()
/art/test/457-regs/smali/
DPhiLiveness.smali27 invoke-static {}, LPhiLiveness;->regsNativeCall()V
39 invoke-static {}, LPhiLiveness;->regsNativeCall()V
51 invoke-static {}, LPhiLiveness;->regsNativeCall()V
63 invoke-static {}, LPhiLiveness;->regsNativeCall()V
75 invoke-static {v2, v2, v2}, LPhiLiveness;->regsNativeCallWithParameters(LMain;IF)V
/art/test/802-deoptimization/src/
DDeoptimizationController.java84 startMethodTracingMethod.invoke(null, filename, bufferSize, flags, samplingEnabled, in startMethodTracing()
88 stopMethodTracingMethod.invoke(null); in stopMethodTracing()
91 return (int) getMethodTracingModeMethod.invoke(null); in getMethodTracingMode()
/art/test/004-NativeAllocations/src/
DMain.java35 register_native_allocation.invoke(runtime, bytes); in NativeAllocation()
50 register_native_free.invoke(runtime, bytes); in finalize()
60 runtime = get_runtime.invoke(null); in main()
/art/test/472-unreachable-if-regression/src/
DMain.java29 unreachableIf.invoke(null, (Object[]) null); in main()
33 unreachablePackedSwitch.invoke(null, (Object[]) null); in main()
/art/test/800-smali/smali/
Db_18380491ConcreteClass.smali7 invoke-direct {p0}, LB18380491ActractBase;-><init>()V
16 invoke-super {p0, p1}, LB18380491ActractBase;->foo(I)I
Db_21902684.smali6 invoke-direct {p0}, Ljava/lang/Object;-><init>()V
14 invoke-direct {v0}, Ljava/lang/String;-><init>()V

123456