Home
last modified time | relevance | path

Searched refs:r (Results 1 – 25 of 158) sorted by relevance

1234567

/art/test/411-checker-instruct-simplifier-hrem/src/
DMain.java102 int r = v % 18; in $noinline$IntDivRemBy18() local
103 return ((long)q << 32) | r; in $noinline$IntDivRemBy18()
124 int r = v % -18; in $noinline$IntDivRemByMinus18() local
125 return ((long)q << 32) | r; in $noinline$IntDivRemByMinus18()
145 int r = v % 18; in $noinline$IntRemDivBy18() local
147 return ((long)q << 32) | r; in $noinline$IntRemDivBy18()
170 int r = v % 5; in $noinline$IntDivRemBy5() local
171 return ((long)q << 32) | r; in $noinline$IntDivRemBy5()
192 int r = v % -5; in $noinline$IntDivRemByMinus5() local
193 return ((long)q << 32) | r; in $noinline$IntDivRemByMinus5()
[all …]
/art/runtime/gc/space/
Dregion_space.cc154 Region* r = &regions_[i]; in FromSpaceSize() local
155 if (r->IsInFromSpace()) { in FromSpaceSize()
166 Region* r = &regions_[i]; in UnevacFromSpaceSize() local
167 if (r->IsInUnevacFromSpace()) { in UnevacFromSpaceSize()
178 Region* r = &regions_[i]; in ToSpaceSize() local
179 if (r->IsInToSpace()) { in ToSpaceSize()
336 Region* r = &regions_[i]; in SetFromSpace() local
337 RegionState state = r->State(); in SetFromSpace()
338 RegionType type = r->Type(); in SetFromSpace()
339 if (!r->IsFree()) { in SetFromSpace()
[all …]
Dregion_space-inl.h74 Region* r = AllocateRegion(kForEvac); in AllocNonvirtual() local
75 if (LIKELY(r != nullptr)) { in AllocNonvirtual()
76 obj = r->Alloc(num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated); in AllocNonvirtual()
81 evac_region_ = r; in AllocNonvirtual()
83 current_region_ = r; in AllocNonvirtual()
129 Region* r = &regions_[i]; in GetBytesAllocatedInternal() local
130 if (r->IsFree()) { in GetBytesAllocatedInternal()
135 bytes += r->BytesAllocated(); in GetBytesAllocatedInternal()
138 if (r->IsInFromSpace()) { in GetBytesAllocatedInternal()
139 bytes += r->BytesAllocated(); in GetBytesAllocatedInternal()
[all …]
/art/tools/
Dfindbuildbotwarnings.py38 r = requests.get('https://build.chromium.org/p/client.art/json/builders')
39 if r.status_code != 200:
40 print r.text
42 builders = json.loads(r.text)
50 r = requests.get(
54 if r.status_code != 200:
55 print r.text
57 builder = json.loads(r.text)
65 r = requests.get(sl[1] + '/text')
66 if r.status_code != 200:
[all …]
Dcheck_cfi.py58 add(r"push. .*", lambda m: ptr_size)
59 add(r"pop. .*", lambda m: -ptr_size)
60 add(r"sub. \$(\w+), (?:%esp|%rsp)", lambda m: int(m[1], 0))
61 add(r"add. \$(\w+), (?:%esp|%rsp)", lambda m: -int(m[1], 0))
62 add(r"call. (0x\w+) <.*", lambda m: ptr_size, adjust_pc=lambda m: int(m[1], 0))
63 add(r"j[a-z]* (0x\w+) <.*", adjust_pc=lambda m: int(m[1], 0))
65 add(r"sub sp,(?: sp,)? #(\w+)", lambda m: int(m[1], 0))
66 add(r"add sp,(?: sp,)? #(\w+)", lambda m: -int(m[1], 0))
67 add(r"str \w+, \[sp, #-(\d+)\]!", lambda m: int(m[1]))
68 add(r"ldr \w+, \[sp\], #(\d+)", lambda m: -int(m[1]))
[all …]
/art/compiler/utils/arm/
Dmanaged_register_arm.h186 static constexpr ArmManagedRegister FromCoreRegister(Register r) { in FromCoreRegister() argument
187 CHECK_NE(r, kNoRegister); in FromCoreRegister()
188 return FromRegId(r); in FromCoreRegister()
191 static constexpr ArmManagedRegister FromSRegister(SRegister r) { in FromSRegister() argument
192 CHECK_NE(r, kNoSRegister); in FromSRegister()
193 return FromRegId(r + kNumberOfCoreRegIds); in FromSRegister()
196 static constexpr ArmManagedRegister FromDRegister(DRegister r) { in FromDRegister() argument
197 CHECK_NE(r, kNoDRegister); in FromDRegister()
198 return FromRegId(r + (kNumberOfCoreRegIds + kNumberOfSRegIds)); in FromDRegister()
201 static constexpr ArmManagedRegister FromRegisterPair(RegisterPair r) { in FromRegisterPair() argument
[all …]
/art/compiler/utils/arm64/
Dmanaged_register_arm64.h149 static constexpr Arm64ManagedRegister FromXRegister(XRegister r) { in FromXRegister() argument
150 CHECK_NE(r, kNoRegister); in FromXRegister()
151 return FromRegId(r); in FromXRegister()
154 static constexpr Arm64ManagedRegister FromWRegister(WRegister r) { in FromWRegister() argument
155 CHECK_NE(r, kNoWRegister); in FromWRegister()
156 return FromRegId(r + kNumberOfXRegIds); in FromWRegister()
159 static constexpr Arm64ManagedRegister FromDRegister(DRegister r) { in FromDRegister() argument
160 CHECK_NE(r, kNoDRegister); in FromDRegister()
161 return FromRegId(r + (kNumberOfXRegIds + kNumberOfWRegIds)); in FromDRegister()
164 static constexpr Arm64ManagedRegister FromSRegister(SRegister r) { in FromSRegister() argument
[all …]
/art/test/411-checker-hdiv-hrem-pow2/src/
DRemTest.java244 int r = v % 2; in $noinline$IntMod2() local
245 return r; in $noinline$IntMod2()
270 int r = v % -2; in $noinline$IntModMinus2() local
271 return r; in $noinline$IntModMinus2()
282 int r = Math.abs(v) % 2; in $noinline$IntAbsMod2() local
283 return r; in $noinline$IntAbsMod2()
294 int r = Math.abs(v) % -2; in $noinline$IntAbsModMinus2() local
295 return r; in $noinline$IntAbsModMinus2()
306 int r = arr.length % 2; in $noinline$IntALenMod2() local
307 return r; in $noinline$IntALenMod2()
[all …]
DDivTest.java204 int r = v / 2; in $noinline$IntDivBy2() local
205 return r; in $noinline$IntDivBy2()
221 int r = v / -2; in $noinline$IntDivByMinus2() local
222 return r; in $noinline$IntDivByMinus2()
233 int r = Math.abs(v) / 2; in $noinline$IntAbsDivBy2() local
234 return r; in $noinline$IntAbsDivBy2()
246 int r = Math.abs(v) / -2; in $noinline$IntAbsDivByMinus2() local
247 return r; in $noinline$IntAbsDivByMinus2()
258 int r = arr.length / 2; in $noinline$IntALenDivBy2() local
259 return r; in $noinline$IntALenDivBy2()
[all …]
/art/test/530-checker-loops5/src/
DMain.java112 int r = 0; in polyBCE1() local
114 r += x[a]; in polyBCE1()
117 return r; in polyBCE1()
132 int r = 0; in polyBCE2() local
135 r -= x[a]; in polyBCE2()
138 return r; in polyBCE2()
153 int r = 0; in polyBCE3() local
158 r -= x[t]; in polyBCE3()
162 return r; in polyBCE3()
/art/runtime/arch/
Dmemcmp16_test.cc50 RandGen r(0x1234); in CheckSeparate() local
54 size_t type = r.next() % range_of_tests; in CheckSeparate()
63 count1 = (r.next() % max_length) + min_length; in CheckSeparate()
64 count2 = (r.next() % max_length) + min_length; in CheckSeparate()
68 count1 = (r.next() % max_length) + min_length; in CheckSeparate()
74 count2 = (r.next() % max_length) + min_length; in CheckSeparate()
103 bool fill_same = r.next() % 2 == 1; in CheckSeparate()
107 s1[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate()
111 s1[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate()
114 s2[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate()
[all …]
/art/test/411-checker-hdiv-hrem-const/src/
DDivTest.java135 int r = v / 18; in $noinline$IntDivBy18() local
136 return r; in $noinline$IntDivBy18()
151 int r = arr.length / 18; in $noinline$IntALenDivBy18() local
152 return r; in $noinline$IntALenDivBy18()
165 int r = v / -18; in $noinline$IntDivByMinus18() local
166 return r; in $noinline$IntDivByMinus18()
180 int r = v / 7; in $noinline$IntDivBy7() local
181 return r; in $noinline$IntDivBy7()
198 int r = arr.length / 7; in $noinline$IntALenDivBy7() local
199 return r; in $noinline$IntALenDivBy7()
[all …]
DRemTest.java126 int r = v % 18; in $noinline$IntRemBy18() local
127 return r; in $noinline$IntRemBy18()
144 int r = arr.length % 18; in $noinline$IntALenRemBy18() local
145 return r; in $noinline$IntALenRemBy18()
160 int r = v % -18; in $noinline$IntRemByMinus18() local
161 return r; in $noinline$IntRemByMinus18()
177 int r = v % 7; in $noinline$IntRemBy7() local
178 return r; in $noinline$IntRemBy7()
196 int r = arr.length % 7; in $noinline$IntALenRemBy7() local
197 return r; in $noinline$IntALenRemBy7()
[all …]
/art/test/943-private-recursive-jit/src/
DTransform.java19 public void sayHi(int recur, Consumer<String> reporter, Runnable r) { in sayHi() argument
20 privateSayHi(recur, reporter, r); in sayHi()
23 private void privateSayHi(int recur, Consumer<String> reporter, Runnable r) { in privateSayHi() argument
26 r.run(); in privateSayHi()
27 privateSayHi(recur - 1, reporter, r); in privateSayHi()
29 privateSayHi(recur - 1, reporter, r); in privateSayHi()
/art/test/1922-owned-monitors-info/src/art/
DTest1922.java184 (r) -> { return new CallLockOther(t, l1, r); }, in runTestsOtherThread()
185 (r) -> { return new CallLockExtra(t, l2, r); }, in runTestsOtherThread()
186 (r) -> { return new CallLockNative(t, l3, r); }, in runTestsOtherThread()
187 (r) -> { return new CallLockThisNative(t, r); }, in runTestsOtherThread()
188 (r) -> { return new CallLockClass(t, r); }, in runTestsOtherThread()
189 (r) -> { return new CallLockSync(t, r); }, in runTestsOtherThread()
190 (r) -> { return new CallSafepoint(t, r); } in runTestsOtherThread()
229 (r) -> { return new CallLockOther(t, l1, r); }, in runTestsCurrentThread()
230 (r) -> { return new CallLockExtra(t, l2, r); }, in runTestsCurrentThread()
231 (r) -> { return new CallLockNative(t, l3, r); }, in runTestsCurrentThread()
[all …]
/art/test/2011-stack-walk-concurrent-instrument/src/
DMain.java23 void $noinline$f(Runnable r) throws Exception { in $noinline$f() argument
24 $noinline$g(r); in $noinline$f()
27 void $noinline$g(Runnable r) { in $noinline$g() argument
28 $noinline$h(r); in $noinline$g()
31 void $noinline$h(Runnable r) { in $noinline$h() argument
32 r.run(); in $noinline$h()
/art/test/942-private-recursive/src/art/
DTest942.java24 private void privateSayHi(int recur, Runnable r) { in privateSayHi() argument
27 r.run(); in privateSayHi()
28 privateSayHi(recur - 1, r); in privateSayHi()
30 privateSayHi(recur - 1, r); in privateSayHi()
35 public void sayHi(int recur, Runnable r) { in sayHi() argument
36 privateSayHi(recur, r); in sayHi()
/art/test/530-checker-loops4/src/
DMain.java143 int r = 0; in geo1BCE() local
145 r += x[a]; in geo1BCE()
148 return r; in geo1BCE()
168 int r = 0; in geo2BCE() local
170 r += x[a]; in geo2BCE()
173 return r; in geo2BCE()
188 int r = 0; in geo3BCE() local
190 r += x[a]; in geo3BCE()
193 return r; in geo3BCE()
208 int r = 0; in geo4BCE() local
[all …]
/art/compiler/utils/x86/
Dmanaged_register_x86.h163 static constexpr X86ManagedRegister FromCpuRegister(Register r) { in FromCpuRegister() argument
164 CHECK_NE(r, kNoRegister); in FromCpuRegister()
165 return FromRegId(r); in FromCpuRegister()
168 static constexpr X86ManagedRegister FromXmmRegister(XmmRegister r) { in FromXmmRegister() argument
169 CHECK_NE(r, kNoXmmRegister); in FromXmmRegister()
170 return FromRegId(r + kNumberOfCpuRegIds); in FromXmmRegister()
173 static constexpr X86ManagedRegister FromX87Register(X87Register r) { in FromX87Register() argument
174 CHECK_NE(r, kNoX87Register); in FromX87Register()
175 return FromRegId(r + kNumberOfCpuRegIds + kNumberOfXmmRegIds); in FromX87Register()
178 static constexpr X86ManagedRegister FromRegisterPair(RegisterPair r) { in FromRegisterPair() argument
[all …]
Dmanaged_register_x86.cc82 const int r = RegId() - (kNumberOfCpuRegIds + kNumberOfXmmRegIds + in AllocIdLow() local
84 CHECK_EQ(r, kRegisterPairs[r].reg); in AllocIdLow()
85 return kRegisterPairs[r].low; in AllocIdLow()
91 const int r = RegId() - (kNumberOfCpuRegIds + kNumberOfXmmRegIds + in AllocIdHigh() local
93 CHECK_EQ(r, kRegisterPairs[r].reg); in AllocIdHigh()
94 return kRegisterPairs[r].high; in AllocIdHigh()
/art/test/594-load-string-regression/src/
DMain.java29 int r = 0x12345678; in $noinline$test() local
36 r = r ^ (r >> 5); in $noinline$test()
47 return r; in $noinline$test()
/art/compiler/utils/x86_64/
Dmanaged_register_x86_64.h150 static constexpr X86_64ManagedRegister FromCpuRegister(Register r) { in FromCpuRegister() argument
151 CHECK_NE(r, kNoRegister); in FromCpuRegister()
152 return FromRegId(r); in FromCpuRegister()
155 static constexpr X86_64ManagedRegister FromXmmRegister(FloatRegister r) { in FromXmmRegister() argument
156 return FromRegId(r + kNumberOfCpuRegIds); in FromXmmRegister()
159 static constexpr X86_64ManagedRegister FromX87Register(X87Register r) { in FromX87Register() argument
160 CHECK_NE(r, kNoX87Register); in FromX87Register()
161 return FromRegId(r + kNumberOfCpuRegIds + kNumberOfXmmRegIds); in FromX87Register()
164 static constexpr X86_64ManagedRegister FromRegisterPair(RegisterPair r) { in FromRegisterPair() argument
165 CHECK_NE(r, kNoRegisterPair); in FromRegisterPair()
[all …]
Dmanaged_register_x86_64.cc77 const int r = RegId() - (kNumberOfCpuRegIds + kNumberOfXmmRegIds + in AllocIdLow() local
79 CHECK_EQ(r, kRegisterPairs[r].reg); in AllocIdLow()
80 return kRegisterPairs[r].low; in AllocIdLow()
86 const int r = RegId() - (kNumberOfCpuRegIds + kNumberOfXmmRegIds + in AllocIdHigh() local
88 CHECK_EQ(r, kRegisterPairs[r].reg); in AllocIdHigh()
89 return kRegisterPairs[r].high; in AllocIdHigh()
Dconstants_x86_64.h33 explicit constexpr CpuRegister(Register r) : reg_(r) {} in CpuRegister() argument
34 explicit constexpr CpuRegister(int r) : reg_(Register(r)) {} in CpuRegister() argument
54 explicit constexpr XmmRegister(FloatRegister r) : reg_(r) {} in XmmRegister() argument
55 explicit constexpr XmmRegister(int r) : reg_(FloatRegister(r)) {} in XmmRegister() argument
/art/test/941-recursive-obsolete-jit/src/
DTransform.java19 public void sayHi(int recur, Consumer<String> c, Runnable r) { in sayHi() argument
22 r.run(); in sayHi()
23 sayHi(recur - 1, c, r); in sayHi()
25 sayHi(recur - 1, c, r); in sayHi()

1234567